~ubuntu-branches/debian/squeeze/f-spot/squeeze

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Iain Lane, Mirco Bauer, Iain Lane
  • Date: 2009-02-07 20:23:32 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20090207202332-oc93rfjo1st0571s
Tags: 0.5.0.3-2
[ Mirco Bauer]
* Upload to unstable.
* debian/control:
  + Lowered GNOME# build-deps to 2.0 ABI as that transition didn't happen
    yet in unstable.

[ Iain Lane ]
* debian/patches/svn-r4545_locales-import.dpatch: Patch backported from SVN
  trunk revision 4545 - initialize the translation catalog earlier (LP: #293305)
  (Closes: #514457). Thanks to Florian Heinle for finding the patch and to
  Chris Coulson for preparing the update.
* debian/control: Build-depend on libmono-dev (>= 1.2.4) to match configure
  checks.
* debian/rules: Pass CSC=/usr/bin/csc to configure for gio-sharp to fix FTBFS

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 F-Spot 0.4.4.
 
3
# Generated by GNU Autoconf 2.63 for F-Spot 0.5.0.3.
4
4
#
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7
7
# This configure script is free software; the Free Software Foundation
8
8
# gives unlimited permission to copy, distribute and modify it.
9
9
## --------------------- ##
15
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
16
  emulate sh
17
17
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
18
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
19
  # is contrary to our usage.  Disable this feature.
20
20
  alias -g '${1+"$@"}'='"$@"'
21
21
  setopt NO_GLOB_SUBST
37
37
as_cr_digits='0123456789'
38
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
39
 
 
40
as_nl='
 
41
'
 
42
export as_nl
 
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
47
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
48
  as_echo='printf %s\n'
 
49
  as_echo_n='printf %s'
 
50
else
 
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
53
    as_echo_n='/usr/ucb/echo -n'
 
54
  else
 
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
56
    as_echo_n_body='eval
 
57
      arg=$1;
 
58
      case $arg in
 
59
      *"$as_nl"*)
 
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
62
      esac;
 
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
64
    '
 
65
    export as_echo_n_body
 
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
67
  fi
 
68
  export as_echo_body
 
69
  as_echo='sh -c $as_echo_body as_echo'
 
70
fi
 
71
 
40
72
# The user is always right.
41
73
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
 
74
  PATH_SEPARATOR=:
 
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
77
      PATH_SEPARATOR=';'
 
78
  }
51
79
fi
52
80
 
53
81
# Support unset when possible.
63
91
# there to prevent editors from complaining about space-tab.
64
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
93
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
94
IFS=" ""        $as_nl"
69
95
 
70
96
# Find who we are.  Look in the path if we contain no directory separator.
87
113
  as_myself=$0
88
114
fi
89
115
if test ! -f "$as_myself"; then
90
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
116
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
117
  { (exit 1); exit 1; }
92
118
fi
93
119
 
100
126
PS4='+ '
101
127
 
102
128
# NLS nuisances.
103
 
for as_var in \
104
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
 
  LC_TELEPHONE LC_TIME
107
 
do
108
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
 
    eval $as_var=C; export $as_var
110
 
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
 
  fi
113
 
done
 
129
LC_ALL=C
 
130
export LC_ALL
 
131
LANGUAGE=C
 
132
export LANGUAGE
114
133
 
115
134
# Required to use basename.
116
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
132
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
152
         X"$0" : 'X\(//\)$' \| \
134
153
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
 
echo X/"$0" |
 
154
$as_echo X/"$0" |
136
155
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
156
            s//\1/
138
157
            q
158
177
  as_have_required=no
159
178
fi
160
179
 
161
 
  if test $as_have_required = yes &&     (eval ":
 
180
  if test $as_have_required = yes &&     (eval ":
162
181
(as_func_return () {
163
182
  (exit \$1)
164
183
}
240
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
260
  emulate sh
242
261
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
262
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
244
263
  # is contrary to our usage.  Disable this feature.
245
264
  alias -g '${1+"$@"}'='"$@"'
246
265
  setopt NO_GLOB_SUBST
261
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
281
  emulate sh
263
282
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
283
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
284
  # is contrary to our usage.  Disable this feature.
266
285
  alias -g '${1+"$@"}'='"$@"'
267
286
  setopt NO_GLOB_SUBST
341
360
 
342
361
      if test "x$CONFIG_SHELL" != x; then
343
362
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
363
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
364
        done
 
365
        export CONFIG_SHELL
 
366
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
367
fi
349
368
 
350
369
 
413
432
 
414
433
test \$exitcode = 0") || {
415
434
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
 
435
  echo Please tell bug-autoconf@gnu.org about your system,
 
436
  echo including any error possibly output before this message.
 
437
  echo This can help us improve future autoconf versions.
 
438
  echo Configuration will now proceed without shell functions.
419
439
}
420
440
 
421
441
 
451
471
      s/-\n.*//
452
472
    ' >$as_me.lineno &&
453
473
  chmod +x "$as_me.lineno" ||
454
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
474
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
475
   { (exit 1); exit 1; }; }
456
476
 
457
477
  # Don't try to exec as it changes $[0], causing all sort of problems
479
499
*)
480
500
  ECHO_N='-n';;
481
501
esac
482
 
 
483
502
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
503
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
504
  as_expr=expr
492
511
  rm -f conf$$.dir/conf$$.file
493
512
else
494
513
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
 
514
  mkdir conf$$.dir 2>/dev/null
496
515
fi
497
 
echo >conf$$.file
498
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
516
if (echo >conf$$.file) 2>/dev/null; then
 
517
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
518
    as_ln_s='ln -s'
 
519
    # ... but there are two gotchas:
 
520
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
521
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
522
    # In both cases, we have to default to `cp -p'.
 
523
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
524
      as_ln_s='cp -p'
 
525
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
526
    as_ln_s=ln
 
527
  else
505
528
    as_ln_s='cp -p'
506
 
elif ln conf$$.file conf$$ 2>/dev/null; then
507
 
  as_ln_s=ln
 
529
  fi
508
530
else
509
531
  as_ln_s='cp -p'
510
532
fi
529
551
  as_test_x='
530
552
    eval sh -c '\''
531
553
      if test -d "$1"; then
532
 
        test -d "$1/.";
 
554
        test -d "$1/.";
533
555
      else
534
556
        case $1 in
535
 
        -*)set "./$1";;
 
557
        -*)set "./$1";;
536
558
        esac;
537
559
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
560
        ???[sx]*):;;*)false;;esac;fi
553
575
# Check that we are running under the correct shell.
554
576
SHELL=${CONFIG_SHELL-/bin/sh}
555
577
 
556
 
case X$ECHO in
 
578
case X$lt_ECHO in
557
579
X*--fallback-echo)
558
580
  # Remove one level of quotation (which was required for Make).
559
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
581
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
560
582
  ;;
561
583
esac
562
584
 
563
 
echo=${ECHO-echo}
 
585
ECHO=${lt_ECHO-echo}
564
586
if test "X$1" = X--no-reexec; then
565
587
  # Discard the --no-reexec flag, and continue.
566
588
  shift
567
589
elif test "X$1" = X--fallback-echo; then
568
590
  # Avoid inline document here, it may be left over
569
591
  :
570
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571
 
  # Yippee, $echo works!
 
592
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
593
  # Yippee, $ECHO works!
572
594
  :
573
595
else
574
596
  # Restart under the correct shell.
578
600
if test "X$1" = X--fallback-echo; then
579
601
  # used as fallback echo
580
602
  shift
581
 
  cat <<EOF
 
603
  cat <<_LT_EOF
582
604
$*
583
 
EOF
 
605
_LT_EOF
584
606
  exit 0
585
607
fi
586
608
 
588
610
# if CDPATH is set.
589
611
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
590
612
 
591
 
if test -z "$ECHO"; then
592
 
if test "X${echo_test_string+set}" != Xset; then
593
 
# find a string as large as possible, as long as the shell can cope with it
594
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597
 
       echo_test_string=`eval $cmd` &&
598
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
599
 
    then
600
 
      break
601
 
    fi
602
 
  done
603
 
fi
604
 
 
605
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
608
 
  :
609
 
else
610
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
611
 
  # backslashes.  This makes it impossible to quote backslashes using
612
 
  #   echo "$something" | sed 's/\\/\\\\/g'
613
 
  #
614
 
  # So, first we look for a working echo in the user's PATH.
615
 
 
616
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617
 
  for dir in $PATH /usr/ucb; do
 
613
if test -z "$lt_ECHO"; then
 
614
  if test "X${echo_test_string+set}" != Xset; then
 
615
    # find a string as large as possible, as long as the shell can cope with it
 
616
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
617
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
618
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
619
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
620
      then
 
621
        break
 
622
      fi
 
623
    done
 
624
  fi
 
625
 
 
626
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
627
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
628
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
629
    :
 
630
  else
 
631
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
632
    # backslashes.  This makes it impossible to quote backslashes using
 
633
    #   echo "$something" | sed 's/\\/\\\\/g'
 
634
    #
 
635
    # So, first we look for a working echo in the user's PATH.
 
636
 
 
637
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
638
    for dir in $PATH /usr/ucb; do
 
639
      IFS="$lt_save_ifs"
 
640
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
641
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
642
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
643
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
644
        ECHO="$dir/echo"
 
645
        break
 
646
      fi
 
647
    done
618
648
    IFS="$lt_save_ifs"
619
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
623
 
      echo="$dir/echo"
624
 
      break
625
 
    fi
626
 
  done
627
 
  IFS="$lt_save_ifs"
628
649
 
629
 
  if test "X$echo" = Xecho; then
630
 
    # We didn't find a better echo, so look for alternatives.
631
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
634
 
      # This shell has a builtin print -r that does the trick.
635
 
      echo='print -r'
636
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
638
 
      # If we have ksh, try running configure again with it.
639
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640
 
      export ORIGINAL_CONFIG_SHELL
641
 
      CONFIG_SHELL=/bin/ksh
642
 
      export CONFIG_SHELL
643
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
644
 
    else
645
 
      # Try using printf.
646
 
      echo='printf %s\n'
647
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
650
 
        # Cool, printf works
651
 
        :
652
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653
 
           test "X$echo_testing_string" = 'X\t' &&
654
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
656
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657
 
        export CONFIG_SHELL
658
 
        SHELL="$CONFIG_SHELL"
659
 
        export SHELL
660
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
661
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662
 
           test "X$echo_testing_string" = 'X\t' &&
663
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
665
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
650
    if test "X$ECHO" = Xecho; then
 
651
      # We didn't find a better echo, so look for alternatives.
 
652
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
653
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
654
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
655
        # This shell has a builtin print -r that does the trick.
 
656
        ECHO='print -r'
 
657
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
658
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
659
        # If we have ksh, try running configure again with it.
 
660
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
661
        export ORIGINAL_CONFIG_SHELL
 
662
        CONFIG_SHELL=/bin/ksh
 
663
        export CONFIG_SHELL
 
664
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
666
665
      else
667
 
        # maybe with a smaller string...
668
 
        prev=:
669
 
 
670
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
672
 
          then
673
 
            break
 
666
        # Try using printf.
 
667
        ECHO='printf %s\n'
 
668
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
669
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
670
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
671
          # Cool, printf works
 
672
          :
 
673
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
674
             test "X$echo_testing_string" = 'X\t' &&
 
675
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
676
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
677
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
678
          export CONFIG_SHELL
 
679
          SHELL="$CONFIG_SHELL"
 
680
          export SHELL
 
681
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
682
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
683
             test "X$echo_testing_string" = 'X\t' &&
 
684
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
685
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
686
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
687
        else
 
688
          # maybe with a smaller string...
 
689
          prev=:
 
690
 
 
691
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
692
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
693
            then
 
694
              break
 
695
            fi
 
696
            prev="$cmd"
 
697
          done
 
698
 
 
699
          if test "$prev" != 'sed 50q "$0"'; then
 
700
            echo_test_string=`eval $prev`
 
701
            export echo_test_string
 
702
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
703
          else
 
704
            # Oops.  We lost completely, so just stick with echo.
 
705
            ECHO=echo
674
706
          fi
675
 
          prev="$cmd"
676
 
        done
677
 
 
678
 
        if test "$prev" != 'sed 50q "$0"'; then
679
 
          echo_test_string=`eval $prev`
680
 
          export echo_test_string
681
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682
 
        else
683
 
          # Oops.  We lost completely, so just stick with echo.
684
 
          echo=echo
685
 
        fi
 
707
        fi
686
708
      fi
687
709
    fi
688
710
  fi
689
711
fi
690
 
fi
691
712
 
692
713
# Copy echo and quote the copy suitably for passing to libtool from
693
714
# the Makefile, instead of quoting the original, which is used later.
694
 
ECHO=$echo
695
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
715
lt_ECHO=$ECHO
 
716
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
717
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
697
718
fi
698
719
 
699
720
 
700
721
 
701
722
 
702
 
tagnames=${tagnames+${tagnames},}CXX
703
 
 
704
 
tagnames=${tagnames+${tagnames},}F77
705
 
 
706
723
exec 7<&0 </dev/null 6>&1
707
724
 
708
725
# Name of the host.
726
743
# Identity of this package.
727
744
PACKAGE_NAME='F-Spot'
728
745
PACKAGE_TARNAME='f-spot'
729
 
PACKAGE_VERSION='0.4.4'
730
 
PACKAGE_STRING='F-Spot 0.4.4'
 
746
PACKAGE_VERSION='0.5.0.3'
 
747
PACKAGE_STRING='F-Spot 0.5.0.3'
731
748
PACKAGE_BUGREPORT=''
732
749
 
733
750
ac_unique_file="src/main.cs"
767
784
# include <unistd.h>
768
785
#endif"
769
786
 
770
 
ac_subst_vars='SHELL
771
 
PATH_SEPARATOR
772
 
PACKAGE_NAME
773
 
PACKAGE_TARNAME
774
 
PACKAGE_VERSION
775
 
PACKAGE_STRING
776
 
PACKAGE_BUGREPORT
777
 
exec_prefix
778
 
prefix
779
 
program_transform_name
780
 
bindir
781
 
sbindir
782
 
libexecdir
783
 
datarootdir
784
 
datadir
785
 
sysconfdir
786
 
sharedstatedir
787
 
localstatedir
788
 
includedir
789
 
oldincludedir
790
 
docdir
791
 
infodir
792
 
htmldir
793
 
dvidir
794
 
pdfdir
795
 
psdir
796
 
libdir
797
 
localedir
798
 
mandir
799
 
DEFS
800
 
ECHO_C
801
 
ECHO_N
802
 
ECHO_T
803
 
LIBS
804
 
build_alias
805
 
host_alias
806
 
target_alias
807
 
INSTALL_PROGRAM
808
 
INSTALL_SCRIPT
809
 
INSTALL_DATA
810
 
am__isrc
811
 
CYGPATH_W
812
 
PACKAGE
813
 
VERSION
814
 
ACLOCAL
815
 
AUTOCONF
816
 
AUTOMAKE
817
 
AUTOHEADER
818
 
MAKEINFO
819
 
install_sh
820
 
STRIP
821
 
INSTALL_STRIP_PROGRAM
822
 
mkdir_p
823
 
AWK
824
 
SET_MAKE
825
 
am__leading_dot
826
 
AMTAR
827
 
am__tar
828
 
am__untar
829
 
MAINTAINER_MODE_TRUE
830
 
MAINTAINER_MODE_FALSE
831
 
MAINT
 
787
enable_option_checking=no
 
788
ac_subst_vars='LTLIBOBJS
 
789
LIBOBJS
 
790
GNOME_ICON_THEME_PREFIX
 
791
expanded_libdir
 
792
CSC
 
793
LIBJPEG
 
794
POSUB
 
795
POFILES
 
796
PO_IN_DATADIR_FALSE
 
797
PO_IN_DATADIR_TRUE
 
798
INTLLIBS
 
799
INSTOBJEXT
 
800
GMOFILES
 
801
CATOBJEXT
 
802
CATALOGS
 
803
GMSGFMT
 
804
MSGFMT_OPTS
 
805
USE_NLS
 
806
GETTEXT_PACKAGE
 
807
ICONS_DIRECTORY
 
808
GNOME_SCREENSAVER_THEMESDIR
 
809
GNOME_SCREENSAVER_SAVERDIR
 
810
TURTLEDIR
 
811
WITH_TURTLE_FALSE
 
812
WITH_TURTLE_TRUE
 
813
EXIF_SOVERSION
 
814
LIBEXIF_VERSION_CHECK_LIBS
 
815
LIBEXIF_VERSION_CHECK_CFLAGS
 
816
EXIF_LIBS
 
817
EXIF_CFLAGS
 
818
LIBGPHOTO2_LIBS
 
819
LIBGPHOTO2_CFLAGS
 
820
LCMS_LIBS
 
821
LCMS_CFLAGS
 
822
GCONF_SCHEMAS_INSTALL_FALSE
 
823
GCONF_SCHEMAS_INSTALL_TRUE
 
824
GCONF_SCHEMA_FILE_DIR
 
825
GCONF_SCHEMA_CONFIG_SOURCE
 
826
GCONFTOOL
 
827
NUNIT_DEFINES
 
828
NUNIT_PKG
 
829
NUNIT_LIBS
 
830
NUNIT_CFLAGS
 
831
NUNIT22_LIBS
 
832
NUNIT22_CFLAGS
 
833
MONO_NUNIT_LIBS
 
834
MONO_NUNIT_CFLAGS
 
835
DISABLE_NUNIT_FALSE
 
836
DISABLE_NUNIT_TRUE
 
837
PATH_DBUS
 
838
LINK_DBUS
 
839
DIR_DBUS_GLIB
 
840
DIR_DBUS
 
841
NDESK_DBUS_LIBS
 
842
NDESK_DBUS_CFLAGS
 
843
CSC_DEFINES
 
844
LINK_BEAGLE
 
845
BEAGLE_DIR
 
846
BEAGLE_LIBS
 
847
BEAGLE_CFLAGS
 
848
GCONF_SHARP_LIBS
 
849
GCONF_SHARP_CFLAGS
 
850
NOGCONF_FALSE
 
851
NOGCONF_TRUE
 
852
PATH_GIO
 
853
DIR_GIO
 
854
LINK_GIO
 
855
subdirs
 
856
GNOME_SHARP_LIBS
 
857
GNOME_SHARP_CFLAGS
 
858
F_LIBS
 
859
F_CFLAGS
 
860
HAVE_GNOME_DOC_UTILS_FALSE
 
861
HAVE_GNOME_DOC_UTILS_TRUE
 
862
DISTCHECK_CONFIGURE_FLAGS
 
863
ENABLE_SK_FALSE
 
864
ENABLE_SK_TRUE
 
865
DOC_USER_FORMATS
 
866
OMF_DIR
 
867
HELP_DIR
 
868
MCS
 
869
MONO
 
870
GLIB_MKENUMS
 
871
GOBJECT_QUERY
 
872
GLIB_GENMARSHAL
 
873
GLIB_LIBS
 
874
GLIB_CFLAGS
 
875
PKG_CONFIG
 
876
OTOOL64
 
877
OTOOL
 
878
LIPO
 
879
NMEDIT
 
880
DSYMUTIL
 
881
lt_ECHO
 
882
RANLIB
 
883
AR
 
884
OBJDUMP
 
885
LN_S
 
886
NM
 
887
ac_ct_DUMPBIN
 
888
DUMPBIN
 
889
LD
 
890
FGREP
 
891
SED
 
892
host_os
 
893
host_vendor
 
894
host_cpu
 
895
host
 
896
build_os
 
897
build_vendor
 
898
build_cpu
 
899
build
 
900
LIBTOOL
 
901
EGREP
 
902
GREP
 
903
CPP
 
904
DATADIRNAME
 
905
am__fastdepCC_FALSE
 
906
am__fastdepCC_TRUE
 
907
CCDEPMODE
 
908
AMDEPBACKSLASH
 
909
AMDEP_FALSE
 
910
AMDEP_TRUE
 
911
am__quote
 
912
am__include
 
913
DEPDIR
 
914
OBJEXT
 
915
EXEEXT
 
916
ac_ct_CC
 
917
CPPFLAGS
 
918
LDFLAGS
 
919
CFLAGS
 
920
CC
 
921
ALL_LINGUAS
 
922
INTLTOOL_PERL
 
923
MSGFMT
 
924
MSGMERGE
 
925
XGETTEXT
 
926
INTLTOOL_POLICY_RULE
 
927
INTLTOOL_SERVICE_RULE
 
928
INTLTOOL_THEME_RULE
 
929
INTLTOOL_SCHEMAS_RULE
 
930
INTLTOOL_CAVES_RULE
 
931
INTLTOOL_XML_NOMERGE_RULE
 
932
INTLTOOL_XML_RULE
 
933
INTLTOOL_KBD_RULE
 
934
INTLTOOL_XAM_RULE
 
935
INTLTOOL_UI_RULE
 
936
INTLTOOL_SOUNDLIST_RULE
 
937
INTLTOOL_SHEET_RULE
 
938
INTLTOOL_SERVER_RULE
 
939
INTLTOOL_PONG_RULE
 
940
INTLTOOL_OAF_RULE
 
941
INTLTOOL_PROP_RULE
 
942
INTLTOOL_KEYS_RULE
 
943
INTLTOOL_DIRECTORY_RULE
832
944
INTLTOOL_DESKTOP_RULE
833
 
INTLTOOL_DIRECTORY_RULE
834
 
INTLTOOL_KEYS_RULE
835
 
INTLTOOL_PROP_RULE
836
 
INTLTOOL_OAF_RULE
837
 
INTLTOOL_PONG_RULE
838
 
INTLTOOL_SERVER_RULE
839
 
INTLTOOL_SHEET_RULE
840
 
INTLTOOL_SOUNDLIST_RULE
841
 
INTLTOOL_UI_RULE
842
 
INTLTOOL_XAM_RULE
843
 
INTLTOOL_KBD_RULE
844
 
INTLTOOL_XML_RULE
845
 
INTLTOOL_XML_NOMERGE_RULE
846
 
INTLTOOL_CAVES_RULE
847
 
INTLTOOL_SCHEMAS_RULE
848
 
INTLTOOL_THEME_RULE
849
 
INTLTOOL_SERVICE_RULE
850
945
INTLTOOL_EXTRACT
851
946
INTLTOOL_MERGE
852
947
INTLTOOL_UPDATE
853
 
INTLTOOL_PERL
854
 
INTLTOOL_ICONV
855
 
INTLTOOL_MSGFMT
856
 
INTLTOOL_MSGMERGE
857
 
INTLTOOL_XGETTEXT
858
 
ALL_LINGUAS
859
 
CC
860
 
CFLAGS
861
 
LDFLAGS
862
 
CPPFLAGS
863
 
ac_ct_CC
864
 
EXEEXT
865
 
OBJEXT
866
 
DEPDIR
867
 
am__include
868
 
am__quote
869
 
AMDEP_TRUE
870
 
AMDEP_FALSE
871
 
AMDEPBACKSLASH
872
 
CCDEPMODE
873
 
am__fastdepCC_TRUE
874
 
am__fastdepCC_FALSE
875
 
DATADIRNAME
876
 
CPP
877
 
GREP
878
 
EGREP
879
 
build
880
 
build_cpu
881
 
build_vendor
882
 
build_os
883
 
host
884
 
host_cpu
885
 
host_vendor
886
 
host_os
887
 
SED
888
 
LN_S
889
 
ECHO
890
 
AR
891
 
RANLIB
892
 
CXX
893
 
CXXFLAGS
894
 
ac_ct_CXX
895
 
CXXDEPMODE
896
 
am__fastdepCXX_TRUE
897
 
am__fastdepCXX_FALSE
898
 
CXXCPP
899
 
F77
900
 
FFLAGS
901
 
ac_ct_F77
902
 
LIBTOOL
903
 
PKG_CONFIG
904
 
GLIB_CFLAGS
905
 
GLIB_LIBS
906
 
GLIB_GENMARSHAL
907
 
GOBJECT_QUERY
908
 
GLIB_MKENUMS
909
 
MONO
910
 
MCS
911
 
HELP_DIR
912
 
OMF_DIR
913
 
DOC_USER_FORMATS
914
 
ENABLE_SK_TRUE
915
 
ENABLE_SK_FALSE
916
 
HAVE_GNOME_DOC_UTILS_TRUE
917
 
HAVE_GNOME_DOC_UTILS_FALSE
918
 
F_CFLAGS
919
 
F_LIBS
920
 
GNOME_SHARP_CFLAGS
921
 
GNOME_SHARP_LIBS
922
 
GTKHTML_SHARP_CFLAGS
923
 
GTKHTML_SHARP_LIBS
924
 
GTKHTML_SHARP_PKG
925
 
subdirs
926
 
LINK_GIO
927
 
DIR_GIO
928
 
PATH_GIO
929
 
NOGCONF_TRUE
930
 
NOGCONF_FALSE
931
 
GCONF_SHARP_CFLAGS
932
 
GCONF_SHARP_LIBS
933
 
CSC_DEFINES
934
 
BEAGLE_CFLAGS
935
 
BEAGLE_LIBS
936
 
BEAGLE_DIR
937
 
BEAGLE_DEFINES
938
 
LINK_BEAGLE
939
 
NDESK_DBUS_CFLAGS
940
 
NDESK_DBUS_LIBS
941
 
DIR_DBUS
942
 
DIR_DBUS_GLIB
943
 
LINK_DBUS
944
 
PATH_DBUS
945
 
MONO_NUNIT_CFLAGS
946
 
MONO_NUNIT_LIBS
947
 
NUNIT22_CFLAGS
948
 
NUNIT22_LIBS
949
 
NUNIT_CFLAGS
950
 
NUNIT_LIBS
951
 
NUNIT_PKG
952
 
NUNIT_DEFINES
953
 
GCONFTOOL
954
 
GCONF_SCHEMA_CONFIG_SOURCE
955
 
GCONF_SCHEMA_FILE_DIR
956
 
GCONF_SCHEMAS_INSTALL_TRUE
957
 
GCONF_SCHEMAS_INSTALL_FALSE
958
 
LCMS_CFLAGS
959
 
LCMS_LIBS
960
 
LIBGPHOTO2_CFLAGS
961
 
LIBGPHOTO2_LIBS
962
 
EXIF_CFLAGS
963
 
EXIF_LIBS
964
 
LIBEXIF_VERSION_CHECK_CFLAGS
965
 
LIBEXIF_VERSION_CHECK_LIBS
966
 
EXIF_SOVERSION
967
 
WITH_TURTLE_TRUE
968
 
WITH_TURTLE_FALSE
969
 
TURTLEDIR
970
 
GNOME_SCREENSAVER_SAVERDIR
971
 
GNOME_SCREENSAVER_THEMESDIR
972
 
ICONS_DIRECTORY
973
 
GETTEXT_PACKAGE
974
 
USE_NLS
975
 
MSGFMT
976
 
MSGFMT_OPTS
977
 
GMSGFMT
978
 
XGETTEXT
979
 
CATALOGS
980
 
CATOBJEXT
981
 
GMOFILES
982
 
INSTOBJEXT
983
 
INTLLIBS
984
 
PO_IN_DATADIR_TRUE
985
 
PO_IN_DATADIR_FALSE
986
 
POFILES
987
 
POSUB
988
 
LIBJPEG
989
 
CSC
990
 
expanded_libdir
991
 
GNOME_ICON_THEME_PREFIX
992
 
LIBOBJS
993
 
LTLIBOBJS'
 
948
MAINT
 
949
MAINTAINER_MODE_FALSE
 
950
MAINTAINER_MODE_TRUE
 
951
am__untar
 
952
am__tar
 
953
AMTAR
 
954
am__leading_dot
 
955
SET_MAKE
 
956
AWK
 
957
mkdir_p
 
958
MKDIR_P
 
959
INSTALL_STRIP_PROGRAM
 
960
STRIP
 
961
install_sh
 
962
MAKEINFO
 
963
AUTOHEADER
 
964
AUTOMAKE
 
965
AUTOCONF
 
966
ACLOCAL
 
967
VERSION
 
968
PACKAGE
 
969
CYGPATH_W
 
970
am__isrc
 
971
INSTALL_DATA
 
972
INSTALL_SCRIPT
 
973
INSTALL_PROGRAM
 
974
target_alias
 
975
host_alias
 
976
build_alias
 
977
LIBS
 
978
ECHO_T
 
979
ECHO_N
 
980
ECHO_C
 
981
DEFS
 
982
mandir
 
983
localedir
 
984
libdir
 
985
psdir
 
986
pdfdir
 
987
dvidir
 
988
htmldir
 
989
infodir
 
990
docdir
 
991
oldincludedir
 
992
includedir
 
993
localstatedir
 
994
sharedstatedir
 
995
sysconfdir
 
996
datadir
 
997
datarootdir
 
998
libexecdir
 
999
sbindir
 
1000
bindir
 
1001
program_transform_name
 
1002
prefix
 
1003
exec_prefix
 
1004
PACKAGE_BUGREPORT
 
1005
PACKAGE_STRING
 
1006
PACKAGE_VERSION
 
1007
PACKAGE_TARNAME
 
1008
PACKAGE_NAME
 
1009
PATH_SEPARATOR
 
1010
SHELL'
994
1011
ac_subst_files=''
 
1012
ac_user_opts='
 
1013
enable_option_checking
 
1014
enable_maintainer_mode
 
1015
enable_dependency_tracking
 
1016
enable_shared
 
1017
enable_static
 
1018
with_pic
 
1019
enable_fast_install
 
1020
with_gnu_ld
 
1021
enable_libtool_lock
 
1022
enable_glibtest
 
1023
with_help_dir
 
1024
with_omf_dir
 
1025
with_help_formats
 
1026
enable_scrollkeeper
 
1027
enable_gconf
 
1028
enable_nunit
 
1029
with_gconf_source
 
1030
with_gconf_schema_file_dir
 
1031
enable_schemas_install
 
1032
with_turtle
 
1033
with_gnome_screensaver
 
1034
'
995
1035
      ac_precious_vars='build_alias
996
1036
host_alias
997
1037
target_alias
1001
1041
LIBS
1002
1042
CPPFLAGS
1003
1043
CPP
1004
 
CXX
1005
 
CXXFLAGS
1006
 
CCC
1007
 
CXXCPP
1008
 
F77
1009
 
FFLAGS
1010
1044
PKG_CONFIG
1011
1045
F_CFLAGS
1012
1046
F_LIBS
1013
1047
GNOME_SHARP_CFLAGS
1014
1048
GNOME_SHARP_LIBS
1015
 
GTKHTML_SHARP_CFLAGS
1016
 
GTKHTML_SHARP_LIBS
1017
1049
GCONF_SHARP_CFLAGS
1018
1050
GCONF_SHARP_LIBS
1019
1051
BEAGLE_CFLAGS
1039
1071
# Initialize some variables set by options.
1040
1072
ac_init_help=
1041
1073
ac_init_version=false
 
1074
ac_unrecognized_opts=
 
1075
ac_unrecognized_sep=
1042
1076
# The variables have the same names as the options, with
1043
1077
# dashes changed to underlines.
1044
1078
cache_file=/dev/null
1137
1171
    datarootdir=$ac_optarg ;;
1138
1172
 
1139
1173
  -disable-* | --disable-*)
1140
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1174
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1141
1175
    # Reject names that are not valid shell variable names.
1142
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1143
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1176
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1177
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1144
1178
   { (exit 1); exit 1; }; }
1145
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1146
 
    eval enable_$ac_feature=no ;;
 
1179
    ac_useropt_orig=$ac_useropt
 
1180
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1181
    case $ac_user_opts in
 
1182
      *"
 
1183
"enable_$ac_useropt"
 
1184
"*) ;;
 
1185
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1186
         ac_unrecognized_sep=', ';;
 
1187
    esac
 
1188
    eval enable_$ac_useropt=no ;;
1147
1189
 
1148
1190
  -docdir | --docdir | --docdi | --doc | --do)
1149
1191
    ac_prev=docdir ;;
1156
1198
    dvidir=$ac_optarg ;;
1157
1199
 
1158
1200
  -enable-* | --enable-*)
1159
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1201
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1160
1202
    # Reject names that are not valid shell variable names.
1161
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1162
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1203
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1204
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1163
1205
   { (exit 1); exit 1; }; }
1164
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1165
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1206
    ac_useropt_orig=$ac_useropt
 
1207
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1208
    case $ac_user_opts in
 
1209
      *"
 
1210
"enable_$ac_useropt"
 
1211
"*) ;;
 
1212
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1213
         ac_unrecognized_sep=', ';;
 
1214
    esac
 
1215
    eval enable_$ac_useropt=\$ac_optarg ;;
1166
1216
 
1167
1217
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1168
1218
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1353
1403
    ac_init_version=: ;;
1354
1404
 
1355
1405
  -with-* | --with-*)
1356
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1406
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1357
1407
    # Reject names that are not valid shell variable names.
1358
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1359
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1408
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1409
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1360
1410
   { (exit 1); exit 1; }; }
1361
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1362
 
    eval with_$ac_package=\$ac_optarg ;;
 
1411
    ac_useropt_orig=$ac_useropt
 
1412
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1413
    case $ac_user_opts in
 
1414
      *"
 
1415
"with_$ac_useropt"
 
1416
"*) ;;
 
1417
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1418
         ac_unrecognized_sep=', ';;
 
1419
    esac
 
1420
    eval with_$ac_useropt=\$ac_optarg ;;
1363
1421
 
1364
1422
  -without-* | --without-*)
1365
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1423
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1366
1424
    # Reject names that are not valid shell variable names.
1367
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1368
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1425
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1426
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1369
1427
   { (exit 1); exit 1; }; }
1370
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1371
 
    eval with_$ac_package=no ;;
 
1428
    ac_useropt_orig=$ac_useropt
 
1429
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1430
    case $ac_user_opts in
 
1431
      *"
 
1432
"with_$ac_useropt"
 
1433
"*) ;;
 
1434
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1435
         ac_unrecognized_sep=', ';;
 
1436
    esac
 
1437
    eval with_$ac_useropt=no ;;
1372
1438
 
1373
1439
  --x)
1374
1440
    # Obsolete; use --with-x.
1388
1454
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1389
1455
    x_libraries=$ac_optarg ;;
1390
1456
 
1391
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1457
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1392
1458
Try \`$0 --help' for more information." >&2
1393
1459
   { (exit 1); exit 1; }; }
1394
1460
    ;;
1397
1463
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1398
1464
    # Reject names that are not valid shell variable names.
1399
1465
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1400
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1466
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1401
1467
   { (exit 1); exit 1; }; }
1402
1468
    eval $ac_envvar=\$ac_optarg
1403
1469
    export $ac_envvar ;;
1404
1470
 
1405
1471
  *)
1406
1472
    # FIXME: should be removed in autoconf 3.0.
1407
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1473
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1408
1474
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1409
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1475
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1410
1476
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1411
1477
    ;;
1412
1478
 
1415
1481
 
1416
1482
if test -n "$ac_prev"; then
1417
1483
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1418
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1484
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1419
1485
   { (exit 1); exit 1; }; }
1420
1486
fi
1421
1487
 
1422
 
# Be sure to have absolute directory names.
 
1488
if test -n "$ac_unrecognized_opts"; then
 
1489
  case $enable_option_checking in
 
1490
    no) ;;
 
1491
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1492
   { (exit 1); exit 1; }; } ;;
 
1493
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1494
  esac
 
1495
fi
 
1496
 
 
1497
# Check all directory arguments for consistency.
1423
1498
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1424
1499
                datadir sysconfdir sharedstatedir localstatedir includedir \
1425
1500
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1426
1501
                libdir localedir mandir
1427
1502
do
1428
1503
  eval ac_val=\$$ac_var
 
1504
  # Remove trailing slashes.
 
1505
  case $ac_val in
 
1506
    */ )
 
1507
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1508
      eval $ac_var=\$ac_val;;
 
1509
  esac
 
1510
  # Be sure to have absolute directory names.
1429
1511
  case $ac_val in
1430
1512
    [\\/$]* | ?:[\\/]* )  continue;;
1431
1513
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1432
1514
  esac
1433
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1515
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1434
1516
   { (exit 1); exit 1; }; }
1435
1517
done
1436
1518
 
1445
1527
if test "x$host_alias" != x; then
1446
1528
  if test "x$build_alias" = x; then
1447
1529
    cross_compiling=maybe
1448
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1530
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1449
1531
    If a cross compiler is detected then cross compile mode will be used." >&2
1450
1532
  elif test "x$build_alias" != "x$host_alias"; then
1451
1533
    cross_compiling=yes
1461
1543
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1462
1544
ac_ls_di=`ls -di .` &&
1463
1545
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1464
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1546
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1465
1547
   { (exit 1); exit 1; }; }
1466
1548
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1467
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1549
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1468
1550
   { (exit 1); exit 1; }; }
1469
1551
 
1470
1552
 
1472
1554
if test -z "$srcdir"; then
1473
1555
  ac_srcdir_defaulted=yes
1474
1556
  # Try the directory containing this script, then the parent directory.
1475
 
  ac_confdir=`$as_dirname -- "$0" ||
1476
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1477
 
         X"$0" : 'X\(//\)[^/]' \| \
1478
 
         X"$0" : 'X\(//\)$' \| \
1479
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1480
 
echo X"$0" |
 
1557
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1558
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1559
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1560
         X"$as_myself" : 'X\(//\)$' \| \
 
1561
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1562
$as_echo X"$as_myself" |
1481
1563
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1482
1564
            s//\1/
1483
1565
            q
1504
1586
fi
1505
1587
if test ! -r "$srcdir/$ac_unique_file"; then
1506
1588
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1507
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1589
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1508
1590
   { (exit 1); exit 1; }; }
1509
1591
fi
1510
1592
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1511
1593
ac_abs_confdir=`(
1512
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1594
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1513
1595
   { (exit 1); exit 1; }; }
1514
1596
        pwd)`
1515
1597
# When building in place, set srcdir=.
1536
1618
  # Omit some internal or obsolete options to make the list less imposing.
1537
1619
  # This message is too long to be a string in the A/UX 3.1 sh.
1538
1620
  cat <<_ACEOF
1539
 
\`configure' configures F-Spot 0.4.4 to adapt to many kinds of systems.
 
1621
\`configure' configures F-Spot 0.5.0.3 to adapt to many kinds of systems.
1540
1622
 
1541
1623
Usage: $0 [OPTION]... [VAR=VALUE]...
1542
1624
 
1558
1640
 
1559
1641
Installation directories:
1560
1642
  --prefix=PREFIX         install architecture-independent files in PREFIX
1561
 
                          [$ac_default_prefix]
 
1643
                          [$ac_default_prefix]
1562
1644
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1563
 
                          [PREFIX]
 
1645
                          [PREFIX]
1564
1646
 
1565
1647
By default, \`make install' will install all the files in
1566
1648
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1570
1652
For better control, use the options below.
1571
1653
 
1572
1654
Fine tuning of the installation directories:
1573
 
  --bindir=DIR           user executables [EPREFIX/bin]
1574
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1575
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1576
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1577
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1578
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1579
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1580
 
  --includedir=DIR       C header files [PREFIX/include]
1581
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1582
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1583
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1584
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1585
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1586
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1587
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/f-spot]
1588
 
  --htmldir=DIR          html documentation [DOCDIR]
1589
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1590
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1591
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1655
  --bindir=DIR            user executables [EPREFIX/bin]
 
1656
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1657
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1658
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1659
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1660
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1661
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1662
  --includedir=DIR        C header files [PREFIX/include]
 
1663
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1664
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1665
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1666
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1667
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1668
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1669
  --docdir=DIR            documentation root [DATAROOTDIR/doc/f-spot]
 
1670
  --htmldir=DIR           html documentation [DOCDIR]
 
1671
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1672
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1673
  --psdir=DIR             ps documentation [DOCDIR]
1592
1674
_ACEOF
1593
1675
 
1594
1676
  cat <<\_ACEOF
1606
1688
 
1607
1689
if test -n "$ac_init_help"; then
1608
1690
  case $ac_init_help in
1609
 
     short | recursive ) echo "Configuration of F-Spot 0.4.4:";;
 
1691
     short | recursive ) echo "Configuration of F-Spot 0.5.0.3:";;
1610
1692
   esac
1611
1693
  cat <<\_ACEOF
1612
1694
 
1613
1695
Optional Features:
 
1696
  --disable-option-checking  ignore unrecognized --enable/--with options
1614
1697
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1615
1698
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1616
1699
  --enable-maintainer-mode  enable make rules and dependencies not useful
1625
1708
  --disable-glibtest      do not try to compile and run a test GLIB program
1626
1709
  --disable-scrollkeeper  do not make updates to the scrollkeeper database
1627
1710
  --disable-gconf         build without gconf preference backend
 
1711
  --disable-unit          build without unit tests
1628
1712
  --disable-schemas-install     Disable the schemas installation
1629
1713
 
1630
1714
Optional Packages:
1631
1715
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1632
1716
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1633
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1634
1717
  --with-pic              try to use only PIC/non-PIC objects [default=use
1635
1718
                          both]
1636
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1719
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1637
1720
  --with-help-dir=DIR     path to help docs
1638
1721
  --with-omf-dir=DIR      path to OMF files
1639
1722
  --with-help-formats=FORMATS
1640
1723
                          list of formats
1641
 
  --with-gconf-source=sourceaddress      Config database for installing schema files.
1642
 
  --with-gconf-schema-file-dir=dir        Directory for installing schema files.
 
1724
  --with-gconf-source=sourceaddress
 
1725
                          Config database for installing schema files.
 
1726
  --with-gconf-schema-file-dir=dir
 
1727
                          Directory for installing schema files.
1643
1728
 --with-turtle=DIR                set path to source directory for turtle
1644
1729
 --with-gnome-screensaver=PREFIX  set gnome gnome-screensaver prefix
1645
1730
 
1652
1737
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1653
1738
              you have headers in a nonstandard directory <include dir>
1654
1739
  CPP         C preprocessor
1655
 
  CXX         C++ compiler command
1656
 
  CXXFLAGS    C++ compiler flags
1657
 
  CXXCPP      C++ preprocessor
1658
 
  F77         Fortran 77 compiler command
1659
 
  FFLAGS      Fortran 77 compiler flags
1660
1740
  PKG_CONFIG  path to pkg-config utility
1661
1741
  F_CFLAGS    C compiler flags for F, overriding pkg-config
1662
1742
  F_LIBS      linker flags for F, overriding pkg-config
1664
1744
              C compiler flags for GNOME_SHARP, overriding pkg-config
1665
1745
  GNOME_SHARP_LIBS
1666
1746
              linker flags for GNOME_SHARP, overriding pkg-config
1667
 
  GTKHTML_SHARP_CFLAGS
1668
 
              C compiler flags for GTKHTML_SHARP, overriding pkg-config
1669
 
  GTKHTML_SHARP_LIBS
1670
 
              linker flags for GTKHTML_SHARP, overriding pkg-config
1671
1747
  GCONF_SHARP_CFLAGS
1672
1748
              C compiler flags for GCONF_SHARP, overriding pkg-config
1673
1749
  GCONF_SHARP_LIBS
1714
1790
if test "$ac_init_help" = "recursive"; then
1715
1791
  # If there are subdirs, report their specific --help.
1716
1792
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1717
 
    test -d "$ac_dir" || continue
 
1793
    test -d "$ac_dir" ||
 
1794
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1795
      continue
1718
1796
    ac_builddir=.
1719
1797
 
1720
1798
case "$ac_dir" in
1721
1799
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1722
1800
*)
1723
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1801
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1724
1802
  # A ".." for each directory in $ac_dir_suffix.
1725
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1803
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1726
1804
  case $ac_top_builddir_sub in
1727
1805
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1728
1806
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1758
1836
      echo &&
1759
1837
      $SHELL "$ac_srcdir/configure" --help=recursive
1760
1838
    else
1761
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1839
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1762
1840
    fi || ac_status=$?
1763
1841
    cd "$ac_pwd" || { ac_status=$?; break; }
1764
1842
  done
1767
1845
test -n "$ac_init_help" && exit $ac_status
1768
1846
if $ac_init_version; then
1769
1847
  cat <<\_ACEOF
1770
 
F-Spot configure 0.4.4
1771
 
generated by GNU Autoconf 2.61
 
1848
F-Spot configure 0.5.0.3
 
1849
generated by GNU Autoconf 2.63
1772
1850
 
1773
1851
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1774
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1852
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1775
1853
This configure script is free software; the Free Software Foundation
1776
1854
gives unlimited permission to copy, distribute and modify it.
1777
1855
_ACEOF
1781
1859
This file contains any messages produced by compilers while
1782
1860
running configure, to aid debugging if configure makes a mistake.
1783
1861
 
1784
 
It was created by F-Spot $as_me 0.4.4, which was
1785
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1862
It was created by F-Spot $as_me 0.5.0.3, which was
 
1863
generated by GNU Autoconf 2.63.  Invocation command line was
1786
1864
 
1787
1865
  $ $0 $@
1788
1866
 
1818
1896
do
1819
1897
  IFS=$as_save_IFS
1820
1898
  test -z "$as_dir" && as_dir=.
1821
 
  echo "PATH: $as_dir"
 
1899
  $as_echo "PATH: $as_dir"
1822
1900
done
1823
1901
IFS=$as_save_IFS
1824
1902
 
1853
1931
    | -silent | --silent | --silen | --sile | --sil)
1854
1932
      continue ;;
1855
1933
    *\'*)
1856
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1934
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1857
1935
    esac
1858
1936
    case $ac_pass in
1859
1937
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1905
1983
    case $ac_val in #(
1906
1984
    *${as_nl}*)
1907
1985
      case $ac_var in #(
1908
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1909
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1986
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1987
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1910
1988
      esac
1911
1989
      case $ac_var in #(
1912
1990
      _ | IFS | as_nl) ;; #(
 
1991
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1913
1992
      *) $as_unset $ac_var ;;
1914
1993
      esac ;;
1915
1994
    esac
1939
2018
    do
1940
2019
      eval ac_val=\$$ac_var
1941
2020
      case $ac_val in
1942
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2021
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1943
2022
      esac
1944
 
      echo "$ac_var='\''$ac_val'\''"
 
2023
      $as_echo "$ac_var='\''$ac_val'\''"
1945
2024
    done | sort
1946
2025
    echo
1947
2026
 
1956
2035
      do
1957
2036
        eval ac_val=\$$ac_var
1958
2037
        case $ac_val in
1959
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2038
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1960
2039
        esac
1961
 
        echo "$ac_var='\''$ac_val'\''"
 
2040
        $as_echo "$ac_var='\''$ac_val'\''"
1962
2041
      done | sort
1963
2042
      echo
1964
2043
    fi
1974
2053
      echo
1975
2054
    fi
1976
2055
    test "$ac_signal" != 0 &&
1977
 
      echo "$as_me: caught signal $ac_signal"
1978
 
    echo "$as_me: exit $exit_status"
 
2056
      $as_echo "$as_me: caught signal $ac_signal"
 
2057
    $as_echo "$as_me: exit $exit_status"
1979
2058
  } >&5
1980
2059
  rm -f core *.core core.conftest.* &&
1981
2060
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2017
2096
 
2018
2097
 
2019
2098
# Let the site file select an alternate cache file if it wants to.
2020
 
# Prefer explicitly selected file to automatically selected ones.
 
2099
# Prefer an explicitly selected file to automatically selected ones.
 
2100
ac_site_file1=NONE
 
2101
ac_site_file2=NONE
2021
2102
if test -n "$CONFIG_SITE"; then
2022
 
  set x "$CONFIG_SITE"
 
2103
  ac_site_file1=$CONFIG_SITE
2023
2104
elif test "x$prefix" != xNONE; then
2024
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
2105
  ac_site_file1=$prefix/share/config.site
 
2106
  ac_site_file2=$prefix/etc/config.site
2025
2107
else
2026
 
  set x "$ac_default_prefix/share/config.site" \
2027
 
        "$ac_default_prefix/etc/config.site"
 
2108
  ac_site_file1=$ac_default_prefix/share/config.site
 
2109
  ac_site_file2=$ac_default_prefix/etc/config.site
2028
2110
fi
2029
 
shift
2030
 
for ac_site_file
 
2111
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2031
2112
do
 
2113
  test "x$ac_site_file" = xNONE && continue
2032
2114
  if test -r "$ac_site_file"; then
2033
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2034
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2115
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2116
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2035
2117
    sed 's/^/| /' "$ac_site_file" >&5
2036
2118
    . "$ac_site_file"
2037
2119
  fi
2041
2123
  # Some versions of bash will fail to source /dev/null (special
2042
2124
  # files actually), so we avoid doing that.
2043
2125
  if test -f "$cache_file"; then
2044
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2045
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2126
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2127
$as_echo "$as_me: loading cache $cache_file" >&6;}
2046
2128
    case $cache_file in
2047
2129
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2048
2130
      *)                      . "./$cache_file";;
2049
2131
    esac
2050
2132
  fi
2051
2133
else
2052
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2053
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2134
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2135
$as_echo "$as_me: creating cache $cache_file" >&6;}
2054
2136
  >$cache_file
2055
2137
fi
2056
2138
 
2064
2146
  eval ac_new_val=\$ac_env_${ac_var}_value
2065
2147
  case $ac_old_set,$ac_new_set in
2066
2148
    set,)
2067
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2068
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2149
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2150
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2069
2151
      ac_cache_corrupted=: ;;
2070
2152
    ,set)
2071
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2072
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2153
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2154
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2073
2155
      ac_cache_corrupted=: ;;
2074
2156
    ,);;
2075
2157
    *)
2076
2158
      if test "x$ac_old_val" != "x$ac_new_val"; then
2077
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2078
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2079
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2080
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
2081
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2082
 
echo "$as_me:   current value: $ac_new_val" >&2;}
2083
 
        ac_cache_corrupted=:
 
2159
        # differences in whitespace do not lead to failure.
 
2160
        ac_old_val_w=`echo x $ac_old_val`
 
2161
        ac_new_val_w=`echo x $ac_new_val`
 
2162
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2163
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2164
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2165
          ac_cache_corrupted=:
 
2166
        else
 
2167
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2168
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2169
          eval $ac_var=\$ac_old_val
 
2170
        fi
 
2171
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2172
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2173
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2174
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2084
2175
      fi;;
2085
2176
  esac
2086
2177
  # Pass precious variables to config.status.
2087
2178
  if test "$ac_new_set" = set; then
2088
2179
    case $ac_new_val in
2089
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2180
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2090
2181
    *) ac_arg=$ac_var=$ac_new_val ;;
2091
2182
    esac
2092
2183
    case " $ac_configure_args " in
2096
2187
  fi
2097
2188
done
2098
2189
if $ac_cache_corrupted; then
2099
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2100
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2101
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2102
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2190
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2191
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2192
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2193
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2194
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2195
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2103
2196
   { (exit 1); exit 1; }; }
2104
2197
fi
2105
2198
 
2158
2251
  fi
2159
2252
done
2160
2253
if test -z "$ac_aux_dir"; then
2161
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2162
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
2254
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2255
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2163
2256
   { (exit 1); exit 1; }; }
2164
2257
fi
2165
2258
 
2185
2278
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2186
2279
# OS/2's system install, which has a completely different semantic
2187
2280
# ./install, which can be erroneously created by make from ./install.sh.
2188
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2189
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2281
# Reject install programs that cannot install multiple files.
 
2282
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2283
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2190
2284
if test -z "$INSTALL"; then
2191
2285
if test "${ac_cv_path_install+set}" = set; then
2192
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2286
  $as_echo_n "(cached) " >&6
2193
2287
else
2194
2288
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195
2289
for as_dir in $PATH
2218
2312
            # program-specific install script used by HP pwplus--don't use.
2219
2313
            :
2220
2314
          else
2221
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2222
 
            break 3
 
2315
            rm -rf conftest.one conftest.two conftest.dir
 
2316
            echo one > conftest.one
 
2317
            echo two > conftest.two
 
2318
            mkdir conftest.dir
 
2319
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2320
              test -s conftest.one && test -s conftest.two &&
 
2321
              test -s conftest.dir/conftest.one &&
 
2322
              test -s conftest.dir/conftest.two
 
2323
            then
 
2324
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2325
              break 3
 
2326
            fi
2223
2327
          fi
2224
2328
        fi
2225
2329
      done
2226
2330
    done
2227
2331
    ;;
2228
2332
esac
 
2333
 
2229
2334
done
2230
2335
IFS=$as_save_IFS
2231
2336
 
 
2337
rm -rf conftest.one conftest.two conftest.dir
2232
2338
 
2233
2339
fi
2234
2340
  if test "${ac_cv_path_install+set}" = set; then
2241
2347
    INSTALL=$ac_install_sh
2242
2348
  fi
2243
2349
fi
2244
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2245
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2350
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2351
$as_echo "$INSTALL" >&6; }
2246
2352
 
2247
2353
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2248
2354
# It thinks the first close brace ends the variable substitution.
2252
2358
 
2253
2359
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2254
2360
 
2255
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2256
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2361
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2362
$as_echo_n "checking whether build environment is sane... " >&6; }
2257
2363
# Just in case
2258
2364
sleep 1
2259
2365
echo timestamp > conftest.file
2276
2382
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2277
2383
      # broken ls alias from the environment.  This has actually
2278
2384
      # happened.  Such a system could not be considered "sane".
2279
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2385
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2280
2386
alias in your environment" >&5
2281
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2387
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2282
2388
alias in your environment" >&2;}
2283
2389
   { (exit 1); exit 1; }; }
2284
2390
   fi
2289
2395
   # Ok.
2290
2396
   :
2291
2397
else
2292
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2398
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2293
2399
Check your system clock" >&5
2294
 
echo "$as_me: error: newly created file is older than distributed files!
 
2400
$as_echo "$as_me: error: newly created file is older than distributed files!
2295
2401
Check your system clock" >&2;}
2296
2402
   { (exit 1); exit 1; }; }
2297
2403
fi
2298
 
{ echo "$as_me:$LINENO: result: yes" >&5
2299
 
echo "${ECHO_T}yes" >&6; }
 
2404
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2405
$as_echo "yes" >&6; }
2300
2406
test "$program_prefix" != NONE &&
2301
2407
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2302
2408
# Use a double $ so make ignores it.
2303
2409
test "$program_suffix" != NONE &&
2304
2410
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2305
 
# Double any \ or $.  echo might interpret backslashes.
 
2411
# Double any \ or $.
2306
2412
# By default was `s,x,x', remove it if useless.
2307
 
cat <<\_ACEOF >conftest.sed
2308
 
s/[\\$]/&&/g;s/;s,x,x,$//
2309
 
_ACEOF
2310
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2311
 
rm -f conftest.sed
 
2413
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2414
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2312
2415
 
2313
2416
# expand $ac_aux_dir to an absolute path
2314
2417
am_aux_dir=`cd $ac_aux_dir && pwd`
2319
2422
  am_missing_run="$MISSING --run "
2320
2423
else
2321
2424
  am_missing_run=
2322
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2323
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2425
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2426
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2324
2427
fi
2325
2428
 
2326
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2327
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2429
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2430
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2328
2431
if test -z "$MKDIR_P"; then
2329
2432
  if test "${ac_cv_path_mkdir+set}" = set; then
2330
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2433
  $as_echo_n "(cached) " >&6
2331
2434
else
2332
2435
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333
2436
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2362
2465
    MKDIR_P="$ac_install_sh -d"
2363
2466
  fi
2364
2467
fi
2365
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2366
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2468
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2469
$as_echo "$MKDIR_P" >&6; }
2367
2470
 
2368
2471
mkdir_p="$MKDIR_P"
2369
2472
case $mkdir_p in
2375
2478
do
2376
2479
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2377
2480
set dummy $ac_prog; ac_word=$2
2378
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2379
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2481
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2482
$as_echo_n "checking for $ac_word... " >&6; }
2380
2483
if test "${ac_cv_prog_AWK+set}" = set; then
2381
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2484
  $as_echo_n "(cached) " >&6
2382
2485
else
2383
2486
  if test -n "$AWK"; then
2384
2487
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2391
2494
  for ac_exec_ext in '' $ac_executable_extensions; do
2392
2495
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2393
2496
    ac_cv_prog_AWK="$ac_prog"
2394
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2497
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2395
2498
    break 2
2396
2499
  fi
2397
2500
done
2402
2505
fi
2403
2506
AWK=$ac_cv_prog_AWK
2404
2507
if test -n "$AWK"; then
2405
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2406
 
echo "${ECHO_T}$AWK" >&6; }
 
2508
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2509
$as_echo "$AWK" >&6; }
2407
2510
else
2408
 
  { echo "$as_me:$LINENO: result: no" >&5
2409
 
echo "${ECHO_T}no" >&6; }
 
2511
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2512
$as_echo "no" >&6; }
2410
2513
fi
2411
2514
 
2412
2515
 
2413
2516
  test -n "$AWK" && break
2414
2517
done
2415
2518
 
2416
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2417
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2418
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2519
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2520
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2521
set x ${MAKE-make}
 
2522
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2419
2523
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2420
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2524
  $as_echo_n "(cached) " >&6
2421
2525
else
2422
2526
  cat >conftest.make <<\_ACEOF
2423
2527
SHELL = /bin/sh
2434
2538
rm -f conftest.make
2435
2539
fi
2436
2540
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2437
 
  { echo "$as_me:$LINENO: result: yes" >&5
2438
 
echo "${ECHO_T}yes" >&6; }
 
2541
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2542
$as_echo "yes" >&6; }
2439
2543
  SET_MAKE=
2440
2544
else
2441
 
  { echo "$as_me:$LINENO: result: no" >&5
2442
 
echo "${ECHO_T}no" >&6; }
 
2545
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2546
$as_echo "no" >&6; }
2443
2547
  SET_MAKE="MAKE=${MAKE-make}"
2444
2548
fi
2445
2549
 
2458
2562
  am__isrc=' -I$(srcdir)'
2459
2563
  # test to see if srcdir already configured
2460
2564
  if test -f $srcdir/config.status; then
2461
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2462
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2565
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2566
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2463
2567
   { (exit 1); exit 1; }; }
2464
2568
  fi
2465
2569
fi
2476
2580
 
2477
2581
# Define the identity of the package.
2478
2582
 PACKAGE='f-spot'
2479
 
 VERSION='0.4.4'
 
2583
 VERSION='0.5.0.3'
2480
2584
 
2481
2585
 
2482
2586
cat >>confdefs.h <<_ACEOF
2514
2618
  if test -n "$ac_tool_prefix"; then
2515
2619
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2516
2620
set dummy ${ac_tool_prefix}strip; ac_word=$2
2517
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2518
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2621
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2622
$as_echo_n "checking for $ac_word... " >&6; }
2519
2623
if test "${ac_cv_prog_STRIP+set}" = set; then
2520
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2624
  $as_echo_n "(cached) " >&6
2521
2625
else
2522
2626
  if test -n "$STRIP"; then
2523
2627
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2530
2634
  for ac_exec_ext in '' $ac_executable_extensions; do
2531
2635
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532
2636
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2533
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2637
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2534
2638
    break 2
2535
2639
  fi
2536
2640
done
2541
2645
fi
2542
2646
STRIP=$ac_cv_prog_STRIP
2543
2647
if test -n "$STRIP"; then
2544
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2545
 
echo "${ECHO_T}$STRIP" >&6; }
 
2648
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2649
$as_echo "$STRIP" >&6; }
2546
2650
else
2547
 
  { echo "$as_me:$LINENO: result: no" >&5
2548
 
echo "${ECHO_T}no" >&6; }
 
2651
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2652
$as_echo "no" >&6; }
2549
2653
fi
2550
2654
 
2551
2655
 
2554
2658
  ac_ct_STRIP=$STRIP
2555
2659
  # Extract the first word of "strip", so it can be a program name with args.
2556
2660
set dummy strip; ac_word=$2
2557
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2558
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2661
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2662
$as_echo_n "checking for $ac_word... " >&6; }
2559
2663
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2560
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2664
  $as_echo_n "(cached) " >&6
2561
2665
else
2562
2666
  if test -n "$ac_ct_STRIP"; then
2563
2667
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2570
2674
  for ac_exec_ext in '' $ac_executable_extensions; do
2571
2675
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2572
2676
    ac_cv_prog_ac_ct_STRIP="strip"
2573
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2677
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2574
2678
    break 2
2575
2679
  fi
2576
2680
done
2581
2685
fi
2582
2686
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2583
2687
if test -n "$ac_ct_STRIP"; then
2584
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2585
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2688
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2689
$as_echo "$ac_ct_STRIP" >&6; }
2586
2690
else
2587
 
  { echo "$as_me:$LINENO: result: no" >&5
2588
 
echo "${ECHO_T}no" >&6; }
 
2691
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2692
$as_echo "no" >&6; }
2589
2693
fi
2590
2694
 
2591
2695
  if test "x$ac_ct_STRIP" = x; then
2593
2697
  else
2594
2698
    case $cross_compiling:$ac_tool_warned in
2595
2699
yes:)
2596
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2597
 
whose name does not start with the host triplet.  If you think this
2598
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2599
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2600
 
whose name does not start with the host triplet.  If you think this
2601
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2700
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2701
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2602
2702
ac_tool_warned=yes ;;
2603
2703
esac
2604
2704
    STRIP=$ac_ct_STRIP
2617
2717
AMTAR=${AMTAR-"${am_missing_run}tar"}
2618
2718
 
2619
2719
 
2620
 
{ echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2621
 
echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6; }
 
2720
{ $as_echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
 
2721
$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2622
2722
# Loop over all known methods to create a tar archive until one works.
2623
2723
_am_tools='gnutar plaintar pax cpio none'
2624
2724
_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2691
2791
rm -rf conftest.dir
2692
2792
 
2693
2793
if test "${am_cv_prog_tar_ustar+set}" = set; then
2694
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2794
  $as_echo_n "(cached) " >&6
2695
2795
else
2696
2796
  am_cv_prog_tar_ustar=$_am_tool
2697
2797
fi
2698
2798
 
2699
 
{ echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2700
 
echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6; }
2701
 
 
2702
 
 
2703
 
 
2704
 
 
2705
 
 
2706
 
 
2707
 
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2708
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2799
{ $as_echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
 
2800
$as_echo "$am_cv_prog_tar_ustar" >&6; }
 
2801
 
 
2802
 
 
2803
 
 
2804
 
 
2805
 
 
2806
 
 
2807
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2808
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2709
2809
    # Check whether --enable-maintainer-mode was given.
2710
2810
if test "${enable_maintainer_mode+set}" = set; then
2711
2811
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2713
2813
  USE_MAINTAINER_MODE=no
2714
2814
fi
2715
2815
 
2716
 
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2717
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
2816
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2817
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2718
2818
   if test $USE_MAINTAINER_MODE = yes; then
2719
2819
  MAINTAINER_MODE_TRUE=
2720
2820
  MAINTAINER_MODE_FALSE='#'
2739
2839
.PHONY: am__doit
2740
2840
END
2741
2841
# If we don't find an include directive, just comment out the code.
2742
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2743
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
2842
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2843
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2744
2844
am__include="#"
2745
2845
am__quote=
2746
2846
_am_result=none
2767
2867
fi
2768
2868
 
2769
2869
 
2770
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2771
 
echo "${ECHO_T}$_am_result" >&6; }
 
2870
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
2871
$as_echo "$_am_result" >&6; }
2772
2872
rm -f confinc confmf
2773
2873
 
2774
2874
# Check whether --enable-dependency-tracking was given.
2797
2897
if test -n "$ac_tool_prefix"; then
2798
2898
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2799
2899
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2800
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2801
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2900
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2901
$as_echo_n "checking for $ac_word... " >&6; }
2802
2902
if test "${ac_cv_prog_CC+set}" = set; then
2803
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2903
  $as_echo_n "(cached) " >&6
2804
2904
else
2805
2905
  if test -n "$CC"; then
2806
2906
  ac_cv_prog_CC="$CC" # Let the user override the test.
2813
2913
  for ac_exec_ext in '' $ac_executable_extensions; do
2814
2914
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2815
2915
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2816
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2916
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2817
2917
    break 2
2818
2918
  fi
2819
2919
done
2824
2924
fi
2825
2925
CC=$ac_cv_prog_CC
2826
2926
if test -n "$CC"; then
2827
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2828
 
echo "${ECHO_T}$CC" >&6; }
 
2927
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2928
$as_echo "$CC" >&6; }
2829
2929
else
2830
 
  { echo "$as_me:$LINENO: result: no" >&5
2831
 
echo "${ECHO_T}no" >&6; }
 
2930
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2931
$as_echo "no" >&6; }
2832
2932
fi
2833
2933
 
2834
2934
 
2837
2937
  ac_ct_CC=$CC
2838
2938
  # Extract the first word of "gcc", so it can be a program name with args.
2839
2939
set dummy gcc; ac_word=$2
2840
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2841
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2940
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2941
$as_echo_n "checking for $ac_word... " >&6; }
2842
2942
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2843
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2943
  $as_echo_n "(cached) " >&6
2844
2944
else
2845
2945
  if test -n "$ac_ct_CC"; then
2846
2946
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2853
2953
  for ac_exec_ext in '' $ac_executable_extensions; do
2854
2954
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2855
2955
    ac_cv_prog_ac_ct_CC="gcc"
2856
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2956
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2857
2957
    break 2
2858
2958
  fi
2859
2959
done
2864
2964
fi
2865
2965
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2866
2966
if test -n "$ac_ct_CC"; then
2867
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2868
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2967
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2968
$as_echo "$ac_ct_CC" >&6; }
2869
2969
else
2870
 
  { echo "$as_me:$LINENO: result: no" >&5
2871
 
echo "${ECHO_T}no" >&6; }
 
2970
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2971
$as_echo "no" >&6; }
2872
2972
fi
2873
2973
 
2874
2974
  if test "x$ac_ct_CC" = x; then
2876
2976
  else
2877
2977
    case $cross_compiling:$ac_tool_warned in
2878
2978
yes:)
2879
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2880
 
whose name does not start with the host triplet.  If you think this
2881
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2882
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2883
 
whose name does not start with the host triplet.  If you think this
2884
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2979
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2980
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2885
2981
ac_tool_warned=yes ;;
2886
2982
esac
2887
2983
    CC=$ac_ct_CC
2894
2990
          if test -n "$ac_tool_prefix"; then
2895
2991
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2896
2992
set dummy ${ac_tool_prefix}cc; ac_word=$2
2897
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2898
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2993
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2994
$as_echo_n "checking for $ac_word... " >&6; }
2899
2995
if test "${ac_cv_prog_CC+set}" = set; then
2900
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2996
  $as_echo_n "(cached) " >&6
2901
2997
else
2902
2998
  if test -n "$CC"; then
2903
2999
  ac_cv_prog_CC="$CC" # Let the user override the test.
2910
3006
  for ac_exec_ext in '' $ac_executable_extensions; do
2911
3007
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2912
3008
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2913
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3009
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2914
3010
    break 2
2915
3011
  fi
2916
3012
done
2921
3017
fi
2922
3018
CC=$ac_cv_prog_CC
2923
3019
if test -n "$CC"; then
2924
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2925
 
echo "${ECHO_T}$CC" >&6; }
 
3020
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3021
$as_echo "$CC" >&6; }
2926
3022
else
2927
 
  { echo "$as_me:$LINENO: result: no" >&5
2928
 
echo "${ECHO_T}no" >&6; }
 
3023
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3024
$as_echo "no" >&6; }
2929
3025
fi
2930
3026
 
2931
3027
 
2934
3030
if test -z "$CC"; then
2935
3031
  # Extract the first word of "cc", so it can be a program name with args.
2936
3032
set dummy cc; ac_word=$2
2937
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2938
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3033
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3034
$as_echo_n "checking for $ac_word... " >&6; }
2939
3035
if test "${ac_cv_prog_CC+set}" = set; then
2940
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3036
  $as_echo_n "(cached) " >&6
2941
3037
else
2942
3038
  if test -n "$CC"; then
2943
3039
  ac_cv_prog_CC="$CC" # Let the user override the test.
2955
3051
       continue
2956
3052
     fi
2957
3053
    ac_cv_prog_CC="cc"
2958
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3054
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2959
3055
    break 2
2960
3056
  fi
2961
3057
done
2978
3074
fi
2979
3075
CC=$ac_cv_prog_CC
2980
3076
if test -n "$CC"; then
2981
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2982
 
echo "${ECHO_T}$CC" >&6; }
 
3077
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3078
$as_echo "$CC" >&6; }
2983
3079
else
2984
 
  { echo "$as_me:$LINENO: result: no" >&5
2985
 
echo "${ECHO_T}no" >&6; }
 
3080
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3081
$as_echo "no" >&6; }
2986
3082
fi
2987
3083
 
2988
3084
 
2993
3089
  do
2994
3090
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2995
3091
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2996
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2997
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3092
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3093
$as_echo_n "checking for $ac_word... " >&6; }
2998
3094
if test "${ac_cv_prog_CC+set}" = set; then
2999
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3095
  $as_echo_n "(cached) " >&6
3000
3096
else
3001
3097
  if test -n "$CC"; then
3002
3098
  ac_cv_prog_CC="$CC" # Let the user override the test.
3009
3105
  for ac_exec_ext in '' $ac_executable_extensions; do
3010
3106
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3011
3107
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3012
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3108
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3013
3109
    break 2
3014
3110
  fi
3015
3111
done
3020
3116
fi
3021
3117
CC=$ac_cv_prog_CC
3022
3118
if test -n "$CC"; then
3023
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3024
 
echo "${ECHO_T}$CC" >&6; }
 
3119
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3120
$as_echo "$CC" >&6; }
3025
3121
else
3026
 
  { echo "$as_me:$LINENO: result: no" >&5
3027
 
echo "${ECHO_T}no" >&6; }
 
3122
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3123
$as_echo "no" >&6; }
3028
3124
fi
3029
3125
 
3030
3126
 
3037
3133
do
3038
3134
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3039
3135
set dummy $ac_prog; ac_word=$2
3040
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3041
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3136
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3137
$as_echo_n "checking for $ac_word... " >&6; }
3042
3138
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3043
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3139
  $as_echo_n "(cached) " >&6
3044
3140
else
3045
3141
  if test -n "$ac_ct_CC"; then
3046
3142
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3053
3149
  for ac_exec_ext in '' $ac_executable_extensions; do
3054
3150
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3055
3151
    ac_cv_prog_ac_ct_CC="$ac_prog"
3056
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3152
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3057
3153
    break 2
3058
3154
  fi
3059
3155
done
3064
3160
fi
3065
3161
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3066
3162
if test -n "$ac_ct_CC"; then
3067
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3068
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3163
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3164
$as_echo "$ac_ct_CC" >&6; }
3069
3165
else
3070
 
  { echo "$as_me:$LINENO: result: no" >&5
3071
 
echo "${ECHO_T}no" >&6; }
 
3166
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3167
$as_echo "no" >&6; }
3072
3168
fi
3073
3169
 
3074
3170
 
3080
3176
  else
3081
3177
    case $cross_compiling:$ac_tool_warned in
3082
3178
yes:)
3083
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3084
 
whose name does not start with the host triplet.  If you think this
3085
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3086
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3087
 
whose name does not start with the host triplet.  If you think this
3088
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3179
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3180
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3089
3181
ac_tool_warned=yes ;;
3090
3182
esac
3091
3183
    CC=$ac_ct_CC
3095
3187
fi
3096
3188
 
3097
3189
 
3098
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3190
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3191
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3192
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3099
3193
See \`config.log' for more details." >&5
3100
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
3194
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3101
3195
See \`config.log' for more details." >&2;}
3102
 
   { (exit 1); exit 1; }; }
 
3196
   { (exit 1); exit 1; }; }; }
3103
3197
 
3104
3198
# Provide some information about the compiler.
3105
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
3106
 
ac_compiler=`set X $ac_compile; echo $2`
 
3199
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3200
set X $ac_compile
 
3201
ac_compiler=$2
3107
3202
{ (ac_try="$ac_compiler --version >&5"
3108
3203
case "(($ac_try" in
3109
3204
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110
3205
  *) ac_try_echo=$ac_try;;
3111
3206
esac
3112
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3207
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3208
$as_echo "$ac_try_echo") >&5
3113
3209
  (eval "$ac_compiler --version >&5") 2>&5
3114
3210
  ac_status=$?
3115
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3211
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116
3212
  (exit $ac_status); }
3117
3213
{ (ac_try="$ac_compiler -v >&5"
3118
3214
case "(($ac_try" in
3119
3215
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120
3216
  *) ac_try_echo=$ac_try;;
3121
3217
esac
3122
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3218
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3219
$as_echo "$ac_try_echo") >&5
3123
3220
  (eval "$ac_compiler -v >&5") 2>&5
3124
3221
  ac_status=$?
3125
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3222
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126
3223
  (exit $ac_status); }
3127
3224
{ (ac_try="$ac_compiler -V >&5"
3128
3225
case "(($ac_try" in
3129
3226
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130
3227
  *) ac_try_echo=$ac_try;;
3131
3228
esac
3132
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3229
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3230
$as_echo "$ac_try_echo") >&5
3133
3231
  (eval "$ac_compiler -V >&5") 2>&5
3134
3232
  ac_status=$?
3135
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3233
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136
3234
  (exit $ac_status); }
3137
3235
 
3138
3236
cat >conftest.$ac_ext <<_ACEOF
3151
3249
}
3152
3250
_ACEOF
3153
3251
ac_clean_files_save=$ac_clean_files
3154
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3252
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3155
3253
# Try to create an executable without -o first, disregard a.out.
3156
3254
# It will help us diagnose broken compilers, and finding out an intuition
3157
3255
# of exeext.
3158
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3159
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3160
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3161
 
#
3162
 
# List of possible output files, starting from the most likely.
3163
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3164
 
# only as a last resort.  b.out is created by i960 compilers.
3165
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3166
 
#
3167
 
# The IRIX 6 linker writes into existing files which may not be
3168
 
# executable, retaining their permissions.  Remove them first so a
3169
 
# subsequent execution test works.
 
3256
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3257
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3258
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3259
 
 
3260
# The possible output files:
 
3261
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3262
 
3170
3263
ac_rmfiles=
3171
3264
for ac_file in $ac_files
3172
3265
do
3173
3266
  case $ac_file in
3174
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3267
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3175
3268
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3176
3269
  esac
3177
3270
done
3182
3275
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3183
3276
  *) ac_try_echo=$ac_try;;
3184
3277
esac
3185
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3278
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3279
$as_echo "$ac_try_echo") >&5
3186
3280
  (eval "$ac_link_default") 2>&5
3187
3281
  ac_status=$?
3188
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3282
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189
3283
  (exit $ac_status); }; then
3190
3284
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3191
3285
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3196
3290
do
3197
3291
  test -f "$ac_file" || continue
3198
3292
  case $ac_file in
3199
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3293
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3200
3294
        ;;
3201
3295
    [ab].out )
3202
3296
        # We found the default executable, but exeext='' is most
3223
3317
  ac_file=''
3224
3318
fi
3225
3319
 
3226
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3227
 
echo "${ECHO_T}$ac_file" >&6; }
 
3320
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3321
$as_echo "$ac_file" >&6; }
3228
3322
if test -z "$ac_file"; then
3229
 
  echo "$as_me: failed program was:" >&5
 
3323
  $as_echo "$as_me: failed program was:" >&5
3230
3324
sed 's/^/| /' conftest.$ac_ext >&5
3231
3325
 
3232
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3326
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3327
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3328
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3233
3329
See \`config.log' for more details." >&5
3234
 
echo "$as_me: error: C compiler cannot create executables
 
3330
$as_echo "$as_me: error: C compiler cannot create executables
3235
3331
See \`config.log' for more details." >&2;}
3236
 
   { (exit 77); exit 77; }; }
 
3332
   { (exit 77); exit 77; }; }; }
3237
3333
fi
3238
3334
 
3239
3335
ac_exeext=$ac_cv_exeext
3240
3336
 
3241
3337
# Check that the compiler produces executables we can run.  If not, either
3242
3338
# the compiler is broken, or we cross compile.
3243
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3244
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
3339
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3340
$as_echo_n "checking whether the C compiler works... " >&6; }
3245
3341
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3246
3342
# If not cross compiling, check that we can run a simple program.
3247
3343
if test "$cross_compiling" != yes; then
3250
3346
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3251
3347
  *) ac_try_echo=$ac_try;;
3252
3348
esac
3253
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3349
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3350
$as_echo "$ac_try_echo") >&5
3254
3351
  (eval "$ac_try") 2>&5
3255
3352
  ac_status=$?
3256
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3353
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257
3354
  (exit $ac_status); }; }; then
3258
3355
    cross_compiling=no
3259
3356
  else
3260
3357
    if test "$cross_compiling" = maybe; then
3261
3358
        cross_compiling=yes
3262
3359
    else
3263
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3360
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3361
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3362
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3264
3363
If you meant to cross compile, use \`--host'.
3265
3364
See \`config.log' for more details." >&5
3266
 
echo "$as_me: error: cannot run C compiled programs.
 
3365
$as_echo "$as_me: error: cannot run C compiled programs.
3267
3366
If you meant to cross compile, use \`--host'.
3268
3367
See \`config.log' for more details." >&2;}
3269
 
   { (exit 1); exit 1; }; }
 
3368
   { (exit 1); exit 1; }; }; }
3270
3369
    fi
3271
3370
  fi
3272
3371
fi
3273
 
{ echo "$as_me:$LINENO: result: yes" >&5
3274
 
echo "${ECHO_T}yes" >&6; }
 
3372
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3373
$as_echo "yes" >&6; }
3275
3374
 
3276
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3375
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3277
3376
ac_clean_files=$ac_clean_files_save
3278
3377
# Check that the compiler produces executables we can run.  If not, either
3279
3378
# the compiler is broken, or we cross compile.
3280
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3281
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3282
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3283
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
3379
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3380
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3381
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3382
$as_echo "$cross_compiling" >&6; }
3284
3383
 
3285
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3286
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3384
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3385
$as_echo_n "checking for suffix of executables... " >&6; }
3287
3386
if { (ac_try="$ac_link"
3288
3387
case "(($ac_try" in
3289
3388
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290
3389
  *) ac_try_echo=$ac_try;;
3291
3390
esac
3292
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3391
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3392
$as_echo "$ac_try_echo") >&5
3293
3393
  (eval "$ac_link") 2>&5
3294
3394
  ac_status=$?
3295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3395
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296
3396
  (exit $ac_status); }; then
3297
3397
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3298
3398
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3301
3401
for ac_file in conftest.exe conftest conftest.*; do
3302
3402
  test -f "$ac_file" || continue
3303
3403
  case $ac_file in
3304
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3404
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3305
3405
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3306
3406
          break;;
3307
3407
    * ) break;;
3308
3408
  esac
3309
3409
done
3310
3410
else
3311
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3411
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3412
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3413
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3312
3414
See \`config.log' for more details." >&5
3313
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3415
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3314
3416
See \`config.log' for more details." >&2;}
3315
 
   { (exit 1); exit 1; }; }
 
3417
   { (exit 1); exit 1; }; }; }
3316
3418
fi
3317
3419
 
3318
3420
rm -f conftest$ac_cv_exeext
3319
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3320
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3421
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3422
$as_echo "$ac_cv_exeext" >&6; }
3321
3423
 
3322
3424
rm -f conftest.$ac_ext
3323
3425
EXEEXT=$ac_cv_exeext
3324
3426
ac_exeext=$EXEEXT
3325
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3326
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
3427
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3428
$as_echo_n "checking for suffix of object files... " >&6; }
3327
3429
if test "${ac_cv_objext+set}" = set; then
3328
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3430
  $as_echo_n "(cached) " >&6
3329
3431
else
3330
3432
  cat >conftest.$ac_ext <<_ACEOF
3331
3433
/* confdefs.h.  */
3348
3450
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3349
3451
  *) ac_try_echo=$ac_try;;
3350
3452
esac
3351
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3453
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3454
$as_echo "$ac_try_echo") >&5
3352
3455
  (eval "$ac_compile") 2>&5
3353
3456
  ac_status=$?
3354
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3457
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355
3458
  (exit $ac_status); }; then
3356
3459
  for ac_file in conftest.o conftest.obj conftest.*; do
3357
3460
  test -f "$ac_file" || continue;
3358
3461
  case $ac_file in
3359
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3462
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3360
3463
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3361
3464
       break;;
3362
3465
  esac
3363
3466
done
3364
3467
else
3365
 
  echo "$as_me: failed program was:" >&5
 
3468
  $as_echo "$as_me: failed program was:" >&5
3366
3469
sed 's/^/| /' conftest.$ac_ext >&5
3367
3470
 
3368
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3471
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3472
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3473
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3369
3474
See \`config.log' for more details." >&5
3370
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3475
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3371
3476
See \`config.log' for more details." >&2;}
3372
 
   { (exit 1); exit 1; }; }
 
3477
   { (exit 1); exit 1; }; }; }
3373
3478
fi
3374
3479
 
3375
3480
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3376
3481
fi
3377
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3378
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3482
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3483
$as_echo "$ac_cv_objext" >&6; }
3379
3484
OBJEXT=$ac_cv_objext
3380
3485
ac_objext=$OBJEXT
3381
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3382
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
3486
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3487
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3383
3488
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3384
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3489
  $as_echo_n "(cached) " >&6
3385
3490
else
3386
3491
  cat >conftest.$ac_ext <<_ACEOF
3387
3492
/* confdefs.h.  */
3407
3512
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408
3513
  *) ac_try_echo=$ac_try;;
3409
3514
esac
3410
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3515
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3516
$as_echo "$ac_try_echo") >&5
3411
3517
  (eval "$ac_compile") 2>conftest.er1
3412
3518
  ac_status=$?
3413
3519
  grep -v '^ *+' conftest.er1 >conftest.err
3414
3520
  rm -f conftest.er1
3415
3521
  cat conftest.err >&5
3416
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3522
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417
3523
  (exit $ac_status); } && {
3418
3524
         test -z "$ac_c_werror_flag" ||
3419
3525
         test ! -s conftest.err
3420
3526
       } && test -s conftest.$ac_objext; then
3421
3527
  ac_compiler_gnu=yes
3422
3528
else
3423
 
  echo "$as_me: failed program was:" >&5
 
3529
  $as_echo "$as_me: failed program was:" >&5
3424
3530
sed 's/^/| /' conftest.$ac_ext >&5
3425
3531
 
3426
3532
        ac_compiler_gnu=no
3430
3536
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3431
3537
 
3432
3538
fi
3433
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3434
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3435
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3539
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3540
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3541
if test $ac_compiler_gnu = yes; then
 
3542
  GCC=yes
 
3543
else
 
3544
  GCC=
 
3545
fi
3436
3546
ac_test_CFLAGS=${CFLAGS+set}
3437
3547
ac_save_CFLAGS=$CFLAGS
3438
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3439
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3548
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3549
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3440
3550
if test "${ac_cv_prog_cc_g+set}" = set; then
3441
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3551
  $as_echo_n "(cached) " >&6
3442
3552
else
3443
3553
  ac_save_c_werror_flag=$ac_c_werror_flag
3444
3554
   ac_c_werror_flag=yes
3465
3575
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3466
3576
  *) ac_try_echo=$ac_try;;
3467
3577
esac
3468
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3578
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3579
$as_echo "$ac_try_echo") >&5
3469
3580
  (eval "$ac_compile") 2>conftest.er1
3470
3581
  ac_status=$?
3471
3582
  grep -v '^ *+' conftest.er1 >conftest.err
3472
3583
  rm -f conftest.er1
3473
3584
  cat conftest.err >&5
3474
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3585
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475
3586
  (exit $ac_status); } && {
3476
3587
         test -z "$ac_c_werror_flag" ||
3477
3588
         test ! -s conftest.err
3478
3589
       } && test -s conftest.$ac_objext; then
3479
3590
  ac_cv_prog_cc_g=yes
3480
3591
else
3481
 
  echo "$as_me: failed program was:" >&5
 
3592
  $as_echo "$as_me: failed program was:" >&5
3482
3593
sed 's/^/| /' conftest.$ac_ext >&5
3483
3594
 
3484
3595
        CFLAGS=""
3503
3614
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3504
3615
  *) ac_try_echo=$ac_try;;
3505
3616
esac
3506
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3617
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3618
$as_echo "$ac_try_echo") >&5
3507
3619
  (eval "$ac_compile") 2>conftest.er1
3508
3620
  ac_status=$?
3509
3621
  grep -v '^ *+' conftest.er1 >conftest.err
3510
3622
  rm -f conftest.er1
3511
3623
  cat conftest.err >&5
3512
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3624
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513
3625
  (exit $ac_status); } && {
3514
3626
         test -z "$ac_c_werror_flag" ||
3515
3627
         test ! -s conftest.err
3516
3628
       } && test -s conftest.$ac_objext; then
3517
3629
  :
3518
3630
else
3519
 
  echo "$as_me: failed program was:" >&5
 
3631
  $as_echo "$as_me: failed program was:" >&5
3520
3632
sed 's/^/| /' conftest.$ac_ext >&5
3521
3633
 
3522
3634
        ac_c_werror_flag=$ac_save_c_werror_flag
3542
3654
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3543
3655
  *) ac_try_echo=$ac_try;;
3544
3656
esac
3545
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3657
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3658
$as_echo "$ac_try_echo") >&5
3546
3659
  (eval "$ac_compile") 2>conftest.er1
3547
3660
  ac_status=$?
3548
3661
  grep -v '^ *+' conftest.er1 >conftest.err
3549
3662
  rm -f conftest.er1
3550
3663
  cat conftest.err >&5
3551
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3664
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552
3665
  (exit $ac_status); } && {
3553
3666
         test -z "$ac_c_werror_flag" ||
3554
3667
         test ! -s conftest.err
3555
3668
       } && test -s conftest.$ac_objext; then
3556
3669
  ac_cv_prog_cc_g=yes
3557
3670
else
3558
 
  echo "$as_me: failed program was:" >&5
 
3671
  $as_echo "$as_me: failed program was:" >&5
3559
3672
sed 's/^/| /' conftest.$ac_ext >&5
3560
3673
 
3561
3674
 
3570
3683
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571
3684
   ac_c_werror_flag=$ac_save_c_werror_flag
3572
3685
fi
3573
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3574
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3686
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3687
$as_echo "$ac_cv_prog_cc_g" >&6; }
3575
3688
if test "$ac_test_CFLAGS" = set; then
3576
3689
  CFLAGS=$ac_save_CFLAGS
3577
3690
elif test $ac_cv_prog_cc_g = yes; then
3587
3700
    CFLAGS=
3588
3701
  fi
3589
3702
fi
3590
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3591
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3703
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3704
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3592
3705
if test "${ac_cv_prog_cc_c89+set}" = set; then
3593
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3706
  $as_echo_n "(cached) " >&6
3594
3707
else
3595
3708
  ac_cv_prog_cc_c89=no
3596
3709
ac_save_CC=$CC
3661
3774
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3662
3775
  *) ac_try_echo=$ac_try;;
3663
3776
esac
3664
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3777
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3778
$as_echo "$ac_try_echo") >&5
3665
3779
  (eval "$ac_compile") 2>conftest.er1
3666
3780
  ac_status=$?
3667
3781
  grep -v '^ *+' conftest.er1 >conftest.err
3668
3782
  rm -f conftest.er1
3669
3783
  cat conftest.err >&5
3670
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3784
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671
3785
  (exit $ac_status); } && {
3672
3786
         test -z "$ac_c_werror_flag" ||
3673
3787
         test ! -s conftest.err
3674
3788
       } && test -s conftest.$ac_objext; then
3675
3789
  ac_cv_prog_cc_c89=$ac_arg
3676
3790
else
3677
 
  echo "$as_me: failed program was:" >&5
 
3791
  $as_echo "$as_me: failed program was:" >&5
3678
3792
sed 's/^/| /' conftest.$ac_ext >&5
3679
3793
 
3680
3794
 
3690
3804
# AC_CACHE_VAL
3691
3805
case "x$ac_cv_prog_cc_c89" in
3692
3806
  x)
3693
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3694
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3807
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3808
$as_echo "none needed" >&6; } ;;
3695
3809
  xno)
3696
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3697
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3810
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3811
$as_echo "unsupported" >&6; } ;;
3698
3812
  *)
3699
3813
    CC="$CC $ac_cv_prog_cc_c89"
3700
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3701
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3814
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3815
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3702
3816
esac
3703
3817
 
3704
3818
 
3710
3824
 
3711
3825
depcc="$CC"   am_compiler_list=
3712
3826
 
3713
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3714
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3827
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3828
$as_echo_n "checking dependency style of $depcc... " >&6; }
3715
3829
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3716
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3830
  $as_echo_n "(cached) " >&6
3717
3831
else
3718
3832
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3719
3833
  # We make a subdir and do the tests there.  Otherwise we can end up
3801
3915
fi
3802
3916
 
3803
3917
fi
3804
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3805
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3918
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3919
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3806
3920
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3807
3921
 
3808
3922
 if
3820
3934
 
3821
3935
case "$am__api_version" in
3822
3936
    1.01234)
3823
 
        { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
3824
 
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
 
3937
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
 
3938
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
3825
3939
   { (exit 1); exit 1; }; }
3826
3940
    ;;
3827
3941
    *)
3829
3943
esac
3830
3944
 
3831
3945
if test -n "0.35.0"; then
3832
 
    { echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
3833
 
echo $ECHO_N "checking for intltool >= 0.35.0... $ECHO_C" >&6; }
 
3946
    { $as_echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
 
3947
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
3834
3948
 
3835
3949
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3836
 
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
3837
 
    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`
 
3950
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
3951
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3838
3952
 
3839
 
    { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
3840
 
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
 
3953
    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
3954
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3841
3955
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3842
 
        { { echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&5
3843
 
echo "$as_me: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&2;}
 
3956
        { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&5
 
3957
$as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&2;}
 
3958
   { (exit 1); exit 1; }; }
 
3959
fi
 
3960
 
 
3961
# Extract the first word of "intltool-update", so it can be a program name with args.
 
3962
set dummy intltool-update; ac_word=$2
 
3963
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3964
$as_echo_n "checking for $ac_word... " >&6; }
 
3965
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
 
3966
  $as_echo_n "(cached) " >&6
 
3967
else
 
3968
  case $INTLTOOL_UPDATE in
 
3969
  [\\/]* | ?:[\\/]*)
 
3970
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
3971
  ;;
 
3972
  *)
 
3973
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3974
for as_dir in $PATH
 
3975
do
 
3976
  IFS=$as_save_IFS
 
3977
  test -z "$as_dir" && as_dir=.
 
3978
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3979
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3980
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
3981
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3982
    break 2
 
3983
  fi
 
3984
done
 
3985
done
 
3986
IFS=$as_save_IFS
 
3987
 
 
3988
  ;;
 
3989
esac
 
3990
fi
 
3991
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
3992
if test -n "$INTLTOOL_UPDATE"; then
 
3993
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
 
3994
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
3995
else
 
3996
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3997
$as_echo "no" >&6; }
 
3998
fi
 
3999
 
 
4000
 
 
4001
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
4002
set dummy intltool-merge; ac_word=$2
 
4003
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4004
$as_echo_n "checking for $ac_word... " >&6; }
 
4005
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
 
4006
  $as_echo_n "(cached) " >&6
 
4007
else
 
4008
  case $INTLTOOL_MERGE in
 
4009
  [\\/]* | ?:[\\/]*)
 
4010
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
4011
  ;;
 
4012
  *)
 
4013
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4014
for as_dir in $PATH
 
4015
do
 
4016
  IFS=$as_save_IFS
 
4017
  test -z "$as_dir" && as_dir=.
 
4018
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4019
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4020
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
4021
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4022
    break 2
 
4023
  fi
 
4024
done
 
4025
done
 
4026
IFS=$as_save_IFS
 
4027
 
 
4028
  ;;
 
4029
esac
 
4030
fi
 
4031
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
4032
if test -n "$INTLTOOL_MERGE"; then
 
4033
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
 
4034
$as_echo "$INTLTOOL_MERGE" >&6; }
 
4035
else
 
4036
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4037
$as_echo "no" >&6; }
 
4038
fi
 
4039
 
 
4040
 
 
4041
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
4042
set dummy intltool-extract; ac_word=$2
 
4043
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4044
$as_echo_n "checking for $ac_word... " >&6; }
 
4045
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
 
4046
  $as_echo_n "(cached) " >&6
 
4047
else
 
4048
  case $INTLTOOL_EXTRACT in
 
4049
  [\\/]* | ?:[\\/]*)
 
4050
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
4051
  ;;
 
4052
  *)
 
4053
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4054
for as_dir in $PATH
 
4055
do
 
4056
  IFS=$as_save_IFS
 
4057
  test -z "$as_dir" && as_dir=.
 
4058
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4059
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4060
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
4061
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4062
    break 2
 
4063
  fi
 
4064
done
 
4065
done
 
4066
IFS=$as_save_IFS
 
4067
 
 
4068
  ;;
 
4069
esac
 
4070
fi
 
4071
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
4072
if test -n "$INTLTOOL_EXTRACT"; then
 
4073
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
 
4074
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
4075
else
 
4076
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4077
$as_echo "no" >&6; }
 
4078
fi
 
4079
 
 
4080
 
 
4081
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
4082
    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
 
4083
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
3844
4084
   { (exit 1); exit 1; }; }
3845
4085
fi
3846
4086
 
3862
4102
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3863
4103
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3864
4104
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3865
 
 
3866
 
 
3867
 
 
3868
 
 
3869
 
 
3870
 
 
3871
 
 
3872
 
 
3873
 
 
3874
 
 
3875
 
 
3876
 
 
3877
 
 
3878
 
 
3879
 
 
3880
 
 
3881
 
 
3882
 
 
3883
 
 
3884
 
 
3885
 
# Use the tools built into the package, not the ones that are installed.
3886
 
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
3887
 
 
3888
 
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
3889
 
 
3890
 
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
3891
 
 
 
4105
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4106
 
 
4107
 
 
4108
 
 
4109
 
 
4110
 
 
4111
 
 
4112
 
 
4113
 
 
4114
 
 
4115
 
 
4116
 
 
4117
 
 
4118
 
 
4119
 
 
4120
 
 
4121
 
 
4122
 
 
4123
 
 
4124
 
 
4125
 
 
4126
 
 
4127
# Check the gettext tools to make sure they are GNU
 
4128
# Extract the first word of "xgettext", so it can be a program name with args.
 
4129
set dummy xgettext; ac_word=$2
 
4130
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4131
$as_echo_n "checking for $ac_word... " >&6; }
 
4132
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
4133
  $as_echo_n "(cached) " >&6
 
4134
else
 
4135
  case $XGETTEXT in
 
4136
  [\\/]* | ?:[\\/]*)
 
4137
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
4138
  ;;
 
4139
  *)
 
4140
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4141
for as_dir in $PATH
 
4142
do
 
4143
  IFS=$as_save_IFS
 
4144
  test -z "$as_dir" && as_dir=.
 
4145
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4146
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4147
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
4148
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4149
    break 2
 
4150
  fi
 
4151
done
 
4152
done
 
4153
IFS=$as_save_IFS
 
4154
 
 
4155
  ;;
 
4156
esac
 
4157
fi
 
4158
XGETTEXT=$ac_cv_path_XGETTEXT
 
4159
if test -n "$XGETTEXT"; then
 
4160
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
4161
$as_echo "$XGETTEXT" >&6; }
 
4162
else
 
4163
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4164
$as_echo "no" >&6; }
 
4165
fi
 
4166
 
 
4167
 
 
4168
# Extract the first word of "msgmerge", so it can be a program name with args.
 
4169
set dummy msgmerge; ac_word=$2
 
4170
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4171
$as_echo_n "checking for $ac_word... " >&6; }
 
4172
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
4173
  $as_echo_n "(cached) " >&6
 
4174
else
 
4175
  case $MSGMERGE in
 
4176
  [\\/]* | ?:[\\/]*)
 
4177
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
4178
  ;;
 
4179
  *)
 
4180
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4181
for as_dir in $PATH
 
4182
do
 
4183
  IFS=$as_save_IFS
 
4184
  test -z "$as_dir" && as_dir=.
 
4185
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4186
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4187
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
4188
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4189
    break 2
 
4190
  fi
 
4191
done
 
4192
done
 
4193
IFS=$as_save_IFS
 
4194
 
 
4195
  ;;
 
4196
esac
 
4197
fi
 
4198
MSGMERGE=$ac_cv_path_MSGMERGE
 
4199
if test -n "$MSGMERGE"; then
 
4200
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
4201
$as_echo "$MSGMERGE" >&6; }
 
4202
else
 
4203
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4204
$as_echo "no" >&6; }
 
4205
fi
 
4206
 
 
4207
 
 
4208
# Extract the first word of "msgfmt", so it can be a program name with args.
 
4209
set dummy msgfmt; ac_word=$2
 
4210
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4211
$as_echo_n "checking for $ac_word... " >&6; }
 
4212
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
4213
  $as_echo_n "(cached) " >&6
 
4214
else
 
4215
  case $MSGFMT in
 
4216
  [\\/]* | ?:[\\/]*)
 
4217
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
4218
  ;;
 
4219
  *)
 
4220
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4221
for as_dir in $PATH
 
4222
do
 
4223
  IFS=$as_save_IFS
 
4224
  test -z "$as_dir" && as_dir=.
 
4225
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4226
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4227
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
4228
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4229
    break 2
 
4230
  fi
 
4231
done
 
4232
done
 
4233
IFS=$as_save_IFS
 
4234
 
 
4235
  ;;
 
4236
esac
 
4237
fi
 
4238
MSGFMT=$ac_cv_path_MSGFMT
 
4239
if test -n "$MSGFMT"; then
 
4240
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
4241
$as_echo "$MSGFMT" >&6; }
 
4242
else
 
4243
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4244
$as_echo "no" >&6; }
 
4245
fi
 
4246
 
 
4247
 
 
4248
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
4249
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
 
4250
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
 
4251
   { (exit 1); exit 1; }; }
 
4252
fi
 
4253
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
4254
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
4255
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
4256
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
4257
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
 
4258
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
 
4259
   { (exit 1); exit 1; }; }
 
4260
fi
3892
4261
 
3893
4262
# Extract the first word of "perl", so it can be a program name with args.
3894
4263
set dummy perl; ac_word=$2
3895
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3896
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4264
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4265
$as_echo_n "checking for $ac_word... " >&6; }
3897
4266
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
3898
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4267
  $as_echo_n "(cached) " >&6
3899
4268
else
3900
4269
  case $INTLTOOL_PERL in
3901
4270
  [\\/]* | ?:[\\/]*)
3910
4279
  for ac_exec_ext in '' $ac_executable_extensions; do
3911
4280
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3912
4281
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3913
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4282
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3914
4283
    break 2
3915
4284
  fi
3916
4285
done
3922
4291
fi
3923
4292
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3924
4293
if test -n "$INTLTOOL_PERL"; then
3925
 
  { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
3926
 
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
 
4294
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
4295
$as_echo "$INTLTOOL_PERL" >&6; }
3927
4296
else
3928
 
  { echo "$as_me:$LINENO: result: no" >&5
3929
 
echo "${ECHO_T}no" >&6; }
 
4297
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4298
$as_echo "no" >&6; }
3930
4299
fi
3931
4300
 
3932
4301
 
3933
4302
if test -z "$INTLTOOL_PERL"; then
3934
 
   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
3935
 
echo "$as_me: error: perl not found; required for intltool" >&2;}
 
4303
   { { $as_echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
 
4304
$as_echo "$as_me: error: perl not found; required for intltool" >&2;}
3936
4305
   { (exit 1); exit 1; }; }
3937
4306
fi
3938
4307
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
3939
 
   { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
3940
 
echo "$as_me: error: perl 5.x required for intltool" >&2;}
 
4308
   { { $as_echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
 
4309
$as_echo "$as_me: error: perl 5.x required for intltool" >&2;}
3941
4310
   { (exit 1); exit 1; }; }
3942
4311
fi
3943
4312
if test "x" != "xno-xml"; then
3944
 
   { echo "$as_me:$LINENO: checking for XML::Parser" >&5
3945
 
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
 
4313
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
4314
$as_echo_n "checking for XML::Parser... " >&6; }
3946
4315
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3947
 
       { echo "$as_me:$LINENO: result: ok" >&5
3948
 
echo "${ECHO_T}ok" >&6; }
 
4316
       { $as_echo "$as_me:$LINENO: result: ok" >&5
 
4317
$as_echo "ok" >&6; }
3949
4318
   else
3950
 
       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
3951
 
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
 
4319
       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
 
4320
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
3952
4321
   { (exit 1); exit 1; }; }
3953
4322
   fi
3954
4323
fi
3955
4324
 
3956
 
# Extract the first word of "iconv", so it can be a program name with args.
3957
 
set dummy iconv; ac_word=$2
3958
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3959
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3960
 
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
3961
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3962
 
else
3963
 
  case $INTLTOOL_ICONV in
3964
 
  [\\/]* | ?:[\\/]*)
3965
 
  ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
3966
 
  ;;
3967
 
  *)
3968
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3969
 
for as_dir in $PATH
3970
 
do
3971
 
  IFS=$as_save_IFS
3972
 
  test -z "$as_dir" && as_dir=.
3973
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3974
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3975
 
    ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
3976
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3977
 
    break 2
3978
 
  fi
3979
 
done
3980
 
done
3981
 
IFS=$as_save_IFS
3982
 
 
3983
 
  test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
3984
 
  ;;
3985
 
esac
3986
 
fi
3987
 
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
3988
 
if test -n "$INTLTOOL_ICONV"; then
3989
 
  { echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
3990
 
echo "${ECHO_T}$INTLTOOL_ICONV" >&6; }
3991
 
else
3992
 
  { echo "$as_me:$LINENO: result: no" >&5
3993
 
echo "${ECHO_T}no" >&6; }
3994
 
fi
3995
 
 
3996
 
 
3997
 
# Extract the first word of "msgfmt", so it can be a program name with args.
3998
 
set dummy msgfmt; ac_word=$2
3999
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4000
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4001
 
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
4002
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4003
 
else
4004
 
  case $INTLTOOL_MSGFMT in
4005
 
  [\\/]* | ?:[\\/]*)
4006
 
  ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
4007
 
  ;;
4008
 
  *)
4009
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4010
 
for as_dir in $PATH
4011
 
do
4012
 
  IFS=$as_save_IFS
4013
 
  test -z "$as_dir" && as_dir=.
4014
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4015
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4016
 
    ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4017
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4018
 
    break 2
4019
 
  fi
4020
 
done
4021
 
done
4022
 
IFS=$as_save_IFS
4023
 
 
4024
 
  test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
4025
 
  ;;
4026
 
esac
4027
 
fi
4028
 
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
4029
 
if test -n "$INTLTOOL_MSGFMT"; then
4030
 
  { echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
4031
 
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6; }
4032
 
else
4033
 
  { echo "$as_me:$LINENO: result: no" >&5
4034
 
echo "${ECHO_T}no" >&6; }
4035
 
fi
4036
 
 
4037
 
 
4038
 
# Extract the first word of "msgmerge", so it can be a program name with args.
4039
 
set dummy msgmerge; ac_word=$2
4040
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4041
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4042
 
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
4043
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4044
 
else
4045
 
  case $INTLTOOL_MSGMERGE in
4046
 
  [\\/]* | ?:[\\/]*)
4047
 
  ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
4048
 
  ;;
4049
 
  *)
4050
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4051
 
for as_dir in $PATH
4052
 
do
4053
 
  IFS=$as_save_IFS
4054
 
  test -z "$as_dir" && as_dir=.
4055
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4056
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4057
 
    ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4058
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4059
 
    break 2
4060
 
  fi
4061
 
done
4062
 
done
4063
 
IFS=$as_save_IFS
4064
 
 
4065
 
  test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
4066
 
  ;;
4067
 
esac
4068
 
fi
4069
 
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
4070
 
if test -n "$INTLTOOL_MSGMERGE"; then
4071
 
  { echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
4072
 
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6; }
4073
 
else
4074
 
  { echo "$as_me:$LINENO: result: no" >&5
4075
 
echo "${ECHO_T}no" >&6; }
4076
 
fi
4077
 
 
4078
 
 
4079
 
# Extract the first word of "xgettext", so it can be a program name with args.
4080
 
set dummy xgettext; ac_word=$2
4081
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4082
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4083
 
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
4084
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4085
 
else
4086
 
  case $INTLTOOL_XGETTEXT in
4087
 
  [\\/]* | ?:[\\/]*)
4088
 
  ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
4089
 
  ;;
4090
 
  *)
4091
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4092
 
for as_dir in $PATH
4093
 
do
4094
 
  IFS=$as_save_IFS
4095
 
  test -z "$as_dir" && as_dir=.
4096
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4097
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4098
 
    ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4099
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4100
 
    break 2
4101
 
  fi
4102
 
done
4103
 
done
4104
 
IFS=$as_save_IFS
4105
 
 
4106
 
  test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
4107
 
  ;;
4108
 
esac
4109
 
fi
4110
 
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
4111
 
if test -n "$INTLTOOL_XGETTEXT"; then
4112
 
  { echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
4113
 
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6; }
4114
 
else
4115
 
  { echo "$as_me:$LINENO: result: no" >&5
4116
 
echo "${ECHO_T}no" >&6; }
4117
 
fi
4118
 
 
4119
 
 
4120
 
 
4121
4325
# Substitute ALL_LINGUAS so we can use it in po/Makefile
4122
4326
 
4123
4327
 
4135
4339
main ()
4136
4340
{
4137
4341
extern int _nl_msg_cat_cntr;
4138
 
                 return _nl_msg_cat_cntr
 
4342
                       return _nl_msg_cat_cntr
4139
4343
  ;
4140
4344
  return 0;
4141
4345
}
4146
4350
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4147
4351
  *) ac_try_echo=$ac_try;;
4148
4352
esac
4149
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4353
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4354
$as_echo "$ac_try_echo") >&5
4150
4355
  (eval "$ac_link") 2>conftest.er1
4151
4356
  ac_status=$?
4152
4357
  grep -v '^ *+' conftest.er1 >conftest.err
4153
4358
  rm -f conftest.er1
4154
4359
  cat conftest.err >&5
4155
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4360
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156
4361
  (exit $ac_status); } && {
4157
4362
         test -z "$ac_c_werror_flag" ||
4158
4363
         test ! -s conftest.err
4159
 
       } && test -s conftest$ac_exeext &&
4160
 
       $as_test_x conftest$ac_exeext; then
 
4364
       } && test -s conftest$ac_exeext && {
 
4365
         test "$cross_compiling" = yes ||
 
4366
         $as_test_x conftest$ac_exeext
 
4367
       }; then
4161
4368
  DATADIRNAME=share
4162
4369
else
4163
 
  echo "$as_me: failed program was:" >&5
 
4370
  $as_echo "$as_me: failed program was:" >&5
4164
4371
sed 's/^/| /' conftest.$ac_ext >&5
4165
4372
 
4166
4373
        case $host in
4167
4374
    *-*-solaris*)
4168
 
                        { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
4169
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
 
4375
                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
4376
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
4170
4377
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
4171
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4378
  $as_echo_n "(cached) " >&6
4172
4379
else
4173
4380
  cat >conftest.$ac_ext <<_ACEOF
4174
4381
/* confdefs.h.  */
4221
4428
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4222
4429
  *) ac_try_echo=$ac_try;;
4223
4430
esac
4224
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4431
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4432
$as_echo "$ac_try_echo") >&5
4225
4433
  (eval "$ac_link") 2>conftest.er1
4226
4434
  ac_status=$?
4227
4435
  grep -v '^ *+' conftest.er1 >conftest.err
4228
4436
  rm -f conftest.er1
4229
4437
  cat conftest.err >&5
4230
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4438
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231
4439
  (exit $ac_status); } && {
4232
4440
         test -z "$ac_c_werror_flag" ||
4233
4441
         test ! -s conftest.err
4234
 
       } && test -s conftest$ac_exeext &&
4235
 
       $as_test_x conftest$ac_exeext; then
 
4442
       } && test -s conftest$ac_exeext && {
 
4443
         test "$cross_compiling" = yes ||
 
4444
         $as_test_x conftest$ac_exeext
 
4445
       }; then
4236
4446
  ac_cv_func_bind_textdomain_codeset=yes
4237
4447
else
4238
 
  echo "$as_me: failed program was:" >&5
 
4448
  $as_echo "$as_me: failed program was:" >&5
4239
4449
sed 's/^/| /' conftest.$ac_ext >&5
4240
4450
 
4241
4451
        ac_cv_func_bind_textdomain_codeset=no
4242
4452
fi
4243
4453
 
 
4454
rm -rf conftest.dSYM
4244
4455
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4245
4456
      conftest$ac_exeext conftest.$ac_ext
4246
4457
fi
4247
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4248
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
4249
 
if test $ac_cv_func_bind_textdomain_codeset = yes; then
 
4458
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
4459
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
 
4460
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
4250
4461
  DATADIRNAME=share
4251
4462
else
4252
4463
  DATADIRNAME=lib
4259
4470
    esac
4260
4471
fi
4261
4472
 
 
4473
rm -rf conftest.dSYM
4262
4474
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4263
4475
      conftest$ac_exeext conftest.$ac_ext
4264
4476
fi
4267
4479
 
4268
4480
 
4269
4481
 
4270
 
ac_config_commands="$ac_config_commands intltool"
4271
 
 
4272
 
 
4273
 
 
4274
4482
 
4275
4483
ac_ext=c
4276
4484
ac_cpp='$CPP $CPPFLAGS'
4280
4488
if test -n "$ac_tool_prefix"; then
4281
4489
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4282
4490
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4283
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4284
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4491
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4492
$as_echo_n "checking for $ac_word... " >&6; }
4285
4493
if test "${ac_cv_prog_CC+set}" = set; then
4286
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4494
  $as_echo_n "(cached) " >&6
4287
4495
else
4288
4496
  if test -n "$CC"; then
4289
4497
  ac_cv_prog_CC="$CC" # Let the user override the test.
4296
4504
  for ac_exec_ext in '' $ac_executable_extensions; do
4297
4505
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4298
4506
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4299
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4507
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4300
4508
    break 2
4301
4509
  fi
4302
4510
done
4307
4515
fi
4308
4516
CC=$ac_cv_prog_CC
4309
4517
if test -n "$CC"; then
4310
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4311
 
echo "${ECHO_T}$CC" >&6; }
 
4518
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4519
$as_echo "$CC" >&6; }
4312
4520
else
4313
 
  { echo "$as_me:$LINENO: result: no" >&5
4314
 
echo "${ECHO_T}no" >&6; }
 
4521
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4522
$as_echo "no" >&6; }
4315
4523
fi
4316
4524
 
4317
4525
 
4320
4528
  ac_ct_CC=$CC
4321
4529
  # Extract the first word of "gcc", so it can be a program name with args.
4322
4530
set dummy gcc; ac_word=$2
4323
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4324
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4531
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4532
$as_echo_n "checking for $ac_word... " >&6; }
4325
4533
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4326
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4534
  $as_echo_n "(cached) " >&6
4327
4535
else
4328
4536
  if test -n "$ac_ct_CC"; then
4329
4537
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4336
4544
  for ac_exec_ext in '' $ac_executable_extensions; do
4337
4545
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4338
4546
    ac_cv_prog_ac_ct_CC="gcc"
4339
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4547
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4340
4548
    break 2
4341
4549
  fi
4342
4550
done
4347
4555
fi
4348
4556
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4349
4557
if test -n "$ac_ct_CC"; then
4350
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4351
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
4558
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4559
$as_echo "$ac_ct_CC" >&6; }
4352
4560
else
4353
 
  { echo "$as_me:$LINENO: result: no" >&5
4354
 
echo "${ECHO_T}no" >&6; }
 
4561
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4562
$as_echo "no" >&6; }
4355
4563
fi
4356
4564
 
4357
4565
  if test "x$ac_ct_CC" = x; then
4359
4567
  else
4360
4568
    case $cross_compiling:$ac_tool_warned in
4361
4569
yes:)
4362
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4363
 
whose name does not start with the host triplet.  If you think this
4364
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4365
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4366
 
whose name does not start with the host triplet.  If you think this
4367
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4570
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4571
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4368
4572
ac_tool_warned=yes ;;
4369
4573
esac
4370
4574
    CC=$ac_ct_CC
4377
4581
          if test -n "$ac_tool_prefix"; then
4378
4582
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4379
4583
set dummy ${ac_tool_prefix}cc; ac_word=$2
4380
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4381
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4584
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4585
$as_echo_n "checking for $ac_word... " >&6; }
4382
4586
if test "${ac_cv_prog_CC+set}" = set; then
4383
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4587
  $as_echo_n "(cached) " >&6
4384
4588
else
4385
4589
  if test -n "$CC"; then
4386
4590
  ac_cv_prog_CC="$CC" # Let the user override the test.
4393
4597
  for ac_exec_ext in '' $ac_executable_extensions; do
4394
4598
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4395
4599
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4396
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4600
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4397
4601
    break 2
4398
4602
  fi
4399
4603
done
4404
4608
fi
4405
4609
CC=$ac_cv_prog_CC
4406
4610
if test -n "$CC"; then
4407
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4408
 
echo "${ECHO_T}$CC" >&6; }
 
4611
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4612
$as_echo "$CC" >&6; }
4409
4613
else
4410
 
  { echo "$as_me:$LINENO: result: no" >&5
4411
 
echo "${ECHO_T}no" >&6; }
 
4614
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4615
$as_echo "no" >&6; }
4412
4616
fi
4413
4617
 
4414
4618
 
4417
4621
if test -z "$CC"; then
4418
4622
  # Extract the first word of "cc", so it can be a program name with args.
4419
4623
set dummy cc; ac_word=$2
4420
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4421
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4624
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4625
$as_echo_n "checking for $ac_word... " >&6; }
4422
4626
if test "${ac_cv_prog_CC+set}" = set; then
4423
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4627
  $as_echo_n "(cached) " >&6
4424
4628
else
4425
4629
  if test -n "$CC"; then
4426
4630
  ac_cv_prog_CC="$CC" # Let the user override the test.
4438
4642
       continue
4439
4643
     fi
4440
4644
    ac_cv_prog_CC="cc"
4441
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4645
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4442
4646
    break 2
4443
4647
  fi
4444
4648
done
4461
4665
fi
4462
4666
CC=$ac_cv_prog_CC
4463
4667
if test -n "$CC"; then
4464
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4465
 
echo "${ECHO_T}$CC" >&6; }
 
4668
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4669
$as_echo "$CC" >&6; }
4466
4670
else
4467
 
  { echo "$as_me:$LINENO: result: no" >&5
4468
 
echo "${ECHO_T}no" >&6; }
 
4671
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4672
$as_echo "no" >&6; }
4469
4673
fi
4470
4674
 
4471
4675
 
4476
4680
  do
4477
4681
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4478
4682
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4479
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4480
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4683
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4684
$as_echo_n "checking for $ac_word... " >&6; }
4481
4685
if test "${ac_cv_prog_CC+set}" = set; then
4482
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4686
  $as_echo_n "(cached) " >&6
4483
4687
else
4484
4688
  if test -n "$CC"; then
4485
4689
  ac_cv_prog_CC="$CC" # Let the user override the test.
4492
4696
  for ac_exec_ext in '' $ac_executable_extensions; do
4493
4697
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4494
4698
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4495
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4699
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4496
4700
    break 2
4497
4701
  fi
4498
4702
done
4503
4707
fi
4504
4708
CC=$ac_cv_prog_CC
4505
4709
if test -n "$CC"; then
4506
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4507
 
echo "${ECHO_T}$CC" >&6; }
 
4710
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4711
$as_echo "$CC" >&6; }
4508
4712
else
4509
 
  { echo "$as_me:$LINENO: result: no" >&5
4510
 
echo "${ECHO_T}no" >&6; }
 
4713
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4714
$as_echo "no" >&6; }
4511
4715
fi
4512
4716
 
4513
4717
 
4520
4724
do
4521
4725
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4522
4726
set dummy $ac_prog; ac_word=$2
4523
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4524
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4727
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4728
$as_echo_n "checking for $ac_word... " >&6; }
4525
4729
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4526
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4730
  $as_echo_n "(cached) " >&6
4527
4731
else
4528
4732
  if test -n "$ac_ct_CC"; then
4529
4733
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4536
4740
  for ac_exec_ext in '' $ac_executable_extensions; do
4537
4741
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4538
4742
    ac_cv_prog_ac_ct_CC="$ac_prog"
4539
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4743
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4540
4744
    break 2
4541
4745
  fi
4542
4746
done
4547
4751
fi
4548
4752
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4549
4753
if test -n "$ac_ct_CC"; then
4550
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4551
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
4754
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4755
$as_echo "$ac_ct_CC" >&6; }
4552
4756
else
4553
 
  { echo "$as_me:$LINENO: result: no" >&5
4554
 
echo "${ECHO_T}no" >&6; }
 
4757
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4758
$as_echo "no" >&6; }
4555
4759
fi
4556
4760
 
4557
4761
 
4563
4767
  else
4564
4768
    case $cross_compiling:$ac_tool_warned in
4565
4769
yes:)
4566
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4567
 
whose name does not start with the host triplet.  If you think this
4568
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4569
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4570
 
whose name does not start with the host triplet.  If you think this
4571
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4770
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4771
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4572
4772
ac_tool_warned=yes ;;
4573
4773
esac
4574
4774
    CC=$ac_ct_CC
4578
4778
fi
4579
4779
 
4580
4780
 
4581
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
4781
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4782
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4783
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4582
4784
See \`config.log' for more details." >&5
4583
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
4785
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4584
4786
See \`config.log' for more details." >&2;}
4585
 
   { (exit 1); exit 1; }; }
 
4787
   { (exit 1); exit 1; }; }; }
4586
4788
 
4587
4789
# Provide some information about the compiler.
4588
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
4589
 
ac_compiler=`set X $ac_compile; echo $2`
 
4790
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4791
set X $ac_compile
 
4792
ac_compiler=$2
4590
4793
{ (ac_try="$ac_compiler --version >&5"
4591
4794
case "(($ac_try" in
4592
4795
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4593
4796
  *) ac_try_echo=$ac_try;;
4594
4797
esac
4595
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4798
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4799
$as_echo "$ac_try_echo") >&5
4596
4800
  (eval "$ac_compiler --version >&5") 2>&5
4597
4801
  ac_status=$?
4598
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4802
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599
4803
  (exit $ac_status); }
4600
4804
{ (ac_try="$ac_compiler -v >&5"
4601
4805
case "(($ac_try" in
4602
4806
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4603
4807
  *) ac_try_echo=$ac_try;;
4604
4808
esac
4605
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4809
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4810
$as_echo "$ac_try_echo") >&5
4606
4811
  (eval "$ac_compiler -v >&5") 2>&5
4607
4812
  ac_status=$?
4608
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4813
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609
4814
  (exit $ac_status); }
4610
4815
{ (ac_try="$ac_compiler -V >&5"
4611
4816
case "(($ac_try" in
4612
4817
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4613
4818
  *) ac_try_echo=$ac_try;;
4614
4819
esac
4615
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4820
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4821
$as_echo "$ac_try_echo") >&5
4616
4822
  (eval "$ac_compiler -V >&5") 2>&5
4617
4823
  ac_status=$?
4618
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4824
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619
4825
  (exit $ac_status); }
4620
4826
 
4621
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4622
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
4827
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4828
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4623
4829
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4624
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4830
  $as_echo_n "(cached) " >&6
4625
4831
else
4626
4832
  cat >conftest.$ac_ext <<_ACEOF
4627
4833
/* confdefs.h.  */
4647
4853
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4648
4854
  *) ac_try_echo=$ac_try;;
4649
4855
esac
4650
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4856
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4857
$as_echo "$ac_try_echo") >&5
4651
4858
  (eval "$ac_compile") 2>conftest.er1
4652
4859
  ac_status=$?
4653
4860
  grep -v '^ *+' conftest.er1 >conftest.err
4654
4861
  rm -f conftest.er1
4655
4862
  cat conftest.err >&5
4656
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4863
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657
4864
  (exit $ac_status); } && {
4658
4865
         test -z "$ac_c_werror_flag" ||
4659
4866
         test ! -s conftest.err
4660
4867
       } && test -s conftest.$ac_objext; then
4661
4868
  ac_compiler_gnu=yes
4662
4869
else
4663
 
  echo "$as_me: failed program was:" >&5
 
4870
  $as_echo "$as_me: failed program was:" >&5
4664
4871
sed 's/^/| /' conftest.$ac_ext >&5
4665
4872
 
4666
4873
        ac_compiler_gnu=no
4670
4877
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4671
4878
 
4672
4879
fi
4673
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4674
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4675
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
4880
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4881
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4882
if test $ac_compiler_gnu = yes; then
 
4883
  GCC=yes
 
4884
else
 
4885
  GCC=
 
4886
fi
4676
4887
ac_test_CFLAGS=${CFLAGS+set}
4677
4888
ac_save_CFLAGS=$CFLAGS
4678
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4679
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
4889
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
4890
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4680
4891
if test "${ac_cv_prog_cc_g+set}" = set; then
4681
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4892
  $as_echo_n "(cached) " >&6
4682
4893
else
4683
4894
  ac_save_c_werror_flag=$ac_c_werror_flag
4684
4895
   ac_c_werror_flag=yes
4705
4916
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4706
4917
  *) ac_try_echo=$ac_try;;
4707
4918
esac
4708
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4919
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4920
$as_echo "$ac_try_echo") >&5
4709
4921
  (eval "$ac_compile") 2>conftest.er1
4710
4922
  ac_status=$?
4711
4923
  grep -v '^ *+' conftest.er1 >conftest.err
4712
4924
  rm -f conftest.er1
4713
4925
  cat conftest.err >&5
4714
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4926
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715
4927
  (exit $ac_status); } && {
4716
4928
         test -z "$ac_c_werror_flag" ||
4717
4929
         test ! -s conftest.err
4718
4930
       } && test -s conftest.$ac_objext; then
4719
4931
  ac_cv_prog_cc_g=yes
4720
4932
else
4721
 
  echo "$as_me: failed program was:" >&5
 
4933
  $as_echo "$as_me: failed program was:" >&5
4722
4934
sed 's/^/| /' conftest.$ac_ext >&5
4723
4935
 
4724
4936
        CFLAGS=""
4743
4955
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4744
4956
  *) ac_try_echo=$ac_try;;
4745
4957
esac
4746
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4958
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4959
$as_echo "$ac_try_echo") >&5
4747
4960
  (eval "$ac_compile") 2>conftest.er1
4748
4961
  ac_status=$?
4749
4962
  grep -v '^ *+' conftest.er1 >conftest.err
4750
4963
  rm -f conftest.er1
4751
4964
  cat conftest.err >&5
4752
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4965
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753
4966
  (exit $ac_status); } && {
4754
4967
         test -z "$ac_c_werror_flag" ||
4755
4968
         test ! -s conftest.err
4756
4969
       } && test -s conftest.$ac_objext; then
4757
4970
  :
4758
4971
else
4759
 
  echo "$as_me: failed program was:" >&5
 
4972
  $as_echo "$as_me: failed program was:" >&5
4760
4973
sed 's/^/| /' conftest.$ac_ext >&5
4761
4974
 
4762
4975
        ac_c_werror_flag=$ac_save_c_werror_flag
4782
4995
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4783
4996
  *) ac_try_echo=$ac_try;;
4784
4997
esac
4785
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4998
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4999
$as_echo "$ac_try_echo") >&5
4786
5000
  (eval "$ac_compile") 2>conftest.er1
4787
5001
  ac_status=$?
4788
5002
  grep -v '^ *+' conftest.er1 >conftest.err
4789
5003
  rm -f conftest.er1
4790
5004
  cat conftest.err >&5
4791
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5005
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792
5006
  (exit $ac_status); } && {
4793
5007
         test -z "$ac_c_werror_flag" ||
4794
5008
         test ! -s conftest.err
4795
5009
       } && test -s conftest.$ac_objext; then
4796
5010
  ac_cv_prog_cc_g=yes
4797
5011
else
4798
 
  echo "$as_me: failed program was:" >&5
 
5012
  $as_echo "$as_me: failed program was:" >&5
4799
5013
sed 's/^/| /' conftest.$ac_ext >&5
4800
5014
 
4801
5015
 
4810
5024
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4811
5025
   ac_c_werror_flag=$ac_save_c_werror_flag
4812
5026
fi
4813
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4814
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
5027
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
5028
$as_echo "$ac_cv_prog_cc_g" >&6; }
4815
5029
if test "$ac_test_CFLAGS" = set; then
4816
5030
  CFLAGS=$ac_save_CFLAGS
4817
5031
elif test $ac_cv_prog_cc_g = yes; then
4827
5041
    CFLAGS=
4828
5042
  fi
4829
5043
fi
4830
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4831
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
5044
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
5045
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4832
5046
if test "${ac_cv_prog_cc_c89+set}" = set; then
4833
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5047
  $as_echo_n "(cached) " >&6
4834
5048
else
4835
5049
  ac_cv_prog_cc_c89=no
4836
5050
ac_save_CC=$CC
4901
5115
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4902
5116
  *) ac_try_echo=$ac_try;;
4903
5117
esac
4904
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5118
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5119
$as_echo "$ac_try_echo") >&5
4905
5120
  (eval "$ac_compile") 2>conftest.er1
4906
5121
  ac_status=$?
4907
5122
  grep -v '^ *+' conftest.er1 >conftest.err
4908
5123
  rm -f conftest.er1
4909
5124
  cat conftest.err >&5
4910
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5125
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911
5126
  (exit $ac_status); } && {
4912
5127
         test -z "$ac_c_werror_flag" ||
4913
5128
         test ! -s conftest.err
4914
5129
       } && test -s conftest.$ac_objext; then
4915
5130
  ac_cv_prog_cc_c89=$ac_arg
4916
5131
else
4917
 
  echo "$as_me: failed program was:" >&5
 
5132
  $as_echo "$as_me: failed program was:" >&5
4918
5133
sed 's/^/| /' conftest.$ac_ext >&5
4919
5134
 
4920
5135
 
4930
5145
# AC_CACHE_VAL
4931
5146
case "x$ac_cv_prog_cc_c89" in
4932
5147
  x)
4933
 
    { echo "$as_me:$LINENO: result: none needed" >&5
4934
 
echo "${ECHO_T}none needed" >&6; } ;;
 
5148
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
5149
$as_echo "none needed" >&6; } ;;
4935
5150
  xno)
4936
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
4937
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
5151
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
5152
$as_echo "unsupported" >&6; } ;;
4938
5153
  *)
4939
5154
    CC="$CC $ac_cv_prog_cc_c89"
4940
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4941
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
5155
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
5156
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4942
5157
esac
4943
5158
 
4944
5159
 
4950
5165
 
4951
5166
depcc="$CC"   am_compiler_list=
4952
5167
 
4953
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4954
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
5168
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5169
$as_echo_n "checking dependency style of $depcc... " >&6; }
4955
5170
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4956
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5171
  $as_echo_n "(cached) " >&6
4957
5172
else
4958
5173
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4959
5174
  # We make a subdir and do the tests there.  Otherwise we can end up
5041
5256
fi
5042
5257
 
5043
5258
fi
5044
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5045
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
5259
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5260
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5046
5261
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5047
5262
 
5048
5263
 if
5056
5271
fi
5057
5272
 
5058
5273
 
5059
 
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
5060
 
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
 
5274
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
5275
$as_echo_n "checking for library containing strerror... " >&6; }
5061
5276
if test "${ac_cv_search_strerror+set}" = set; then
5062
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5277
  $as_echo_n "(cached) " >&6
5063
5278
else
5064
5279
  ac_func_search_save_LIBS=$LIBS
5065
5280
cat >conftest.$ac_ext <<_ACEOF
5097
5312
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5098
5313
  *) ac_try_echo=$ac_try;;
5099
5314
esac
5100
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5315
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5316
$as_echo "$ac_try_echo") >&5
5101
5317
  (eval "$ac_link") 2>conftest.er1
5102
5318
  ac_status=$?
5103
5319
  grep -v '^ *+' conftest.er1 >conftest.err
5104
5320
  rm -f conftest.er1
5105
5321
  cat conftest.err >&5
5106
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5322
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107
5323
  (exit $ac_status); } && {
5108
5324
         test -z "$ac_c_werror_flag" ||
5109
5325
         test ! -s conftest.err
5110
 
       } && test -s conftest$ac_exeext &&
5111
 
       $as_test_x conftest$ac_exeext; then
 
5326
       } && test -s conftest$ac_exeext && {
 
5327
         test "$cross_compiling" = yes ||
 
5328
         $as_test_x conftest$ac_exeext
 
5329
       }; then
5112
5330
  ac_cv_search_strerror=$ac_res
5113
5331
else
5114
 
  echo "$as_me: failed program was:" >&5
 
5332
  $as_echo "$as_me: failed program was:" >&5
5115
5333
sed 's/^/| /' conftest.$ac_ext >&5
5116
5334
 
5117
5335
 
5118
5336
fi
5119
5337
 
 
5338
rm -rf conftest.dSYM
5120
5339
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5121
5340
      conftest$ac_exeext
5122
5341
  if test "${ac_cv_search_strerror+set}" = set; then
5131
5350
rm conftest.$ac_ext
5132
5351
LIBS=$ac_func_search_save_LIBS
5133
5352
fi
5134
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
5135
 
echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
 
5353
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
5354
$as_echo "$ac_cv_search_strerror" >&6; }
5136
5355
ac_res=$ac_cv_search_strerror
5137
5356
if test "$ac_res" != no; then
5138
5357
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5144
5363
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5145
5364
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5146
5365
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5147
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5148
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
5366
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5367
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5149
5368
# On Suns, sometimes $CPP names a directory.
5150
5369
if test -n "$CPP" && test -d "$CPP"; then
5151
5370
  CPP=
5152
5371
fi
5153
5372
if test -z "$CPP"; then
5154
5373
  if test "${ac_cv_prog_CPP+set}" = set; then
5155
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5374
  $as_echo_n "(cached) " >&6
5156
5375
else
5157
5376
      # Double quotes because CPP needs to be expanded
5158
5377
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5184
5403
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5185
5404
  *) ac_try_echo=$ac_try;;
5186
5405
esac
5187
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5406
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5407
$as_echo "$ac_try_echo") >&5
5188
5408
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5189
5409
  ac_status=$?
5190
5410
  grep -v '^ *+' conftest.er1 >conftest.err
5191
5411
  rm -f conftest.er1
5192
5412
  cat conftest.err >&5
5193
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5413
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194
5414
  (exit $ac_status); } >/dev/null && {
5195
5415
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5196
5416
         test ! -s conftest.err
5197
5417
       }; then
5198
5418
  :
5199
5419
else
5200
 
  echo "$as_me: failed program was:" >&5
 
5420
  $as_echo "$as_me: failed program was:" >&5
5201
5421
sed 's/^/| /' conftest.$ac_ext >&5
5202
5422
 
5203
5423
  # Broken: fails on valid input.
5221
5441
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5222
5442
  *) ac_try_echo=$ac_try;;
5223
5443
esac
5224
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5444
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5445
$as_echo "$ac_try_echo") >&5
5225
5446
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5226
5447
  ac_status=$?
5227
5448
  grep -v '^ *+' conftest.er1 >conftest.err
5228
5449
  rm -f conftest.er1
5229
5450
  cat conftest.err >&5
5230
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5451
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5231
5452
  (exit $ac_status); } >/dev/null && {
5232
5453
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5233
5454
         test ! -s conftest.err
5235
5456
  # Broken: success on invalid input.
5236
5457
continue
5237
5458
else
5238
 
  echo "$as_me: failed program was:" >&5
 
5459
  $as_echo "$as_me: failed program was:" >&5
5239
5460
sed 's/^/| /' conftest.$ac_ext >&5
5240
5461
 
5241
5462
  # Passes both tests.
5260
5481
else
5261
5482
  ac_cv_prog_CPP=$CPP
5262
5483
fi
5263
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
5264
 
echo "${ECHO_T}$CPP" >&6; }
 
5484
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
5485
$as_echo "$CPP" >&6; }
5265
5486
ac_preproc_ok=false
5266
5487
for ac_c_preproc_warn_flag in '' yes
5267
5488
do
5289
5510
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5290
5511
  *) ac_try_echo=$ac_try;;
5291
5512
esac
5292
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5513
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5514
$as_echo "$ac_try_echo") >&5
5293
5515
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5294
5516
  ac_status=$?
5295
5517
  grep -v '^ *+' conftest.er1 >conftest.err
5296
5518
  rm -f conftest.er1
5297
5519
  cat conftest.err >&5
5298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5520
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299
5521
  (exit $ac_status); } >/dev/null && {
5300
5522
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5301
5523
         test ! -s conftest.err
5302
5524
       }; then
5303
5525
  :
5304
5526
else
5305
 
  echo "$as_me: failed program was:" >&5
 
5527
  $as_echo "$as_me: failed program was:" >&5
5306
5528
sed 's/^/| /' conftest.$ac_ext >&5
5307
5529
 
5308
5530
  # Broken: fails on valid input.
5326
5548
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5327
5549
  *) ac_try_echo=$ac_try;;
5328
5550
esac
5329
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5551
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5552
$as_echo "$ac_try_echo") >&5
5330
5553
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5331
5554
  ac_status=$?
5332
5555
  grep -v '^ *+' conftest.er1 >conftest.err
5333
5556
  rm -f conftest.er1
5334
5557
  cat conftest.err >&5
5335
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5558
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5336
5559
  (exit $ac_status); } >/dev/null && {
5337
5560
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5338
5561
         test ! -s conftest.err
5340
5563
  # Broken: success on invalid input.
5341
5564
continue
5342
5565
else
5343
 
  echo "$as_me: failed program was:" >&5
 
5566
  $as_echo "$as_me: failed program was:" >&5
5344
5567
sed 's/^/| /' conftest.$ac_ext >&5
5345
5568
 
5346
5569
  # Passes both tests.
5356
5579
if $ac_preproc_ok; then
5357
5580
  :
5358
5581
else
5359
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
5582
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5583
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5584
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5360
5585
See \`config.log' for more details." >&5
5361
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
5586
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5362
5587
See \`config.log' for more details." >&2;}
5363
 
   { (exit 1); exit 1; }; }
 
5588
   { (exit 1); exit 1; }; }; }
5364
5589
fi
5365
5590
 
5366
5591
ac_ext=c
5370
5595
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5371
5596
 
5372
5597
 
5373
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5374
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5375
 
if test "${ac_cv_path_GREP+set}" = set; then
5376
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5377
 
else
5378
 
  # Extract the first word of "grep ggrep" to use in msg output
5379
 
if test -z "$GREP"; then
5380
 
set dummy grep ggrep; ac_prog_name=$2
5381
 
if test "${ac_cv_path_GREP+set}" = set; then
5382
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5383
 
else
 
5598
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
5599
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
5600
if test "${ac_cv_path_GREP+set}" = set; then
 
5601
  $as_echo_n "(cached) " >&6
 
5602
else
 
5603
  if test -z "$GREP"; then
5384
5604
  ac_path_GREP_found=false
5385
 
# Loop through the user's path and test for each of PROGNAME-LIST
5386
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5605
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5606
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5387
5607
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5388
5608
do
5389
5609
  IFS=$as_save_IFS
5390
5610
  test -z "$as_dir" && as_dir=.
5391
5611
  for ac_prog in grep ggrep; do
5392
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5393
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5394
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5395
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
5612
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5613
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
5614
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5615
# Check for GNU ac_path_GREP and select it if it is found.
5396
5616
  # Check for GNU $ac_path_GREP
5397
5617
case `"$ac_path_GREP" --version 2>&1` in
5398
5618
*GNU*)
5399
5619
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5400
5620
*)
5401
5621
  ac_count=0
5402
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5622
  $as_echo_n 0123456789 >"conftest.in"
5403
5623
  while :
5404
5624
  do
5405
5625
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5406
5626
    mv "conftest.tmp" "conftest.in"
5407
5627
    cp "conftest.in" "conftest.nl"
5408
 
    echo 'GREP' >> "conftest.nl"
 
5628
    $as_echo 'GREP' >> "conftest.nl"
5409
5629
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5410
5630
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5411
5631
    ac_count=`expr $ac_count + 1`
5420
5640
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5421
5641
esac
5422
5642
 
5423
 
 
5424
 
    $ac_path_GREP_found && break 3
 
5643
      $ac_path_GREP_found && break 3
 
5644
    done
5425
5645
  done
5426
5646
done
5427
 
 
5428
 
done
5429
5647
IFS=$as_save_IFS
5430
 
 
5431
 
 
5432
 
fi
5433
 
 
5434
 
GREP="$ac_cv_path_GREP"
5435
 
if test -z "$GREP"; then
5436
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5437
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5648
  if test -z "$ac_cv_path_GREP"; then
 
5649
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5650
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5438
5651
   { (exit 1); exit 1; }; }
5439
 
fi
5440
 
 
 
5652
  fi
5441
5653
else
5442
5654
  ac_cv_path_GREP=$GREP
5443
5655
fi
5444
5656
 
5445
 
 
5446
5657
fi
5447
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5448
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
5658
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
5659
$as_echo "$ac_cv_path_GREP" >&6; }
5449
5660
 GREP="$ac_cv_path_GREP"
5450
5661
 
5451
5662
 
5452
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
5453
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
5663
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
5664
$as_echo_n "checking for egrep... " >&6; }
5454
5665
if test "${ac_cv_path_EGREP+set}" = set; then
5455
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5666
  $as_echo_n "(cached) " >&6
5456
5667
else
5457
5668
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5458
5669
   then ac_cv_path_EGREP="$GREP -E"
5459
5670
   else
5460
 
     # Extract the first word of "egrep" to use in msg output
5461
 
if test -z "$EGREP"; then
5462
 
set dummy egrep; ac_prog_name=$2
5463
 
if test "${ac_cv_path_EGREP+set}" = set; then
5464
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5465
 
else
 
5671
     if test -z "$EGREP"; then
5466
5672
  ac_path_EGREP_found=false
5467
 
# Loop through the user's path and test for each of PROGNAME-LIST
5468
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5673
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5674
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469
5675
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5470
5676
do
5471
5677
  IFS=$as_save_IFS
5472
5678
  test -z "$as_dir" && as_dir=.
5473
5679
  for ac_prog in egrep; do
5474
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5475
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5476
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5477
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
5680
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5681
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5682
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5683
# Check for GNU ac_path_EGREP and select it if it is found.
5478
5684
  # Check for GNU $ac_path_EGREP
5479
5685
case `"$ac_path_EGREP" --version 2>&1` in
5480
5686
*GNU*)
5481
5687
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5482
5688
*)
5483
5689
  ac_count=0
5484
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5690
  $as_echo_n 0123456789 >"conftest.in"
5485
5691
  while :
5486
5692
  do
5487
5693
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5488
5694
    mv "conftest.tmp" "conftest.in"
5489
5695
    cp "conftest.in" "conftest.nl"
5490
 
    echo 'EGREP' >> "conftest.nl"
 
5696
    $as_echo 'EGREP' >> "conftest.nl"
5491
5697
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5492
5698
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5493
5699
    ac_count=`expr $ac_count + 1`
5502
5708
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5503
5709
esac
5504
5710
 
5505
 
 
5506
 
    $ac_path_EGREP_found && break 3
 
5711
      $ac_path_EGREP_found && break 3
 
5712
    done
5507
5713
  done
5508
5714
done
5509
 
 
5510
 
done
5511
5715
IFS=$as_save_IFS
5512
 
 
5513
 
 
5514
 
fi
5515
 
 
5516
 
EGREP="$ac_cv_path_EGREP"
5517
 
if test -z "$EGREP"; then
5518
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5519
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5716
  if test -z "$ac_cv_path_EGREP"; then
 
5717
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5718
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5520
5719
   { (exit 1); exit 1; }; }
5521
 
fi
5522
 
 
 
5720
  fi
5523
5721
else
5524
5722
  ac_cv_path_EGREP=$EGREP
5525
5723
fi
5526
5724
 
5527
 
 
5528
5725
   fi
5529
5726
fi
5530
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5531
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
5727
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
5728
$as_echo "$ac_cv_path_EGREP" >&6; }
5532
5729
 EGREP="$ac_cv_path_EGREP"
5533
5730
 
5534
5731
 
5535
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5536
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
5732
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5733
$as_echo_n "checking for ANSI C header files... " >&6; }
5537
5734
if test "${ac_cv_header_stdc+set}" = set; then
5538
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5735
  $as_echo_n "(cached) " >&6
5539
5736
else
5540
5737
  cat >conftest.$ac_ext <<_ACEOF
5541
5738
/* confdefs.h.  */
5562
5759
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5563
5760
  *) ac_try_echo=$ac_try;;
5564
5761
esac
5565
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5762
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5763
$as_echo "$ac_try_echo") >&5
5566
5764
  (eval "$ac_compile") 2>conftest.er1
5567
5765
  ac_status=$?
5568
5766
  grep -v '^ *+' conftest.er1 >conftest.err
5569
5767
  rm -f conftest.er1
5570
5768
  cat conftest.err >&5
5571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5769
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572
5770
  (exit $ac_status); } && {
5573
5771
         test -z "$ac_c_werror_flag" ||
5574
5772
         test ! -s conftest.err
5575
5773
       } && test -s conftest.$ac_objext; then
5576
5774
  ac_cv_header_stdc=yes
5577
5775
else
5578
 
  echo "$as_me: failed program was:" >&5
 
5776
  $as_echo "$as_me: failed program was:" >&5
5579
5777
sed 's/^/| /' conftest.$ac_ext >&5
5580
5778
 
5581
5779
        ac_cv_header_stdc=no
5667
5865
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5668
5866
  *) ac_try_echo=$ac_try;;
5669
5867
esac
5670
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5868
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5869
$as_echo "$ac_try_echo") >&5
5671
5870
  (eval "$ac_link") 2>&5
5672
5871
  ac_status=$?
5673
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5872
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674
5873
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5675
5874
  { (case "(($ac_try" in
5676
5875
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5677
5876
  *) ac_try_echo=$ac_try;;
5678
5877
esac
5679
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5878
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5879
$as_echo "$ac_try_echo") >&5
5680
5880
  (eval "$ac_try") 2>&5
5681
5881
  ac_status=$?
5682
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5882
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683
5883
  (exit $ac_status); }; }; then
5684
5884
  :
5685
5885
else
5686
 
  echo "$as_me: program exited with status $ac_status" >&5
5687
 
echo "$as_me: failed program was:" >&5
 
5886
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
5887
$as_echo "$as_me: failed program was:" >&5
5688
5888
sed 's/^/| /' conftest.$ac_ext >&5
5689
5889
 
5690
5890
( exit $ac_status )
5691
5891
ac_cv_header_stdc=no
5692
5892
fi
 
5893
rm -rf conftest.dSYM
5693
5894
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5694
5895
fi
5695
5896
 
5696
5897
 
5697
5898
fi
5698
5899
fi
5699
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5700
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
5900
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5901
$as_echo "$ac_cv_header_stdc" >&6; }
5701
5902
if test $ac_cv_header_stdc = yes; then
5702
5903
 
5703
5904
cat >>confdefs.h <<\_ACEOF
5706
5907
 
5707
5908
fi
5708
5909
 
5709
 
# Check whether --enable-shared was given.
5710
 
if test "${enable_shared+set}" = set; then
5711
 
  enableval=$enable_shared; p=${PACKAGE-default}
5712
 
    case $enableval in
5713
 
    yes) enable_shared=yes ;;
5714
 
    no) enable_shared=no ;;
5715
 
    *)
5716
 
      enable_shared=no
5717
 
      # Look at the argument we got.  We use all the common list separators.
5718
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5719
 
      for pkg in $enableval; do
5720
 
        IFS="$lt_save_ifs"
5721
 
        if test "X$pkg" = "X$p"; then
5722
 
          enable_shared=yes
5723
 
        fi
5724
 
      done
5725
 
      IFS="$lt_save_ifs"
5726
 
      ;;
5727
 
    esac
5728
 
else
5729
 
  enable_shared=yes
5730
 
fi
5731
 
 
5732
 
 
5733
 
# Check whether --enable-static was given.
5734
 
if test "${enable_static+set}" = set; then
5735
 
  enableval=$enable_static; p=${PACKAGE-default}
5736
 
    case $enableval in
5737
 
    yes) enable_static=yes ;;
5738
 
    no) enable_static=no ;;
5739
 
    *)
5740
 
     enable_static=no
5741
 
      # Look at the argument we got.  We use all the common list separators.
5742
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5743
 
      for pkg in $enableval; do
5744
 
        IFS="$lt_save_ifs"
5745
 
        if test "X$pkg" = "X$p"; then
5746
 
          enable_static=yes
5747
 
        fi
5748
 
      done
5749
 
      IFS="$lt_save_ifs"
5750
 
      ;;
5751
 
    esac
5752
 
else
5753
 
  enable_static=yes
5754
 
fi
5755
 
 
5756
 
 
5757
 
# Check whether --enable-fast-install was given.
5758
 
if test "${enable_fast_install+set}" = set; then
5759
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
5760
 
    case $enableval in
5761
 
    yes) enable_fast_install=yes ;;
5762
 
    no) enable_fast_install=no ;;
5763
 
    *)
5764
 
      enable_fast_install=no
5765
 
      # Look at the argument we got.  We use all the common list separators.
5766
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5767
 
      for pkg in $enableval; do
5768
 
        IFS="$lt_save_ifs"
5769
 
        if test "X$pkg" = "X$p"; then
5770
 
          enable_fast_install=yes
5771
 
        fi
5772
 
      done
5773
 
      IFS="$lt_save_ifs"
5774
 
      ;;
5775
 
    esac
5776
 
else
5777
 
  enable_fast_install=yes
5778
 
fi
5779
 
 
 
5910
case `pwd` in
 
5911
  *\ * | *\     *)
 
5912
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5913
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
5914
esac
 
5915
 
 
5916
 
 
5917
 
 
5918
macro_version='2.2.6'
 
5919
macro_revision='1.3012'
 
5920
 
 
5921
 
 
5922
 
 
5923
 
 
5924
 
 
5925
 
 
5926
 
 
5927
 
 
5928
 
 
5929
 
 
5930
 
 
5931
 
 
5932
 
 
5933
ltmain="$ac_aux_dir/ltmain.sh"
5780
5934
 
5781
5935
# Make sure we can run config.sub.
5782
5936
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5783
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5784
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
5937
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
5938
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5785
5939
   { (exit 1); exit 1; }; }
5786
5940
 
5787
 
{ echo "$as_me:$LINENO: checking build system type" >&5
5788
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
5941
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
5942
$as_echo_n "checking build system type... " >&6; }
5789
5943
if test "${ac_cv_build+set}" = set; then
5790
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5944
  $as_echo_n "(cached) " >&6
5791
5945
else
5792
5946
  ac_build_alias=$build_alias
5793
5947
test "x$ac_build_alias" = x &&
5794
5948
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5795
5949
test "x$ac_build_alias" = x &&
5796
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5797
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
5950
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
5951
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5798
5952
   { (exit 1); exit 1; }; }
5799
5953
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5800
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5801
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
5954
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
5955
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5802
5956
   { (exit 1); exit 1; }; }
5803
5957
 
5804
5958
fi
5805
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5806
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
5959
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
5960
$as_echo "$ac_cv_build" >&6; }
5807
5961
case $ac_cv_build in
5808
5962
*-*-*) ;;
5809
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5810
 
echo "$as_me: error: invalid value of canonical build" >&2;}
 
5963
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
5964
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
5811
5965
   { (exit 1); exit 1; }; };;
5812
5966
esac
5813
5967
build=$ac_cv_build
5824
5978
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5825
5979
 
5826
5980
 
5827
 
{ echo "$as_me:$LINENO: checking host system type" >&5
5828
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
5981
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
5982
$as_echo_n "checking host system type... " >&6; }
5829
5983
if test "${ac_cv_host+set}" = set; then
5830
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5984
  $as_echo_n "(cached) " >&6
5831
5985
else
5832
5986
  if test "x$host_alias" = x; then
5833
5987
  ac_cv_host=$ac_cv_build
5834
5988
else
5835
5989
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5836
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5837
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
5990
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
5991
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5838
5992
   { (exit 1); exit 1; }; }
5839
5993
fi
5840
5994
 
5841
5995
fi
5842
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5843
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
5996
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
5997
$as_echo "$ac_cv_host" >&6; }
5844
5998
case $ac_cv_host in
5845
5999
*-*-*) ;;
5846
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5847
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
6000
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
6001
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
5848
6002
   { (exit 1); exit 1; }; };;
5849
6003
esac
5850
6004
host=$ac_cv_host
5861
6015
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5862
6016
 
5863
6017
 
5864
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5865
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5866
 
if test "${lt_cv_path_SED+set}" = set; then
5867
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6018
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
6019
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
6020
if test "${ac_cv_path_SED+set}" = set; then
 
6021
  $as_echo_n "(cached) " >&6
5868
6022
else
5869
 
  # Loop through the user's path and test for sed and gsed.
5870
 
# Then use that list of sed's as ones to test for truncation.
5871
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6023
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
6024
     for ac_i in 1 2 3 4 5 6 7; do
 
6025
       ac_script="$ac_script$as_nl$ac_script"
 
6026
     done
 
6027
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
6028
     $as_unset ac_script || ac_script=
 
6029
     if test -z "$SED"; then
 
6030
  ac_path_SED_found=false
 
6031
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6032
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5872
6033
for as_dir in $PATH
5873
6034
do
5874
6035
  IFS=$as_save_IFS
5875
6036
  test -z "$as_dir" && as_dir=.
5876
 
  for lt_ac_prog in sed gsed; do
5877
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5878
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
5879
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5880
 
      fi
5881
 
    done
5882
 
  done
5883
 
done
5884
 
IFS=$as_save_IFS
5885
 
lt_ac_max=0
5886
 
lt_ac_count=0
5887
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
5888
 
# along with /bin/sed that truncates output.
5889
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5890
 
  test ! -f $lt_ac_sed && continue
5891
 
  cat /dev/null > conftest.in
5892
 
  lt_ac_count=0
5893
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5894
 
  # Check for GNU sed and select it if it is found.
5895
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5896
 
    lt_cv_path_SED=$lt_ac_sed
5897
 
    break
5898
 
  fi
5899
 
  while true; do
5900
 
    cat conftest.in conftest.in >conftest.tmp
5901
 
    mv conftest.tmp conftest.in
5902
 
    cp conftest.in conftest.nl
5903
 
    echo >>conftest.nl
5904
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5905
 
    cmp -s conftest.out conftest.nl || break
5906
 
    # 10000 chars as input seems more than enough
5907
 
    test $lt_ac_count -gt 10 && break
5908
 
    lt_ac_count=`expr $lt_ac_count + 1`
5909
 
    if test $lt_ac_count -gt $lt_ac_max; then
5910
 
      lt_ac_max=$lt_ac_count
5911
 
      lt_cv_path_SED=$lt_ac_sed
5912
 
    fi
5913
 
  done
5914
 
done
5915
 
 
5916
 
fi
5917
 
 
5918
 
SED=$lt_cv_path_SED
5919
 
 
5920
 
{ echo "$as_me:$LINENO: result: $SED" >&5
5921
 
echo "${ECHO_T}$SED" >&6; }
 
6037
  for ac_prog in sed gsed; do
 
6038
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6039
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
6040
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
6041
# Check for GNU ac_path_SED and select it if it is found.
 
6042
  # Check for GNU $ac_path_SED
 
6043
case `"$ac_path_SED" --version 2>&1` in
 
6044
*GNU*)
 
6045
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
6046
*)
 
6047
  ac_count=0
 
6048
  $as_echo_n 0123456789 >"conftest.in"
 
6049
  while :
 
6050
  do
 
6051
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6052
    mv "conftest.tmp" "conftest.in"
 
6053
    cp "conftest.in" "conftest.nl"
 
6054
    $as_echo '' >> "conftest.nl"
 
6055
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6056
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6057
    ac_count=`expr $ac_count + 1`
 
6058
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
6059
      # Best one so far, save it but keep looking for a better one
 
6060
      ac_cv_path_SED="$ac_path_SED"
 
6061
      ac_path_SED_max=$ac_count
 
6062
    fi
 
6063
    # 10*(2^10) chars as input seems more than enough
 
6064
    test $ac_count -gt 10 && break
 
6065
  done
 
6066
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6067
esac
 
6068
 
 
6069
      $ac_path_SED_found && break 3
 
6070
    done
 
6071
  done
 
6072
done
 
6073
IFS=$as_save_IFS
 
6074
  if test -z "$ac_cv_path_SED"; then
 
6075
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
6076
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
6077
   { (exit 1); exit 1; }; }
 
6078
  fi
 
6079
else
 
6080
  ac_cv_path_SED=$SED
 
6081
fi
 
6082
 
 
6083
fi
 
6084
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
6085
$as_echo "$ac_cv_path_SED" >&6; }
 
6086
 SED="$ac_cv_path_SED"
 
6087
  rm -f conftest.sed
 
6088
 
 
6089
test -z "$SED" && SED=sed
 
6090
Xsed="$SED -e 1s/^X//"
 
6091
 
 
6092
 
 
6093
 
 
6094
 
 
6095
 
 
6096
 
 
6097
 
 
6098
 
 
6099
 
 
6100
 
 
6101
 
 
6102
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
6103
$as_echo_n "checking for fgrep... " >&6; }
 
6104
if test "${ac_cv_path_FGREP+set}" = set; then
 
6105
  $as_echo_n "(cached) " >&6
 
6106
else
 
6107
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
6108
   then ac_cv_path_FGREP="$GREP -F"
 
6109
   else
 
6110
     if test -z "$FGREP"; then
 
6111
  ac_path_FGREP_found=false
 
6112
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6113
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6114
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
6115
do
 
6116
  IFS=$as_save_IFS
 
6117
  test -z "$as_dir" && as_dir=.
 
6118
  for ac_prog in fgrep; do
 
6119
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6120
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
6121
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
6122
# Check for GNU ac_path_FGREP and select it if it is found.
 
6123
  # Check for GNU $ac_path_FGREP
 
6124
case `"$ac_path_FGREP" --version 2>&1` in
 
6125
*GNU*)
 
6126
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
6127
*)
 
6128
  ac_count=0
 
6129
  $as_echo_n 0123456789 >"conftest.in"
 
6130
  while :
 
6131
  do
 
6132
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6133
    mv "conftest.tmp" "conftest.in"
 
6134
    cp "conftest.in" "conftest.nl"
 
6135
    $as_echo 'FGREP' >> "conftest.nl"
 
6136
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6137
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6138
    ac_count=`expr $ac_count + 1`
 
6139
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
6140
      # Best one so far, save it but keep looking for a better one
 
6141
      ac_cv_path_FGREP="$ac_path_FGREP"
 
6142
      ac_path_FGREP_max=$ac_count
 
6143
    fi
 
6144
    # 10*(2^10) chars as input seems more than enough
 
6145
    test $ac_count -gt 10 && break
 
6146
  done
 
6147
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6148
esac
 
6149
 
 
6150
      $ac_path_FGREP_found && break 3
 
6151
    done
 
6152
  done
 
6153
done
 
6154
IFS=$as_save_IFS
 
6155
  if test -z "$ac_cv_path_FGREP"; then
 
6156
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
6157
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
6158
   { (exit 1); exit 1; }; }
 
6159
  fi
 
6160
else
 
6161
  ac_cv_path_FGREP=$FGREP
 
6162
fi
 
6163
 
 
6164
   fi
 
6165
fi
 
6166
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
6167
$as_echo "$ac_cv_path_FGREP" >&6; }
 
6168
 FGREP="$ac_cv_path_FGREP"
 
6169
 
 
6170
 
 
6171
test -z "$GREP" && GREP=grep
 
6172
 
 
6173
 
 
6174
 
 
6175
 
 
6176
 
 
6177
 
 
6178
 
 
6179
 
 
6180
 
 
6181
 
 
6182
 
 
6183
 
 
6184
 
 
6185
 
 
6186
 
 
6187
 
 
6188
 
5922
6189
 
5923
6190
 
5924
6191
# Check whether --with-gnu-ld was given.
5931
6198
ac_prog=ld
5932
6199
if test "$GCC" = yes; then
5933
6200
  # Check if gcc -print-prog-name=ld gives a path.
5934
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5935
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
6201
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
6202
$as_echo_n "checking for ld used by $CC... " >&6; }
5936
6203
  case $host in
5937
6204
  *-*-mingw*)
5938
6205
    # gcc leaves a trailing carriage return which upsets mingw
5945
6212
    [\\/]* | ?:[\\/]*)
5946
6213
      re_direlt='/[^/][^/]*/\.\./'
5947
6214
      # Canonicalize the pathname of ld
5948
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5949
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5950
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
6215
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
6216
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
6217
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5951
6218
      done
5952
6219
      test -z "$LD" && LD="$ac_prog"
5953
6220
      ;;
5961
6228
    ;;
5962
6229
  esac
5963
6230
elif test "$with_gnu_ld" = yes; then
5964
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
5965
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
6231
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
6232
$as_echo_n "checking for GNU ld... " >&6; }
5966
6233
else
5967
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5968
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
6234
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
6235
$as_echo_n "checking for non-GNU ld... " >&6; }
5969
6236
fi
5970
6237
if test "${lt_cv_path_LD+set}" = set; then
5971
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6238
  $as_echo_n "(cached) " >&6
5972
6239
else
5973
6240
  if test -z "$LD"; then
5974
6241
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5998
6265
 
5999
6266
LD="$lt_cv_path_LD"
6000
6267
if test -n "$LD"; then
6001
 
  { echo "$as_me:$LINENO: result: $LD" >&5
6002
 
echo "${ECHO_T}$LD" >&6; }
 
6268
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
6269
$as_echo "$LD" >&6; }
6003
6270
else
6004
 
  { echo "$as_me:$LINENO: result: no" >&5
6005
 
echo "${ECHO_T}no" >&6; }
 
6271
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6272
$as_echo "no" >&6; }
6006
6273
fi
6007
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6008
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
6274
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
6275
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6009
6276
   { (exit 1); exit 1; }; }
6010
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6011
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
6277
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
6278
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6012
6279
if test "${lt_cv_prog_gnu_ld+set}" = set; then
6013
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6280
  $as_echo_n "(cached) " >&6
6014
6281
else
6015
6282
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6016
6283
case `$LD -v 2>&1 </dev/null` in
6022
6289
  ;;
6023
6290
esac
6024
6291
fi
6025
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6026
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
6292
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
6293
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6027
6294
with_gnu_ld=$lt_cv_prog_gnu_ld
6028
6295
 
6029
6296
 
6030
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6031
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6032
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
6033
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6034
 
else
6035
 
  lt_cv_ld_reload_flag='-r'
6036
 
fi
6037
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6038
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6039
 
reload_flag=$lt_cv_ld_reload_flag
6040
 
case $reload_flag in
6041
 
"" | " "*) ;;
6042
 
*) reload_flag=" $reload_flag" ;;
6043
 
esac
6044
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6045
 
case $host_os in
6046
 
  darwin*)
6047
 
    if test "$GCC" = yes; then
6048
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6049
 
    else
6050
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6051
 
    fi
6052
 
    ;;
6053
 
esac
6054
 
 
6055
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6056
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
6297
 
 
6298
 
 
6299
 
 
6300
 
 
6301
 
 
6302
 
 
6303
 
 
6304
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
6305
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6057
6306
if test "${lt_cv_path_NM+set}" = set; then
6058
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6307
  $as_echo_n "(cached) " >&6
6059
6308
else
6060
6309
  if test -n "$NM"; then
6061
6310
  # Let the user override the test.
6098
6347
    done
6099
6348
    IFS="$lt_save_ifs"
6100
6349
  done
6101
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6102
 
fi
6103
 
fi
6104
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6105
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6106
 
NM="$lt_cv_path_NM"
6107
 
 
6108
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
6109
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
6350
  : ${lt_cv_path_NM=no}
 
6351
fi
 
6352
fi
 
6353
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
6354
$as_echo "$lt_cv_path_NM" >&6; }
 
6355
if test "$lt_cv_path_NM" != "no"; then
 
6356
  NM="$lt_cv_path_NM"
 
6357
else
 
6358
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
6359
  if test -n "$ac_tool_prefix"; then
 
6360
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6361
  do
 
6362
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6363
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6364
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6365
$as_echo_n "checking for $ac_word... " >&6; }
 
6366
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
6367
  $as_echo_n "(cached) " >&6
 
6368
else
 
6369
  if test -n "$DUMPBIN"; then
 
6370
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
6371
else
 
6372
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6373
for as_dir in $PATH
 
6374
do
 
6375
  IFS=$as_save_IFS
 
6376
  test -z "$as_dir" && as_dir=.
 
6377
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6378
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6379
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
6380
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6381
    break 2
 
6382
  fi
 
6383
done
 
6384
done
 
6385
IFS=$as_save_IFS
 
6386
 
 
6387
fi
 
6388
fi
 
6389
DUMPBIN=$ac_cv_prog_DUMPBIN
 
6390
if test -n "$DUMPBIN"; then
 
6391
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
6392
$as_echo "$DUMPBIN" >&6; }
 
6393
else
 
6394
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6395
$as_echo "no" >&6; }
 
6396
fi
 
6397
 
 
6398
 
 
6399
    test -n "$DUMPBIN" && break
 
6400
  done
 
6401
fi
 
6402
if test -z "$DUMPBIN"; then
 
6403
  ac_ct_DUMPBIN=$DUMPBIN
 
6404
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6405
do
 
6406
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6407
set dummy $ac_prog; ac_word=$2
 
6408
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6409
$as_echo_n "checking for $ac_word... " >&6; }
 
6410
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
6411
  $as_echo_n "(cached) " >&6
 
6412
else
 
6413
  if test -n "$ac_ct_DUMPBIN"; then
 
6414
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
6415
else
 
6416
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6417
for as_dir in $PATH
 
6418
do
 
6419
  IFS=$as_save_IFS
 
6420
  test -z "$as_dir" && as_dir=.
 
6421
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6422
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6423
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
6424
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6425
    break 2
 
6426
  fi
 
6427
done
 
6428
done
 
6429
IFS=$as_save_IFS
 
6430
 
 
6431
fi
 
6432
fi
 
6433
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
6434
if test -n "$ac_ct_DUMPBIN"; then
 
6435
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
6436
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
6437
else
 
6438
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6439
$as_echo "no" >&6; }
 
6440
fi
 
6441
 
 
6442
 
 
6443
  test -n "$ac_ct_DUMPBIN" && break
 
6444
done
 
6445
 
 
6446
  if test "x$ac_ct_DUMPBIN" = x; then
 
6447
    DUMPBIN=":"
 
6448
  else
 
6449
    case $cross_compiling:$ac_tool_warned in
 
6450
yes:)
 
6451
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6452
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6453
ac_tool_warned=yes ;;
 
6454
esac
 
6455
    DUMPBIN=$ac_ct_DUMPBIN
 
6456
  fi
 
6457
fi
 
6458
 
 
6459
 
 
6460
  if test "$DUMPBIN" != ":"; then
 
6461
    NM="$DUMPBIN"
 
6462
  fi
 
6463
fi
 
6464
test -z "$NM" && NM=nm
 
6465
 
 
6466
 
 
6467
 
 
6468
 
 
6469
 
 
6470
 
 
6471
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
6472
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
6473
if test "${lt_cv_nm_interface+set}" = set; then
 
6474
  $as_echo_n "(cached) " >&6
 
6475
else
 
6476
  lt_cv_nm_interface="BSD nm"
 
6477
  echo "int some_variable = 0;" > conftest.$ac_ext
 
6478
  (eval echo "\"\$as_me:6478: $ac_compile\"" >&5)
 
6479
  (eval "$ac_compile" 2>conftest.err)
 
6480
  cat conftest.err >&5
 
6481
  (eval echo "\"\$as_me:6481: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6482
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
6483
  cat conftest.err >&5
 
6484
  (eval echo "\"\$as_me:6484: output\"" >&5)
 
6485
  cat conftest.out >&5
 
6486
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
6487
    lt_cv_nm_interface="MS dumpbin"
 
6488
  fi
 
6489
  rm -f conftest*
 
6490
fi
 
6491
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
6492
$as_echo "$lt_cv_nm_interface" >&6; }
 
6493
 
 
6494
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
6495
$as_echo_n "checking whether ln -s works... " >&6; }
6110
6496
LN_S=$as_ln_s
6111
6497
if test "$LN_S" = "ln -s"; then
6112
 
  { echo "$as_me:$LINENO: result: yes" >&5
6113
 
echo "${ECHO_T}yes" >&6; }
6114
 
else
6115
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6116
 
echo "${ECHO_T}no, using $LN_S" >&6; }
6117
 
fi
6118
 
 
6119
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6120
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
 
6498
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
6499
$as_echo "yes" >&6; }
 
6500
else
 
6501
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
6502
$as_echo "no, using $LN_S" >&6; }
 
6503
fi
 
6504
 
 
6505
# find the maximum length of command line arguments
 
6506
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6507
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
6508
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
6509
  $as_echo_n "(cached) " >&6
 
6510
else
 
6511
    i=0
 
6512
  teststring="ABCD"
 
6513
 
 
6514
  case $build_os in
 
6515
  msdosdjgpp*)
 
6516
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
6517
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
6518
    # during glob expansion).  Even if it were fixed, the result of this
 
6519
    # check would be larger than it should be.
 
6520
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
6521
    ;;
 
6522
 
 
6523
  gnu*)
 
6524
    # Under GNU Hurd, this test is not required because there is
 
6525
    # no limit to the length of command line arguments.
 
6526
    # Libtool will interpret -1 as no limit whatsoever
 
6527
    lt_cv_sys_max_cmd_len=-1;
 
6528
    ;;
 
6529
 
 
6530
  cygwin* | mingw* | cegcc*)
 
6531
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
6532
    # about 5 minutes as the teststring grows exponentially.
 
6533
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
6534
    # you end up with a "frozen" computer, even though with patience
 
6535
    # the test eventually succeeds (with a max line length of 256k).
 
6536
    # Instead, let's just punt: use the minimum linelength reported by
 
6537
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
6538
    lt_cv_sys_max_cmd_len=8192;
 
6539
    ;;
 
6540
 
 
6541
  amigaos*)
 
6542
    # On AmigaOS with pdksh, this test takes hours, literally.
 
6543
    # So we just punt and use a minimum line length of 8192.
 
6544
    lt_cv_sys_max_cmd_len=8192;
 
6545
    ;;
 
6546
 
 
6547
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6548
    # This has been around since 386BSD, at least.  Likely further.
 
6549
    if test -x /sbin/sysctl; then
 
6550
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6551
    elif test -x /usr/sbin/sysctl; then
 
6552
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6553
    else
 
6554
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6555
    fi
 
6556
    # And add a safety zone
 
6557
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6558
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6559
    ;;
 
6560
 
 
6561
  interix*)
 
6562
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6563
    lt_cv_sys_max_cmd_len=196608
 
6564
    ;;
 
6565
 
 
6566
  osf*)
 
6567
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6568
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6569
    # nice to cause kernel panics so lets avoid the loop below.
 
6570
    # First set a reasonable default.
 
6571
    lt_cv_sys_max_cmd_len=16384
 
6572
    #
 
6573
    if test -x /sbin/sysconfig; then
 
6574
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6575
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6576
      esac
 
6577
    fi
 
6578
    ;;
 
6579
  sco3.2v5*)
 
6580
    lt_cv_sys_max_cmd_len=102400
 
6581
    ;;
 
6582
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6583
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6584
    if test -n "$kargmax"; then
 
6585
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
6586
    else
 
6587
      lt_cv_sys_max_cmd_len=32768
 
6588
    fi
 
6589
    ;;
 
6590
  *)
 
6591
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6592
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6593
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6594
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6595
    else
 
6596
      # Make teststring a little bigger before we do anything with it.
 
6597
      # a 1K string should be a reasonable start.
 
6598
      for i in 1 2 3 4 5 6 7 8 ; do
 
6599
        teststring=$teststring$teststring
 
6600
      done
 
6601
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6602
      # If test is not a shell built-in, we'll probably end up computing a
 
6603
      # maximum length that is only half of the actual maximum length, but
 
6604
      # we can't tell.
 
6605
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
6606
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
6607
              test $i != 17 # 1/2 MB should be enough
 
6608
      do
 
6609
        i=`expr $i + 1`
 
6610
        teststring=$teststring$teststring
 
6611
      done
 
6612
      # Only check the string length outside the loop.
 
6613
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
6614
      teststring=
 
6615
      # Add a significant safety factor because C++ compilers can tack on
 
6616
      # massive amounts of additional arguments before passing them to the
 
6617
      # linker.  It appears as though 1/2 is a usable value.
 
6618
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6619
    fi
 
6620
    ;;
 
6621
  esac
 
6622
 
 
6623
fi
 
6624
 
 
6625
if test -n $lt_cv_sys_max_cmd_len ; then
 
6626
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6627
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
6628
else
 
6629
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
6630
$as_echo "none" >&6; }
 
6631
fi
 
6632
max_cmd_len=$lt_cv_sys_max_cmd_len
 
6633
 
 
6634
 
 
6635
 
 
6636
 
 
6637
 
 
6638
 
 
6639
: ${CP="cp -f"}
 
6640
: ${MV="mv -f"}
 
6641
: ${RM="rm -f"}
 
6642
 
 
6643
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
6644
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
6645
# Try some XSI features
 
6646
xsi_shell=no
 
6647
( _lt_dummy="a/b/c"
 
6648
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
6649
      = c,a/b,, \
 
6650
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
6651
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
6652
  && xsi_shell=yes
 
6653
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
6654
$as_echo "$xsi_shell" >&6; }
 
6655
 
 
6656
 
 
6657
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
6658
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
6659
lt_shell_append=no
 
6660
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
6661
    >/dev/null 2>&1 \
 
6662
  && lt_shell_append=yes
 
6663
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
6664
$as_echo "$lt_shell_append" >&6; }
 
6665
 
 
6666
 
 
6667
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
6668
  lt_unset=unset
 
6669
else
 
6670
  lt_unset=false
 
6671
fi
 
6672
 
 
6673
 
 
6674
 
 
6675
 
 
6676
 
 
6677
# test EBCDIC or ASCII
 
6678
case `echo X|tr X '\101'` in
 
6679
 A) # ASCII based system
 
6680
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
6681
  lt_SP2NL='tr \040 \012'
 
6682
  lt_NL2SP='tr \015\012 \040\040'
 
6683
  ;;
 
6684
 *) # EBCDIC based system
 
6685
  lt_SP2NL='tr \100 \n'
 
6686
  lt_NL2SP='tr \r\n \100\100'
 
6687
  ;;
 
6688
esac
 
6689
 
 
6690
 
 
6691
 
 
6692
 
 
6693
 
 
6694
 
 
6695
 
 
6696
 
 
6697
 
 
6698
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
6699
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
6700
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
6701
  $as_echo_n "(cached) " >&6
 
6702
else
 
6703
  lt_cv_ld_reload_flag='-r'
 
6704
fi
 
6705
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
6706
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
6707
reload_flag=$lt_cv_ld_reload_flag
 
6708
case $reload_flag in
 
6709
"" | " "*) ;;
 
6710
*) reload_flag=" $reload_flag" ;;
 
6711
esac
 
6712
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6713
case $host_os in
 
6714
  darwin*)
 
6715
    if test "$GCC" = yes; then
 
6716
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
6717
    else
 
6718
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6719
    fi
 
6720
    ;;
 
6721
esac
 
6722
 
 
6723
 
 
6724
 
 
6725
 
 
6726
 
 
6727
 
 
6728
 
 
6729
 
 
6730
 
 
6731
if test -n "$ac_tool_prefix"; then
 
6732
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
6733
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
6734
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6735
$as_echo_n "checking for $ac_word... " >&6; }
 
6736
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
6737
  $as_echo_n "(cached) " >&6
 
6738
else
 
6739
  if test -n "$OBJDUMP"; then
 
6740
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
6741
else
 
6742
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6743
for as_dir in $PATH
 
6744
do
 
6745
  IFS=$as_save_IFS
 
6746
  test -z "$as_dir" && as_dir=.
 
6747
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6748
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6749
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
6750
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6751
    break 2
 
6752
  fi
 
6753
done
 
6754
done
 
6755
IFS=$as_save_IFS
 
6756
 
 
6757
fi
 
6758
fi
 
6759
OBJDUMP=$ac_cv_prog_OBJDUMP
 
6760
if test -n "$OBJDUMP"; then
 
6761
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
6762
$as_echo "$OBJDUMP" >&6; }
 
6763
else
 
6764
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6765
$as_echo "no" >&6; }
 
6766
fi
 
6767
 
 
6768
 
 
6769
fi
 
6770
if test -z "$ac_cv_prog_OBJDUMP"; then
 
6771
  ac_ct_OBJDUMP=$OBJDUMP
 
6772
  # Extract the first word of "objdump", so it can be a program name with args.
 
6773
set dummy objdump; ac_word=$2
 
6774
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6775
$as_echo_n "checking for $ac_word... " >&6; }
 
6776
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
6777
  $as_echo_n "(cached) " >&6
 
6778
else
 
6779
  if test -n "$ac_ct_OBJDUMP"; then
 
6780
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
6781
else
 
6782
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6783
for as_dir in $PATH
 
6784
do
 
6785
  IFS=$as_save_IFS
 
6786
  test -z "$as_dir" && as_dir=.
 
6787
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6788
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6789
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
6790
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6791
    break 2
 
6792
  fi
 
6793
done
 
6794
done
 
6795
IFS=$as_save_IFS
 
6796
 
 
6797
fi
 
6798
fi
 
6799
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
6800
if test -n "$ac_ct_OBJDUMP"; then
 
6801
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
6802
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
6803
else
 
6804
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6805
$as_echo "no" >&6; }
 
6806
fi
 
6807
 
 
6808
  if test "x$ac_ct_OBJDUMP" = x; then
 
6809
    OBJDUMP="false"
 
6810
  else
 
6811
    case $cross_compiling:$ac_tool_warned in
 
6812
yes:)
 
6813
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6814
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6815
ac_tool_warned=yes ;;
 
6816
esac
 
6817
    OBJDUMP=$ac_ct_OBJDUMP
 
6818
  fi
 
6819
else
 
6820
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
6821
fi
 
6822
 
 
6823
test -z "$OBJDUMP" && OBJDUMP=objdump
 
6824
 
 
6825
 
 
6826
 
 
6827
 
 
6828
 
 
6829
 
 
6830
 
 
6831
 
 
6832
 
 
6833
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
6834
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6121
6835
if test "${lt_cv_deplibs_check_method+set}" = set; then
6122
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6836
  $as_echo_n "(cached) " >&6
6123
6837
else
6124
6838
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6125
6839
lt_cv_file_magic_test_file=
6136
6850
# whether `pass_all' will *always* work, you probably want this one.
6137
6851
 
6138
6852
case $host_os in
6139
 
aix4* | aix5*)
 
6853
aix[4-9]*)
6140
6854
  lt_cv_deplibs_check_method=pass_all
6141
6855
  ;;
6142
6856
 
6169
6883
  fi
6170
6884
  ;;
6171
6885
 
 
6886
cegcc)
 
6887
  # use the weaker test based on 'objdump'. See mingw*.
 
6888
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
6889
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6890
  ;;
 
6891
 
6172
6892
darwin* | rhapsody*)
6173
6893
  lt_cv_deplibs_check_method=pass_all
6174
6894
  ;;
6175
6895
 
6176
6896
freebsd* | dragonfly*)
6177
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6897
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6178
6898
    case $host_cpu in
6179
6899
    i*86 )
6180
6900
      # Not sure whether the presence of OpenBSD here was a mistake.
6232
6952
  ;;
6233
6953
 
6234
6954
netbsd*)
6235
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6955
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6236
6956
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6237
6957
  else
6238
6958
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6245
6965
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6246
6966
  ;;
6247
6967
 
6248
 
nto-qnx*)
6249
 
  lt_cv_deplibs_check_method=unknown
 
6968
*nto* | *qnx*)
 
6969
  lt_cv_deplibs_check_method=pass_all
6250
6970
  ;;
6251
6971
 
6252
6972
openbsd*)
6253
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
6973
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6254
6974
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6255
6975
  else
6256
6976
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6269
6989
  lt_cv_deplibs_check_method=pass_all
6270
6990
  ;;
6271
6991
 
 
6992
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6993
  lt_cv_deplibs_check_method=pass_all
 
6994
  ;;
 
6995
 
6272
6996
sysv4 | sysv4.3*)
6273
6997
  case $host_vendor in
6274
6998
  motorola)
6296
7020
  esac
6297
7021
  ;;
6298
7022
 
6299
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
7023
tpf*)
6300
7024
  lt_cv_deplibs_check_method=pass_all
6301
7025
  ;;
6302
7026
esac
6303
7027
 
6304
7028
fi
6305
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6306
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
7029
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
7030
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6307
7031
file_magic_cmd=$lt_cv_file_magic_cmd
6308
7032
deplibs_check_method=$lt_cv_deplibs_check_method
6309
7033
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6311
7035
 
6312
7036
 
6313
7037
 
 
7038
 
 
7039
 
 
7040
 
 
7041
 
 
7042
 
 
7043
 
 
7044
 
 
7045
 
 
7046
if test -n "$ac_tool_prefix"; then
 
7047
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
7048
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
7049
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7050
$as_echo_n "checking for $ac_word... " >&6; }
 
7051
if test "${ac_cv_prog_AR+set}" = set; then
 
7052
  $as_echo_n "(cached) " >&6
 
7053
else
 
7054
  if test -n "$AR"; then
 
7055
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
7056
else
 
7057
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7058
for as_dir in $PATH
 
7059
do
 
7060
  IFS=$as_save_IFS
 
7061
  test -z "$as_dir" && as_dir=.
 
7062
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7063
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7064
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
7065
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7066
    break 2
 
7067
  fi
 
7068
done
 
7069
done
 
7070
IFS=$as_save_IFS
 
7071
 
 
7072
fi
 
7073
fi
 
7074
AR=$ac_cv_prog_AR
 
7075
if test -n "$AR"; then
 
7076
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
7077
$as_echo "$AR" >&6; }
 
7078
else
 
7079
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7080
$as_echo "no" >&6; }
 
7081
fi
 
7082
 
 
7083
 
 
7084
fi
 
7085
if test -z "$ac_cv_prog_AR"; then
 
7086
  ac_ct_AR=$AR
 
7087
  # Extract the first word of "ar", so it can be a program name with args.
 
7088
set dummy ar; ac_word=$2
 
7089
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7090
$as_echo_n "checking for $ac_word... " >&6; }
 
7091
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
7092
  $as_echo_n "(cached) " >&6
 
7093
else
 
7094
  if test -n "$ac_ct_AR"; then
 
7095
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
7096
else
 
7097
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7098
for as_dir in $PATH
 
7099
do
 
7100
  IFS=$as_save_IFS
 
7101
  test -z "$as_dir" && as_dir=.
 
7102
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7103
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7104
    ac_cv_prog_ac_ct_AR="ar"
 
7105
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7106
    break 2
 
7107
  fi
 
7108
done
 
7109
done
 
7110
IFS=$as_save_IFS
 
7111
 
 
7112
fi
 
7113
fi
 
7114
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
7115
if test -n "$ac_ct_AR"; then
 
7116
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
7117
$as_echo "$ac_ct_AR" >&6; }
 
7118
else
 
7119
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7120
$as_echo "no" >&6; }
 
7121
fi
 
7122
 
 
7123
  if test "x$ac_ct_AR" = x; then
 
7124
    AR="false"
 
7125
  else
 
7126
    case $cross_compiling:$ac_tool_warned in
 
7127
yes:)
 
7128
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7129
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7130
ac_tool_warned=yes ;;
 
7131
esac
 
7132
    AR=$ac_ct_AR
 
7133
  fi
 
7134
else
 
7135
  AR="$ac_cv_prog_AR"
 
7136
fi
 
7137
 
 
7138
test -z "$AR" && AR=ar
 
7139
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
7140
 
 
7141
 
 
7142
 
 
7143
 
 
7144
 
 
7145
 
 
7146
 
 
7147
 
 
7148
 
 
7149
 
 
7150
 
 
7151
if test -n "$ac_tool_prefix"; then
 
7152
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
7153
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
7154
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7155
$as_echo_n "checking for $ac_word... " >&6; }
 
7156
if test "${ac_cv_prog_STRIP+set}" = set; then
 
7157
  $as_echo_n "(cached) " >&6
 
7158
else
 
7159
  if test -n "$STRIP"; then
 
7160
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
7161
else
 
7162
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7163
for as_dir in $PATH
 
7164
do
 
7165
  IFS=$as_save_IFS
 
7166
  test -z "$as_dir" && as_dir=.
 
7167
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7168
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7169
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
7170
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7171
    break 2
 
7172
  fi
 
7173
done
 
7174
done
 
7175
IFS=$as_save_IFS
 
7176
 
 
7177
fi
 
7178
fi
 
7179
STRIP=$ac_cv_prog_STRIP
 
7180
if test -n "$STRIP"; then
 
7181
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
7182
$as_echo "$STRIP" >&6; }
 
7183
else
 
7184
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7185
$as_echo "no" >&6; }
 
7186
fi
 
7187
 
 
7188
 
 
7189
fi
 
7190
if test -z "$ac_cv_prog_STRIP"; then
 
7191
  ac_ct_STRIP=$STRIP
 
7192
  # Extract the first word of "strip", so it can be a program name with args.
 
7193
set dummy strip; ac_word=$2
 
7194
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7195
$as_echo_n "checking for $ac_word... " >&6; }
 
7196
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
7197
  $as_echo_n "(cached) " >&6
 
7198
else
 
7199
  if test -n "$ac_ct_STRIP"; then
 
7200
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
7201
else
 
7202
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7203
for as_dir in $PATH
 
7204
do
 
7205
  IFS=$as_save_IFS
 
7206
  test -z "$as_dir" && as_dir=.
 
7207
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7208
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7209
    ac_cv_prog_ac_ct_STRIP="strip"
 
7210
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7211
    break 2
 
7212
  fi
 
7213
done
 
7214
done
 
7215
IFS=$as_save_IFS
 
7216
 
 
7217
fi
 
7218
fi
 
7219
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
7220
if test -n "$ac_ct_STRIP"; then
 
7221
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7222
$as_echo "$ac_ct_STRIP" >&6; }
 
7223
else
 
7224
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7225
$as_echo "no" >&6; }
 
7226
fi
 
7227
 
 
7228
  if test "x$ac_ct_STRIP" = x; then
 
7229
    STRIP=":"
 
7230
  else
 
7231
    case $cross_compiling:$ac_tool_warned in
 
7232
yes:)
 
7233
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7234
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7235
ac_tool_warned=yes ;;
 
7236
esac
 
7237
    STRIP=$ac_ct_STRIP
 
7238
  fi
 
7239
else
 
7240
  STRIP="$ac_cv_prog_STRIP"
 
7241
fi
 
7242
 
 
7243
test -z "$STRIP" && STRIP=:
 
7244
 
 
7245
 
 
7246
 
 
7247
 
 
7248
 
 
7249
 
 
7250
if test -n "$ac_tool_prefix"; then
 
7251
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
7252
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
7253
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7254
$as_echo_n "checking for $ac_word... " >&6; }
 
7255
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
7256
  $as_echo_n "(cached) " >&6
 
7257
else
 
7258
  if test -n "$RANLIB"; then
 
7259
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
7260
else
 
7261
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7262
for as_dir in $PATH
 
7263
do
 
7264
  IFS=$as_save_IFS
 
7265
  test -z "$as_dir" && as_dir=.
 
7266
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7267
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7268
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
7269
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7270
    break 2
 
7271
  fi
 
7272
done
 
7273
done
 
7274
IFS=$as_save_IFS
 
7275
 
 
7276
fi
 
7277
fi
 
7278
RANLIB=$ac_cv_prog_RANLIB
 
7279
if test -n "$RANLIB"; then
 
7280
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7281
$as_echo "$RANLIB" >&6; }
 
7282
else
 
7283
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7284
$as_echo "no" >&6; }
 
7285
fi
 
7286
 
 
7287
 
 
7288
fi
 
7289
if test -z "$ac_cv_prog_RANLIB"; then
 
7290
  ac_ct_RANLIB=$RANLIB
 
7291
  # Extract the first word of "ranlib", so it can be a program name with args.
 
7292
set dummy ranlib; ac_word=$2
 
7293
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7294
$as_echo_n "checking for $ac_word... " >&6; }
 
7295
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
7296
  $as_echo_n "(cached) " >&6
 
7297
else
 
7298
  if test -n "$ac_ct_RANLIB"; then
 
7299
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
7300
else
 
7301
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7302
for as_dir in $PATH
 
7303
do
 
7304
  IFS=$as_save_IFS
 
7305
  test -z "$as_dir" && as_dir=.
 
7306
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7307
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7308
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
7309
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7310
    break 2
 
7311
  fi
 
7312
done
 
7313
done
 
7314
IFS=$as_save_IFS
 
7315
 
 
7316
fi
 
7317
fi
 
7318
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
7319
if test -n "$ac_ct_RANLIB"; then
 
7320
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7321
$as_echo "$ac_ct_RANLIB" >&6; }
 
7322
else
 
7323
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7324
$as_echo "no" >&6; }
 
7325
fi
 
7326
 
 
7327
  if test "x$ac_ct_RANLIB" = x; then
 
7328
    RANLIB=":"
 
7329
  else
 
7330
    case $cross_compiling:$ac_tool_warned in
 
7331
yes:)
 
7332
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7333
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7334
ac_tool_warned=yes ;;
 
7335
esac
 
7336
    RANLIB=$ac_ct_RANLIB
 
7337
  fi
 
7338
else
 
7339
  RANLIB="$ac_cv_prog_RANLIB"
 
7340
fi
 
7341
 
 
7342
test -z "$RANLIB" && RANLIB=:
 
7343
 
 
7344
 
 
7345
 
 
7346
 
 
7347
 
 
7348
 
 
7349
# Determine commands to create old-style static archives.
 
7350
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
7351
old_postinstall_cmds='chmod 644 $oldlib'
 
7352
old_postuninstall_cmds=
 
7353
 
 
7354
if test -n "$RANLIB"; then
 
7355
  case $host_os in
 
7356
  openbsd*)
 
7357
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
7358
    ;;
 
7359
  *)
 
7360
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
7361
    ;;
 
7362
  esac
 
7363
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
7364
fi
 
7365
 
 
7366
 
 
7367
 
 
7368
 
 
7369
 
 
7370
 
 
7371
 
 
7372
 
 
7373
 
 
7374
 
 
7375
 
 
7376
 
 
7377
 
 
7378
 
 
7379
 
 
7380
 
 
7381
 
 
7382
 
 
7383
 
 
7384
 
 
7385
 
 
7386
 
 
7387
 
 
7388
 
 
7389
 
 
7390
 
 
7391
 
 
7392
 
 
7393
 
 
7394
 
 
7395
 
 
7396
 
 
7397
 
 
7398
 
6314
7399
# If no C compiler was specified, use CC.
6315
7400
LTCC=${LTCC-"$CC"}
6316
7401
 
6320
7405
# Allow CC to be a program name with arguments.
6321
7406
compiler=$CC
6322
7407
 
6323
 
# Check whether --enable-libtool-lock was given.
6324
 
if test "${enable_libtool_lock+set}" = set; then
6325
 
  enableval=$enable_libtool_lock;
6326
 
fi
6327
 
 
6328
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6329
 
 
6330
 
# Some flags need to be propagated to the compiler or linker for good
6331
 
# libtool support.
6332
 
case $host in
6333
 
ia64-*-hpux*)
6334
 
  # Find out which ABI we are using.
6335
 
  echo 'int i;' > conftest.$ac_ext
6336
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6337
 
  (eval $ac_compile) 2>&5
6338
 
  ac_status=$?
6339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340
 
  (exit $ac_status); }; then
6341
 
    case `/usr/bin/file conftest.$ac_objext` in
6342
 
    *ELF-32*)
6343
 
      HPUX_IA64_MODE="32"
6344
 
      ;;
6345
 
    *ELF-64*)
6346
 
      HPUX_IA64_MODE="64"
6347
 
      ;;
6348
 
    esac
6349
 
  fi
6350
 
  rm -rf conftest*
6351
 
  ;;
6352
 
*-*-irix6*)
6353
 
  # Find out which ABI we are using.
6354
 
  echo '#line 6354 "configure"' > conftest.$ac_ext
6355
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6356
 
  (eval $ac_compile) 2>&5
6357
 
  ac_status=$?
6358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6359
 
  (exit $ac_status); }; then
6360
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
6361
 
    case `/usr/bin/file conftest.$ac_objext` in
6362
 
    *32-bit*)
6363
 
      LD="${LD-ld} -melf32bsmip"
6364
 
      ;;
6365
 
    *N32*)
6366
 
      LD="${LD-ld} -melf32bmipn32"
6367
 
      ;;
6368
 
    *64-bit*)
6369
 
      LD="${LD-ld} -melf64bmip"
6370
 
      ;;
6371
 
    esac
6372
 
   else
6373
 
    case `/usr/bin/file conftest.$ac_objext` in
6374
 
    *32-bit*)
6375
 
      LD="${LD-ld} -32"
6376
 
      ;;
6377
 
    *N32*)
6378
 
      LD="${LD-ld} -n32"
6379
 
      ;;
6380
 
    *64-bit*)
6381
 
      LD="${LD-ld} -64"
6382
 
      ;;
6383
 
    esac
6384
 
   fi
6385
 
  fi
6386
 
  rm -rf conftest*
6387
 
  ;;
6388
 
 
6389
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6390
 
s390*-*linux*|sparc*-*linux*)
6391
 
  # Find out which ABI we are using.
6392
 
  echo 'int i;' > conftest.$ac_ext
6393
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6394
 
  (eval $ac_compile) 2>&5
6395
 
  ac_status=$?
6396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397
 
  (exit $ac_status); }; then
6398
 
    case `/usr/bin/file conftest.o` in
6399
 
    *32-bit*)
6400
 
      case $host in
6401
 
        x86_64-*kfreebsd*-gnu)
6402
 
          LD="${LD-ld} -m elf_i386_fbsd"
6403
 
          ;;
6404
 
        x86_64-*linux*)
6405
 
          LD="${LD-ld} -m elf_i386"
6406
 
          ;;
6407
 
        ppc64-*linux*|powerpc64-*linux*)
6408
 
          LD="${LD-ld} -m elf32ppclinux"
6409
 
          ;;
6410
 
        s390x-*linux*)
6411
 
          LD="${LD-ld} -m elf_s390"
6412
 
          ;;
6413
 
        sparc64-*linux*)
6414
 
          LD="${LD-ld} -m elf32_sparc"
6415
 
          ;;
6416
 
      esac
6417
 
      ;;
6418
 
    *64-bit*)
6419
 
      case $host in
6420
 
        x86_64-*kfreebsd*-gnu)
6421
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
6422
 
          ;;
6423
 
        x86_64-*linux*)
6424
 
          LD="${LD-ld} -m elf_x86_64"
6425
 
          ;;
6426
 
        ppc*-*linux*|powerpc*-*linux*)
6427
 
          LD="${LD-ld} -m elf64ppc"
6428
 
          ;;
6429
 
        s390*-*linux*)
6430
 
          LD="${LD-ld} -m elf64_s390"
6431
 
          ;;
6432
 
        sparc*-*linux*)
6433
 
          LD="${LD-ld} -m elf64_sparc"
6434
 
          ;;
6435
 
      esac
6436
 
      ;;
6437
 
    esac
6438
 
  fi
6439
 
  rm -rf conftest*
6440
 
  ;;
6441
 
 
6442
 
*-*-sco3.2v5*)
6443
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6444
 
  SAVE_CFLAGS="$CFLAGS"
6445
 
  CFLAGS="$CFLAGS -belf"
6446
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6447
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
6448
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
6449
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6450
 
else
6451
 
  ac_ext=c
6452
 
ac_cpp='$CPP $CPPFLAGS'
6453
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6454
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6455
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6456
 
 
6457
 
     cat >conftest.$ac_ext <<_ACEOF
6458
 
/* confdefs.h.  */
6459
 
_ACEOF
6460
 
cat confdefs.h >>conftest.$ac_ext
6461
 
cat >>conftest.$ac_ext <<_ACEOF
6462
 
/* end confdefs.h.  */
6463
 
 
6464
 
int
6465
 
main ()
6466
 
{
6467
 
 
6468
 
  ;
6469
 
  return 0;
6470
 
}
6471
 
_ACEOF
6472
 
rm -f conftest.$ac_objext conftest$ac_exeext
6473
 
if { (ac_try="$ac_link"
6474
 
case "(($ac_try" in
6475
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6476
 
  *) ac_try_echo=$ac_try;;
6477
 
esac
6478
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6479
 
  (eval "$ac_link") 2>conftest.er1
6480
 
  ac_status=$?
6481
 
  grep -v '^ *+' conftest.er1 >conftest.err
6482
 
  rm -f conftest.er1
6483
 
  cat conftest.err >&5
6484
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485
 
  (exit $ac_status); } && {
6486
 
         test -z "$ac_c_werror_flag" ||
6487
 
         test ! -s conftest.err
6488
 
       } && test -s conftest$ac_exeext &&
6489
 
       $as_test_x conftest$ac_exeext; then
6490
 
  lt_cv_cc_needs_belf=yes
6491
 
else
6492
 
  echo "$as_me: failed program was:" >&5
6493
 
sed 's/^/| /' conftest.$ac_ext >&5
6494
 
 
6495
 
        lt_cv_cc_needs_belf=no
6496
 
fi
6497
 
 
6498
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6499
 
      conftest$ac_exeext conftest.$ac_ext
6500
 
     ac_ext=c
6501
 
ac_cpp='$CPP $CPPFLAGS'
6502
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6503
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6504
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6505
 
 
6506
 
fi
6507
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6508
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6509
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6510
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6511
 
    CFLAGS="$SAVE_CFLAGS"
6512
 
  fi
6513
 
  ;;
6514
 
sparc*-*solaris*)
6515
 
  # Find out which ABI we are using.
6516
 
  echo 'int i;' > conftest.$ac_ext
6517
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6518
 
  (eval $ac_compile) 2>&5
6519
 
  ac_status=$?
6520
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521
 
  (exit $ac_status); }; then
6522
 
    case `/usr/bin/file conftest.o` in
6523
 
    *64-bit*)
6524
 
      case $lt_cv_prog_gnu_ld in
6525
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6526
 
      *)    LD="${LD-ld} -64" ;;
6527
 
      esac
6528
 
      ;;
6529
 
    esac
6530
 
  fi
6531
 
  rm -rf conftest*
6532
 
  ;;
6533
 
 
6534
 
 
6535
 
esac
6536
 
 
6537
 
need_locks="$enable_libtool_lock"
6538
 
 
6539
 
 
6540
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6541
 
 
6542
 
 
6543
 
 
6544
 
 
6545
 
 
6546
 
 
6547
 
 
6548
 
 
6549
 
 
6550
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6551
 
                  inttypes.h stdint.h unistd.h
6552
 
do
6553
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6554
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6555
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6556
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6557
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6558
 
else
6559
 
  cat >conftest.$ac_ext <<_ACEOF
6560
 
/* confdefs.h.  */
6561
 
_ACEOF
6562
 
cat confdefs.h >>conftest.$ac_ext
6563
 
cat >>conftest.$ac_ext <<_ACEOF
6564
 
/* end confdefs.h.  */
6565
 
$ac_includes_default
6566
 
 
6567
 
#include <$ac_header>
6568
 
_ACEOF
6569
 
rm -f conftest.$ac_objext
6570
 
if { (ac_try="$ac_compile"
6571
 
case "(($ac_try" in
6572
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6573
 
  *) ac_try_echo=$ac_try;;
6574
 
esac
6575
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6576
 
  (eval "$ac_compile") 2>conftest.er1
6577
 
  ac_status=$?
6578
 
  grep -v '^ *+' conftest.er1 >conftest.err
6579
 
  rm -f conftest.er1
6580
 
  cat conftest.err >&5
6581
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582
 
  (exit $ac_status); } && {
6583
 
         test -z "$ac_c_werror_flag" ||
6584
 
         test ! -s conftest.err
6585
 
       } && test -s conftest.$ac_objext; then
6586
 
  eval "$as_ac_Header=yes"
6587
 
else
6588
 
  echo "$as_me: failed program was:" >&5
6589
 
sed 's/^/| /' conftest.$ac_ext >&5
6590
 
 
6591
 
        eval "$as_ac_Header=no"
6592
 
fi
6593
 
 
6594
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6595
 
fi
6596
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6597
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6598
 
echo "${ECHO_T}$ac_res" >&6; }
6599
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6600
 
  cat >>confdefs.h <<_ACEOF
6601
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6602
 
_ACEOF
6603
 
 
6604
 
fi
6605
 
 
6606
 
done
6607
 
 
6608
 
 
6609
 
 
6610
 
for ac_header in dlfcn.h
6611
 
do
6612
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6613
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6614
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6615
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6616
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6617
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6618
 
fi
6619
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6620
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6621
 
echo "${ECHO_T}$ac_res" >&6; }
6622
 
else
6623
 
  # Is the header compilable?
6624
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6625
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6626
 
cat >conftest.$ac_ext <<_ACEOF
6627
 
/* confdefs.h.  */
6628
 
_ACEOF
6629
 
cat confdefs.h >>conftest.$ac_ext
6630
 
cat >>conftest.$ac_ext <<_ACEOF
6631
 
/* end confdefs.h.  */
6632
 
$ac_includes_default
6633
 
#include <$ac_header>
6634
 
_ACEOF
6635
 
rm -f conftest.$ac_objext
6636
 
if { (ac_try="$ac_compile"
6637
 
case "(($ac_try" in
6638
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6639
 
  *) ac_try_echo=$ac_try;;
6640
 
esac
6641
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6642
 
  (eval "$ac_compile") 2>conftest.er1
6643
 
  ac_status=$?
6644
 
  grep -v '^ *+' conftest.er1 >conftest.err
6645
 
  rm -f conftest.er1
6646
 
  cat conftest.err >&5
6647
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648
 
  (exit $ac_status); } && {
6649
 
         test -z "$ac_c_werror_flag" ||
6650
 
         test ! -s conftest.err
6651
 
       } && test -s conftest.$ac_objext; then
6652
 
  ac_header_compiler=yes
6653
 
else
6654
 
  echo "$as_me: failed program was:" >&5
6655
 
sed 's/^/| /' conftest.$ac_ext >&5
6656
 
 
6657
 
        ac_header_compiler=no
6658
 
fi
6659
 
 
6660
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6661
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6662
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
6663
 
 
6664
 
# Is the header present?
6665
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6666
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6667
 
cat >conftest.$ac_ext <<_ACEOF
6668
 
/* confdefs.h.  */
6669
 
_ACEOF
6670
 
cat confdefs.h >>conftest.$ac_ext
6671
 
cat >>conftest.$ac_ext <<_ACEOF
6672
 
/* end confdefs.h.  */
6673
 
#include <$ac_header>
6674
 
_ACEOF
6675
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6676
 
case "(($ac_try" in
6677
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6678
 
  *) ac_try_echo=$ac_try;;
6679
 
esac
6680
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6681
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6682
 
  ac_status=$?
6683
 
  grep -v '^ *+' conftest.er1 >conftest.err
6684
 
  rm -f conftest.er1
6685
 
  cat conftest.err >&5
6686
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687
 
  (exit $ac_status); } >/dev/null && {
6688
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6689
 
         test ! -s conftest.err
6690
 
       }; then
6691
 
  ac_header_preproc=yes
6692
 
else
6693
 
  echo "$as_me: failed program was:" >&5
6694
 
sed 's/^/| /' conftest.$ac_ext >&5
6695
 
 
6696
 
  ac_header_preproc=no
6697
 
fi
6698
 
 
6699
 
rm -f conftest.err conftest.$ac_ext
6700
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6701
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
6702
 
 
6703
 
# So?  What about this header?
6704
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6705
 
  yes:no: )
6706
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6707
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6708
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6709
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6710
 
    ac_header_preproc=yes
6711
 
    ;;
6712
 
  no:yes:* )
6713
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6714
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6715
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6716
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6717
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6718
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6719
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6720
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6721
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6722
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6723
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6724
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6725
 
 
6726
 
    ;;
6727
 
esac
6728
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6729
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6730
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6731
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6732
 
else
6733
 
  eval "$as_ac_Header=\$ac_header_preproc"
6734
 
fi
6735
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6736
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6737
 
echo "${ECHO_T}$ac_res" >&6; }
6738
 
 
6739
 
fi
6740
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6741
 
  cat >>confdefs.h <<_ACEOF
6742
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6743
 
_ACEOF
6744
 
 
6745
 
fi
6746
 
 
6747
 
done
6748
 
 
6749
 
ac_ext=cpp
6750
 
ac_cpp='$CXXCPP $CPPFLAGS'
6751
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6752
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6753
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6754
 
if test -z "$CXX"; then
6755
 
  if test -n "$CCC"; then
6756
 
    CXX=$CCC
6757
 
  else
6758
 
    if test -n "$ac_tool_prefix"; then
6759
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6760
 
  do
6761
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6762
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6763
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6764
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6765
 
if test "${ac_cv_prog_CXX+set}" = set; then
6766
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6767
 
else
6768
 
  if test -n "$CXX"; then
6769
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
6770
 
else
6771
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6772
 
for as_dir in $PATH
6773
 
do
6774
 
  IFS=$as_save_IFS
6775
 
  test -z "$as_dir" && as_dir=.
6776
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6777
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6778
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6779
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6780
 
    break 2
6781
 
  fi
6782
 
done
6783
 
done
6784
 
IFS=$as_save_IFS
6785
 
 
6786
 
fi
6787
 
fi
6788
 
CXX=$ac_cv_prog_CXX
6789
 
if test -n "$CXX"; then
6790
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
6791
 
echo "${ECHO_T}$CXX" >&6; }
6792
 
else
6793
 
  { echo "$as_me:$LINENO: result: no" >&5
6794
 
echo "${ECHO_T}no" >&6; }
6795
 
fi
6796
 
 
6797
 
 
6798
 
    test -n "$CXX" && break
6799
 
  done
6800
 
fi
6801
 
if test -z "$CXX"; then
6802
 
  ac_ct_CXX=$CXX
6803
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6804
 
do
6805
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6806
 
set dummy $ac_prog; ac_word=$2
6807
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6808
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6809
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6810
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6811
 
else
6812
 
  if test -n "$ac_ct_CXX"; then
6813
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6814
 
else
6815
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816
 
for as_dir in $PATH
6817
 
do
6818
 
  IFS=$as_save_IFS
6819
 
  test -z "$as_dir" && as_dir=.
6820
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6821
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6822
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
6823
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6824
 
    break 2
6825
 
  fi
6826
 
done
6827
 
done
6828
 
IFS=$as_save_IFS
6829
 
 
6830
 
fi
6831
 
fi
6832
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6833
 
if test -n "$ac_ct_CXX"; then
6834
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6835
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
6836
 
else
6837
 
  { echo "$as_me:$LINENO: result: no" >&5
6838
 
echo "${ECHO_T}no" >&6; }
6839
 
fi
6840
 
 
6841
 
 
6842
 
  test -n "$ac_ct_CXX" && break
6843
 
done
6844
 
 
6845
 
  if test "x$ac_ct_CXX" = x; then
6846
 
    CXX="g++"
6847
 
  else
6848
 
    case $cross_compiling:$ac_tool_warned in
6849
 
yes:)
6850
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6851
 
whose name does not start with the host triplet.  If you think this
6852
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6853
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6854
 
whose name does not start with the host triplet.  If you think this
6855
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6856
 
ac_tool_warned=yes ;;
6857
 
esac
6858
 
    CXX=$ac_ct_CXX
6859
 
  fi
6860
 
fi
6861
 
 
6862
 
  fi
6863
 
fi
6864
 
# Provide some information about the compiler.
6865
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6866
 
ac_compiler=`set X $ac_compile; echo $2`
6867
 
{ (ac_try="$ac_compiler --version >&5"
6868
 
case "(($ac_try" in
6869
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6870
 
  *) ac_try_echo=$ac_try;;
6871
 
esac
6872
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6873
 
  (eval "$ac_compiler --version >&5") 2>&5
6874
 
  ac_status=$?
6875
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876
 
  (exit $ac_status); }
6877
 
{ (ac_try="$ac_compiler -v >&5"
6878
 
case "(($ac_try" in
6879
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6880
 
  *) ac_try_echo=$ac_try;;
6881
 
esac
6882
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6883
 
  (eval "$ac_compiler -v >&5") 2>&5
6884
 
  ac_status=$?
6885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886
 
  (exit $ac_status); }
6887
 
{ (ac_try="$ac_compiler -V >&5"
6888
 
case "(($ac_try" in
6889
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6890
 
  *) ac_try_echo=$ac_try;;
6891
 
esac
6892
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6893
 
  (eval "$ac_compiler -V >&5") 2>&5
6894
 
  ac_status=$?
6895
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896
 
  (exit $ac_status); }
6897
 
 
6898
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6899
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6900
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6901
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6902
 
else
6903
 
  cat >conftest.$ac_ext <<_ACEOF
6904
 
/* confdefs.h.  */
6905
 
_ACEOF
6906
 
cat confdefs.h >>conftest.$ac_ext
6907
 
cat >>conftest.$ac_ext <<_ACEOF
6908
 
/* end confdefs.h.  */
6909
 
 
6910
 
int
6911
 
main ()
6912
 
{
6913
 
#ifndef __GNUC__
6914
 
       choke me
6915
 
#endif
6916
 
 
6917
 
  ;
6918
 
  return 0;
6919
 
}
6920
 
_ACEOF
6921
 
rm -f conftest.$ac_objext
6922
 
if { (ac_try="$ac_compile"
6923
 
case "(($ac_try" in
6924
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6925
 
  *) ac_try_echo=$ac_try;;
6926
 
esac
6927
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6928
 
  (eval "$ac_compile") 2>conftest.er1
6929
 
  ac_status=$?
6930
 
  grep -v '^ *+' conftest.er1 >conftest.err
6931
 
  rm -f conftest.er1
6932
 
  cat conftest.err >&5
6933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934
 
  (exit $ac_status); } && {
6935
 
         test -z "$ac_cxx_werror_flag" ||
6936
 
         test ! -s conftest.err
6937
 
       } && test -s conftest.$ac_objext; then
6938
 
  ac_compiler_gnu=yes
6939
 
else
6940
 
  echo "$as_me: failed program was:" >&5
6941
 
sed 's/^/| /' conftest.$ac_ext >&5
6942
 
 
6943
 
        ac_compiler_gnu=no
6944
 
fi
6945
 
 
6946
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6947
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6948
 
 
6949
 
fi
6950
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6951
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6952
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
6953
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
6954
 
ac_save_CXXFLAGS=$CXXFLAGS
6955
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6956
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6957
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
6958
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6959
 
else
6960
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6961
 
   ac_cxx_werror_flag=yes
6962
 
   ac_cv_prog_cxx_g=no
6963
 
   CXXFLAGS="-g"
6964
 
   cat >conftest.$ac_ext <<_ACEOF
6965
 
/* confdefs.h.  */
6966
 
_ACEOF
6967
 
cat confdefs.h >>conftest.$ac_ext
6968
 
cat >>conftest.$ac_ext <<_ACEOF
6969
 
/* end confdefs.h.  */
6970
 
 
6971
 
int
6972
 
main ()
6973
 
{
6974
 
 
6975
 
  ;
6976
 
  return 0;
6977
 
}
6978
 
_ACEOF
6979
 
rm -f conftest.$ac_objext
6980
 
if { (ac_try="$ac_compile"
6981
 
case "(($ac_try" in
6982
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6983
 
  *) ac_try_echo=$ac_try;;
6984
 
esac
6985
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6986
 
  (eval "$ac_compile") 2>conftest.er1
6987
 
  ac_status=$?
6988
 
  grep -v '^ *+' conftest.er1 >conftest.err
6989
 
  rm -f conftest.er1
6990
 
  cat conftest.err >&5
6991
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992
 
  (exit $ac_status); } && {
6993
 
         test -z "$ac_cxx_werror_flag" ||
6994
 
         test ! -s conftest.err
6995
 
       } && test -s conftest.$ac_objext; then
6996
 
  ac_cv_prog_cxx_g=yes
6997
 
else
6998
 
  echo "$as_me: failed program was:" >&5
6999
 
sed 's/^/| /' conftest.$ac_ext >&5
7000
 
 
7001
 
        CXXFLAGS=""
7002
 
      cat >conftest.$ac_ext <<_ACEOF
7003
 
/* confdefs.h.  */
7004
 
_ACEOF
7005
 
cat confdefs.h >>conftest.$ac_ext
7006
 
cat >>conftest.$ac_ext <<_ACEOF
7007
 
/* end confdefs.h.  */
7008
 
 
7009
 
int
7010
 
main ()
7011
 
{
7012
 
 
7013
 
  ;
7014
 
  return 0;
7015
 
}
7016
 
_ACEOF
7017
 
rm -f conftest.$ac_objext
7018
 
if { (ac_try="$ac_compile"
7019
 
case "(($ac_try" in
7020
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7021
 
  *) ac_try_echo=$ac_try;;
7022
 
esac
7023
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7024
 
  (eval "$ac_compile") 2>conftest.er1
7025
 
  ac_status=$?
7026
 
  grep -v '^ *+' conftest.er1 >conftest.err
7027
 
  rm -f conftest.er1
7028
 
  cat conftest.err >&5
7029
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030
 
  (exit $ac_status); } && {
7031
 
         test -z "$ac_cxx_werror_flag" ||
7032
 
         test ! -s conftest.err
7033
 
       } && test -s conftest.$ac_objext; then
7034
 
  :
7035
 
else
7036
 
  echo "$as_me: failed program was:" >&5
7037
 
sed 's/^/| /' conftest.$ac_ext >&5
7038
 
 
7039
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7040
 
         CXXFLAGS="-g"
7041
 
         cat >conftest.$ac_ext <<_ACEOF
7042
 
/* confdefs.h.  */
7043
 
_ACEOF
7044
 
cat confdefs.h >>conftest.$ac_ext
7045
 
cat >>conftest.$ac_ext <<_ACEOF
7046
 
/* end confdefs.h.  */
7047
 
 
7048
 
int
7049
 
main ()
7050
 
{
7051
 
 
7052
 
  ;
7053
 
  return 0;
7054
 
}
7055
 
_ACEOF
7056
 
rm -f conftest.$ac_objext
7057
 
if { (ac_try="$ac_compile"
7058
 
case "(($ac_try" in
7059
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7060
 
  *) ac_try_echo=$ac_try;;
7061
 
esac
7062
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7063
 
  (eval "$ac_compile") 2>conftest.er1
7064
 
  ac_status=$?
7065
 
  grep -v '^ *+' conftest.er1 >conftest.err
7066
 
  rm -f conftest.er1
7067
 
  cat conftest.err >&5
7068
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069
 
  (exit $ac_status); } && {
7070
 
         test -z "$ac_cxx_werror_flag" ||
7071
 
         test ! -s conftest.err
7072
 
       } && test -s conftest.$ac_objext; then
7073
 
  ac_cv_prog_cxx_g=yes
7074
 
else
7075
 
  echo "$as_me: failed program was:" >&5
7076
 
sed 's/^/| /' conftest.$ac_ext >&5
7077
 
 
7078
 
 
7079
 
fi
7080
 
 
7081
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7082
 
fi
7083
 
 
7084
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7085
 
fi
7086
 
 
7087
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7088
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7089
 
fi
7090
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7091
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
7092
 
if test "$ac_test_CXXFLAGS" = set; then
7093
 
  CXXFLAGS=$ac_save_CXXFLAGS
7094
 
elif test $ac_cv_prog_cxx_g = yes; then
7095
 
  if test "$GXX" = yes; then
7096
 
    CXXFLAGS="-g -O2"
7097
 
  else
7098
 
    CXXFLAGS="-g"
7099
 
  fi
7100
 
else
7101
 
  if test "$GXX" = yes; then
7102
 
    CXXFLAGS="-O2"
7103
 
  else
7104
 
    CXXFLAGS=
7105
 
  fi
7106
 
fi
7107
 
ac_ext=cpp
7108
 
ac_cpp='$CXXCPP $CPPFLAGS'
7109
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7110
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7111
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7112
 
 
7113
 
depcc="$CXX"  am_compiler_list=
7114
 
 
7115
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7116
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
7117
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7118
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7119
 
else
7120
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7121
 
  # We make a subdir and do the tests there.  Otherwise we can end up
7122
 
  # making bogus files that we don't know about and never remove.  For
7123
 
  # instance it was reported that on HP-UX the gcc test will end up
7124
 
  # making a dummy file named `D' -- because `-MD' means `put the output
7125
 
  # in D'.
7126
 
  mkdir conftest.dir
7127
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
7128
 
  # using a relative directory.
7129
 
  cp "$am_depcomp" conftest.dir
7130
 
  cd conftest.dir
7131
 
  # We will build objects and dependencies in a subdirectory because
7132
 
  # it helps to detect inapplicable dependency modes.  For instance
7133
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
7134
 
  # side effect of compilation, but ICC will put the dependencies in
7135
 
  # the current directory while Tru64 will put them in the object
7136
 
  # directory.
7137
 
  mkdir sub
7138
 
 
7139
 
  am_cv_CXX_dependencies_compiler_type=none
7140
 
  if test "$am_compiler_list" = ""; then
7141
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7142
 
  fi
7143
 
  for depmode in $am_compiler_list; do
7144
 
    # Setup a source with many dependencies, because some compilers
7145
 
    # like to wrap large dependency lists on column 80 (with \), and
7146
 
    # we should not choose a depcomp mode which is confused by this.
7147
 
    #
7148
 
    # We need to recreate these files for each test, as the compiler may
7149
 
    # overwrite some of them when testing with obscure command lines.
7150
 
    # This happens at least with the AIX C compiler.
7151
 
    : > sub/conftest.c
7152
 
    for i in 1 2 3 4 5 6; do
7153
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
7154
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7155
 
      # Solaris 8's {/usr,}/bin/sh.
7156
 
      touch sub/conftst$i.h
7157
 
    done
7158
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7159
 
 
7160
 
    case $depmode in
7161
 
    nosideeffect)
7162
 
      # after this tag, mechanisms are not by side-effect, so they'll
7163
 
      # only be used when explicitly requested
7164
 
      if test "x$enable_dependency_tracking" = xyes; then
7165
 
        continue
7166
 
      else
7167
 
        break
7168
 
      fi
7169
 
      ;;
7170
 
    none) break ;;
7171
 
    esac
7172
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
7173
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
7174
 
    # handle `-M -o', and we need to detect this.
7175
 
    if depmode=$depmode \
7176
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7177
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7178
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7179
 
         >/dev/null 2>conftest.err &&
7180
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7181
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7182
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7183
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7184
 
      # icc doesn't choke on unknown options, it will just issue warnings
7185
 
      # or remarks (even with -Werror).  So we grep stderr for any message
7186
 
      # that says an option was ignored or not supported.
7187
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
7188
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
7189
 
      # The diagnosis changed in icc 8.0:
7190
 
      #   icc: Command line remark: option '-MP' not supported
7191
 
      if (grep 'ignoring option' conftest.err ||
7192
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7193
 
        am_cv_CXX_dependencies_compiler_type=$depmode
7194
 
        break
7195
 
      fi
7196
 
    fi
7197
 
  done
7198
 
 
7199
 
  cd ..
7200
 
  rm -rf conftest.dir
7201
 
else
7202
 
  am_cv_CXX_dependencies_compiler_type=none
7203
 
fi
7204
 
 
7205
 
fi
7206
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7207
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
7208
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7209
 
 
7210
 
 if
7211
 
  test "x$enable_dependency_tracking" != xno \
7212
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7213
 
  am__fastdepCXX_TRUE=
7214
 
  am__fastdepCXX_FALSE='#'
7215
 
else
7216
 
  am__fastdepCXX_TRUE='#'
7217
 
  am__fastdepCXX_FALSE=
7218
 
fi
7219
 
 
7220
 
 
7221
 
 
7222
 
 
7223
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7224
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7225
 
    (test "X$CXX" != "Xg++"))) ; then
7226
 
  ac_ext=cpp
7227
 
ac_cpp='$CXXCPP $CPPFLAGS'
7228
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7229
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7230
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7231
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7232
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7233
 
if test -z "$CXXCPP"; then
7234
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
7235
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7236
 
else
7237
 
      # Double quotes because CXXCPP needs to be expanded
7238
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
7239
 
    do
7240
 
      ac_preproc_ok=false
7241
 
for ac_cxx_preproc_warn_flag in '' yes
7242
 
do
7243
 
  # Use a header file that comes with gcc, so configuring glibc
7244
 
  # with a fresh cross-compiler works.
7245
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7246
 
  # <limits.h> exists even on freestanding compilers.
7247
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7248
 
  # not just through cpp. "Syntax error" is here to catch this case.
7249
 
  cat >conftest.$ac_ext <<_ACEOF
7250
 
/* confdefs.h.  */
7251
 
_ACEOF
7252
 
cat confdefs.h >>conftest.$ac_ext
7253
 
cat >>conftest.$ac_ext <<_ACEOF
7254
 
/* end confdefs.h.  */
7255
 
#ifdef __STDC__
7256
 
# include <limits.h>
7257
 
#else
7258
 
# include <assert.h>
7259
 
#endif
7260
 
                     Syntax error
7261
 
_ACEOF
7262
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7263
 
case "(($ac_try" in
7264
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7265
 
  *) ac_try_echo=$ac_try;;
7266
 
esac
7267
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7268
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7269
 
  ac_status=$?
7270
 
  grep -v '^ *+' conftest.er1 >conftest.err
7271
 
  rm -f conftest.er1
7272
 
  cat conftest.err >&5
7273
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274
 
  (exit $ac_status); } >/dev/null && {
7275
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7276
 
         test ! -s conftest.err
7277
 
       }; then
7278
 
  :
7279
 
else
7280
 
  echo "$as_me: failed program was:" >&5
7281
 
sed 's/^/| /' conftest.$ac_ext >&5
7282
 
 
7283
 
  # Broken: fails on valid input.
7284
 
continue
7285
 
fi
7286
 
 
7287
 
rm -f conftest.err conftest.$ac_ext
7288
 
 
7289
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7290
 
  # can be detected and how.
7291
 
  cat >conftest.$ac_ext <<_ACEOF
7292
 
/* confdefs.h.  */
7293
 
_ACEOF
7294
 
cat confdefs.h >>conftest.$ac_ext
7295
 
cat >>conftest.$ac_ext <<_ACEOF
7296
 
/* end confdefs.h.  */
7297
 
#include <ac_nonexistent.h>
7298
 
_ACEOF
7299
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7300
 
case "(($ac_try" in
7301
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7302
 
  *) ac_try_echo=$ac_try;;
7303
 
esac
7304
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7305
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7306
 
  ac_status=$?
7307
 
  grep -v '^ *+' conftest.er1 >conftest.err
7308
 
  rm -f conftest.er1
7309
 
  cat conftest.err >&5
7310
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7311
 
  (exit $ac_status); } >/dev/null && {
7312
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7313
 
         test ! -s conftest.err
7314
 
       }; then
7315
 
  # Broken: success on invalid input.
7316
 
continue
7317
 
else
7318
 
  echo "$as_me: failed program was:" >&5
7319
 
sed 's/^/| /' conftest.$ac_ext >&5
7320
 
 
7321
 
  # Passes both tests.
7322
 
ac_preproc_ok=:
7323
 
break
7324
 
fi
7325
 
 
7326
 
rm -f conftest.err conftest.$ac_ext
7327
 
 
7328
 
done
7329
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7330
 
rm -f conftest.err conftest.$ac_ext
7331
 
if $ac_preproc_ok; then
7332
 
  break
7333
 
fi
7334
 
 
7335
 
    done
7336
 
    ac_cv_prog_CXXCPP=$CXXCPP
7337
 
 
7338
 
fi
7339
 
  CXXCPP=$ac_cv_prog_CXXCPP
7340
 
else
7341
 
  ac_cv_prog_CXXCPP=$CXXCPP
7342
 
fi
7343
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
7344
 
echo "${ECHO_T}$CXXCPP" >&6; }
7345
 
ac_preproc_ok=false
7346
 
for ac_cxx_preproc_warn_flag in '' yes
7347
 
do
7348
 
  # Use a header file that comes with gcc, so configuring glibc
7349
 
  # with a fresh cross-compiler works.
7350
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7351
 
  # <limits.h> exists even on freestanding compilers.
7352
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7353
 
  # not just through cpp. "Syntax error" is here to catch this case.
7354
 
  cat >conftest.$ac_ext <<_ACEOF
7355
 
/* confdefs.h.  */
7356
 
_ACEOF
7357
 
cat confdefs.h >>conftest.$ac_ext
7358
 
cat >>conftest.$ac_ext <<_ACEOF
7359
 
/* end confdefs.h.  */
7360
 
#ifdef __STDC__
7361
 
# include <limits.h>
7362
 
#else
7363
 
# include <assert.h>
7364
 
#endif
7365
 
                     Syntax error
7366
 
_ACEOF
7367
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7368
 
case "(($ac_try" in
7369
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7370
 
  *) ac_try_echo=$ac_try;;
7371
 
esac
7372
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7373
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7374
 
  ac_status=$?
7375
 
  grep -v '^ *+' conftest.er1 >conftest.err
7376
 
  rm -f conftest.er1
7377
 
  cat conftest.err >&5
7378
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7379
 
  (exit $ac_status); } >/dev/null && {
7380
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7381
 
         test ! -s conftest.err
7382
 
       }; then
7383
 
  :
7384
 
else
7385
 
  echo "$as_me: failed program was:" >&5
7386
 
sed 's/^/| /' conftest.$ac_ext >&5
7387
 
 
7388
 
  # Broken: fails on valid input.
7389
 
continue
7390
 
fi
7391
 
 
7392
 
rm -f conftest.err conftest.$ac_ext
7393
 
 
7394
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7395
 
  # can be detected and how.
7396
 
  cat >conftest.$ac_ext <<_ACEOF
7397
 
/* confdefs.h.  */
7398
 
_ACEOF
7399
 
cat confdefs.h >>conftest.$ac_ext
7400
 
cat >>conftest.$ac_ext <<_ACEOF
7401
 
/* end confdefs.h.  */
7402
 
#include <ac_nonexistent.h>
7403
 
_ACEOF
7404
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7405
 
case "(($ac_try" in
7406
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7407
 
  *) ac_try_echo=$ac_try;;
7408
 
esac
7409
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7410
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7411
 
  ac_status=$?
7412
 
  grep -v '^ *+' conftest.er1 >conftest.err
7413
 
  rm -f conftest.er1
7414
 
  cat conftest.err >&5
7415
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416
 
  (exit $ac_status); } >/dev/null && {
7417
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7418
 
         test ! -s conftest.err
7419
 
       }; then
7420
 
  # Broken: success on invalid input.
7421
 
continue
7422
 
else
7423
 
  echo "$as_me: failed program was:" >&5
7424
 
sed 's/^/| /' conftest.$ac_ext >&5
7425
 
 
7426
 
  # Passes both tests.
7427
 
ac_preproc_ok=:
7428
 
break
7429
 
fi
7430
 
 
7431
 
rm -f conftest.err conftest.$ac_ext
7432
 
 
7433
 
done
7434
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7435
 
rm -f conftest.err conftest.$ac_ext
7436
 
if $ac_preproc_ok; then
7437
 
  :
7438
 
else
7439
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7440
 
See \`config.log' for more details." >&5
7441
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7442
 
See \`config.log' for more details." >&2;}
7443
 
   { (exit 1); exit 1; }; }
7444
 
fi
7445
 
 
7446
 
ac_ext=cpp
7447
 
ac_cpp='$CXXCPP $CPPFLAGS'
7448
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7449
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7450
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7451
 
 
7452
 
fi
7453
 
 
7454
 
 
7455
 
ac_ext=f
7456
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7457
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7458
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7459
 
if test -n "$ac_tool_prefix"; then
7460
 
  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
7461
 
  do
7462
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7463
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7464
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7465
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7466
 
if test "${ac_cv_prog_F77+set}" = set; then
7467
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7468
 
else
7469
 
  if test -n "$F77"; then
7470
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
7471
 
else
7472
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473
 
for as_dir in $PATH
7474
 
do
7475
 
  IFS=$as_save_IFS
7476
 
  test -z "$as_dir" && as_dir=.
7477
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7478
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7479
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7480
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7481
 
    break 2
7482
 
  fi
7483
 
done
7484
 
done
7485
 
IFS=$as_save_IFS
7486
 
 
7487
 
fi
7488
 
fi
7489
 
F77=$ac_cv_prog_F77
7490
 
if test -n "$F77"; then
7491
 
  { echo "$as_me:$LINENO: result: $F77" >&5
7492
 
echo "${ECHO_T}$F77" >&6; }
7493
 
else
7494
 
  { echo "$as_me:$LINENO: result: no" >&5
7495
 
echo "${ECHO_T}no" >&6; }
7496
 
fi
7497
 
 
7498
 
 
7499
 
    test -n "$F77" && break
7500
 
  done
7501
 
fi
7502
 
if test -z "$F77"; then
7503
 
  ac_ct_F77=$F77
7504
 
  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
7505
 
do
7506
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7507
 
set dummy $ac_prog; ac_word=$2
7508
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7509
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7510
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7511
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7512
 
else
7513
 
  if test -n "$ac_ct_F77"; then
7514
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7515
 
else
7516
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7517
 
for as_dir in $PATH
7518
 
do
7519
 
  IFS=$as_save_IFS
7520
 
  test -z "$as_dir" && as_dir=.
7521
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7522
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7523
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
7524
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7525
 
    break 2
7526
 
  fi
7527
 
done
7528
 
done
7529
 
IFS=$as_save_IFS
7530
 
 
7531
 
fi
7532
 
fi
7533
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7534
 
if test -n "$ac_ct_F77"; then
7535
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7536
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
7537
 
else
7538
 
  { echo "$as_me:$LINENO: result: no" >&5
7539
 
echo "${ECHO_T}no" >&6; }
7540
 
fi
7541
 
 
7542
 
 
7543
 
  test -n "$ac_ct_F77" && break
7544
 
done
7545
 
 
7546
 
  if test "x$ac_ct_F77" = x; then
7547
 
    F77=""
7548
 
  else
7549
 
    case $cross_compiling:$ac_tool_warned in
7550
 
yes:)
7551
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7552
 
whose name does not start with the host triplet.  If you think this
7553
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7554
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7555
 
whose name does not start with the host triplet.  If you think this
7556
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7557
 
ac_tool_warned=yes ;;
7558
 
esac
7559
 
    F77=$ac_ct_F77
7560
 
  fi
7561
 
fi
7562
 
 
7563
 
 
7564
 
# Provide some information about the compiler.
7565
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7566
 
ac_compiler=`set X $ac_compile; echo $2`
7567
 
{ (ac_try="$ac_compiler --version >&5"
7568
 
case "(($ac_try" in
7569
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7570
 
  *) ac_try_echo=$ac_try;;
7571
 
esac
7572
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7573
 
  (eval "$ac_compiler --version >&5") 2>&5
7574
 
  ac_status=$?
7575
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576
 
  (exit $ac_status); }
7577
 
{ (ac_try="$ac_compiler -v >&5"
7578
 
case "(($ac_try" in
7579
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7580
 
  *) ac_try_echo=$ac_try;;
7581
 
esac
7582
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7583
 
  (eval "$ac_compiler -v >&5") 2>&5
7584
 
  ac_status=$?
7585
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7586
 
  (exit $ac_status); }
7587
 
{ (ac_try="$ac_compiler -V >&5"
7588
 
case "(($ac_try" in
7589
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7590
 
  *) ac_try_echo=$ac_try;;
7591
 
esac
7592
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7593
 
  (eval "$ac_compiler -V >&5") 2>&5
7594
 
  ac_status=$?
7595
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596
 
  (exit $ac_status); }
7597
 
rm -f a.out
7598
 
 
7599
 
# If we don't use `.F' as extension, the preprocessor is not run on the
7600
 
# input file.  (Note that this only needs to work for GNU compilers.)
7601
 
ac_save_ext=$ac_ext
7602
 
ac_ext=F
7603
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7604
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7605
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7606
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7607
 
else
7608
 
  cat >conftest.$ac_ext <<_ACEOF
7609
 
      program main
7610
 
#ifndef __GNUC__
7611
 
       choke me
7612
 
#endif
7613
 
 
7614
 
      end
7615
 
_ACEOF
7616
 
rm -f conftest.$ac_objext
7617
 
if { (ac_try="$ac_compile"
7618
 
case "(($ac_try" in
7619
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7620
 
  *) ac_try_echo=$ac_try;;
7621
 
esac
7622
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7623
 
  (eval "$ac_compile") 2>conftest.er1
7624
 
  ac_status=$?
7625
 
  grep -v '^ *+' conftest.er1 >conftest.err
7626
 
  rm -f conftest.er1
7627
 
  cat conftest.err >&5
7628
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629
 
  (exit $ac_status); } && {
7630
 
         test -z "$ac_f77_werror_flag" ||
7631
 
         test ! -s conftest.err
7632
 
       } && test -s conftest.$ac_objext; then
7633
 
  ac_compiler_gnu=yes
7634
 
else
7635
 
  echo "$as_me: failed program was:" >&5
7636
 
sed 's/^/| /' conftest.$ac_ext >&5
7637
 
 
7638
 
        ac_compiler_gnu=no
7639
 
fi
7640
 
 
7641
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7642
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7643
 
 
7644
 
fi
7645
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7646
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7647
 
ac_ext=$ac_save_ext
7648
 
ac_test_FFLAGS=${FFLAGS+set}
7649
 
ac_save_FFLAGS=$FFLAGS
7650
 
FFLAGS=
7651
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7652
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7653
 
if test "${ac_cv_prog_f77_g+set}" = set; then
7654
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7655
 
else
7656
 
  FFLAGS=-g
7657
 
cat >conftest.$ac_ext <<_ACEOF
7658
 
      program main
7659
 
 
7660
 
      end
7661
 
_ACEOF
7662
 
rm -f conftest.$ac_objext
7663
 
if { (ac_try="$ac_compile"
7664
 
case "(($ac_try" in
7665
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7666
 
  *) ac_try_echo=$ac_try;;
7667
 
esac
7668
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7669
 
  (eval "$ac_compile") 2>conftest.er1
7670
 
  ac_status=$?
7671
 
  grep -v '^ *+' conftest.er1 >conftest.err
7672
 
  rm -f conftest.er1
7673
 
  cat conftest.err >&5
7674
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675
 
  (exit $ac_status); } && {
7676
 
         test -z "$ac_f77_werror_flag" ||
7677
 
         test ! -s conftest.err
7678
 
       } && test -s conftest.$ac_objext; then
7679
 
  ac_cv_prog_f77_g=yes
7680
 
else
7681
 
  echo "$as_me: failed program was:" >&5
7682
 
sed 's/^/| /' conftest.$ac_ext >&5
7683
 
 
7684
 
        ac_cv_prog_f77_g=no
7685
 
fi
7686
 
 
7687
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7688
 
 
7689
 
fi
7690
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7691
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7692
 
if test "$ac_test_FFLAGS" = set; then
7693
 
  FFLAGS=$ac_save_FFLAGS
7694
 
elif test $ac_cv_prog_f77_g = yes; then
7695
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7696
 
    FFLAGS="-g -O2"
7697
 
  else
7698
 
    FFLAGS="-g"
7699
 
  fi
7700
 
else
7701
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7702
 
    FFLAGS="-O2"
7703
 
  else
7704
 
    FFLAGS=
7705
 
  fi
7706
 
fi
7707
 
 
7708
 
G77=`test $ac_compiler_gnu = yes && echo yes`
7709
 
ac_ext=c
7710
 
ac_cpp='$CPP $CPPFLAGS'
7711
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7712
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7713
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7714
 
 
7715
 
 
7716
 
 
7717
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7718
 
 
7719
 
# find the maximum length of command line arguments
7720
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7721
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7722
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7723
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7724
 
else
7725
 
    i=0
7726
 
  teststring="ABCD"
7727
 
 
7728
 
  case $build_os in
7729
 
  msdosdjgpp*)
7730
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
7731
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
7732
 
    # during glob expansion).  Even if it were fixed, the result of this
7733
 
    # check would be larger than it should be.
7734
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7735
 
    ;;
7736
 
 
7737
 
  gnu*)
7738
 
    # Under GNU Hurd, this test is not required because there is
7739
 
    # no limit to the length of command line arguments.
7740
 
    # Libtool will interpret -1 as no limit whatsoever
7741
 
    lt_cv_sys_max_cmd_len=-1;
7742
 
    ;;
7743
 
 
7744
 
  cygwin* | mingw*)
7745
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
7746
 
    # about 5 minutes as the teststring grows exponentially.
7747
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
7748
 
    # you end up with a "frozen" computer, even though with patience
7749
 
    # the test eventually succeeds (with a max line length of 256k).
7750
 
    # Instead, let's just punt: use the minimum linelength reported by
7751
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
7752
 
    lt_cv_sys_max_cmd_len=8192;
7753
 
    ;;
7754
 
 
7755
 
  amigaos*)
7756
 
    # On AmigaOS with pdksh, this test takes hours, literally.
7757
 
    # So we just punt and use a minimum line length of 8192.
7758
 
    lt_cv_sys_max_cmd_len=8192;
7759
 
    ;;
7760
 
 
7761
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7762
 
    # This has been around since 386BSD, at least.  Likely further.
7763
 
    if test -x /sbin/sysctl; then
7764
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7765
 
    elif test -x /usr/sbin/sysctl; then
7766
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7767
 
    else
7768
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
7769
 
    fi
7770
 
    # And add a safety zone
7771
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7772
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7773
 
    ;;
7774
 
 
7775
 
  interix*)
7776
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
7777
 
    lt_cv_sys_max_cmd_len=196608
7778
 
    ;;
7779
 
 
7780
 
  osf*)
7781
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7782
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7783
 
    # nice to cause kernel panics so lets avoid the loop below.
7784
 
    # First set a reasonable default.
7785
 
    lt_cv_sys_max_cmd_len=16384
7786
 
    #
7787
 
    if test -x /sbin/sysconfig; then
7788
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7789
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7790
 
      esac
7791
 
    fi
7792
 
    ;;
7793
 
  sco3.2v5*)
7794
 
    lt_cv_sys_max_cmd_len=102400
7795
 
    ;;
7796
 
  sysv5* | sco5v6* | sysv4.2uw2*)
7797
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7798
 
    if test -n "$kargmax"; then
7799
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
7800
 
    else
7801
 
      lt_cv_sys_max_cmd_len=32768
7802
 
    fi
7803
 
    ;;
7804
 
  *)
7805
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7806
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
7807
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7808
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7809
 
    else
7810
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7811
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7812
 
               = "XX$teststring") >/dev/null 2>&1 &&
7813
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
7814
 
              lt_cv_sys_max_cmd_len=$new_result &&
7815
 
              test $i != 17 # 1/2 MB should be enough
7816
 
      do
7817
 
        i=`expr $i + 1`
7818
 
        teststring=$teststring$teststring
7819
 
      done
7820
 
      teststring=
7821
 
      # Add a significant safety factor because C++ compilers can tack on massive
7822
 
      # amounts of additional arguments before passing them to the linker.
7823
 
      # It appears as though 1/2 is a usable value.
7824
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7825
 
    fi
7826
 
    ;;
7827
 
  esac
7828
 
 
7829
 
fi
7830
 
 
7831
 
if test -n $lt_cv_sys_max_cmd_len ; then
7832
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7833
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7834
 
else
7835
 
  { echo "$as_me:$LINENO: result: none" >&5
7836
 
echo "${ECHO_T}none" >&6; }
7837
 
fi
7838
 
 
7839
 
 
7840
 
 
7841
 
 
7842
7408
 
7843
7409
# Check for command to grab the raw symbol name followed by C symbol from nm.
7844
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7845
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
 
7410
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
7411
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7846
7412
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7847
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7413
  $as_echo_n "(cached) " >&6
7848
7414
else
7849
7415
 
7850
7416
# These are sane defaults that work on at least a few old systems.
7856
7422
# Regexp to match symbols that can be accessed directly from C.
7857
7423
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7858
7424
 
7859
 
# Transform an extracted symbol line into a proper C declaration
7860
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7861
 
 
7862
 
# Transform an extracted symbol line into symbol name and symbol address
7863
 
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'"
7864
 
 
7865
7425
# Define system-specific variables.
7866
7426
case $host_os in
7867
7427
aix*)
7868
7428
  symcode='[BCDT]'
7869
7429
  ;;
7870
 
cygwin* | mingw* | pw32*)
 
7430
cygwin* | mingw* | pw32* | cegcc*)
7871
7431
  symcode='[ABCDGISTW]'
7872
7432
  ;;
7873
 
hpux*) # Its linker distinguishes data from code symbols
 
7433
hpux*)
7874
7434
  if test "$host_cpu" = ia64; then
7875
7435
    symcode='[ABCDEGRST]'
7876
7436
  fi
7877
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7878
 
  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'"
7879
 
  ;;
7880
 
linux* | k*bsd*-gnu)
7881
 
  if test "$host_cpu" = ia64; then
7882
 
    symcode='[ABCDGIRSTW]'
7883
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7884
 
    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'"
7885
 
  fi
7886
7437
  ;;
7887
7438
irix* | nonstopux*)
7888
7439
  symcode='[BCDEGRST]'
7907
7458
  ;;
7908
7459
esac
7909
7460
 
 
7461
# If we're using GNU nm, then use its standard symbol codes.
 
7462
case `$NM -V 2>&1` in
 
7463
*GNU* | *'with BFD'*)
 
7464
  symcode='[ABCDGIRSTW]' ;;
 
7465
esac
 
7466
 
 
7467
# Transform an extracted symbol line into a proper C declaration.
 
7468
# Some systems (esp. on ia64) link data and code symbols differently,
 
7469
# so use this general approach.
 
7470
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
7471
 
 
7472
# Transform an extracted symbol line into symbol name and symbol address
 
7473
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7474
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'"
 
7475
 
7910
7476
# Handle CRLF in mingw tool chain
7911
7477
opt_cr=
7912
7478
case $build_os in
7913
7479
mingw*)
7914
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
7480
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7915
7481
  ;;
7916
7482
esac
7917
7483
 
7918
 
# If we're using GNU nm, then use its standard symbol codes.
7919
 
case `$NM -V 2>&1` in
7920
 
*GNU* | *'with BFD'*)
7921
 
  symcode='[ABCDGIRSTW]' ;;
7922
 
esac
7923
 
 
7924
 
# Try without a prefix undercore, then with it.
 
7484
# Try without a prefix underscore, then with it.
7925
7485
for ac_symprfx in "" "_"; do
7926
7486
 
7927
7487
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7928
7488
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7929
7489
 
7930
7490
  # Write the raw and C identifiers.
7931
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7491
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7492
    # Fake it for dumpbin and say T for any non-static function
 
7493
    # and D for any global variable.
 
7494
    # Also find C++ and __fastcall symbols from MSVC++,
 
7495
    # which start with @ or ?.
 
7496
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
7497
"     {last_section=section; section=\$ 3};"\
 
7498
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
7499
"     \$ 0!~/External *\|/{next};"\
 
7500
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
7501
"     {if(hide[section]) next};"\
 
7502
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
7503
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
7504
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
7505
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
7506
"     ' prfx=^$ac_symprfx"
 
7507
  else
 
7508
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7509
  fi
7932
7510
 
7933
7511
  # Check to see that the pipe works correctly.
7934
7512
  pipe_works=no
7935
7513
 
7936
7514
  rm -f conftest*
7937
 
  cat > conftest.$ac_ext <<EOF
 
7515
  cat > conftest.$ac_ext <<_LT_EOF
7938
7516
#ifdef __cplusplus
7939
7517
extern "C" {
7940
7518
#endif
7941
7519
char nm_test_var;
7942
 
void nm_test_func(){}
 
7520
void nm_test_func(void);
 
7521
void nm_test_func(void){}
7943
7522
#ifdef __cplusplus
7944
7523
}
7945
7524
#endif
7946
7525
int main(){nm_test_var='a';nm_test_func();return(0);}
7947
 
EOF
 
7526
_LT_EOF
7948
7527
 
7949
7528
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7950
7529
  (eval $ac_compile) 2>&5
7951
7530
  ac_status=$?
7952
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7531
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953
7532
  (exit $ac_status); }; then
7954
7533
    # Now try to grab the symbols.
7955
7534
    nlist=conftest.nm
7956
7535
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7957
7536
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7958
7537
  ac_status=$?
7959
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7538
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960
7539
  (exit $ac_status); } && test -s "$nlist"; then
7961
7540
      # Try sorting and uniquifying the output.
7962
7541
      if sort "$nlist" | uniq > "$nlist"T; then
7966
7545
      fi
7967
7546
 
7968
7547
      # Make sure that we snagged all the symbols we need.
7969
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
7970
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
7971
 
          cat <<EOF > conftest.$ac_ext
 
7548
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
7549
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
7550
          cat <<_LT_EOF > conftest.$ac_ext
7972
7551
#ifdef __cplusplus
7973
7552
extern "C" {
7974
7553
#endif
7975
7554
 
7976
 
EOF
 
7555
_LT_EOF
7977
7556
          # Now generate the symbol file.
7978
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7979
 
 
7980
 
          cat <<EOF >> conftest.$ac_ext
7981
 
#if defined (__STDC__) && __STDC__
7982
 
# define lt_ptr_t void *
7983
 
#else
7984
 
# define lt_ptr_t char *
7985
 
# define const
7986
 
#endif
7987
 
 
7988
 
/* The mapping between symbol names and symbols. */
 
7557
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
7558
 
 
7559
          cat <<_LT_EOF >> conftest.$ac_ext
 
7560
 
 
7561
/* The mapping between symbol names and symbols.  */
7989
7562
const struct {
7990
7563
  const char *name;
7991
 
  lt_ptr_t address;
 
7564
  void       *address;
7992
7565
}
7993
 
lt_preloaded_symbols[] =
 
7566
lt__PROGRAM__LTX_preloaded_symbols[] =
7994
7567
{
7995
 
EOF
7996
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7997
 
          cat <<\EOF >> conftest.$ac_ext
7998
 
  {0, (lt_ptr_t) 0}
 
7568
  { "@PROGRAM@", (void *) 0 },
 
7569
_LT_EOF
 
7570
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
7571
          cat <<\_LT_EOF >> conftest.$ac_ext
 
7572
  {0, (void *) 0}
7999
7573
};
8000
7574
 
 
7575
/* This works around a problem in FreeBSD linker */
 
7576
#ifdef FREEBSD_WORKAROUND
 
7577
static const void *lt_preloaded_setup() {
 
7578
  return lt__PROGRAM__LTX_preloaded_symbols;
 
7579
}
 
7580
#endif
 
7581
 
8001
7582
#ifdef __cplusplus
8002
7583
}
8003
7584
#endif
8004
 
EOF
 
7585
_LT_EOF
8005
7586
          # Now try linking the two files.
8006
7587
          mv conftest.$ac_objext conftstm.$ac_objext
8007
7588
          lt_save_LIBS="$LIBS"
8011
7592
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8012
7593
  (eval $ac_link) 2>&5
8013
7594
  ac_status=$?
8014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7595
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015
7596
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
8016
7597
            pipe_works=yes
8017
7598
          fi
8030
7611
    echo "$progname: failed program was:" >&5
8031
7612
    cat conftest.$ac_ext >&5
8032
7613
  fi
8033
 
  rm -f conftest* conftst*
 
7614
  rm -rf conftest* conftst*
8034
7615
 
8035
7616
  # Do not use the global_symbol_pipe unless it works.
8036
7617
  if test "$pipe_works" = yes; then
8046
7627
  lt_cv_sys_global_symbol_to_cdecl=
8047
7628
fi
8048
7629
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8049
 
  { echo "$as_me:$LINENO: result: failed" >&5
8050
 
echo "${ECHO_T}failed" >&6; }
8051
 
else
8052
 
  { echo "$as_me:$LINENO: result: ok" >&5
8053
 
echo "${ECHO_T}ok" >&6; }
8054
 
fi
8055
 
 
8056
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
8057
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
 
7630
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
7631
$as_echo "failed" >&6; }
 
7632
else
 
7633
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
7634
$as_echo "ok" >&6; }
 
7635
fi
 
7636
 
 
7637
 
 
7638
 
 
7639
 
 
7640
 
 
7641
 
 
7642
 
 
7643
 
 
7644
 
 
7645
 
 
7646
 
 
7647
 
 
7648
 
 
7649
 
 
7650
 
 
7651
 
 
7652
 
 
7653
 
 
7654
 
 
7655
 
 
7656
 
 
7657
 
 
7658
# Check whether --enable-libtool-lock was given.
 
7659
if test "${enable_libtool_lock+set}" = set; then
 
7660
  enableval=$enable_libtool_lock;
 
7661
fi
 
7662
 
 
7663
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
7664
 
 
7665
# Some flags need to be propagated to the compiler or linker for good
 
7666
# libtool support.
 
7667
case $host in
 
7668
ia64-*-hpux*)
 
7669
  # Find out which ABI we are using.
 
7670
  echo 'int i;' > conftest.$ac_ext
 
7671
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7672
  (eval $ac_compile) 2>&5
 
7673
  ac_status=$?
 
7674
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7675
  (exit $ac_status); }; then
 
7676
    case `/usr/bin/file conftest.$ac_objext` in
 
7677
      *ELF-32*)
 
7678
        HPUX_IA64_MODE="32"
 
7679
        ;;
 
7680
      *ELF-64*)
 
7681
        HPUX_IA64_MODE="64"
 
7682
        ;;
 
7683
    esac
 
7684
  fi
 
7685
  rm -rf conftest*
 
7686
  ;;
 
7687
*-*-irix6*)
 
7688
  # Find out which ABI we are using.
 
7689
  echo '#line 7689 "configure"' > conftest.$ac_ext
 
7690
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7691
  (eval $ac_compile) 2>&5
 
7692
  ac_status=$?
 
7693
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7694
  (exit $ac_status); }; then
 
7695
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
7696
      case `/usr/bin/file conftest.$ac_objext` in
 
7697
        *32-bit*)
 
7698
          LD="${LD-ld} -melf32bsmip"
 
7699
          ;;
 
7700
        *N32*)
 
7701
          LD="${LD-ld} -melf32bmipn32"
 
7702
          ;;
 
7703
        *64-bit*)
 
7704
          LD="${LD-ld} -melf64bmip"
 
7705
        ;;
 
7706
      esac
 
7707
    else
 
7708
      case `/usr/bin/file conftest.$ac_objext` in
 
7709
        *32-bit*)
 
7710
          LD="${LD-ld} -32"
 
7711
          ;;
 
7712
        *N32*)
 
7713
          LD="${LD-ld} -n32"
 
7714
          ;;
 
7715
        *64-bit*)
 
7716
          LD="${LD-ld} -64"
 
7717
          ;;
 
7718
      esac
 
7719
    fi
 
7720
  fi
 
7721
  rm -rf conftest*
 
7722
  ;;
 
7723
 
 
7724
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
7725
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
7726
  # Find out which ABI we are using.
 
7727
  echo 'int i;' > conftest.$ac_ext
 
7728
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7729
  (eval $ac_compile) 2>&5
 
7730
  ac_status=$?
 
7731
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7732
  (exit $ac_status); }; then
 
7733
    case `/usr/bin/file conftest.o` in
 
7734
      *32-bit*)
 
7735
        case $host in
 
7736
          x86_64-*kfreebsd*-gnu)
 
7737
            LD="${LD-ld} -m elf_i386_fbsd"
 
7738
            ;;
 
7739
          x86_64-*linux*)
 
7740
            LD="${LD-ld} -m elf_i386"
 
7741
            ;;
 
7742
          ppc64-*linux*|powerpc64-*linux*)
 
7743
            LD="${LD-ld} -m elf32ppclinux"
 
7744
            ;;
 
7745
          s390x-*linux*)
 
7746
            LD="${LD-ld} -m elf_s390"
 
7747
            ;;
 
7748
          sparc64-*linux*)
 
7749
            LD="${LD-ld} -m elf32_sparc"
 
7750
            ;;
 
7751
        esac
 
7752
        ;;
 
7753
      *64-bit*)
 
7754
        case $host in
 
7755
          x86_64-*kfreebsd*-gnu)
 
7756
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
7757
            ;;
 
7758
          x86_64-*linux*)
 
7759
            LD="${LD-ld} -m elf_x86_64"
 
7760
            ;;
 
7761
          ppc*-*linux*|powerpc*-*linux*)
 
7762
            LD="${LD-ld} -m elf64ppc"
 
7763
            ;;
 
7764
          s390*-*linux*|s390*-*tpf*)
 
7765
            LD="${LD-ld} -m elf64_s390"
 
7766
            ;;
 
7767
          sparc*-*linux*)
 
7768
            LD="${LD-ld} -m elf64_sparc"
 
7769
            ;;
 
7770
        esac
 
7771
        ;;
 
7772
    esac
 
7773
  fi
 
7774
  rm -rf conftest*
 
7775
  ;;
 
7776
 
 
7777
*-*-sco3.2v5*)
 
7778
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
7779
  SAVE_CFLAGS="$CFLAGS"
 
7780
  CFLAGS="$CFLAGS -belf"
 
7781
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
7782
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
7783
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
7784
  $as_echo_n "(cached) " >&6
 
7785
else
 
7786
  ac_ext=c
 
7787
ac_cpp='$CPP $CPPFLAGS'
 
7788
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7789
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7790
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7791
 
 
7792
     cat >conftest.$ac_ext <<_ACEOF
 
7793
/* confdefs.h.  */
 
7794
_ACEOF
 
7795
cat confdefs.h >>conftest.$ac_ext
 
7796
cat >>conftest.$ac_ext <<_ACEOF
 
7797
/* end confdefs.h.  */
 
7798
 
 
7799
int
 
7800
main ()
 
7801
{
 
7802
 
 
7803
  ;
 
7804
  return 0;
 
7805
}
 
7806
_ACEOF
 
7807
rm -f conftest.$ac_objext conftest$ac_exeext
 
7808
if { (ac_try="$ac_link"
 
7809
case "(($ac_try" in
 
7810
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7811
  *) ac_try_echo=$ac_try;;
 
7812
esac
 
7813
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7814
$as_echo "$ac_try_echo") >&5
 
7815
  (eval "$ac_link") 2>conftest.er1
 
7816
  ac_status=$?
 
7817
  grep -v '^ *+' conftest.er1 >conftest.err
 
7818
  rm -f conftest.er1
 
7819
  cat conftest.err >&5
 
7820
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7821
  (exit $ac_status); } && {
 
7822
         test -z "$ac_c_werror_flag" ||
 
7823
         test ! -s conftest.err
 
7824
       } && test -s conftest$ac_exeext && {
 
7825
         test "$cross_compiling" = yes ||
 
7826
         $as_test_x conftest$ac_exeext
 
7827
       }; then
 
7828
  lt_cv_cc_needs_belf=yes
 
7829
else
 
7830
  $as_echo "$as_me: failed program was:" >&5
 
7831
sed 's/^/| /' conftest.$ac_ext >&5
 
7832
 
 
7833
        lt_cv_cc_needs_belf=no
 
7834
fi
 
7835
 
 
7836
rm -rf conftest.dSYM
 
7837
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7838
      conftest$ac_exeext conftest.$ac_ext
 
7839
     ac_ext=c
 
7840
ac_cpp='$CPP $CPPFLAGS'
 
7841
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7842
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7843
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7844
 
 
7845
fi
 
7846
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
7847
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
7848
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
7849
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
7850
    CFLAGS="$SAVE_CFLAGS"
 
7851
  fi
 
7852
  ;;
 
7853
sparc*-*solaris*)
 
7854
  # Find out which ABI we are using.
 
7855
  echo 'int i;' > conftest.$ac_ext
 
7856
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7857
  (eval $ac_compile) 2>&5
 
7858
  ac_status=$?
 
7859
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7860
  (exit $ac_status); }; then
 
7861
    case `/usr/bin/file conftest.o` in
 
7862
    *64-bit*)
 
7863
      case $lt_cv_prog_gnu_ld in
 
7864
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
7865
      *)
 
7866
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
7867
          LD="${LD-ld} -64"
 
7868
        fi
 
7869
        ;;
 
7870
      esac
 
7871
      ;;
 
7872
    esac
 
7873
  fi
 
7874
  rm -rf conftest*
 
7875
  ;;
 
7876
esac
 
7877
 
 
7878
need_locks="$enable_libtool_lock"
 
7879
 
 
7880
 
 
7881
  case $host_os in
 
7882
    rhapsody* | darwin*)
 
7883
    if test -n "$ac_tool_prefix"; then
 
7884
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
7885
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
7886
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7887
$as_echo_n "checking for $ac_word... " >&6; }
 
7888
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7889
  $as_echo_n "(cached) " >&6
 
7890
else
 
7891
  if test -n "$DSYMUTIL"; then
 
7892
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
7893
else
 
7894
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7895
for as_dir in $PATH
 
7896
do
 
7897
  IFS=$as_save_IFS
 
7898
  test -z "$as_dir" && as_dir=.
 
7899
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7900
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7901
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7902
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7903
    break 2
 
7904
  fi
 
7905
done
 
7906
done
 
7907
IFS=$as_save_IFS
 
7908
 
 
7909
fi
 
7910
fi
 
7911
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7912
if test -n "$DSYMUTIL"; then
 
7913
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7914
$as_echo "$DSYMUTIL" >&6; }
 
7915
else
 
7916
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7917
$as_echo "no" >&6; }
 
7918
fi
 
7919
 
 
7920
 
 
7921
fi
 
7922
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7923
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7924
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7925
set dummy dsymutil; ac_word=$2
 
7926
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7927
$as_echo_n "checking for $ac_word... " >&6; }
 
7928
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7929
  $as_echo_n "(cached) " >&6
 
7930
else
 
7931
  if test -n "$ac_ct_DSYMUTIL"; then
 
7932
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7933
else
 
7934
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7935
for as_dir in $PATH
 
7936
do
 
7937
  IFS=$as_save_IFS
 
7938
  test -z "$as_dir" && as_dir=.
 
7939
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7940
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7941
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7942
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7943
    break 2
 
7944
  fi
 
7945
done
 
7946
done
 
7947
IFS=$as_save_IFS
 
7948
 
 
7949
fi
 
7950
fi
 
7951
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7952
if test -n "$ac_ct_DSYMUTIL"; then
 
7953
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7954
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
7955
else
 
7956
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7957
$as_echo "no" >&6; }
 
7958
fi
 
7959
 
 
7960
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7961
    DSYMUTIL=":"
 
7962
  else
 
7963
    case $cross_compiling:$ac_tool_warned in
 
7964
yes:)
 
7965
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7966
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7967
ac_tool_warned=yes ;;
 
7968
esac
 
7969
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7970
  fi
 
7971
else
 
7972
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7973
fi
 
7974
 
 
7975
    if test -n "$ac_tool_prefix"; then
 
7976
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7977
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7978
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7979
$as_echo_n "checking for $ac_word... " >&6; }
 
7980
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7981
  $as_echo_n "(cached) " >&6
 
7982
else
 
7983
  if test -n "$NMEDIT"; then
 
7984
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7985
else
 
7986
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7987
for as_dir in $PATH
 
7988
do
 
7989
  IFS=$as_save_IFS
 
7990
  test -z "$as_dir" && as_dir=.
 
7991
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7992
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7993
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7994
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7995
    break 2
 
7996
  fi
 
7997
done
 
7998
done
 
7999
IFS=$as_save_IFS
 
8000
 
 
8001
fi
 
8002
fi
 
8003
NMEDIT=$ac_cv_prog_NMEDIT
 
8004
if test -n "$NMEDIT"; then
 
8005
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
8006
$as_echo "$NMEDIT" >&6; }
 
8007
else
 
8008
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8009
$as_echo "no" >&6; }
 
8010
fi
 
8011
 
 
8012
 
 
8013
fi
 
8014
if test -z "$ac_cv_prog_NMEDIT"; then
 
8015
  ac_ct_NMEDIT=$NMEDIT
 
8016
  # Extract the first word of "nmedit", so it can be a program name with args.
 
8017
set dummy nmedit; ac_word=$2
 
8018
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8019
$as_echo_n "checking for $ac_word... " >&6; }
 
8020
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
8021
  $as_echo_n "(cached) " >&6
 
8022
else
 
8023
  if test -n "$ac_ct_NMEDIT"; then
 
8024
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
8025
else
 
8026
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8027
for as_dir in $PATH
 
8028
do
 
8029
  IFS=$as_save_IFS
 
8030
  test -z "$as_dir" && as_dir=.
 
8031
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8032
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8033
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
8034
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8035
    break 2
 
8036
  fi
 
8037
done
 
8038
done
 
8039
IFS=$as_save_IFS
 
8040
 
 
8041
fi
 
8042
fi
 
8043
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
8044
if test -n "$ac_ct_NMEDIT"; then
 
8045
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
8046
$as_echo "$ac_ct_NMEDIT" >&6; }
 
8047
else
 
8048
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8049
$as_echo "no" >&6; }
 
8050
fi
 
8051
 
 
8052
  if test "x$ac_ct_NMEDIT" = x; then
 
8053
    NMEDIT=":"
 
8054
  else
 
8055
    case $cross_compiling:$ac_tool_warned in
 
8056
yes:)
 
8057
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8058
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8059
ac_tool_warned=yes ;;
 
8060
esac
 
8061
    NMEDIT=$ac_ct_NMEDIT
 
8062
  fi
 
8063
else
 
8064
  NMEDIT="$ac_cv_prog_NMEDIT"
 
8065
fi
 
8066
 
 
8067
    if test -n "$ac_tool_prefix"; then
 
8068
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
8069
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
8070
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8071
$as_echo_n "checking for $ac_word... " >&6; }
 
8072
if test "${ac_cv_prog_LIPO+set}" = set; then
 
8073
  $as_echo_n "(cached) " >&6
 
8074
else
 
8075
  if test -n "$LIPO"; then
 
8076
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
8077
else
 
8078
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8079
for as_dir in $PATH
 
8080
do
 
8081
  IFS=$as_save_IFS
 
8082
  test -z "$as_dir" && as_dir=.
 
8083
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8084
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8085
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
8086
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8087
    break 2
 
8088
  fi
 
8089
done
 
8090
done
 
8091
IFS=$as_save_IFS
 
8092
 
 
8093
fi
 
8094
fi
 
8095
LIPO=$ac_cv_prog_LIPO
 
8096
if test -n "$LIPO"; then
 
8097
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
8098
$as_echo "$LIPO" >&6; }
 
8099
else
 
8100
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8101
$as_echo "no" >&6; }
 
8102
fi
 
8103
 
 
8104
 
 
8105
fi
 
8106
if test -z "$ac_cv_prog_LIPO"; then
 
8107
  ac_ct_LIPO=$LIPO
 
8108
  # Extract the first word of "lipo", so it can be a program name with args.
 
8109
set dummy lipo; ac_word=$2
 
8110
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8111
$as_echo_n "checking for $ac_word... " >&6; }
 
8112
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
8113
  $as_echo_n "(cached) " >&6
 
8114
else
 
8115
  if test -n "$ac_ct_LIPO"; then
 
8116
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
8117
else
 
8118
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8119
for as_dir in $PATH
 
8120
do
 
8121
  IFS=$as_save_IFS
 
8122
  test -z "$as_dir" && as_dir=.
 
8123
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8124
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8125
    ac_cv_prog_ac_ct_LIPO="lipo"
 
8126
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8127
    break 2
 
8128
  fi
 
8129
done
 
8130
done
 
8131
IFS=$as_save_IFS
 
8132
 
 
8133
fi
 
8134
fi
 
8135
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
8136
if test -n "$ac_ct_LIPO"; then
 
8137
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
8138
$as_echo "$ac_ct_LIPO" >&6; }
 
8139
else
 
8140
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8141
$as_echo "no" >&6; }
 
8142
fi
 
8143
 
 
8144
  if test "x$ac_ct_LIPO" = x; then
 
8145
    LIPO=":"
 
8146
  else
 
8147
    case $cross_compiling:$ac_tool_warned in
 
8148
yes:)
 
8149
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8150
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8151
ac_tool_warned=yes ;;
 
8152
esac
 
8153
    LIPO=$ac_ct_LIPO
 
8154
  fi
 
8155
else
 
8156
  LIPO="$ac_cv_prog_LIPO"
 
8157
fi
 
8158
 
 
8159
    if test -n "$ac_tool_prefix"; then
 
8160
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
8161
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
8162
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8163
$as_echo_n "checking for $ac_word... " >&6; }
 
8164
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
8165
  $as_echo_n "(cached) " >&6
 
8166
else
 
8167
  if test -n "$OTOOL"; then
 
8168
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
8169
else
 
8170
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8171
for as_dir in $PATH
 
8172
do
 
8173
  IFS=$as_save_IFS
 
8174
  test -z "$as_dir" && as_dir=.
 
8175
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8176
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8177
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
8178
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8179
    break 2
 
8180
  fi
 
8181
done
 
8182
done
 
8183
IFS=$as_save_IFS
 
8184
 
 
8185
fi
 
8186
fi
 
8187
OTOOL=$ac_cv_prog_OTOOL
 
8188
if test -n "$OTOOL"; then
 
8189
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
8190
$as_echo "$OTOOL" >&6; }
 
8191
else
 
8192
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8193
$as_echo "no" >&6; }
 
8194
fi
 
8195
 
 
8196
 
 
8197
fi
 
8198
if test -z "$ac_cv_prog_OTOOL"; then
 
8199
  ac_ct_OTOOL=$OTOOL
 
8200
  # Extract the first word of "otool", so it can be a program name with args.
 
8201
set dummy otool; ac_word=$2
 
8202
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8203
$as_echo_n "checking for $ac_word... " >&6; }
 
8204
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
8205
  $as_echo_n "(cached) " >&6
 
8206
else
 
8207
  if test -n "$ac_ct_OTOOL"; then
 
8208
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
8209
else
 
8210
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8211
for as_dir in $PATH
 
8212
do
 
8213
  IFS=$as_save_IFS
 
8214
  test -z "$as_dir" && as_dir=.
 
8215
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8216
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8217
    ac_cv_prog_ac_ct_OTOOL="otool"
 
8218
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8219
    break 2
 
8220
  fi
 
8221
done
 
8222
done
 
8223
IFS=$as_save_IFS
 
8224
 
 
8225
fi
 
8226
fi
 
8227
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
8228
if test -n "$ac_ct_OTOOL"; then
 
8229
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
8230
$as_echo "$ac_ct_OTOOL" >&6; }
 
8231
else
 
8232
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8233
$as_echo "no" >&6; }
 
8234
fi
 
8235
 
 
8236
  if test "x$ac_ct_OTOOL" = x; then
 
8237
    OTOOL=":"
 
8238
  else
 
8239
    case $cross_compiling:$ac_tool_warned in
 
8240
yes:)
 
8241
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8242
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8243
ac_tool_warned=yes ;;
 
8244
esac
 
8245
    OTOOL=$ac_ct_OTOOL
 
8246
  fi
 
8247
else
 
8248
  OTOOL="$ac_cv_prog_OTOOL"
 
8249
fi
 
8250
 
 
8251
    if test -n "$ac_tool_prefix"; then
 
8252
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
8253
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
8254
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8255
$as_echo_n "checking for $ac_word... " >&6; }
 
8256
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
8257
  $as_echo_n "(cached) " >&6
 
8258
else
 
8259
  if test -n "$OTOOL64"; then
 
8260
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
8261
else
 
8262
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8263
for as_dir in $PATH
 
8264
do
 
8265
  IFS=$as_save_IFS
 
8266
  test -z "$as_dir" && as_dir=.
 
8267
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8268
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8269
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
8270
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8271
    break 2
 
8272
  fi
 
8273
done
 
8274
done
 
8275
IFS=$as_save_IFS
 
8276
 
 
8277
fi
 
8278
fi
 
8279
OTOOL64=$ac_cv_prog_OTOOL64
 
8280
if test -n "$OTOOL64"; then
 
8281
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
8282
$as_echo "$OTOOL64" >&6; }
 
8283
else
 
8284
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8285
$as_echo "no" >&6; }
 
8286
fi
 
8287
 
 
8288
 
 
8289
fi
 
8290
if test -z "$ac_cv_prog_OTOOL64"; then
 
8291
  ac_ct_OTOOL64=$OTOOL64
 
8292
  # Extract the first word of "otool64", so it can be a program name with args.
 
8293
set dummy otool64; ac_word=$2
 
8294
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8295
$as_echo_n "checking for $ac_word... " >&6; }
 
8296
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
8297
  $as_echo_n "(cached) " >&6
 
8298
else
 
8299
  if test -n "$ac_ct_OTOOL64"; then
 
8300
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
8301
else
 
8302
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8303
for as_dir in $PATH
 
8304
do
 
8305
  IFS=$as_save_IFS
 
8306
  test -z "$as_dir" && as_dir=.
 
8307
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8308
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8309
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
8310
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8311
    break 2
 
8312
  fi
 
8313
done
 
8314
done
 
8315
IFS=$as_save_IFS
 
8316
 
 
8317
fi
 
8318
fi
 
8319
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
8320
if test -n "$ac_ct_OTOOL64"; then
 
8321
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
8322
$as_echo "$ac_ct_OTOOL64" >&6; }
 
8323
else
 
8324
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8325
$as_echo "no" >&6; }
 
8326
fi
 
8327
 
 
8328
  if test "x$ac_ct_OTOOL64" = x; then
 
8329
    OTOOL64=":"
 
8330
  else
 
8331
    case $cross_compiling:$ac_tool_warned in
 
8332
yes:)
 
8333
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8334
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8335
ac_tool_warned=yes ;;
 
8336
esac
 
8337
    OTOOL64=$ac_ct_OTOOL64
 
8338
  fi
 
8339
else
 
8340
  OTOOL64="$ac_cv_prog_OTOOL64"
 
8341
fi
 
8342
 
 
8343
 
 
8344
 
 
8345
 
 
8346
 
 
8347
 
 
8348
 
 
8349
 
 
8350
 
 
8351
 
 
8352
 
 
8353
 
 
8354
 
 
8355
 
 
8356
 
 
8357
 
 
8358
 
 
8359
 
 
8360
 
 
8361
 
 
8362
 
 
8363
 
 
8364
 
 
8365
 
 
8366
 
 
8367
 
 
8368
 
 
8369
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
8370
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
8371
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
8372
  $as_echo_n "(cached) " >&6
 
8373
else
 
8374
  lt_cv_apple_cc_single_mod=no
 
8375
      if test -z "${LT_MULTI_MODULE}"; then
 
8376
        # By default we will add the -single_module flag. You can override
 
8377
        # by either setting the environment variable LT_MULTI_MODULE
 
8378
        # non-empty at configure time, or by adding -multi_module to the
 
8379
        # link flags.
 
8380
        rm -rf libconftest.dylib*
 
8381
        echo "int foo(void){return 1;}" > conftest.c
 
8382
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8383
-dynamiclib -Wl,-single_module conftest.c" >&5
 
8384
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8385
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
8386
        _lt_result=$?
 
8387
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
8388
          lt_cv_apple_cc_single_mod=yes
 
8389
        else
 
8390
          cat conftest.err >&5
 
8391
        fi
 
8392
        rm -rf libconftest.dylib*
 
8393
        rm -f conftest.*
 
8394
      fi
 
8395
fi
 
8396
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
8397
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
8398
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
8399
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
8400
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
8401
  $as_echo_n "(cached) " >&6
 
8402
else
 
8403
  lt_cv_ld_exported_symbols_list=no
 
8404
      save_LDFLAGS=$LDFLAGS
 
8405
      echo "_main" > conftest.sym
 
8406
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
8407
      cat >conftest.$ac_ext <<_ACEOF
 
8408
/* confdefs.h.  */
 
8409
_ACEOF
 
8410
cat confdefs.h >>conftest.$ac_ext
 
8411
cat >>conftest.$ac_ext <<_ACEOF
 
8412
/* end confdefs.h.  */
 
8413
 
 
8414
int
 
8415
main ()
 
8416
{
 
8417
 
 
8418
  ;
 
8419
  return 0;
 
8420
}
 
8421
_ACEOF
 
8422
rm -f conftest.$ac_objext conftest$ac_exeext
 
8423
if { (ac_try="$ac_link"
 
8424
case "(($ac_try" in
 
8425
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8426
  *) ac_try_echo=$ac_try;;
 
8427
esac
 
8428
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8429
$as_echo "$ac_try_echo") >&5
 
8430
  (eval "$ac_link") 2>conftest.er1
 
8431
  ac_status=$?
 
8432
  grep -v '^ *+' conftest.er1 >conftest.err
 
8433
  rm -f conftest.er1
 
8434
  cat conftest.err >&5
 
8435
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8436
  (exit $ac_status); } && {
 
8437
         test -z "$ac_c_werror_flag" ||
 
8438
         test ! -s conftest.err
 
8439
       } && test -s conftest$ac_exeext && {
 
8440
         test "$cross_compiling" = yes ||
 
8441
         $as_test_x conftest$ac_exeext
 
8442
       }; then
 
8443
  lt_cv_ld_exported_symbols_list=yes
 
8444
else
 
8445
  $as_echo "$as_me: failed program was:" >&5
 
8446
sed 's/^/| /' conftest.$ac_ext >&5
 
8447
 
 
8448
        lt_cv_ld_exported_symbols_list=no
 
8449
fi
 
8450
 
 
8451
rm -rf conftest.dSYM
 
8452
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8453
      conftest$ac_exeext conftest.$ac_ext
 
8454
        LDFLAGS="$save_LDFLAGS"
 
8455
 
 
8456
fi
 
8457
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
8458
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
8459
    case $host_os in
 
8460
    rhapsody* | darwin1.[012])
 
8461
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
8462
    darwin1.*)
 
8463
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8464
    darwin*) # darwin 5.x on
 
8465
      # if running on 10.5 or later, the deployment target defaults
 
8466
      # to the OS version, if on x86, and 10.4, the deployment
 
8467
      # target defaults to 10.4. Don't you love it?
 
8468
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
8469
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
8470
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8471
        10.[012]*)
 
8472
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8473
        10.*)
 
8474
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8475
      esac
 
8476
    ;;
 
8477
  esac
 
8478
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
8479
      _lt_dar_single_mod='$single_module'
 
8480
    fi
 
8481
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
8482
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
8483
    else
 
8484
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8485
    fi
 
8486
    if test "$DSYMUTIL" != ":"; then
 
8487
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
8488
    else
 
8489
      _lt_dsymutil=
 
8490
    fi
 
8491
    ;;
 
8492
  esac
 
8493
 
 
8494
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
8495
 
 
8496
 
 
8497
 
 
8498
 
 
8499
 
 
8500
 
 
8501
 
 
8502
 
 
8503
 
 
8504
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
8505
                  inttypes.h stdint.h unistd.h
 
8506
do
 
8507
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
8508
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8509
$as_echo_n "checking for $ac_header... " >&6; }
 
8510
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
8511
  $as_echo_n "(cached) " >&6
 
8512
else
 
8513
  cat >conftest.$ac_ext <<_ACEOF
 
8514
/* confdefs.h.  */
 
8515
_ACEOF
 
8516
cat confdefs.h >>conftest.$ac_ext
 
8517
cat >>conftest.$ac_ext <<_ACEOF
 
8518
/* end confdefs.h.  */
 
8519
$ac_includes_default
 
8520
 
 
8521
#include <$ac_header>
 
8522
_ACEOF
 
8523
rm -f conftest.$ac_objext
 
8524
if { (ac_try="$ac_compile"
 
8525
case "(($ac_try" in
 
8526
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8527
  *) ac_try_echo=$ac_try;;
 
8528
esac
 
8529
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8530
$as_echo "$ac_try_echo") >&5
 
8531
  (eval "$ac_compile") 2>conftest.er1
 
8532
  ac_status=$?
 
8533
  grep -v '^ *+' conftest.er1 >conftest.err
 
8534
  rm -f conftest.er1
 
8535
  cat conftest.err >&5
 
8536
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8537
  (exit $ac_status); } && {
 
8538
         test -z "$ac_c_werror_flag" ||
 
8539
         test ! -s conftest.err
 
8540
       } && test -s conftest.$ac_objext; then
 
8541
  eval "$as_ac_Header=yes"
 
8542
else
 
8543
  $as_echo "$as_me: failed program was:" >&5
 
8544
sed 's/^/| /' conftest.$ac_ext >&5
 
8545
 
 
8546
        eval "$as_ac_Header=no"
 
8547
fi
 
8548
 
 
8549
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8550
fi
 
8551
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
8552
                 $as_echo "$as_val"'`
 
8553
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
8554
$as_echo "$ac_res" >&6; }
 
8555
as_val=`eval 'as_val=${'$as_ac_Header'}
 
8556
                 $as_echo "$as_val"'`
 
8557
   if test "x$as_val" = x""yes; then
 
8558
  cat >>confdefs.h <<_ACEOF
 
8559
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8560
_ACEOF
 
8561
 
 
8562
fi
 
8563
 
 
8564
done
 
8565
 
 
8566
 
 
8567
 
 
8568
for ac_header in dlfcn.h
 
8569
do
 
8570
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
8571
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8572
$as_echo_n "checking for $ac_header... " >&6; }
 
8573
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
8574
  $as_echo_n "(cached) " >&6
 
8575
else
 
8576
  cat >conftest.$ac_ext <<_ACEOF
 
8577
/* confdefs.h.  */
 
8578
_ACEOF
 
8579
cat confdefs.h >>conftest.$ac_ext
 
8580
cat >>conftest.$ac_ext <<_ACEOF
 
8581
/* end confdefs.h.  */
 
8582
$ac_includes_default
 
8583
 
 
8584
#include <$ac_header>
 
8585
_ACEOF
 
8586
rm -f conftest.$ac_objext
 
8587
if { (ac_try="$ac_compile"
 
8588
case "(($ac_try" in
 
8589
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8590
  *) ac_try_echo=$ac_try;;
 
8591
esac
 
8592
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8593
$as_echo "$ac_try_echo") >&5
 
8594
  (eval "$ac_compile") 2>conftest.er1
 
8595
  ac_status=$?
 
8596
  grep -v '^ *+' conftest.er1 >conftest.err
 
8597
  rm -f conftest.er1
 
8598
  cat conftest.err >&5
 
8599
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8600
  (exit $ac_status); } && {
 
8601
         test -z "$ac_c_werror_flag" ||
 
8602
         test ! -s conftest.err
 
8603
       } && test -s conftest.$ac_objext; then
 
8604
  eval "$as_ac_Header=yes"
 
8605
else
 
8606
  $as_echo "$as_me: failed program was:" >&5
 
8607
sed 's/^/| /' conftest.$ac_ext >&5
 
8608
 
 
8609
        eval "$as_ac_Header=no"
 
8610
fi
 
8611
 
 
8612
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8613
fi
 
8614
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
8615
                 $as_echo "$as_val"'`
 
8616
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
8617
$as_echo "$ac_res" >&6; }
 
8618
as_val=`eval 'as_val=${'$as_ac_Header'}
 
8619
                 $as_echo "$as_val"'`
 
8620
   if test "x$as_val" = x""yes; then
 
8621
  cat >>confdefs.h <<_ACEOF
 
8622
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8623
_ACEOF
 
8624
 
 
8625
fi
 
8626
 
 
8627
done
 
8628
 
 
8629
 
 
8630
 
 
8631
# Set options
 
8632
 
 
8633
 
 
8634
 
 
8635
        enable_dlopen=no
 
8636
 
 
8637
 
 
8638
  enable_win32_dll=no
 
8639
 
 
8640
 
 
8641
            # Check whether --enable-shared was given.
 
8642
if test "${enable_shared+set}" = set; then
 
8643
  enableval=$enable_shared; p=${PACKAGE-default}
 
8644
    case $enableval in
 
8645
    yes) enable_shared=yes ;;
 
8646
    no) enable_shared=no ;;
 
8647
    *)
 
8648
      enable_shared=no
 
8649
      # Look at the argument we got.  We use all the common list separators.
 
8650
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8651
      for pkg in $enableval; do
 
8652
        IFS="$lt_save_ifs"
 
8653
        if test "X$pkg" = "X$p"; then
 
8654
          enable_shared=yes
 
8655
        fi
 
8656
      done
 
8657
      IFS="$lt_save_ifs"
 
8658
      ;;
 
8659
    esac
 
8660
else
 
8661
  enable_shared=yes
 
8662
fi
 
8663
 
 
8664
 
 
8665
 
 
8666
 
 
8667
 
 
8668
 
 
8669
 
 
8670
 
 
8671
 
 
8672
  # Check whether --enable-static was given.
 
8673
if test "${enable_static+set}" = set; then
 
8674
  enableval=$enable_static; p=${PACKAGE-default}
 
8675
    case $enableval in
 
8676
    yes) enable_static=yes ;;
 
8677
    no) enable_static=no ;;
 
8678
    *)
 
8679
     enable_static=no
 
8680
      # Look at the argument we got.  We use all the common list separators.
 
8681
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8682
      for pkg in $enableval; do
 
8683
        IFS="$lt_save_ifs"
 
8684
        if test "X$pkg" = "X$p"; then
 
8685
          enable_static=yes
 
8686
        fi
 
8687
      done
 
8688
      IFS="$lt_save_ifs"
 
8689
      ;;
 
8690
    esac
 
8691
else
 
8692
  enable_static=yes
 
8693
fi
 
8694
 
 
8695
 
 
8696
 
 
8697
 
 
8698
 
 
8699
 
 
8700
 
 
8701
 
 
8702
 
 
8703
 
 
8704
# Check whether --with-pic was given.
 
8705
if test "${with_pic+set}" = set; then
 
8706
  withval=$with_pic; pic_mode="$withval"
 
8707
else
 
8708
  pic_mode=default
 
8709
fi
 
8710
 
 
8711
 
 
8712
test -z "$pic_mode" && pic_mode=default
 
8713
 
 
8714
 
 
8715
 
 
8716
 
 
8717
 
 
8718
 
 
8719
 
 
8720
  # Check whether --enable-fast-install was given.
 
8721
if test "${enable_fast_install+set}" = set; then
 
8722
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
8723
    case $enableval in
 
8724
    yes) enable_fast_install=yes ;;
 
8725
    no) enable_fast_install=no ;;
 
8726
    *)
 
8727
      enable_fast_install=no
 
8728
      # Look at the argument we got.  We use all the common list separators.
 
8729
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8730
      for pkg in $enableval; do
 
8731
        IFS="$lt_save_ifs"
 
8732
        if test "X$pkg" = "X$p"; then
 
8733
          enable_fast_install=yes
 
8734
        fi
 
8735
      done
 
8736
      IFS="$lt_save_ifs"
 
8737
      ;;
 
8738
    esac
 
8739
else
 
8740
  enable_fast_install=yes
 
8741
fi
 
8742
 
 
8743
 
 
8744
 
 
8745
 
 
8746
 
 
8747
 
 
8748
 
 
8749
 
 
8750
 
 
8751
 
 
8752
 
 
8753
# This can be used to rebuild libtool when needed
 
8754
LIBTOOL_DEPS="$ltmain"
 
8755
 
 
8756
# Always use our own libtool.
 
8757
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
8758
 
 
8759
 
 
8760
 
 
8761
 
 
8762
 
 
8763
 
 
8764
 
 
8765
 
 
8766
 
 
8767
 
 
8768
 
 
8769
 
 
8770
 
 
8771
 
 
8772
 
 
8773
 
 
8774
 
 
8775
 
 
8776
 
 
8777
 
 
8778
 
 
8779
 
 
8780
 
 
8781
 
 
8782
 
 
8783
test -z "$LN_S" && LN_S="ln -s"
 
8784
 
 
8785
 
 
8786
 
 
8787
 
 
8788
 
 
8789
 
 
8790
 
 
8791
 
 
8792
 
 
8793
 
 
8794
 
 
8795
 
 
8796
 
 
8797
 
 
8798
if test -n "${ZSH_VERSION+set}" ; then
 
8799
   setopt NO_GLOB_SUBST
 
8800
fi
 
8801
 
 
8802
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8803
$as_echo_n "checking for objdir... " >&6; }
8058
8804
if test "${lt_cv_objdir+set}" = set; then
8059
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8805
  $as_echo_n "(cached) " >&6
8060
8806
else
8061
8807
  rm -f .libs 2>/dev/null
8062
8808
mkdir .libs 2>/dev/null
8068
8814
fi
8069
8815
rmdir .libs 2>/dev/null
8070
8816
fi
8071
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8072
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
8817
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8818
$as_echo "$lt_cv_objdir" >&6; }
8073
8819
objdir=$lt_cv_objdir
8074
8820
 
8075
8821
 
8076
8822
 
8077
8823
 
8078
8824
 
 
8825
cat >>confdefs.h <<_ACEOF
 
8826
#define LT_OBJDIR "$lt_cv_objdir/"
 
8827
_ACEOF
 
8828
 
 
8829
 
 
8830
 
 
8831
 
 
8832
 
 
8833
 
 
8834
 
 
8835
 
 
8836
 
 
8837
 
 
8838
 
 
8839
 
 
8840
 
 
8841
 
 
8842
 
 
8843
 
 
8844
 
8079
8845
case $host_os in
8080
8846
aix3*)
8081
8847
  # AIX sometimes has problems with the GCC collect2 program.  For some
8090
8856
 
8091
8857
# Sed substitution that helps us do robust quoting.  It backslashifies
8092
8858
# metacharacters that are still active within double-quoted strings.
8093
 
Xsed='sed -e 1s/^X//'
8094
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 
8859
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8095
8860
 
8096
8861
# Same as above, but do not quote variable references.
8097
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 
8862
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8098
8863
 
8099
8864
# Sed substitution to delay expansion of an escaped shell variable in a
8100
8865
# double_quote_subst'ed string.
8101
8866
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8102
8867
 
 
8868
# Sed substitution to delay expansion of an escaped single quote.
 
8869
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
8870
 
8103
8871
# Sed substitution to avoid accidental globbing in evaled expressions
8104
8872
no_glob_subst='s/\*/\\\*/g'
8105
8873
 
8106
 
# Constants:
8107
 
rm="rm -f"
8108
 
 
8109
8874
# Global variables:
8110
 
default_ofile=libtool
 
8875
ofile=libtool
8111
8876
can_build_shared=yes
8112
8877
 
8113
8878
# All known linkers require a `.a' archive for static linking (except MSVC,
8114
8879
# which needs '.lib').
8115
8880
libext=a
8116
 
ltmain="$ac_aux_dir/ltmain.sh"
8117
 
ofile="$default_ofile"
 
8881
 
8118
8882
with_gnu_ld="$lt_cv_prog_gnu_ld"
8119
8883
 
8120
 
if test -n "$ac_tool_prefix"; then
8121
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8122
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
8123
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8124
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8125
 
if test "${ac_cv_prog_AR+set}" = set; then
8126
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8127
 
else
8128
 
  if test -n "$AR"; then
8129
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
8130
 
else
8131
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8132
 
for as_dir in $PATH
8133
 
do
8134
 
  IFS=$as_save_IFS
8135
 
  test -z "$as_dir" && as_dir=.
8136
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8137
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8138
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
8139
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8140
 
    break 2
8141
 
  fi
8142
 
done
8143
 
done
8144
 
IFS=$as_save_IFS
8145
 
 
8146
 
fi
8147
 
fi
8148
 
AR=$ac_cv_prog_AR
8149
 
if test -n "$AR"; then
8150
 
  { echo "$as_me:$LINENO: result: $AR" >&5
8151
 
echo "${ECHO_T}$AR" >&6; }
8152
 
else
8153
 
  { echo "$as_me:$LINENO: result: no" >&5
8154
 
echo "${ECHO_T}no" >&6; }
8155
 
fi
8156
 
 
8157
 
 
8158
 
fi
8159
 
if test -z "$ac_cv_prog_AR"; then
8160
 
  ac_ct_AR=$AR
8161
 
  # Extract the first word of "ar", so it can be a program name with args.
8162
 
set dummy ar; ac_word=$2
8163
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8164
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8165
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8166
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8167
 
else
8168
 
  if test -n "$ac_ct_AR"; then
8169
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8170
 
else
8171
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8172
 
for as_dir in $PATH
8173
 
do
8174
 
  IFS=$as_save_IFS
8175
 
  test -z "$as_dir" && as_dir=.
8176
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8177
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8178
 
    ac_cv_prog_ac_ct_AR="ar"
8179
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8180
 
    break 2
8181
 
  fi
8182
 
done
8183
 
done
8184
 
IFS=$as_save_IFS
8185
 
 
8186
 
fi
8187
 
fi
8188
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
8189
 
if test -n "$ac_ct_AR"; then
8190
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8191
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
8192
 
else
8193
 
  { echo "$as_me:$LINENO: result: no" >&5
8194
 
echo "${ECHO_T}no" >&6; }
8195
 
fi
8196
 
 
8197
 
  if test "x$ac_ct_AR" = x; then
8198
 
    AR="false"
8199
 
  else
8200
 
    case $cross_compiling:$ac_tool_warned in
8201
 
yes:)
8202
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8203
 
whose name does not start with the host triplet.  If you think this
8204
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8205
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8206
 
whose name does not start with the host triplet.  If you think this
8207
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8208
 
ac_tool_warned=yes ;;
8209
 
esac
8210
 
    AR=$ac_ct_AR
8211
 
  fi
8212
 
else
8213
 
  AR="$ac_cv_prog_AR"
8214
 
fi
8215
 
 
8216
 
if test -n "$ac_tool_prefix"; then
8217
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8218
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8219
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8220
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8221
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
8222
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8223
 
else
8224
 
  if test -n "$RANLIB"; then
8225
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8226
 
else
8227
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8228
 
for as_dir in $PATH
8229
 
do
8230
 
  IFS=$as_save_IFS
8231
 
  test -z "$as_dir" && as_dir=.
8232
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8233
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8234
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8235
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8236
 
    break 2
8237
 
  fi
8238
 
done
8239
 
done
8240
 
IFS=$as_save_IFS
8241
 
 
8242
 
fi
8243
 
fi
8244
 
RANLIB=$ac_cv_prog_RANLIB
8245
 
if test -n "$RANLIB"; then
8246
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
8247
 
echo "${ECHO_T}$RANLIB" >&6; }
8248
 
else
8249
 
  { echo "$as_me:$LINENO: result: no" >&5
8250
 
echo "${ECHO_T}no" >&6; }
8251
 
fi
8252
 
 
8253
 
 
8254
 
fi
8255
 
if test -z "$ac_cv_prog_RANLIB"; then
8256
 
  ac_ct_RANLIB=$RANLIB
8257
 
  # Extract the first word of "ranlib", so it can be a program name with args.
8258
 
set dummy ranlib; ac_word=$2
8259
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8260
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8261
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8262
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8263
 
else
8264
 
  if test -n "$ac_ct_RANLIB"; then
8265
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8266
 
else
8267
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8268
 
for as_dir in $PATH
8269
 
do
8270
 
  IFS=$as_save_IFS
8271
 
  test -z "$as_dir" && as_dir=.
8272
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8273
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8274
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
8275
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8276
 
    break 2
8277
 
  fi
8278
 
done
8279
 
done
8280
 
IFS=$as_save_IFS
8281
 
 
8282
 
fi
8283
 
fi
8284
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8285
 
if test -n "$ac_ct_RANLIB"; then
8286
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8287
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8288
 
else
8289
 
  { echo "$as_me:$LINENO: result: no" >&5
8290
 
echo "${ECHO_T}no" >&6; }
8291
 
fi
8292
 
 
8293
 
  if test "x$ac_ct_RANLIB" = x; then
8294
 
    RANLIB=":"
8295
 
  else
8296
 
    case $cross_compiling:$ac_tool_warned in
8297
 
yes:)
8298
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8299
 
whose name does not start with the host triplet.  If you think this
8300
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8301
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8302
 
whose name does not start with the host triplet.  If you think this
8303
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8304
 
ac_tool_warned=yes ;;
8305
 
esac
8306
 
    RANLIB=$ac_ct_RANLIB
8307
 
  fi
8308
 
else
8309
 
  RANLIB="$ac_cv_prog_RANLIB"
8310
 
fi
8311
 
 
8312
 
if test -n "$ac_tool_prefix"; then
8313
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8314
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
8315
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8316
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8317
 
if test "${ac_cv_prog_STRIP+set}" = set; then
8318
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8319
 
else
8320
 
  if test -n "$STRIP"; then
8321
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8322
 
else
8323
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8324
 
for as_dir in $PATH
8325
 
do
8326
 
  IFS=$as_save_IFS
8327
 
  test -z "$as_dir" && as_dir=.
8328
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8329
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8330
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8331
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8332
 
    break 2
8333
 
  fi
8334
 
done
8335
 
done
8336
 
IFS=$as_save_IFS
8337
 
 
8338
 
fi
8339
 
fi
8340
 
STRIP=$ac_cv_prog_STRIP
8341
 
if test -n "$STRIP"; then
8342
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
8343
 
echo "${ECHO_T}$STRIP" >&6; }
8344
 
else
8345
 
  { echo "$as_me:$LINENO: result: no" >&5
8346
 
echo "${ECHO_T}no" >&6; }
8347
 
fi
8348
 
 
8349
 
 
8350
 
fi
8351
 
if test -z "$ac_cv_prog_STRIP"; then
8352
 
  ac_ct_STRIP=$STRIP
8353
 
  # Extract the first word of "strip", so it can be a program name with args.
8354
 
set dummy strip; ac_word=$2
8355
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8356
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8357
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8358
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8359
 
else
8360
 
  if test -n "$ac_ct_STRIP"; then
8361
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8362
 
else
8363
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8364
 
for as_dir in $PATH
8365
 
do
8366
 
  IFS=$as_save_IFS
8367
 
  test -z "$as_dir" && as_dir=.
8368
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8369
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8370
 
    ac_cv_prog_ac_ct_STRIP="strip"
8371
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8372
 
    break 2
8373
 
  fi
8374
 
done
8375
 
done
8376
 
IFS=$as_save_IFS
8377
 
 
8378
 
fi
8379
 
fi
8380
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8381
 
if test -n "$ac_ct_STRIP"; then
8382
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8383
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8384
 
else
8385
 
  { echo "$as_me:$LINENO: result: no" >&5
8386
 
echo "${ECHO_T}no" >&6; }
8387
 
fi
8388
 
 
8389
 
  if test "x$ac_ct_STRIP" = x; then
8390
 
    STRIP=":"
8391
 
  else
8392
 
    case $cross_compiling:$ac_tool_warned in
8393
 
yes:)
8394
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8395
 
whose name does not start with the host triplet.  If you think this
8396
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8397
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8398
 
whose name does not start with the host triplet.  If you think this
8399
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8400
 
ac_tool_warned=yes ;;
8401
 
esac
8402
 
    STRIP=$ac_ct_STRIP
8403
 
  fi
8404
 
else
8405
 
  STRIP="$ac_cv_prog_STRIP"
8406
 
fi
8407
 
 
8408
 
 
8409
8884
old_CC="$CC"
8410
8885
old_CFLAGS="$CFLAGS"
8411
8886
 
8412
8887
# Set sane defaults for various variables
8413
 
test -z "$AR" && AR=ar
8414
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
8415
 
test -z "$AS" && AS=as
8416
8888
test -z "$CC" && CC=cc
8417
8889
test -z "$LTCC" && LTCC=$CC
8418
8890
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8419
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
8420
8891
test -z "$LD" && LD=ld
8421
 
test -z "$LN_S" && LN_S="ln -s"
8422
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8423
 
test -z "$NM" && NM=nm
8424
 
test -z "$SED" && SED=sed
8425
 
test -z "$OBJDUMP" && OBJDUMP=objdump
8426
 
test -z "$RANLIB" && RANLIB=:
8427
 
test -z "$STRIP" && STRIP=:
8428
8892
test -z "$ac_objext" && ac_objext=o
8429
8893
 
8430
 
# Determine commands to create old-style static archives.
8431
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8432
 
old_postinstall_cmds='chmod 644 $oldlib'
8433
 
old_postuninstall_cmds=
8434
 
 
8435
 
if test -n "$RANLIB"; then
8436
 
  case $host_os in
8437
 
  openbsd*)
8438
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8439
 
    ;;
8440
 
  *)
8441
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8442
 
    ;;
8443
 
  esac
8444
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8445
 
fi
8446
 
 
8447
8894
for cc_temp in $compiler""; do
8448
8895
  case $cc_temp in
8449
8896
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8452
8899
    *) break;;
8453
8900
  esac
8454
8901
done
8455
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8902
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8456
8903
 
8457
8904
 
8458
8905
# Only perform the check for file, if the check method requires it
 
8906
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8459
8907
case $deplibs_check_method in
8460
8908
file_magic*)
8461
8909
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8462
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8463
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
 
8910
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8911
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8464
8912
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8465
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8913
  $as_echo_n "(cached) " >&6
8466
8914
else
8467
8915
  case $MAGIC_CMD in
8468
8916
[\\/*] |  ?:[\\/]*)
8486
8934
            $EGREP "$file_magic_regex" > /dev/null; then
8487
8935
            :
8488
8936
          else
8489
 
            cat <<EOF 1>&2
 
8937
            cat <<_LT_EOF 1>&2
8490
8938
 
8491
8939
*** Warning: the command libtool uses to detect shared libraries,
8492
8940
*** $file_magic_cmd, produces output that libtool cannot recognize.
8497
8945
*** may want to report the problem to your system manager and/or to
8498
8946
*** bug-libtool@gnu.org
8499
8947
 
8500
 
EOF
 
8948
_LT_EOF
8501
8949
          fi ;;
8502
8950
        esac
8503
8951
      fi
8512
8960
 
8513
8961
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8514
8962
if test -n "$MAGIC_CMD"; then
8515
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8516
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
8963
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8964
$as_echo "$MAGIC_CMD" >&6; }
8517
8965
else
8518
 
  { echo "$as_me:$LINENO: result: no" >&5
8519
 
echo "${ECHO_T}no" >&6; }
 
8966
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8967
$as_echo "no" >&6; }
8520
8968
fi
8521
8969
 
 
8970
 
 
8971
 
 
8972
 
 
8973
 
8522
8974
if test -z "$lt_cv_path_MAGIC_CMD"; then
8523
8975
  if test -n "$ac_tool_prefix"; then
8524
 
    { echo "$as_me:$LINENO: checking for file" >&5
8525
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
 
8976
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8977
$as_echo_n "checking for file... " >&6; }
8526
8978
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8527
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8979
  $as_echo_n "(cached) " >&6
8528
8980
else
8529
8981
  case $MAGIC_CMD in
8530
8982
[\\/*] |  ?:[\\/]*)
8548
9000
            $EGREP "$file_magic_regex" > /dev/null; then
8549
9001
            :
8550
9002
          else
8551
 
            cat <<EOF 1>&2
 
9003
            cat <<_LT_EOF 1>&2
8552
9004
 
8553
9005
*** Warning: the command libtool uses to detect shared libraries,
8554
9006
*** $file_magic_cmd, produces output that libtool cannot recognize.
8559
9011
*** may want to report the problem to your system manager and/or to
8560
9012
*** bug-libtool@gnu.org
8561
9013
 
8562
 
EOF
 
9014
_LT_EOF
8563
9015
          fi ;;
8564
9016
        esac
8565
9017
      fi
8574
9026
 
8575
9027
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8576
9028
if test -n "$MAGIC_CMD"; then
8577
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8578
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
9029
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
9030
$as_echo "$MAGIC_CMD" >&6; }
8579
9031
else
8580
 
  { echo "$as_me:$LINENO: result: no" >&5
8581
 
echo "${ECHO_T}no" >&6; }
 
9032
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9033
$as_echo "no" >&6; }
8582
9034
fi
8583
9035
 
 
9036
 
8584
9037
  else
8585
9038
    MAGIC_CMD=:
8586
9039
  fi
8590
9043
  ;;
8591
9044
esac
8592
9045
 
8593
 
enable_dlopen=no
8594
 
enable_win32_dll=no
8595
 
 
8596
 
# Check whether --enable-libtool-lock was given.
8597
 
if test "${enable_libtool_lock+set}" = set; then
8598
 
  enableval=$enable_libtool_lock;
8599
 
fi
8600
 
 
8601
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8602
 
 
8603
 
 
8604
 
# Check whether --with-pic was given.
8605
 
if test "${with_pic+set}" = set; then
8606
 
  withval=$with_pic; pic_mode="$withval"
8607
 
else
8608
 
  pic_mode=default
8609
 
fi
8610
 
 
8611
 
test -z "$pic_mode" && pic_mode=default
8612
 
 
8613
9046
# Use C for the default configuration in the libtool script
8614
 
tagname=
 
9047
 
8615
9048
lt_save_CC="$CC"
8616
9049
ac_ext=c
8617
9050
ac_cpp='$CPP $CPPFLAGS'
8634
9067
lt_simple_link_test_code='int main(){return(0);}'
8635
9068
 
8636
9069
 
 
9070
 
 
9071
 
 
9072
 
 
9073
 
 
9074
 
8637
9075
# If no C compiler was specified, use CC.
8638
9076
LTCC=${LTCC-"$CC"}
8639
9077
 
8643
9081
# Allow CC to be a program name with arguments.
8644
9082
compiler=$CC
8645
9083
 
 
9084
# Save the default compiler, since it gets overwritten when the other
 
9085
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
9086
compiler_DEFAULT=$CC
8646
9087
 
8647
9088
# save warnings/boilerplate of simple test code
8648
9089
ac_outfile=conftest.$ac_objext
8649
9090
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8650
9091
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8651
9092
_lt_compiler_boilerplate=`cat conftest.err`
8652
 
$rm conftest*
 
9093
$RM conftest*
8653
9094
 
8654
9095
ac_outfile=conftest.$ac_objext
8655
9096
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8656
9097
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8657
9098
_lt_linker_boilerplate=`cat conftest.err`
8658
 
$rm conftest*
8659
 
 
8660
 
 
 
9099
$RM -r conftest*
 
9100
 
 
9101
 
 
9102
if test -n "$compiler"; then
8661
9103
 
8662
9104
lt_prog_compiler_no_builtin_flag=
8663
9105
 
8664
9106
if test "$GCC" = yes; then
8665
9107
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8666
9108
 
8667
 
 
8668
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8669
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
9109
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
9110
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8670
9111
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8671
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9112
  $as_echo_n "(cached) " >&6
8672
9113
else
8673
9114
  lt_cv_prog_compiler_rtti_exceptions=no
8674
 
  ac_outfile=conftest.$ac_objext
 
9115
   ac_outfile=conftest.$ac_objext
8675
9116
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8676
9117
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8677
9118
   # Insert the option either (1) after the last *FLAGS variable, or
8683
9124
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8684
9125
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8685
9126
   -e 's:$: $lt_compiler_flag:'`
8686
 
   (eval echo "\"\$as_me:8686: $lt_compile\"" >&5)
 
9127
   (eval echo "\"\$as_me:9127: $lt_compile\"" >&5)
8687
9128
   (eval "$lt_compile" 2>conftest.err)
8688
9129
   ac_status=$?
8689
9130
   cat conftest.err >&5
8690
 
   echo "$as_me:8690: \$? = $ac_status" >&5
 
9131
   echo "$as_me:9131: \$? = $ac_status" >&5
8691
9132
   if (exit $ac_status) && test -s "$ac_outfile"; then
8692
9133
     # The compiler can only warn and ignore the option if not recognized
8693
9134
     # So say no if there are warnings other than the usual output.
8694
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9135
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8695
9136
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8696
9137
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8697
9138
       lt_cv_prog_compiler_rtti_exceptions=yes
8698
9139
     fi
8699
9140
   fi
8700
 
   $rm conftest*
 
9141
   $RM conftest*
8701
9142
 
8702
9143
fi
8703
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8704
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
9144
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
9145
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8705
9146
 
8706
9147
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8707
9148
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8711
9152
 
8712
9153
fi
8713
9154
 
8714
 
lt_prog_compiler_wl=
 
9155
 
 
9156
 
 
9157
 
 
9158
 
 
9159
 
 
9160
  lt_prog_compiler_wl=
8715
9161
lt_prog_compiler_pic=
8716
9162
lt_prog_compiler_static=
8717
9163
 
8718
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8719
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
9164
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
9165
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8720
9166
 
8721
9167
  if test "$GCC" = yes; then
8722
9168
    lt_prog_compiler_wl='-Wl,'
8732
9178
      ;;
8733
9179
 
8734
9180
    amigaos*)
8735
 
      # FIXME: we need at least 68020 code to build shared libraries, but
8736
 
      # adding the `-m68020' flag to GCC prevents building anything better,
8737
 
      # like `-m68040'.
8738
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
9181
      case $host_cpu in
 
9182
      powerpc)
 
9183
            # see comment about AmigaOS4 .so support
 
9184
            lt_prog_compiler_pic='-fPIC'
 
9185
        ;;
 
9186
      m68k)
 
9187
            # FIXME: we need at least 68020 code to build shared libraries, but
 
9188
            # adding the `-m68020' flag to GCC prevents building anything better,
 
9189
            # like `-m68040'.
 
9190
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
9191
        ;;
 
9192
      esac
8739
9193
      ;;
8740
9194
 
8741
9195
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8742
9196
      # PIC is the default for these OSes.
8743
9197
      ;;
8744
9198
 
8745
 
    mingw* | cygwin* | pw32* | os2*)
 
9199
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8746
9200
      # This hack is so that the source file can tell whether it is being
8747
9201
      # built for inclusion in a dll (and should export symbols for example).
8748
9202
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8756
9210
      lt_prog_compiler_pic='-fno-common'
8757
9211
      ;;
8758
9212
 
 
9213
    hpux*)
 
9214
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
9215
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
9216
      # sets the default TLS model and affects inlining.
 
9217
      case $host_cpu in
 
9218
      hppa*64*)
 
9219
        # +Z the default
 
9220
        ;;
 
9221
      *)
 
9222
        lt_prog_compiler_pic='-fPIC'
 
9223
        ;;
 
9224
      esac
 
9225
      ;;
 
9226
 
8759
9227
    interix[3-9]*)
8760
9228
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8761
9229
      # Instead, we relocate shared libraries at runtime.
8768
9236
      enable_shared=no
8769
9237
      ;;
8770
9238
 
 
9239
    *nto* | *qnx*)
 
9240
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9241
      # it will coredump.
 
9242
      lt_prog_compiler_pic='-fPIC -shared'
 
9243
      ;;
 
9244
 
8771
9245
    sysv4*MP*)
8772
9246
      if test -d /usr/nec; then
8773
9247
        lt_prog_compiler_pic=-Kconform_pic
8774
9248
      fi
8775
9249
      ;;
8776
9250
 
8777
 
    hpux*)
8778
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8779
 
      # not for PA HP-UX.
8780
 
      case $host_cpu in
8781
 
      hppa*64*|ia64*)
8782
 
        # +Z the default
8783
 
        ;;
8784
 
      *)
8785
 
        lt_prog_compiler_pic='-fPIC'
8786
 
        ;;
8787
 
      esac
8788
 
      ;;
8789
 
 
8790
9251
    *)
8791
9252
      lt_prog_compiler_pic='-fPIC'
8792
9253
      ;;
8803
9264
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8804
9265
      fi
8805
9266
      ;;
8806
 
      darwin*)
8807
 
        # PIC is the default on this platform
8808
 
        # Common symbols not allowed in MH_DYLIB files
8809
 
       case $cc_basename in
8810
 
         xlc*)
8811
 
         lt_prog_compiler_pic='-qnocommon'
8812
 
         lt_prog_compiler_wl='-Wl,'
8813
 
         ;;
8814
 
       esac
8815
 
       ;;
8816
9267
 
8817
 
    mingw* | cygwin* | pw32* | os2*)
 
9268
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8818
9269
      # This hack is so that the source file can tell whether it is being
8819
9270
      # built for inclusion in a dll (and should export symbols for example).
8820
9271
      lt_prog_compiler_pic='-DDLL_EXPORT'
8842
9293
      lt_prog_compiler_static='-non_shared'
8843
9294
      ;;
8844
9295
 
8845
 
    newsos6)
8846
 
      lt_prog_compiler_pic='-KPIC'
8847
 
      lt_prog_compiler_static='-Bstatic'
8848
 
      ;;
8849
 
 
8850
9296
    linux* | k*bsd*-gnu)
8851
9297
      case $cc_basename in
8852
 
      icc* | ecc*)
 
9298
      # old Intel for x86_64 which still supported -KPIC.
 
9299
      ecc*)
8853
9300
        lt_prog_compiler_wl='-Wl,'
8854
9301
        lt_prog_compiler_pic='-KPIC'
8855
9302
        lt_prog_compiler_static='-static'
8856
9303
        ;;
 
9304
      # icc used to be incompatible with GCC.
 
9305
      # ICC 10 doesn't accept -KPIC any more.
 
9306
      icc* | ifort*)
 
9307
        lt_prog_compiler_wl='-Wl,'
 
9308
        lt_prog_compiler_pic='-fPIC'
 
9309
        lt_prog_compiler_static='-static'
 
9310
        ;;
 
9311
      # Lahey Fortran 8.1.
 
9312
      lf95*)
 
9313
        lt_prog_compiler_wl='-Wl,'
 
9314
        lt_prog_compiler_pic='--shared'
 
9315
        lt_prog_compiler_static='--static'
 
9316
        ;;
8857
9317
      pgcc* | pgf77* | pgf90* | pgf95*)
8858
9318
        # Portland Group compilers (*not* the Pentium gcc compiler,
8859
9319
        # which looks to be a dead project)
8866
9326
        # All Alpha code is PIC.
8867
9327
        lt_prog_compiler_static='-non_shared'
8868
9328
        ;;
 
9329
      xl*)
 
9330
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
9331
        lt_prog_compiler_wl='-Wl,'
 
9332
        lt_prog_compiler_pic='-qpic'
 
9333
        lt_prog_compiler_static='-qstaticlink'
 
9334
        ;;
8869
9335
      *)
8870
 
        case `$CC -V 2>&1 | sed 5q` in
 
9336
        case `$CC -V 2>&1 | sed 5q` in
8871
9337
        *Sun\ C*)
8872
9338
          # Sun C 5.9
8873
9339
          lt_prog_compiler_pic='-KPIC'
8885
9351
      esac
8886
9352
      ;;
8887
9353
 
 
9354
    newsos6)
 
9355
      lt_prog_compiler_pic='-KPIC'
 
9356
      lt_prog_compiler_static='-Bstatic'
 
9357
      ;;
 
9358
 
 
9359
    *nto* | *qnx*)
 
9360
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9361
      # it will coredump.
 
9362
      lt_prog_compiler_pic='-fPIC -shared'
 
9363
      ;;
 
9364
 
8888
9365
    osf3* | osf4* | osf5*)
8889
9366
      lt_prog_compiler_wl='-Wl,'
8890
9367
      # All OSF/1 code is PIC.
8947
9424
    esac
8948
9425
  fi
8949
9426
 
8950
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8951
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
9427
case $host_os in
 
9428
  # For platforms which do not support PIC, -DPIC is meaningless:
 
9429
  *djgpp*)
 
9430
    lt_prog_compiler_pic=
 
9431
    ;;
 
9432
  *)
 
9433
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
9434
    ;;
 
9435
esac
 
9436
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
9437
$as_echo "$lt_prog_compiler_pic" >&6; }
 
9438
 
 
9439
 
 
9440
 
 
9441
 
 
9442
 
8952
9443
 
8953
9444
#
8954
9445
# Check to make sure the PIC flag actually works.
8955
9446
#
8956
9447
if test -n "$lt_prog_compiler_pic"; then
8957
 
 
8958
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8959
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8960
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
8961
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9448
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9449
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
9450
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
9451
  $as_echo_n "(cached) " >&6
8962
9452
else
8963
 
  lt_prog_compiler_pic_works=no
8964
 
  ac_outfile=conftest.$ac_objext
 
9453
  lt_cv_prog_compiler_pic_works=no
 
9454
   ac_outfile=conftest.$ac_objext
8965
9455
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8966
9456
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8967
9457
   # Insert the option either (1) after the last *FLAGS variable, or
8973
9463
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8974
9464
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8975
9465
   -e 's:$: $lt_compiler_flag:'`
8976
 
   (eval echo "\"\$as_me:8976: $lt_compile\"" >&5)
 
9466
   (eval echo "\"\$as_me:9466: $lt_compile\"" >&5)
8977
9467
   (eval "$lt_compile" 2>conftest.err)
8978
9468
   ac_status=$?
8979
9469
   cat conftest.err >&5
8980
 
   echo "$as_me:8980: \$? = $ac_status" >&5
 
9470
   echo "$as_me:9470: \$? = $ac_status" >&5
8981
9471
   if (exit $ac_status) && test -s "$ac_outfile"; then
8982
9472
     # The compiler can only warn and ignore the option if not recognized
8983
9473
     # So say no if there are warnings other than the usual output.
8984
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9474
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8985
9475
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8986
9476
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8987
 
       lt_prog_compiler_pic_works=yes
 
9477
       lt_cv_prog_compiler_pic_works=yes
8988
9478
     fi
8989
9479
   fi
8990
 
   $rm conftest*
 
9480
   $RM conftest*
8991
9481
 
8992
9482
fi
8993
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8994
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
9483
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
9484
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8995
9485
 
8996
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
9486
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8997
9487
    case $lt_prog_compiler_pic in
8998
9488
     "" | " "*) ;;
8999
9489
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9004
9494
fi
9005
9495
 
9006
9496
fi
9007
 
case $host_os in
9008
 
  # For platforms which do not support PIC, -DPIC is meaningless:
9009
 
  *djgpp*)
9010
 
    lt_prog_compiler_pic=
9011
 
    ;;
9012
 
  *)
9013
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9014
 
    ;;
9015
 
esac
 
9497
 
 
9498
 
 
9499
 
 
9500
 
 
9501
 
9016
9502
 
9017
9503
#
9018
9504
# Check to make sure the static flag actually works.
9019
9505
#
9020
9506
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9021
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9022
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
9023
 
if test "${lt_prog_compiler_static_works+set}" = set; then
9024
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9507
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9508
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
9509
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
9510
  $as_echo_n "(cached) " >&6
9025
9511
else
9026
 
  lt_prog_compiler_static_works=no
 
9512
  lt_cv_prog_compiler_static_works=no
9027
9513
   save_LDFLAGS="$LDFLAGS"
9028
9514
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9029
9515
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9033
9519
     if test -s conftest.err; then
9034
9520
       # Append any errors to the config.log.
9035
9521
       cat conftest.err 1>&5
9036
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
9522
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9037
9523
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9038
9524
       if diff conftest.exp conftest.er2 >/dev/null; then
9039
 
         lt_prog_compiler_static_works=yes
 
9525
         lt_cv_prog_compiler_static_works=yes
9040
9526
       fi
9041
9527
     else
9042
 
       lt_prog_compiler_static_works=yes
 
9528
       lt_cv_prog_compiler_static_works=yes
9043
9529
     fi
9044
9530
   fi
9045
 
   $rm conftest*
 
9531
   $RM -r conftest*
9046
9532
   LDFLAGS="$save_LDFLAGS"
9047
9533
 
9048
9534
fi
9049
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9050
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
9535
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
9536
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9051
9537
 
9052
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
9538
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9053
9539
    :
9054
9540
else
9055
9541
    lt_prog_compiler_static=
9056
9542
fi
9057
9543
 
9058
9544
 
9059
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9060
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9061
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9062
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9063
 
else
9064
 
  lt_cv_prog_compiler_c_o=no
9065
 
   $rm -r conftest 2>/dev/null
9066
 
   mkdir conftest
9067
 
   cd conftest
9068
 
   mkdir out
9069
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9070
 
 
9071
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9072
 
   # Insert the option either (1) after the last *FLAGS variable, or
9073
 
   # (2) before a word containing "conftest.", or (3) at the end.
9074
 
   # Note that $ac_compile itself does not contain backslashes and begins
9075
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9076
 
   lt_compile=`echo "$ac_compile" | $SED \
9077
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9078
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9079
 
   -e 's:$: $lt_compiler_flag:'`
9080
 
   (eval echo "\"\$as_me:9080: $lt_compile\"" >&5)
9081
 
   (eval "$lt_compile" 2>out/conftest.err)
9082
 
   ac_status=$?
9083
 
   cat out/conftest.err >&5
9084
 
   echo "$as_me:9084: \$? = $ac_status" >&5
9085
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9086
 
   then
9087
 
     # The compiler can only warn and ignore the option if not recognized
9088
 
     # So say no if there are warnings
9089
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9090
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9091
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9092
 
       lt_cv_prog_compiler_c_o=yes
9093
 
     fi
9094
 
   fi
9095
 
   chmod u+w . 2>&5
9096
 
   $rm conftest*
9097
 
   # SGI C++ compiler will create directory out/ii_files/ for
9098
 
   # template instantiation
9099
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
9100
 
   $rm out/* && rmdir out
9101
 
   cd ..
9102
 
   rmdir conftest
9103
 
   $rm conftest*
9104
 
 
9105
 
fi
9106
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9107
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
9545
 
 
9546
 
 
9547
 
 
9548
 
 
9549
 
 
9550
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9551
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9552
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9553
  $as_echo_n "(cached) " >&6
 
9554
else
 
9555
  lt_cv_prog_compiler_c_o=no
 
9556
   $RM -r conftest 2>/dev/null
 
9557
   mkdir conftest
 
9558
   cd conftest
 
9559
   mkdir out
 
9560
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9561
 
 
9562
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9563
   # Insert the option either (1) after the last *FLAGS variable, or
 
9564
   # (2) before a word containing "conftest.", or (3) at the end.
 
9565
   # Note that $ac_compile itself does not contain backslashes and begins
 
9566
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9567
   lt_compile=`echo "$ac_compile" | $SED \
 
9568
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9569
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9570
   -e 's:$: $lt_compiler_flag:'`
 
9571
   (eval echo "\"\$as_me:9571: $lt_compile\"" >&5)
 
9572
   (eval "$lt_compile" 2>out/conftest.err)
 
9573
   ac_status=$?
 
9574
   cat out/conftest.err >&5
 
9575
   echo "$as_me:9575: \$? = $ac_status" >&5
 
9576
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9577
   then
 
9578
     # The compiler can only warn and ignore the option if not recognized
 
9579
     # So say no if there are warnings
 
9580
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9581
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9582
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9583
       lt_cv_prog_compiler_c_o=yes
 
9584
     fi
 
9585
   fi
 
9586
   chmod u+w . 2>&5
 
9587
   $RM conftest*
 
9588
   # SGI C++ compiler will create directory out/ii_files/ for
 
9589
   # template instantiation
 
9590
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9591
   $RM out/* && rmdir out
 
9592
   cd ..
 
9593
   $RM -r conftest
 
9594
   $RM conftest*
 
9595
 
 
9596
fi
 
9597
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9598
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9599
 
 
9600
 
 
9601
 
 
9602
 
 
9603
 
 
9604
 
 
9605
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9606
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9607
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9608
  $as_echo_n "(cached) " >&6
 
9609
else
 
9610
  lt_cv_prog_compiler_c_o=no
 
9611
   $RM -r conftest 2>/dev/null
 
9612
   mkdir conftest
 
9613
   cd conftest
 
9614
   mkdir out
 
9615
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9616
 
 
9617
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9618
   # Insert the option either (1) after the last *FLAGS variable, or
 
9619
   # (2) before a word containing "conftest.", or (3) at the end.
 
9620
   # Note that $ac_compile itself does not contain backslashes and begins
 
9621
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9622
   lt_compile=`echo "$ac_compile" | $SED \
 
9623
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9624
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9625
   -e 's:$: $lt_compiler_flag:'`
 
9626
   (eval echo "\"\$as_me:9626: $lt_compile\"" >&5)
 
9627
   (eval "$lt_compile" 2>out/conftest.err)
 
9628
   ac_status=$?
 
9629
   cat out/conftest.err >&5
 
9630
   echo "$as_me:9630: \$? = $ac_status" >&5
 
9631
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9632
   then
 
9633
     # The compiler can only warn and ignore the option if not recognized
 
9634
     # So say no if there are warnings
 
9635
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9636
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9637
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9638
       lt_cv_prog_compiler_c_o=yes
 
9639
     fi
 
9640
   fi
 
9641
   chmod u+w . 2>&5
 
9642
   $RM conftest*
 
9643
   # SGI C++ compiler will create directory out/ii_files/ for
 
9644
   # template instantiation
 
9645
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9646
   $RM out/* && rmdir out
 
9647
   cd ..
 
9648
   $RM -r conftest
 
9649
   $RM conftest*
 
9650
 
 
9651
fi
 
9652
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9653
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9654
 
 
9655
 
9108
9656
 
9109
9657
 
9110
9658
hard_links="nottested"
9111
9659
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9112
9660
  # do not overwrite the value of need_locks provided by the user
9113
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9114
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
9661
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
9662
$as_echo_n "checking if we can lock with hard links... " >&6; }
9115
9663
  hard_links=yes
9116
 
  $rm conftest*
 
9664
  $RM conftest*
9117
9665
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9118
9666
  touch conftest.a
9119
9667
  ln conftest.a conftest.b 2>&5 || hard_links=no
9120
9668
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9121
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
9122
 
echo "${ECHO_T}$hard_links" >&6; }
 
9669
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
9670
$as_echo "$hard_links" >&6; }
9123
9671
  if test "$hard_links" = no; then
9124
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9125
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
9672
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9673
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9126
9674
    need_locks=warn
9127
9675
  fi
9128
9676
else
9129
9677
  need_locks=no
9130
9678
fi
9131
9679
 
9132
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9133
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
9680
 
 
9681
 
 
9682
 
 
9683
 
 
9684
 
 
9685
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9686
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9134
9687
 
9135
9688
  runpath_var=
9136
9689
  allow_undefined_flag=
9137
 
  enable_shared_with_static_runtimes=no
 
9690
  always_export_symbols=no
9138
9691
  archive_cmds=
9139
9692
  archive_expsym_cmds=
9140
 
  old_archive_From_new_cmds=
9141
 
  old_archive_from_expsyms_cmds=
 
9693
  compiler_needs_object=no
 
9694
  enable_shared_with_static_runtimes=no
9142
9695
  export_dynamic_flag_spec=
9143
 
  whole_archive_flag_spec=
9144
 
  thread_safe_flag_spec=
 
9696
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9697
  hardcode_automatic=no
 
9698
  hardcode_direct=no
 
9699
  hardcode_direct_absolute=no
9145
9700
  hardcode_libdir_flag_spec=
9146
9701
  hardcode_libdir_flag_spec_ld=
9147
9702
  hardcode_libdir_separator=
9148
 
  hardcode_direct=no
9149
9703
  hardcode_minus_L=no
9150
9704
  hardcode_shlibpath_var=unsupported
 
9705
  inherit_rpath=no
9151
9706
  link_all_deplibs=unknown
9152
 
  hardcode_automatic=no
9153
9707
  module_cmds=
9154
9708
  module_expsym_cmds=
9155
 
  always_export_symbols=no
9156
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9709
  old_archive_from_new_cmds=
 
9710
  old_archive_from_expsyms_cmds=
 
9711
  thread_safe_flag_spec=
 
9712
  whole_archive_flag_spec=
9157
9713
  # include_expsyms should be a list of space-separated symbols to be *always*
9158
9714
  # included in the symbol list
9159
9715
  include_expsyms=
9161
9717
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9162
9718
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9163
9719
  # as well as any symbol that contains `d'.
9164
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
9720
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9165
9721
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9166
9722
  # platforms (ab)use it in PIC code, but their linkers get confused if
9167
9723
  # the symbol is explicitly referenced.  Since portable code cannot
9168
9724
  # rely on this symbol name, it's probably fine to never include it in
9169
9725
  # preloaded symbol tables.
 
9726
  # Exclude shared library initialization/finalization symbols.
9170
9727
  extract_expsyms_cmds=
9171
 
  # Just being paranoid about ensuring that cc_basename is set.
9172
 
  for cc_temp in $compiler""; do
9173
 
  case $cc_temp in
9174
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9175
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9176
 
    \-*) ;;
9177
 
    *) break;;
9178
 
  esac
9179
 
done
9180
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9181
9728
 
9182
9729
  case $host_os in
9183
 
  cygwin* | mingw* | pw32*)
 
9730
  cygwin* | mingw* | pw32* | cegcc*)
9184
9731
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9185
9732
    # When not using gcc, we currently assume that we are using
9186
9733
    # Microsoft Visual C++.
9206
9753
    # are reset later if shared libraries are not supported. Putting them
9207
9754
    # here allows them to be overridden if necessary.
9208
9755
    runpath_var=LD_RUN_PATH
9209
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
9756
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9210
9757
    export_dynamic_flag_spec='${wl}--export-dynamic'
9211
9758
    # ancient GNU ld didn't support --whole-archive et. al.
9212
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
9213
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9214
 
      else
9215
 
        whole_archive_flag_spec=
 
9759
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
9760
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9761
    else
 
9762
      whole_archive_flag_spec=
9216
9763
    fi
9217
9764
    supports_anon_versioning=no
9218
 
    case `$LD -v 2>/dev/null` in
 
9765
    case `$LD -v 2>&1` in
9219
9766
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9220
9767
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9221
9768
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9225
9772
 
9226
9773
    # See if GNU ld supports shared libraries.
9227
9774
    case $host_os in
9228
 
    aix3* | aix4* | aix5*)
 
9775
    aix[3-9]*)
9229
9776
      # On AIX/PPC, the GNU linker is very broken
9230
9777
      if test "$host_cpu" != ia64; then
9231
9778
        ld_shlibs=no
9232
 
        cat <<EOF 1>&2
 
9779
        cat <<_LT_EOF 1>&2
9233
9780
 
9234
9781
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9235
9782
*** to be unable to reliably create shared libraries on AIX.
9237
9784
*** really care for shared libraries, you may want to modify your PATH
9238
9785
*** so that a non-GNU linker is found, and then restart.
9239
9786
 
9240
 
EOF
 
9787
_LT_EOF
9241
9788
      fi
9242
9789
      ;;
9243
9790
 
9244
9791
    amigaos*)
9245
 
      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)'
9246
 
      hardcode_libdir_flag_spec='-L$libdir'
9247
 
      hardcode_minus_L=yes
9248
 
 
9249
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9250
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
9251
 
      # to version 4, is to share data among multiple programs linked
9252
 
      # with the same dynamic library.  Since this doesn't match the
9253
 
      # behavior of shared libraries on other platforms, we can't use
9254
 
      # them.
9255
 
      ld_shlibs=no
 
9792
      case $host_cpu in
 
9793
      powerpc)
 
9794
            # see comment about AmigaOS4 .so support
 
9795
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9796
            archive_expsym_cmds=''
 
9797
        ;;
 
9798
      m68k)
 
9799
            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)'
 
9800
            hardcode_libdir_flag_spec='-L$libdir'
 
9801
            hardcode_minus_L=yes
 
9802
        ;;
 
9803
      esac
9256
9804
      ;;
9257
9805
 
9258
9806
    beos*)
9259
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9807
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9260
9808
        allow_undefined_flag=unsupported
9261
9809
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9262
9810
        # support --undefined.  This deserves some investigation.  FIXME
9266
9814
      fi
9267
9815
      ;;
9268
9816
 
9269
 
    cygwin* | mingw* | pw32*)
9270
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9817
    cygwin* | mingw* | pw32* | cegcc*)
 
9818
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9271
9819
      # as there is no search path for DLLs.
9272
9820
      hardcode_libdir_flag_spec='-L$libdir'
9273
9821
      allow_undefined_flag=unsupported
9274
9822
      always_export_symbols=no
9275
9823
      enable_shared_with_static_runtimes=yes
9276
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9824
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9277
9825
 
9278
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
9826
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9279
9827
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9280
9828
        # If the export-symbols file already is a .def file (1st line
9281
9829
        # is EXPORTS), use it as is; otherwise, prepend...
9306
9854
      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'
9307
9855
      ;;
9308
9856
 
9309
 
    gnu* | linux* | k*bsd*-gnu)
9310
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9857
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9858
      tmp_diet=no
 
9859
      if test "$host_os" = linux-dietlibc; then
 
9860
        case $cc_basename in
 
9861
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9862
        esac
 
9863
      fi
 
9864
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9865
         && test "$tmp_diet" = no
 
9866
      then
9311
9867
        tmp_addflag=
 
9868
        tmp_sharedflag='-shared'
9312
9869
        case $cc_basename,$host_cpu in
9313
 
        pgcc*)                          # Portland Group C compiler
9314
 
          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'
 
9870
        pgcc*)                          # Portland Group C compiler
 
9871
          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'
9315
9872
          tmp_addflag=' $pic_flag'
9316
9873
          ;;
9317
9874
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9318
 
          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'
 
9875
          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'
9319
9876
          tmp_addflag=' $pic_flag -Mnomain' ;;
9320
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
9877
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9321
9878
          tmp_addflag=' -i_dynamic' ;;
9322
9879
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9323
9880
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9324
9881
        ifc* | ifort*)                  # Intel Fortran compiler
9325
9882
          tmp_addflag=' -nofor_main' ;;
 
9883
        lf95*)                          # Lahey Fortran 8.1
 
9884
          whole_archive_flag_spec=
 
9885
          tmp_sharedflag='--shared' ;;
 
9886
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9887
          tmp_sharedflag='-qmkshrobj'
 
9888
          tmp_addflag= ;;
9326
9889
        esac
9327
9890
        case `$CC -V 2>&1 | sed 5q` in
9328
9891
        *Sun\ C*)                       # Sun C 5.9
9329
 
          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'
 
9892
          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'
 
9893
          compiler_needs_object=yes
9330
9894
          tmp_sharedflag='-G' ;;
9331
9895
        *Sun\ F*)                       # Sun Fortran 8.3
9332
9896
          tmp_sharedflag='-G' ;;
9333
 
        *)
9334
 
          tmp_sharedflag='-shared' ;;
9335
9897
        esac
9336
9898
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9337
9899
 
9338
 
        if test $supports_anon_versioning = yes; then
9339
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9340
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9341
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
9342
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9343
 
        fi
 
9900
        if test "x$supports_anon_versioning" = xyes; then
 
9901
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9902
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9903
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
9904
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9905
        fi
 
9906
 
 
9907
        case $cc_basename in
 
9908
        xlf*)
 
9909
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
9910
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
9911
          hardcode_libdir_flag_spec=
 
9912
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9913
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9914
          if test "x$supports_anon_versioning" = xyes; then
 
9915
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9916
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9917
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
9918
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9919
          fi
 
9920
          ;;
 
9921
        esac
9344
9922
      else
9345
 
        ld_shlibs=no
 
9923
        ld_shlibs=no
9346
9924
      fi
9347
9925
      ;;
9348
9926
 
9349
9927
    netbsd*)
9350
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9928
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9351
9929
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9352
9930
        wlarc=
9353
9931
      else
9357
9935
      ;;
9358
9936
 
9359
9937
    solaris*)
9360
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
9938
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9361
9939
        ld_shlibs=no
9362
 
        cat <<EOF 1>&2
 
9940
        cat <<_LT_EOF 1>&2
9363
9941
 
9364
9942
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9365
9943
*** create shared libraries on Solaris systems.  Therefore, libtool
9368
9946
*** your PATH or compiler configuration so that the native linker is
9369
9947
*** used, and then restart.
9370
9948
 
9371
 
EOF
9372
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9949
_LT_EOF
 
9950
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9373
9951
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9374
9952
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9375
9953
      else
9393
9971
_LT_EOF
9394
9972
        ;;
9395
9973
        *)
9396
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9397
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9398
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9399
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
9974
          # For security reasons, it is highly recommended that you always
 
9975
          # use absolute paths for naming shared libraries, and exclude the
 
9976
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
9977
          # requires that you compile everything twice, which is a pain.
 
9978
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9979
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9980
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9981
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9400
9982
          else
9401
9983
            ld_shlibs=no
9402
9984
          fi
9412
9994
      ;;
9413
9995
 
9414
9996
    *)
9415
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9997
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9416
9998
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9417
9999
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9418
10000
      else
9444
10026
      fi
9445
10027
      ;;
9446
10028
 
9447
 
    aix4* | aix5*)
 
10029
    aix[4-9]*)
9448
10030
      if test "$host_cpu" = ia64; then
9449
10031
        # On IA64, the linker does run time linking by default, so we don't
9450
10032
        # have to do anything special.
9454
10036
      else
9455
10037
        # If we're using GNU nm, then we don't want the "-C" option.
9456
10038
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9457
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
9458
 
          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'
 
10039
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
10040
          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'
9459
10041
        else
9460
 
          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'
 
10042
          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'
9461
10043
        fi
9462
10044
        aix_use_runtimelinking=no
9463
10045
 
9464
10046
        # Test if we are trying to use run time linking or normal
9465
10047
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9466
10048
        # need to do runtime linking.
9467
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
10049
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9468
10050
          for ld_flag in $LDFLAGS; do
9469
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9470
 
            aix_use_runtimelinking=yes
9471
 
            break
9472
 
          fi
 
10051
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
10052
            aix_use_runtimelinking=yes
 
10053
            break
 
10054
          fi
9473
10055
          done
9474
10056
          ;;
9475
10057
        esac
9486
10068
 
9487
10069
      archive_cmds=''
9488
10070
      hardcode_direct=yes
 
10071
      hardcode_direct_absolute=yes
9489
10072
      hardcode_libdir_separator=':'
9490
10073
      link_all_deplibs=yes
 
10074
      file_list_spec='${wl}-f,'
9491
10075
 
9492
10076
      if test "$GCC" = yes; then
9493
10077
        case $host_os in aix4.[012]|aix4.[012].*)
9494
10078
        # We only want to do this on AIX 4.2 and lower, the check
9495
10079
        # below for broken collect2 doesn't work under 4.3+
9496
10080
          collect2name=`${CC} -print-prog-name=collect2`
9497
 
          if test -f "$collect2name" && \
9498
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
10081
          if test -f "$collect2name" &&
 
10082
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9499
10083
          then
9500
 
          # We have reworked collect2
9501
 
          :
 
10084
          # We have reworked collect2
 
10085
          :
9502
10086
          else
9503
 
          # We have old collect2
9504
 
          hardcode_direct=unsupported
9505
 
          # It fails to find uninstalled libraries when the uninstalled
9506
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9507
 
          # to unsupported forces relinking
9508
 
          hardcode_minus_L=yes
9509
 
          hardcode_libdir_flag_spec='-L$libdir'
9510
 
          hardcode_libdir_separator=
 
10087
          # We have old collect2
 
10088
          hardcode_direct=unsupported
 
10089
          # It fails to find uninstalled libraries when the uninstalled
 
10090
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
10091
          # to unsupported forces relinking
 
10092
          hardcode_minus_L=yes
 
10093
          hardcode_libdir_flag_spec='-L$libdir'
 
10094
          hardcode_libdir_separator=
9511
10095
          fi
9512
10096
          ;;
9513
10097
        esac
9518
10102
      else
9519
10103
        # not using gcc
9520
10104
        if test "$host_cpu" = ia64; then
9521
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9522
 
        # chokes on -Wl,-G. The following line is correct:
 
10105
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
10106
        # chokes on -Wl,-G. The following line is correct:
9523
10107
          shared_flag='-G'
9524
10108
        else
9525
10109
          if test "$aix_use_runtimelinking" = yes; then
9530
10114
        fi
9531
10115
      fi
9532
10116
 
 
10117
      export_dynamic_flag_spec='${wl}-bexpall'
9533
10118
      # It seems that -bexpall does not export symbols beginning with
9534
10119
      # underscore (_), so it is better to generate a list of symbols to export.
9535
10120
      always_export_symbols=yes
9537
10122
        # Warning - without using the other runtime loading flags (-brtl),
9538
10123
        # -berok will link without error, but may produce a broken library.
9539
10124
        allow_undefined_flag='-berok'
9540
 
       # Determine the default libpath from the value encoded in an empty executable.
9541
 
       cat >conftest.$ac_ext <<_ACEOF
 
10125
        # Determine the default libpath from the value encoded in an
 
10126
        # empty executable.
 
10127
        cat >conftest.$ac_ext <<_ACEOF
9542
10128
/* confdefs.h.  */
9543
10129
_ACEOF
9544
10130
cat confdefs.h >>conftest.$ac_ext
9559
10145
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9560
10146
  *) ac_try_echo=$ac_try;;
9561
10147
esac
9562
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10148
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10149
$as_echo "$ac_try_echo") >&5
9563
10150
  (eval "$ac_link") 2>conftest.er1
9564
10151
  ac_status=$?
9565
10152
  grep -v '^ *+' conftest.er1 >conftest.err
9566
10153
  rm -f conftest.er1
9567
10154
  cat conftest.err >&5
9568
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10155
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569
10156
  (exit $ac_status); } && {
9570
10157
         test -z "$ac_c_werror_flag" ||
9571
10158
         test ! -s conftest.err
9572
 
       } && test -s conftest$ac_exeext &&
9573
 
       $as_test_x conftest$ac_exeext; then
 
10159
       } && test -s conftest$ac_exeext && {
 
10160
         test "$cross_compiling" = yes ||
 
10161
         $as_test_x conftest$ac_exeext
 
10162
       }; then
9574
10163
 
9575
10164
lt_aix_libpath_sed='
9576
10165
    /Import File Strings/,/^$/ {
9585
10174
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9586
10175
fi
9587
10176
else
9588
 
  echo "$as_me: failed program was:" >&5
 
10177
  $as_echo "$as_me: failed program was:" >&5
9589
10178
sed 's/^/| /' conftest.$ac_ext >&5
9590
10179
 
9591
10180
 
9592
10181
fi
9593
10182
 
 
10183
rm -rf conftest.dSYM
9594
10184
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9595
10185
      conftest$ac_exeext conftest.$ac_ext
9596
10186
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9597
10187
 
9598
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9599
 
        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"
9600
 
       else
 
10188
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
10189
        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"
 
10190
      else
9601
10191
        if test "$host_cpu" = ia64; then
9602
10192
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9603
10193
          allow_undefined_flag="-z nodefs"
9604
10194
          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"
9605
10195
        else
9606
 
         # Determine the default libpath from the value encoded in an empty executable.
 
10196
         # Determine the default libpath from the value encoded in an
 
10197
         # empty executable.
9607
10198
         cat >conftest.$ac_ext <<_ACEOF
9608
10199
/* confdefs.h.  */
9609
10200
_ACEOF
9625
10216
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9626
10217
  *) ac_try_echo=$ac_try;;
9627
10218
esac
9628
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10219
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10220
$as_echo "$ac_try_echo") >&5
9629
10221
  (eval "$ac_link") 2>conftest.er1
9630
10222
  ac_status=$?
9631
10223
  grep -v '^ *+' conftest.er1 >conftest.err
9632
10224
  rm -f conftest.er1
9633
10225
  cat conftest.err >&5
9634
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10226
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9635
10227
  (exit $ac_status); } && {
9636
10228
         test -z "$ac_c_werror_flag" ||
9637
10229
         test ! -s conftest.err
9638
 
       } && test -s conftest$ac_exeext &&
9639
 
       $as_test_x conftest$ac_exeext; then
 
10230
       } && test -s conftest$ac_exeext && {
 
10231
         test "$cross_compiling" = yes ||
 
10232
         $as_test_x conftest$ac_exeext
 
10233
       }; then
9640
10234
 
9641
10235
lt_aix_libpath_sed='
9642
10236
    /Import File Strings/,/^$/ {
9651
10245
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9652
10246
fi
9653
10247
else
9654
 
  echo "$as_me: failed program was:" >&5
 
10248
  $as_echo "$as_me: failed program was:" >&5
9655
10249
sed 's/^/| /' conftest.$ac_ext >&5
9656
10250
 
9657
10251
 
9658
10252
fi
9659
10253
 
 
10254
rm -rf conftest.dSYM
9660
10255
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9661
10256
      conftest$ac_exeext conftest.$ac_ext
9662
10257
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9676
10271
      ;;
9677
10272
 
9678
10273
    amigaos*)
9679
 
      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)'
9680
 
      hardcode_libdir_flag_spec='-L$libdir'
9681
 
      hardcode_minus_L=yes
9682
 
      # see comment about different semantics on the GNU ld section
9683
 
      ld_shlibs=no
 
10274
      case $host_cpu in
 
10275
      powerpc)
 
10276
            # see comment about AmigaOS4 .so support
 
10277
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10278
            archive_expsym_cmds=''
 
10279
        ;;
 
10280
      m68k)
 
10281
            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)'
 
10282
            hardcode_libdir_flag_spec='-L$libdir'
 
10283
            hardcode_minus_L=yes
 
10284
        ;;
 
10285
      esac
9684
10286
      ;;
9685
10287
 
9686
10288
    bsdi[45]*)
9687
10289
      export_dynamic_flag_spec=-rdynamic
9688
10290
      ;;
9689
10291
 
9690
 
    cygwin* | mingw* | pw32*)
 
10292
    cygwin* | mingw* | pw32* | cegcc*)
9691
10293
      # When not using gcc, we currently assume that we are using
9692
10294
      # Microsoft Visual C++.
9693
10295
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9699
10301
      # Tell ltmain to make .dll files, not .so files.
9700
10302
      shrext_cmds=".dll"
9701
10303
      # FIXME: Setting linknames here is a bad hack.
9702
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
10304
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9703
10305
      # The linker will automatically build a .lib file if we build a DLL.
9704
 
      old_archive_From_new_cmds='true'
 
10306
      old_archive_from_new_cmds='true'
9705
10307
      # FIXME: Should let the user specify the lib program.
9706
10308
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9707
10309
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9709
10311
      ;;
9710
10312
 
9711
10313
    darwin* | rhapsody*)
9712
 
      case $host_os in
9713
 
        rhapsody* | darwin1.[012])
9714
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
9715
 
         ;;
9716
 
       *) # Darwin 1.3 on
9717
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9718
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9719
 
         else
9720
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
9721
 
             10.[012])
9722
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9723
 
               ;;
9724
 
             10.*)
9725
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
9726
 
               ;;
9727
 
           esac
9728
 
         fi
9729
 
         ;;
9730
 
      esac
9731
 
      archive_cmds_need_lc=no
9732
 
      hardcode_direct=no
9733
 
      hardcode_automatic=yes
9734
 
      hardcode_shlibpath_var=unsupported
9735
 
      whole_archive_flag_spec=''
9736
 
      link_all_deplibs=yes
9737
 
    if test "$GCC" = yes ; then
9738
 
        output_verbose_link_cmd='echo'
9739
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9740
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9741
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9742
 
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9743
 
      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}'
9744
 
    else
9745
 
      case $cc_basename in
9746
 
        xlc*)
9747
 
         output_verbose_link_cmd='echo'
9748
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9749
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9750
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9751
 
         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}'
9752
 
          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}'
9753
 
          ;;
9754
 
       *)
9755
 
         ld_shlibs=no
9756
 
          ;;
9757
 
      esac
9758
 
    fi
 
10314
 
 
10315
 
 
10316
  archive_cmds_need_lc=no
 
10317
  hardcode_direct=no
 
10318
  hardcode_automatic=yes
 
10319
  hardcode_shlibpath_var=unsupported
 
10320
  whole_archive_flag_spec=''
 
10321
  link_all_deplibs=yes
 
10322
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
10323
  case $cc_basename in
 
10324
     ifort*) _lt_dar_can_shared=yes ;;
 
10325
     *) _lt_dar_can_shared=$GCC ;;
 
10326
  esac
 
10327
  if test "$_lt_dar_can_shared" = "yes"; then
 
10328
    output_verbose_link_cmd=echo
 
10329
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
10330
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
10331
    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}"
 
10332
    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}"
 
10333
 
 
10334
  else
 
10335
  ld_shlibs=no
 
10336
  fi
 
10337
 
9759
10338
      ;;
9760
10339
 
9761
10340
    dgux*)
9797
10376
 
9798
10377
    hpux9*)
9799
10378
      if test "$GCC" = yes; then
9800
 
        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'
 
10379
        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'
9801
10380
      else
9802
 
        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'
 
10381
        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'
9803
10382
      fi
9804
10383
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9805
10384
      hardcode_libdir_separator=:
9819
10398
      fi
9820
10399
      if test "$with_gnu_ld" = no; then
9821
10400
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
10401
        hardcode_libdir_flag_spec_ld='+b $libdir'
9822
10402
        hardcode_libdir_separator=:
9823
 
 
9824
10403
        hardcode_direct=yes
 
10404
        hardcode_direct_absolute=yes
9825
10405
        export_dynamic_flag_spec='${wl}-E'
9826
 
 
9827
10406
        # hardcode_minus_L: Not really in the search PATH,
9828
10407
        # but as the default location of the library.
9829
10408
        hardcode_minus_L=yes
9837
10416
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9838
10417
          ;;
9839
10418
        ia64*)
9840
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10419
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9841
10420
          ;;
9842
10421
        *)
9843
10422
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9862
10441
 
9863
10442
        case $host_cpu in
9864
10443
        hppa*64*|ia64*)
9865
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
9866
10444
          hardcode_direct=no
9867
10445
          hardcode_shlibpath_var=no
9868
10446
          ;;
9869
10447
        *)
9870
10448
          hardcode_direct=yes
 
10449
          hardcode_direct_absolute=yes
9871
10450
          export_dynamic_flag_spec='${wl}-E'
9872
10451
 
9873
10452
          # hardcode_minus_L: Not really in the search PATH,
9880
10459
 
9881
10460
    irix5* | irix6* | nonstopux*)
9882
10461
      if test "$GCC" = yes; then
9883
 
        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'
 
10462
        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'
 
10463
        # Try to use the -exported_symbol ld option, if it does not
 
10464
        # work, assume that -exports_file does not work either and
 
10465
        # implicitly export all symbols.
 
10466
        save_LDFLAGS="$LDFLAGS"
 
10467
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
10468
        cat >conftest.$ac_ext <<_ACEOF
 
10469
int foo(void) {}
 
10470
_ACEOF
 
10471
rm -f conftest.$ac_objext conftest$ac_exeext
 
10472
if { (ac_try="$ac_link"
 
10473
case "(($ac_try" in
 
10474
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10475
  *) ac_try_echo=$ac_try;;
 
10476
esac
 
10477
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10478
$as_echo "$ac_try_echo") >&5
 
10479
  (eval "$ac_link") 2>conftest.er1
 
10480
  ac_status=$?
 
10481
  grep -v '^ *+' conftest.er1 >conftest.err
 
10482
  rm -f conftest.er1
 
10483
  cat conftest.err >&5
 
10484
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10485
  (exit $ac_status); } && {
 
10486
         test -z "$ac_c_werror_flag" ||
 
10487
         test ! -s conftest.err
 
10488
       } && test -s conftest$ac_exeext && {
 
10489
         test "$cross_compiling" = yes ||
 
10490
         $as_test_x conftest$ac_exeext
 
10491
       }; then
 
10492
  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'
 
10493
 
 
10494
else
 
10495
  $as_echo "$as_me: failed program was:" >&5
 
10496
sed 's/^/| /' conftest.$ac_ext >&5
 
10497
 
 
10498
 
 
10499
fi
 
10500
 
 
10501
rm -rf conftest.dSYM
 
10502
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10503
      conftest$ac_exeext conftest.$ac_ext
 
10504
        LDFLAGS="$save_LDFLAGS"
9884
10505
      else
9885
 
        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'
9886
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
10506
        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'
 
10507
        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'
9887
10508
      fi
 
10509
      archive_cmds_need_lc='no'
9888
10510
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9889
10511
      hardcode_libdir_separator=:
 
10512
      inherit_rpath=yes
9890
10513
      link_all_deplibs=yes
9891
10514
      ;;
9892
10515
 
9893
10516
    netbsd*)
9894
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10517
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9895
10518
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9896
10519
      else
9897
10520
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9909
10532
      hardcode_shlibpath_var=no
9910
10533
      ;;
9911
10534
 
 
10535
    *nto* | *qnx*)
 
10536
      ;;
 
10537
 
9912
10538
    openbsd*)
9913
10539
      if test -f /usr/libexec/ld.so; then
9914
10540
        hardcode_direct=yes
9915
10541
        hardcode_shlibpath_var=no
9916
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10542
        hardcode_direct_absolute=yes
 
10543
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9917
10544
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9918
10545
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9919
10546
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9929
10556
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9930
10557
             ;;
9931
10558
          esac
9932
 
        fi
 
10559
        fi
9933
10560
      else
9934
10561
        ld_shlibs=no
9935
10562
      fi
9939
10566
      hardcode_libdir_flag_spec='-L$libdir'
9940
10567
      hardcode_minus_L=yes
9941
10568
      allow_undefined_flag=unsupported
9942
 
      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'
9943
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
10569
      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'
 
10570
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9944
10571
      ;;
9945
10572
 
9946
10573
    osf3*)
9947
10574
      if test "$GCC" = yes; then
9948
10575
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9949
 
        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'
 
10576
        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'
9950
10577
      else
9951
10578
        allow_undefined_flag=' -expect_unresolved \*'
9952
 
        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'
 
10579
        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'
9953
10580
      fi
 
10581
      archive_cmds_need_lc='no'
9954
10582
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9955
10583
      hardcode_libdir_separator=:
9956
10584
      ;;
9958
10586
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9959
10587
      if test "$GCC" = yes; then
9960
10588
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9961
 
        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'
 
10589
        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'
9962
10590
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9963
10591
      else
9964
10592
        allow_undefined_flag=' -expect_unresolved \*'
9965
 
        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'
9966
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9967
 
        $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'
 
10593
        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'
 
10594
        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~
 
10595
        $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'
9968
10596
 
9969
10597
        # Both c and cxx compiler support -rpath directly
9970
10598
        hardcode_libdir_flag_spec='-rpath $libdir'
9971
10599
      fi
 
10600
      archive_cmds_need_lc='no'
9972
10601
      hardcode_libdir_separator=:
9973
10602
      ;;
9974
10603
 
9975
10604
    solaris*)
9976
 
      no_undefined_flag=' -z text'
 
10605
      no_undefined_flag=' -z defs'
9977
10606
      if test "$GCC" = yes; then
9978
10607
        wlarc='${wl}'
9979
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9980
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9981
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
10608
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10609
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10610
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9982
10611
      else
9983
 
        wlarc=''
9984
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9985
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9986
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
10612
        case `$CC -V 2>&1` in
 
10613
        *"Compilers 5.0"*)
 
10614
          wlarc=''
 
10615
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10616
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10617
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
10618
          ;;
 
10619
        *)
 
10620
          wlarc='${wl}'
 
10621
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
10622
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10623
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10624
          ;;
 
10625
        esac
9987
10626
      fi
9988
10627
      hardcode_libdir_flag_spec='-R$libdir'
9989
10628
      hardcode_shlibpath_var=no
9993
10632
        # The compiler driver will combine and reorder linker options,
9994
10633
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9995
10634
        # but is careful enough not to reorder.
9996
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
10635
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9997
10636
        if test "$GCC" = yes; then
9998
10637
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9999
10638
        else
10082
10721
      allow_undefined_flag='${wl}-z,nodefs'
10083
10722
      archive_cmds_need_lc=no
10084
10723
      hardcode_shlibpath_var=no
10085
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
10724
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10086
10725
      hardcode_libdir_separator=':'
10087
10726
      link_all_deplibs=yes
10088
10727
      export_dynamic_flag_spec='${wl}-Bexport'
10089
10728
      runpath_var='LD_RUN_PATH'
10090
10729
 
10091
10730
      if test "$GCC" = yes; then
10092
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10093
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10731
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10732
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094
10733
      else
10095
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10096
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10734
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10735
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097
10736
      fi
10098
10737
      ;;
10099
10738
 
10107
10746
      ld_shlibs=no
10108
10747
      ;;
10109
10748
    esac
 
10749
 
 
10750
    if test x$host_vendor = xsni; then
 
10751
      case $host in
 
10752
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10753
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10754
        ;;
 
10755
      esac
 
10756
    fi
10110
10757
  fi
10111
10758
 
10112
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10113
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
10759
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10760
$as_echo "$ld_shlibs" >&6; }
10114
10761
test "$ld_shlibs" = no && can_build_shared=no
10115
10762
 
 
10763
with_gnu_ld=$with_gnu_ld
 
10764
 
 
10765
 
 
10766
 
 
10767
 
 
10768
 
 
10769
 
 
10770
 
 
10771
 
 
10772
 
 
10773
 
 
10774
 
 
10775
 
 
10776
 
 
10777
 
 
10778
 
10116
10779
#
10117
10780
# Do we need to explicitly link libc?
10118
10781
#
10130
10793
      # Test whether the compiler implicitly links with -lc since on some
10131
10794
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10132
10795
      # to ld, don't add -lc before -lgcc.
10133
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10134
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10135
 
      $rm conftest*
 
10796
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10797
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
10798
      $RM conftest*
10136
10799
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10137
10800
 
10138
10801
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10139
10802
  (eval $ac_compile) 2>&5
10140
10803
  ac_status=$?
10141
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10804
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142
10805
  (exit $ac_status); } 2>conftest.err; then
10143
10806
        soname=conftest
10144
10807
        lib=conftest
10153
10816
        libname=conftest
10154
10817
        lt_save_allow_undefined_flag=$allow_undefined_flag
10155
10818
        allow_undefined_flag=
10156
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10157
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10819
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10820
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10158
10821
  ac_status=$?
10159
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10822
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10160
10823
  (exit $ac_status); }
10161
10824
        then
10162
10825
          archive_cmds_need_lc=no
10167
10830
      else
10168
10831
        cat conftest.err 1>&5
10169
10832
      fi
10170
 
      $rm conftest*
10171
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10172
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
10833
      $RM conftest*
 
10834
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
10835
$as_echo "$archive_cmds_need_lc" >&6; }
10173
10836
      ;;
10174
10837
    esac
10175
10838
  fi
10176
10839
  ;;
10177
10840
esac
10178
10841
 
10179
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10180
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10181
 
library_names_spec=
10182
 
libname_spec='lib$name'
10183
 
soname_spec=
10184
 
shrext_cmds=".so"
10185
 
postinstall_cmds=
10186
 
postuninstall_cmds=
10187
 
finish_cmds=
10188
 
finish_eval=
10189
 
shlibpath_var=
10190
 
shlibpath_overrides_runpath=unknown
10191
 
version_type=none
10192
 
dynamic_linker="$host_os ld.so"
10193
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10842
 
 
10843
 
 
10844
 
 
10845
 
 
10846
 
 
10847
 
 
10848
 
 
10849
 
 
10850
 
 
10851
 
 
10852
 
 
10853
 
 
10854
 
 
10855
 
 
10856
 
 
10857
 
 
10858
 
 
10859
 
 
10860
 
 
10861
 
 
10862
 
 
10863
 
 
10864
 
 
10865
 
 
10866
 
 
10867
 
 
10868
 
 
10869
 
 
10870
 
 
10871
 
 
10872
 
 
10873
 
 
10874
 
 
10875
 
 
10876
 
 
10877
 
 
10878
 
 
10879
 
 
10880
 
 
10881
 
 
10882
 
 
10883
 
 
10884
 
 
10885
 
 
10886
 
 
10887
 
 
10888
 
 
10889
 
 
10890
 
 
10891
 
 
10892
 
 
10893
 
 
10894
 
 
10895
 
 
10896
 
 
10897
 
 
10898
 
 
10899
 
 
10900
 
 
10901
 
 
10902
 
 
10903
 
 
10904
 
 
10905
 
 
10906
 
 
10907
 
 
10908
 
 
10909
 
 
10910
 
 
10911
 
 
10912
 
 
10913
 
 
10914
 
 
10915
 
 
10916
 
 
10917
 
 
10918
 
 
10919
 
 
10920
 
 
10921
 
 
10922
 
 
10923
 
 
10924
 
 
10925
 
 
10926
 
 
10927
 
 
10928
 
 
10929
 
 
10930
 
 
10931
 
 
10932
 
 
10933
 
 
10934
 
 
10935
 
 
10936
 
 
10937
 
 
10938
 
 
10939
 
 
10940
 
 
10941
 
 
10942
 
 
10943
 
 
10944
 
 
10945
 
 
10946
 
 
10947
 
 
10948
 
 
10949
 
 
10950
 
 
10951
 
 
10952
 
 
10953
 
 
10954
 
 
10955
 
 
10956
 
 
10957
 
 
10958
 
 
10959
 
 
10960
 
 
10961
 
 
10962
 
 
10963
 
 
10964
 
 
10965
 
 
10966
 
 
10967
 
 
10968
 
 
10969
 
 
10970
 
 
10971
 
 
10972
 
 
10973
 
 
10974
 
 
10975
 
 
10976
 
 
10977
 
 
10978
 
 
10979
 
 
10980
 
 
10981
 
 
10982
 
 
10983
 
 
10984
 
 
10985
 
 
10986
 
 
10987
 
 
10988
 
 
10989
 
 
10990
 
 
10991
 
 
10992
 
 
10993
 
 
10994
 
 
10995
 
 
10996
 
 
10997
 
 
10998
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10999
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10194
11000
 
10195
11001
if test "$GCC" = yes; then
10196
11002
  case $host_os in
10198
11004
    *) lt_awk_arg="/^libraries:/" ;;
10199
11005
  esac
10200
11006
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10201
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
11007
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10202
11008
    # if the path contains ";" then we assume it to be the separator
10203
11009
    # otherwise default to the standard path separator (i.e. ":") - it is
10204
11010
    # assumed that no part of a normal pathname contains ";" but that should
10205
11011
    # okay in the real world where ";" in dirpaths is itself problematic.
10206
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
11012
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10207
11013
  else
10208
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
11014
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10209
11015
  fi
10210
11016
  # Ok, now we have the path, separated by spaces, we can step through it
10211
11017
  # and add multilib dir if necessary.
10219
11025
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10220
11026
    fi
10221
11027
  done
10222
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
11028
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10223
11029
BEGIN {RS=" "; FS="/|\n";} {
10224
11030
  lt_foo="";
10225
11031
  lt_count=0;
10239
11045
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10240
11046
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10241
11047
}'`
10242
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
11048
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10243
11049
else
10244
11050
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10245
11051
fi
 
11052
library_names_spec=
 
11053
libname_spec='lib$name'
 
11054
soname_spec=
 
11055
shrext_cmds=".so"
 
11056
postinstall_cmds=
 
11057
postuninstall_cmds=
 
11058
finish_cmds=
 
11059
finish_eval=
 
11060
shlibpath_var=
 
11061
shlibpath_overrides_runpath=unknown
 
11062
version_type=none
 
11063
dynamic_linker="$host_os ld.so"
 
11064
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10246
11065
need_lib_prefix=unknown
10247
11066
hardcode_into_libs=no
10248
11067
 
10260
11079
  soname_spec='${libname}${release}${shared_ext}$major'
10261
11080
  ;;
10262
11081
 
10263
 
aix4* | aix5*)
 
11082
aix[4-9]*)
10264
11083
  version_type=linux
10265
11084
  need_lib_prefix=no
10266
11085
  need_version=no
10279
11098
      aix4 | aix4.[01] | aix4.[01].*)
10280
11099
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10281
11100
           echo ' yes '
10282
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
11101
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10283
11102
        :
10284
11103
      else
10285
11104
        can_build_shared=no
10305
11124
  ;;
10306
11125
 
10307
11126
amigaos*)
10308
 
  library_names_spec='$libname.ixlibrary $libname.a'
10309
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
10310
 
  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'
 
11127
  case $host_cpu in
 
11128
  powerpc)
 
11129
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
11130
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
11131
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11132
    ;;
 
11133
  m68k)
 
11134
    library_names_spec='$libname.ixlibrary $libname.a'
 
11135
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
11136
    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'
 
11137
    ;;
 
11138
  esac
10311
11139
  ;;
10312
11140
 
10313
11141
beos*)
10330
11158
  # libtool to hard-code these into programs
10331
11159
  ;;
10332
11160
 
10333
 
cygwin* | mingw* | pw32*)
 
11161
cygwin* | mingw* | pw32* | cegcc*)
10334
11162
  version_type=windows
10335
11163
  shrext_cmds=".dll"
10336
11164
  need_version=no
10337
11165
  need_lib_prefix=no
10338
11166
 
10339
11167
  case $GCC,$host_os in
10340
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
11168
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10341
11169
    library_names_spec='$libname.dll.a'
10342
11170
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10343
11171
    postinstall_cmds='base_file=`basename \${file}`~
10344
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
11172
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10345
11173
      dldir=$destdir/`dirname \$dlpath`~
10346
11174
      test -d \$dldir || mkdir -p \$dldir~
10347
11175
      $install_prog $dir/$dlname \$dldir/$dlname~
10348
 
      chmod a+x \$dldir/$dlname'
 
11176
      chmod a+x \$dldir/$dlname~
 
11177
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
11178
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
11179
      fi'
10349
11180
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10350
11181
      dlpath=$dir/\$dldll~
10351
 
       $rm \$dlpath'
 
11182
       $RM \$dlpath'
10352
11183
    shlibpath_overrides_runpath=yes
10353
11184
 
10354
11185
    case $host_os in
10357
11188
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10358
11189
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10359
11190
      ;;
10360
 
    mingw*)
 
11191
    mingw* | cegcc*)
10361
11192
      # MinGW DLLs use traditional 'lib' prefix
10362
11193
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10363
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10364
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
11194
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
11195
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10365
11196
        # It is most probably a Windows format PATH printed by
10366
11197
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10367
11198
        # path with ; separators, and with drive letters. We can handle the
10368
11199
        # drive letters (cygwin fileutils understands them), so leave them,
10369
11200
        # especially as we might pass files found there to a mingw objdump,
10370
11201
        # which wouldn't understand a cygwinified path. Ahh.
10371
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11202
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10372
11203
      else
10373
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
11204
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10374
11205
      fi
10375
11206
      ;;
10376
11207
    pw32*)
10394
11225
  version_type=darwin
10395
11226
  need_lib_prefix=no
10396
11227
  need_version=no
10397
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
11228
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10398
11229
  soname_spec='${libname}${release}${major}$shared_ext'
10399
11230
  shlibpath_overrides_runpath=yes
10400
11231
  shlibpath_var=DYLD_LIBRARY_PATH
10493
11324
    fi
10494
11325
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10495
11326
    ;;
10496
 
   hppa*64*)
10497
 
     shrext_cmds='.sl'
10498
 
     hardcode_into_libs=yes
10499
 
     dynamic_linker="$host_os dld.sl"
10500
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10501
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10502
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503
 
     soname_spec='${libname}${release}${shared_ext}$major'
10504
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10505
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10506
 
     ;;
10507
 
   *)
 
11327
  hppa*64*)
 
11328
    shrext_cmds='.sl'
 
11329
    hardcode_into_libs=yes
 
11330
    dynamic_linker="$host_os dld.sl"
 
11331
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
11332
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
11333
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11334
    soname_spec='${libname}${release}${shared_ext}$major'
 
11335
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
11336
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
11337
    ;;
 
11338
  *)
10508
11339
    shrext_cmds='.sl'
10509
11340
    dynamic_linker="$host_os dld.sl"
10510
11341
    shlibpath_var=SHLIB_PATH
10581
11412
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10582
11413
  shlibpath_var=LD_LIBRARY_PATH
10583
11414
  shlibpath_overrides_runpath=no
 
11415
  # Some binutils ld are patched to set DT_RUNPATH
 
11416
  save_LDFLAGS=$LDFLAGS
 
11417
  save_libdir=$libdir
 
11418
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
11419
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
11420
  cat >conftest.$ac_ext <<_ACEOF
 
11421
/* confdefs.h.  */
 
11422
_ACEOF
 
11423
cat confdefs.h >>conftest.$ac_ext
 
11424
cat >>conftest.$ac_ext <<_ACEOF
 
11425
/* end confdefs.h.  */
 
11426
 
 
11427
int
 
11428
main ()
 
11429
{
 
11430
 
 
11431
  ;
 
11432
  return 0;
 
11433
}
 
11434
_ACEOF
 
11435
rm -f conftest.$ac_objext conftest$ac_exeext
 
11436
if { (ac_try="$ac_link"
 
11437
case "(($ac_try" in
 
11438
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11439
  *) ac_try_echo=$ac_try;;
 
11440
esac
 
11441
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11442
$as_echo "$ac_try_echo") >&5
 
11443
  (eval "$ac_link") 2>conftest.er1
 
11444
  ac_status=$?
 
11445
  grep -v '^ *+' conftest.er1 >conftest.err
 
11446
  rm -f conftest.er1
 
11447
  cat conftest.err >&5
 
11448
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11449
  (exit $ac_status); } && {
 
11450
         test -z "$ac_c_werror_flag" ||
 
11451
         test ! -s conftest.err
 
11452
       } && test -s conftest$ac_exeext && {
 
11453
         test "$cross_compiling" = yes ||
 
11454
         $as_test_x conftest$ac_exeext
 
11455
       }; then
 
11456
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
11457
  shlibpath_overrides_runpath=yes
 
11458
fi
 
11459
 
 
11460
else
 
11461
  $as_echo "$as_me: failed program was:" >&5
 
11462
sed 's/^/| /' conftest.$ac_ext >&5
 
11463
 
 
11464
 
 
11465
fi
 
11466
 
 
11467
rm -rf conftest.dSYM
 
11468
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11469
      conftest$ac_exeext conftest.$ac_ext
 
11470
  LDFLAGS=$save_LDFLAGS
 
11471
  libdir=$save_libdir
 
11472
 
10584
11473
  # This implies no fast_install, which is unacceptable.
10585
11474
  # Some rework will be needed to allow for fast_install
10586
11475
  # before this can be enabled.
10588
11477
 
10589
11478
  # Append ld.so.conf contents to the search path
10590
11479
  if test -f /etc/ld.so.conf; then
10591
 
    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' ' '`
 
11480
    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' ' '`
10592
11481
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10593
11482
  fi
10594
11483
 
10605
11494
  version_type=sunos
10606
11495
  need_lib_prefix=no
10607
11496
  need_version=no
10608
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
11497
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10609
11498
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10610
11499
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10611
11500
    dynamic_linker='NetBSD (a.out) ld.so'
10626
11515
  shlibpath_overrides_runpath=yes
10627
11516
  ;;
10628
11517
 
10629
 
nto-qnx*)
10630
 
  version_type=linux
 
11518
*nto* | *qnx*)
 
11519
  version_type=qnx
10631
11520
  need_lib_prefix=no
10632
11521
  need_version=no
10633
11522
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10634
11523
  soname_spec='${libname}${release}${shared_ext}$major'
10635
11524
  shlibpath_var=LD_LIBRARY_PATH
10636
 
  shlibpath_overrides_runpath=yes
 
11525
  shlibpath_overrides_runpath=no
 
11526
  hardcode_into_libs=yes
 
11527
  dynamic_linker='ldqnx.so'
10637
11528
  ;;
10638
11529
 
10639
11530
openbsd*)
10642
11533
  need_lib_prefix=no
10643
11534
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10644
11535
  case $host_os in
10645
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10646
 
    *)                         need_version=no  ;;
 
11536
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
11537
    *)                          need_version=no  ;;
10647
11538
  esac
10648
11539
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10649
11540
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10650
11541
  shlibpath_var=LD_LIBRARY_PATH
10651
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11542
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10652
11543
    case $host_os in
10653
11544
      openbsd2.[89] | openbsd2.[89].*)
10654
11545
        shlibpath_overrides_runpath=no
10720
11611
    sni)
10721
11612
      shlibpath_overrides_runpath=no
10722
11613
      need_lib_prefix=no
10723
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
10724
11614
      runpath_var=LD_RUN_PATH
10725
11615
      ;;
10726
11616
    siemens)
10751
11641
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10752
11642
  soname_spec='${libname}${release}${shared_ext}$major'
10753
11643
  shlibpath_var=LD_LIBRARY_PATH
 
11644
  shlibpath_overrides_runpath=yes
10754
11645
  hardcode_into_libs=yes
10755
11646
  if test "$with_gnu_ld" = yes; then
10756
11647
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10757
 
    shlibpath_overrides_runpath=no
10758
11648
  else
10759
11649
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10760
 
    shlibpath_overrides_runpath=yes
10761
11650
    case $host_os in
10762
11651
      sco3.2v5*)
10763
11652
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10767
11656
  sys_lib_dlsearch_path_spec='/usr/lib'
10768
11657
  ;;
10769
11658
 
 
11659
tpf*)
 
11660
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
11661
  version_type=linux
 
11662
  need_lib_prefix=no
 
11663
  need_version=no
 
11664
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11665
  shlibpath_var=LD_LIBRARY_PATH
 
11666
  shlibpath_overrides_runpath=no
 
11667
  hardcode_into_libs=yes
 
11668
  ;;
 
11669
 
10770
11670
uts4*)
10771
11671
  version_type=linux
10772
11672
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10778
11678
  dynamic_linker=no
10779
11679
  ;;
10780
11680
esac
10781
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10782
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
11681
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
11682
$as_echo "$dynamic_linker" >&6; }
10783
11683
test "$dynamic_linker" = no && can_build_shared=no
10784
11684
 
10785
11685
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10787
11687
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10788
11688
fi
10789
11689
 
10790
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10791
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
11690
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11691
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11692
fi
 
11693
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11694
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11695
fi
 
11696
 
 
11697
 
 
11698
 
 
11699
 
 
11700
 
 
11701
 
 
11702
 
 
11703
 
 
11704
 
 
11705
 
 
11706
 
 
11707
 
 
11708
 
 
11709
 
 
11710
 
 
11711
 
 
11712
 
 
11713
 
 
11714
 
 
11715
 
 
11716
 
 
11717
 
 
11718
 
 
11719
 
 
11720
 
 
11721
 
 
11722
 
 
11723
 
 
11724
 
 
11725
 
 
11726
 
 
11727
 
 
11728
 
 
11729
 
 
11730
 
 
11731
 
 
11732
 
 
11733
 
 
11734
 
 
11735
 
 
11736
 
 
11737
 
 
11738
 
 
11739
 
 
11740
 
 
11741
 
 
11742
 
 
11743
 
 
11744
 
 
11745
 
 
11746
 
 
11747
 
 
11748
 
 
11749
 
 
11750
 
 
11751
 
 
11752
 
 
11753
 
 
11754
 
 
11755
 
 
11756
 
 
11757
 
 
11758
 
 
11759
 
 
11760
 
 
11761
 
 
11762
 
 
11763
 
 
11764
 
 
11765
 
 
11766
 
 
11767
 
 
11768
 
 
11769
 
 
11770
 
 
11771
 
 
11772
 
 
11773
 
 
11774
 
 
11775
 
 
11776
 
 
11777
 
 
11778
 
 
11779
 
 
11780
 
 
11781
 
 
11782
 
 
11783
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11784
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10792
11785
hardcode_action=
10793
 
if test -n "$hardcode_libdir_flag_spec" || \
10794
 
   test -n "$runpath_var" || \
 
11786
if test -n "$hardcode_libdir_flag_spec" ||
 
11787
   test -n "$runpath_var" ||
10795
11788
   test "X$hardcode_automatic" = "Xyes" ; then
10796
11789
 
10797
 
  # We can hardcode non-existant directories.
 
11790
  # We can hardcode non-existent directories.
10798
11791
  if test "$hardcode_direct" != no &&
10799
11792
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10800
11793
     # have to relink, otherwise we might link with an installed library
10801
11794
     # when we should be linking with a yet-to-be-installed one
10802
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11795
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10803
11796
     test "$hardcode_minus_L" != no; then
10804
11797
    # Linking always hardcodes the temporary library directory.
10805
11798
    hardcode_action=relink
10812
11805
  # directories.
10813
11806
  hardcode_action=unsupported
10814
11807
fi
10815
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10816
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
11808
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11809
$as_echo "$hardcode_action" >&6; }
10817
11810
 
10818
 
if test "$hardcode_action" = relink; then
 
11811
if test "$hardcode_action" = relink ||
 
11812
   test "$inherit_rpath" = yes; then
10819
11813
  # Fast installation is not supported
10820
11814
  enable_fast_install=no
10821
11815
elif test "$shlibpath_overrides_runpath" = yes ||
10824
11818
  enable_fast_install=needless
10825
11819
fi
10826
11820
 
10827
 
striplib=
10828
 
old_striplib=
10829
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10830
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10831
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10832
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10833
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10834
 
  { echo "$as_me:$LINENO: result: yes" >&5
10835
 
echo "${ECHO_T}yes" >&6; }
10836
 
else
10837
 
# FIXME - insert some real tests, host_os isn't really good enough
10838
 
  case $host_os in
10839
 
   darwin*)
10840
 
       if test -n "$STRIP" ; then
10841
 
         striplib="$STRIP -x"
10842
 
         old_striplib="$STRIP -S"
10843
 
         { echo "$as_me:$LINENO: result: yes" >&5
10844
 
echo "${ECHO_T}yes" >&6; }
10845
 
       else
10846
 
  { echo "$as_me:$LINENO: result: no" >&5
10847
 
echo "${ECHO_T}no" >&6; }
10848
 
fi
10849
 
       ;;
10850
 
   *)
10851
 
  { echo "$as_me:$LINENO: result: no" >&5
10852
 
echo "${ECHO_T}no" >&6; }
10853
 
    ;;
10854
 
  esac
10855
 
fi
10856
 
 
10857
 
if test "x$enable_dlopen" != xyes; then
 
11821
 
 
11822
 
 
11823
 
 
11824
 
 
11825
 
 
11826
  if test "x$enable_dlopen" != xyes; then
10858
11827
  enable_dlopen=unknown
10859
11828
  enable_dlopen_self=unknown
10860
11829
  enable_dlopen_self_static=unknown
10869
11838
    lt_cv_dlopen_self=yes
10870
11839
    ;;
10871
11840
 
10872
 
  mingw* | pw32*)
 
11841
  mingw* | pw32* | cegcc*)
10873
11842
    lt_cv_dlopen="LoadLibrary"
10874
11843
    lt_cv_dlopen_libs=
10875
 
   ;;
 
11844
    ;;
10876
11845
 
10877
11846
  cygwin*)
10878
11847
    lt_cv_dlopen="dlopen"
10879
11848
    lt_cv_dlopen_libs=
10880
 
   ;;
 
11849
    ;;
10881
11850
 
10882
11851
  darwin*)
10883
11852
  # if libdl is installed we need to link against it
10884
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10885
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
11853
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11854
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10886
11855
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10887
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11856
  $as_echo_n "(cached) " >&6
10888
11857
else
10889
11858
  ac_check_lib_save_LIBS=$LIBS
10890
11859
LIBS="-ldl  $LIBS"
10916
11885
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10917
11886
  *) ac_try_echo=$ac_try;;
10918
11887
esac
10919
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11888
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11889
$as_echo "$ac_try_echo") >&5
10920
11890
  (eval "$ac_link") 2>conftest.er1
10921
11891
  ac_status=$?
10922
11892
  grep -v '^ *+' conftest.er1 >conftest.err
10923
11893
  rm -f conftest.er1
10924
11894
  cat conftest.err >&5
10925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11895
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926
11896
  (exit $ac_status); } && {
10927
11897
         test -z "$ac_c_werror_flag" ||
10928
11898
         test ! -s conftest.err
10929
 
       } && test -s conftest$ac_exeext &&
10930
 
       $as_test_x conftest$ac_exeext; then
 
11899
       } && test -s conftest$ac_exeext && {
 
11900
         test "$cross_compiling" = yes ||
 
11901
         $as_test_x conftest$ac_exeext
 
11902
       }; then
10931
11903
  ac_cv_lib_dl_dlopen=yes
10932
11904
else
10933
 
  echo "$as_me: failed program was:" >&5
 
11905
  $as_echo "$as_me: failed program was:" >&5
10934
11906
sed 's/^/| /' conftest.$ac_ext >&5
10935
11907
 
10936
11908
        ac_cv_lib_dl_dlopen=no
10937
11909
fi
10938
11910
 
 
11911
rm -rf conftest.dSYM
10939
11912
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10940
11913
      conftest$ac_exeext conftest.$ac_ext
10941
11914
LIBS=$ac_check_lib_save_LIBS
10942
11915
fi
10943
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10944
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10945
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11916
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11917
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11918
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10946
11919
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10947
11920
else
10948
11921
 
10952
11925
 
10953
11926
fi
10954
11927
 
10955
 
   ;;
 
11928
    ;;
10956
11929
 
10957
11930
  *)
10958
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
10959
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
 
11931
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
11932
$as_echo_n "checking for shl_load... " >&6; }
10960
11933
if test "${ac_cv_func_shl_load+set}" = set; then
10961
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11934
  $as_echo_n "(cached) " >&6
10962
11935
else
10963
11936
  cat >conftest.$ac_ext <<_ACEOF
10964
11937
/* confdefs.h.  */
11011
11984
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11012
11985
  *) ac_try_echo=$ac_try;;
11013
11986
esac
11014
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11987
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11988
$as_echo "$ac_try_echo") >&5
11015
11989
  (eval "$ac_link") 2>conftest.er1
11016
11990
  ac_status=$?
11017
11991
  grep -v '^ *+' conftest.er1 >conftest.err
11018
11992
  rm -f conftest.er1
11019
11993
  cat conftest.err >&5
11020
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11994
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021
11995
  (exit $ac_status); } && {
11022
11996
         test -z "$ac_c_werror_flag" ||
11023
11997
         test ! -s conftest.err
11024
 
       } && test -s conftest$ac_exeext &&
11025
 
       $as_test_x conftest$ac_exeext; then
 
11998
       } && test -s conftest$ac_exeext && {
 
11999
         test "$cross_compiling" = yes ||
 
12000
         $as_test_x conftest$ac_exeext
 
12001
       }; then
11026
12002
  ac_cv_func_shl_load=yes
11027
12003
else
11028
 
  echo "$as_me: failed program was:" >&5
 
12004
  $as_echo "$as_me: failed program was:" >&5
11029
12005
sed 's/^/| /' conftest.$ac_ext >&5
11030
12006
 
11031
12007
        ac_cv_func_shl_load=no
11032
12008
fi
11033
12009
 
 
12010
rm -rf conftest.dSYM
11034
12011
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11035
12012
      conftest$ac_exeext conftest.$ac_ext
11036
12013
fi
11037
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11038
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11039
 
if test $ac_cv_func_shl_load = yes; then
 
12014
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
12015
$as_echo "$ac_cv_func_shl_load" >&6; }
 
12016
if test "x$ac_cv_func_shl_load" = x""yes; then
11040
12017
  lt_cv_dlopen="shl_load"
11041
12018
else
11042
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11043
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
 
12019
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
12020
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11044
12021
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11045
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12022
  $as_echo_n "(cached) " >&6
11046
12023
else
11047
12024
  ac_check_lib_save_LIBS=$LIBS
11048
12025
LIBS="-ldld  $LIBS"
11074
12051
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11075
12052
  *) ac_try_echo=$ac_try;;
11076
12053
esac
11077
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12054
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12055
$as_echo "$ac_try_echo") >&5
11078
12056
  (eval "$ac_link") 2>conftest.er1
11079
12057
  ac_status=$?
11080
12058
  grep -v '^ *+' conftest.er1 >conftest.err
11081
12059
  rm -f conftest.er1
11082
12060
  cat conftest.err >&5
11083
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12061
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084
12062
  (exit $ac_status); } && {
11085
12063
         test -z "$ac_c_werror_flag" ||
11086
12064
         test ! -s conftest.err
11087
 
       } && test -s conftest$ac_exeext &&
11088
 
       $as_test_x conftest$ac_exeext; then
 
12065
       } && test -s conftest$ac_exeext && {
 
12066
         test "$cross_compiling" = yes ||
 
12067
         $as_test_x conftest$ac_exeext
 
12068
       }; then
11089
12069
  ac_cv_lib_dld_shl_load=yes
11090
12070
else
11091
 
  echo "$as_me: failed program was:" >&5
 
12071
  $as_echo "$as_me: failed program was:" >&5
11092
12072
sed 's/^/| /' conftest.$ac_ext >&5
11093
12073
 
11094
12074
        ac_cv_lib_dld_shl_load=no
11095
12075
fi
11096
12076
 
 
12077
rm -rf conftest.dSYM
11097
12078
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11098
12079
      conftest$ac_exeext conftest.$ac_ext
11099
12080
LIBS=$ac_check_lib_save_LIBS
11100
12081
fi
11101
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11102
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11103
 
if test $ac_cv_lib_dld_shl_load = yes; then
11104
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
12082
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
12083
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
12084
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
12085
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11105
12086
else
11106
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
11107
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
 
12087
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
12088
$as_echo_n "checking for dlopen... " >&6; }
11108
12089
if test "${ac_cv_func_dlopen+set}" = set; then
11109
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12090
  $as_echo_n "(cached) " >&6
11110
12091
else
11111
12092
  cat >conftest.$ac_ext <<_ACEOF
11112
12093
/* confdefs.h.  */
11159
12140
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11160
12141
  *) ac_try_echo=$ac_try;;
11161
12142
esac
11162
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12143
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12144
$as_echo "$ac_try_echo") >&5
11163
12145
  (eval "$ac_link") 2>conftest.er1
11164
12146
  ac_status=$?
11165
12147
  grep -v '^ *+' conftest.er1 >conftest.err
11166
12148
  rm -f conftest.er1
11167
12149
  cat conftest.err >&5
11168
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12150
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169
12151
  (exit $ac_status); } && {
11170
12152
         test -z "$ac_c_werror_flag" ||
11171
12153
         test ! -s conftest.err
11172
 
       } && test -s conftest$ac_exeext &&
11173
 
       $as_test_x conftest$ac_exeext; then
 
12154
       } && test -s conftest$ac_exeext && {
 
12155
         test "$cross_compiling" = yes ||
 
12156
         $as_test_x conftest$ac_exeext
 
12157
       }; then
11174
12158
  ac_cv_func_dlopen=yes
11175
12159
else
11176
 
  echo "$as_me: failed program was:" >&5
 
12160
  $as_echo "$as_me: failed program was:" >&5
11177
12161
sed 's/^/| /' conftest.$ac_ext >&5
11178
12162
 
11179
12163
        ac_cv_func_dlopen=no
11180
12164
fi
11181
12165
 
 
12166
rm -rf conftest.dSYM
11182
12167
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11183
12168
      conftest$ac_exeext conftest.$ac_ext
11184
12169
fi
11185
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11186
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11187
 
if test $ac_cv_func_dlopen = yes; then
 
12170
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
12171
$as_echo "$ac_cv_func_dlopen" >&6; }
 
12172
if test "x$ac_cv_func_dlopen" = x""yes; then
11188
12173
  lt_cv_dlopen="dlopen"
11189
12174
else
11190
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11191
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
12175
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
12176
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11192
12177
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11193
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12178
  $as_echo_n "(cached) " >&6
11194
12179
else
11195
12180
  ac_check_lib_save_LIBS=$LIBS
11196
12181
LIBS="-ldl  $LIBS"
11222
12207
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11223
12208
  *) ac_try_echo=$ac_try;;
11224
12209
esac
11225
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12210
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12211
$as_echo "$ac_try_echo") >&5
11226
12212
  (eval "$ac_link") 2>conftest.er1
11227
12213
  ac_status=$?
11228
12214
  grep -v '^ *+' conftest.er1 >conftest.err
11229
12215
  rm -f conftest.er1
11230
12216
  cat conftest.err >&5
11231
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12217
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232
12218
  (exit $ac_status); } && {
11233
12219
         test -z "$ac_c_werror_flag" ||
11234
12220
         test ! -s conftest.err
11235
 
       } && test -s conftest$ac_exeext &&
11236
 
       $as_test_x conftest$ac_exeext; then
 
12221
       } && test -s conftest$ac_exeext && {
 
12222
         test "$cross_compiling" = yes ||
 
12223
         $as_test_x conftest$ac_exeext
 
12224
       }; then
11237
12225
  ac_cv_lib_dl_dlopen=yes
11238
12226
else
11239
 
  echo "$as_me: failed program was:" >&5
 
12227
  $as_echo "$as_me: failed program was:" >&5
11240
12228
sed 's/^/| /' conftest.$ac_ext >&5
11241
12229
 
11242
12230
        ac_cv_lib_dl_dlopen=no
11243
12231
fi
11244
12232
 
 
12233
rm -rf conftest.dSYM
11245
12234
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11246
12235
      conftest$ac_exeext conftest.$ac_ext
11247
12236
LIBS=$ac_check_lib_save_LIBS
11248
12237
fi
11249
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11250
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11251
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
12238
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
12239
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
12240
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11252
12241
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11253
12242
else
11254
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11255
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
 
12243
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
12244
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11256
12245
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11257
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12246
  $as_echo_n "(cached) " >&6
11258
12247
else
11259
12248
  ac_check_lib_save_LIBS=$LIBS
11260
12249
LIBS="-lsvld  $LIBS"
11286
12275
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11287
12276
  *) ac_try_echo=$ac_try;;
11288
12277
esac
11289
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12278
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12279
$as_echo "$ac_try_echo") >&5
11290
12280
  (eval "$ac_link") 2>conftest.er1
11291
12281
  ac_status=$?
11292
12282
  grep -v '^ *+' conftest.er1 >conftest.err
11293
12283
  rm -f conftest.er1
11294
12284
  cat conftest.err >&5
11295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12285
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11296
12286
  (exit $ac_status); } && {
11297
12287
         test -z "$ac_c_werror_flag" ||
11298
12288
         test ! -s conftest.err
11299
 
       } && test -s conftest$ac_exeext &&
11300
 
       $as_test_x conftest$ac_exeext; then
 
12289
       } && test -s conftest$ac_exeext && {
 
12290
         test "$cross_compiling" = yes ||
 
12291
         $as_test_x conftest$ac_exeext
 
12292
       }; then
11301
12293
  ac_cv_lib_svld_dlopen=yes
11302
12294
else
11303
 
  echo "$as_me: failed program was:" >&5
 
12295
  $as_echo "$as_me: failed program was:" >&5
11304
12296
sed 's/^/| /' conftest.$ac_ext >&5
11305
12297
 
11306
12298
        ac_cv_lib_svld_dlopen=no
11307
12299
fi
11308
12300
 
 
12301
rm -rf conftest.dSYM
11309
12302
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11310
12303
      conftest$ac_exeext conftest.$ac_ext
11311
12304
LIBS=$ac_check_lib_save_LIBS
11312
12305
fi
11313
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11314
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11315
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
12306
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
12307
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
12308
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11316
12309
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11317
12310
else
11318
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11319
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
 
12311
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
12312
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11320
12313
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11321
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12314
  $as_echo_n "(cached) " >&6
11322
12315
else
11323
12316
  ac_check_lib_save_LIBS=$LIBS
11324
12317
LIBS="-ldld  $LIBS"
11350
12343
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11351
12344
  *) ac_try_echo=$ac_try;;
11352
12345
esac
11353
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12346
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12347
$as_echo "$ac_try_echo") >&5
11354
12348
  (eval "$ac_link") 2>conftest.er1
11355
12349
  ac_status=$?
11356
12350
  grep -v '^ *+' conftest.er1 >conftest.err
11357
12351
  rm -f conftest.er1
11358
12352
  cat conftest.err >&5
11359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12353
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360
12354
  (exit $ac_status); } && {
11361
12355
         test -z "$ac_c_werror_flag" ||
11362
12356
         test ! -s conftest.err
11363
 
       } && test -s conftest$ac_exeext &&
11364
 
       $as_test_x conftest$ac_exeext; then
 
12357
       } && test -s conftest$ac_exeext && {
 
12358
         test "$cross_compiling" = yes ||
 
12359
         $as_test_x conftest$ac_exeext
 
12360
       }; then
11365
12361
  ac_cv_lib_dld_dld_link=yes
11366
12362
else
11367
 
  echo "$as_me: failed program was:" >&5
 
12363
  $as_echo "$as_me: failed program was:" >&5
11368
12364
sed 's/^/| /' conftest.$ac_ext >&5
11369
12365
 
11370
12366
        ac_cv_lib_dld_dld_link=no
11371
12367
fi
11372
12368
 
 
12369
rm -rf conftest.dSYM
11373
12370
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11374
12371
      conftest$ac_exeext conftest.$ac_ext
11375
12372
LIBS=$ac_check_lib_save_LIBS
11376
12373
fi
11377
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11378
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11379
 
if test $ac_cv_lib_dld_dld_link = yes; then
11380
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
12374
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
12375
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
12376
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
12377
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11381
12378
fi
11382
12379
 
11383
12380
 
11415
12412
    save_LIBS="$LIBS"
11416
12413
    LIBS="$lt_cv_dlopen_libs $LIBS"
11417
12414
 
11418
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11419
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
 
12415
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
12416
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11420
12417
if test "${lt_cv_dlopen_self+set}" = set; then
11421
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12418
  $as_echo_n "(cached) " >&6
11422
12419
else
11423
12420
          if test "$cross_compiling" = yes; then :
11424
12421
  lt_cv_dlopen_self=cross
11425
12422
else
11426
12423
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11427
12424
  lt_status=$lt_dlunknown
11428
 
  cat > conftest.$ac_ext <<EOF
11429
 
#line 11429 "configure"
 
12425
  cat > conftest.$ac_ext <<_LT_EOF
 
12426
#line 12426 "configure"
11430
12427
#include "confdefs.h"
11431
12428
 
11432
12429
#if HAVE_DLFCN_H
11467
12464
#  endif
11468
12465
#endif
11469
12466
 
11470
 
#ifdef __cplusplus
11471
 
extern "C" void exit (int);
11472
 
#endif
11473
 
 
11474
12467
void fnord() { int i=42;}
11475
12468
int main ()
11476
12469
{
11486
12479
  else
11487
12480
    puts (dlerror ());
11488
12481
 
11489
 
    exit (status);
 
12482
  return status;
11490
12483
}
11491
 
EOF
 
12484
_LT_EOF
11492
12485
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11493
12486
  (eval $ac_link) 2>&5
11494
12487
  ac_status=$?
11495
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12488
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496
12489
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11497
12490
    (./conftest; exit; ) >&5 2>/dev/null
11498
12491
    lt_status=$?
11510
12503
 
11511
12504
 
11512
12505
fi
11513
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11514
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
12506
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
12507
$as_echo "$lt_cv_dlopen_self" >&6; }
11515
12508
 
11516
12509
    if test "x$lt_cv_dlopen_self" = xyes; then
11517
12510
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11518
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11519
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
 
12511
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
12512
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11520
12513
if test "${lt_cv_dlopen_self_static+set}" = set; then
11521
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12514
  $as_echo_n "(cached) " >&6
11522
12515
else
11523
12516
          if test "$cross_compiling" = yes; then :
11524
12517
  lt_cv_dlopen_self_static=cross
11525
12518
else
11526
12519
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11527
12520
  lt_status=$lt_dlunknown
11528
 
  cat > conftest.$ac_ext <<EOF
11529
 
#line 11529 "configure"
 
12521
  cat > conftest.$ac_ext <<_LT_EOF
 
12522
#line 12522 "configure"
11530
12523
#include "confdefs.h"
11531
12524
 
11532
12525
#if HAVE_DLFCN_H
11567
12560
#  endif
11568
12561
#endif
11569
12562
 
11570
 
#ifdef __cplusplus
11571
 
extern "C" void exit (int);
11572
 
#endif
11573
 
 
11574
12563
void fnord() { int i=42;}
11575
12564
int main ()
11576
12565
{
11586
12575
  else
11587
12576
    puts (dlerror ());
11588
12577
 
11589
 
    exit (status);
 
12578
  return status;
11590
12579
}
11591
 
EOF
 
12580
_LT_EOF
11592
12581
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11593
12582
  (eval $ac_link) 2>&5
11594
12583
  ac_status=$?
11595
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12584
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596
12585
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11597
12586
    (./conftest; exit; ) >&5 2>/dev/null
11598
12587
    lt_status=$?
11610
12599
 
11611
12600
 
11612
12601
fi
11613
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11614
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
12602
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
12603
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11615
12604
    fi
11616
12605
 
11617
12606
    CPPFLAGS="$save_CPPFLAGS"
11632
12621
fi
11633
12622
 
11634
12623
 
11635
 
# Report which library types will actually be built
11636
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11637
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11638
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11639
 
echo "${ECHO_T}$can_build_shared" >&6; }
11640
 
 
11641
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11642
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11643
 
test "$can_build_shared" = "no" && enable_shared=no
11644
 
 
11645
 
# On AIX, shared libraries and static libraries use the same namespace, and
11646
 
# are all built from PIC.
11647
 
case $host_os in
11648
 
aix3*)
11649
 
  test "$enable_shared" = yes && enable_static=no
11650
 
  if test -n "$RANLIB"; then
11651
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
11652
 
    postinstall_cmds='$RANLIB $lib'
11653
 
  fi
11654
 
  ;;
11655
 
 
11656
 
aix4* | aix5*)
11657
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11658
 
    test "$enable_shared" = yes && enable_static=no
11659
 
  fi
11660
 
    ;;
11661
 
esac
11662
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11663
 
echo "${ECHO_T}$enable_shared" >&6; }
11664
 
 
11665
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11666
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11667
 
# Make sure either enable_shared or enable_static is yes.
11668
 
test "$enable_shared" = yes || enable_static=yes
11669
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
11670
 
echo "${ECHO_T}$enable_static" >&6; }
11671
 
 
11672
 
# The else clause should only fire when bootstrapping the
11673
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
11674
 
# with your package, and you will get complaints that there are
11675
 
# no rules to generate ltmain.sh.
11676
 
if test -f "$ltmain"; then
11677
 
  # See if we are running on zsh, and set the options which allow our commands through
11678
 
  # without removal of \ escapes.
11679
 
  if test -n "${ZSH_VERSION+set}" ; then
11680
 
    setopt NO_GLOB_SUBST
11681
 
  fi
11682
 
  # Now quote all the things that may contain metacharacters while being
11683
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
11684
 
  # variables and quote the copies for generation of the libtool script.
11685
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11686
 
    SED SHELL STRIP \
11687
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11688
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11689
 
    deplibs_check_method reload_flag reload_cmds need_locks \
11690
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11691
 
    lt_cv_sys_global_symbol_to_c_name_address \
11692
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11693
 
    old_postinstall_cmds old_postuninstall_cmds \
11694
 
    compiler \
11695
 
    CC \
11696
 
    LD \
11697
 
    lt_prog_compiler_wl \
11698
 
    lt_prog_compiler_pic \
11699
 
    lt_prog_compiler_static \
11700
 
    lt_prog_compiler_no_builtin_flag \
11701
 
    export_dynamic_flag_spec \
11702
 
    thread_safe_flag_spec \
11703
 
    whole_archive_flag_spec \
11704
 
    enable_shared_with_static_runtimes \
11705
 
    old_archive_cmds \
11706
 
    old_archive_from_new_cmds \
11707
 
    predep_objects \
11708
 
    postdep_objects \
11709
 
    predeps \
11710
 
    postdeps \
11711
 
    compiler_lib_search_path \
11712
 
    archive_cmds \
11713
 
    archive_expsym_cmds \
11714
 
    postinstall_cmds \
11715
 
    postuninstall_cmds \
11716
 
    old_archive_from_expsyms_cmds \
11717
 
    allow_undefined_flag \
11718
 
    no_undefined_flag \
11719
 
    export_symbols_cmds \
11720
 
    hardcode_libdir_flag_spec \
11721
 
    hardcode_libdir_flag_spec_ld \
11722
 
    hardcode_libdir_separator \
11723
 
    hardcode_automatic \
11724
 
    module_cmds \
11725
 
    module_expsym_cmds \
11726
 
    lt_cv_prog_compiler_c_o \
11727
 
    fix_srcfile_path \
11728
 
    exclude_expsyms \
11729
 
    include_expsyms; do
11730
 
 
11731
 
    case $var in
11732
 
    old_archive_cmds | \
11733
 
    old_archive_from_new_cmds | \
11734
 
    archive_cmds | \
11735
 
    archive_expsym_cmds | \
11736
 
    module_cmds | \
11737
 
    module_expsym_cmds | \
11738
 
    old_archive_from_expsyms_cmds | \
11739
 
    export_symbols_cmds | \
11740
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
11741
 
    postinstall_cmds | postuninstall_cmds | \
11742
 
    old_postinstall_cmds | old_postuninstall_cmds | \
11743
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11744
 
      # Double-quote double-evaled strings.
11745
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11746
 
      ;;
11747
 
    *)
11748
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11749
 
      ;;
11750
 
    esac
11751
 
  done
11752
 
 
11753
 
  case $lt_echo in
11754
 
  *'\$0 --fallback-echo"')
11755
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11756
 
    ;;
11757
 
  esac
11758
 
 
11759
 
cfgfile="${ofile}T"
11760
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11761
 
  $rm -f "$cfgfile"
11762
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
11763
 
echo "$as_me: creating $ofile" >&6;}
11764
 
 
11765
 
  cat <<__EOF__ >> "$cfgfile"
11766
 
#! $SHELL
11767
 
 
11768
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11769
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11770
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11771
 
#
11772
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
11773
 
# Free Software Foundation, Inc.
11774
 
#
11775
 
# This file is part of GNU Libtool:
11776
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11777
 
#
11778
 
# This program is free software; you can redistribute it and/or modify
11779
 
# it under the terms of the GNU General Public License as published by
11780
 
# the Free Software Foundation; either version 2 of the License, or
11781
 
# (at your option) any later version.
11782
 
#
11783
 
# This program is distributed in the hope that it will be useful, but
11784
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
11785
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11786
 
# General Public License for more details.
11787
 
#
11788
 
# You should have received a copy of the GNU General Public License
11789
 
# along with this program; if not, write to the Free Software
11790
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11791
 
#
11792
 
# As a special exception to the GNU General Public License, if you
11793
 
# distribute this file as part of a program that contains a
11794
 
# configuration script generated by Autoconf, you may include it under
11795
 
# the same distribution terms that you use for the rest of that program.
11796
 
 
11797
 
# A sed program that does not truncate output.
11798
 
SED=$lt_SED
11799
 
 
11800
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11801
 
Xsed="$SED -e 1s/^X//"
11802
 
 
11803
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
11804
 
# if CDPATH is set.
11805
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11806
 
 
11807
 
# The names of the tagged configurations supported by this script.
11808
 
available_tags=
11809
 
 
11810
 
# ### BEGIN LIBTOOL CONFIG
11811
 
 
11812
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11813
 
 
11814
 
# Shell to use when invoking shell scripts.
11815
 
SHELL=$lt_SHELL
11816
 
 
11817
 
# Whether or not to build shared libraries.
11818
 
build_libtool_libs=$enable_shared
11819
 
 
11820
 
# Whether or not to build static libraries.
11821
 
build_old_libs=$enable_static
11822
 
 
11823
 
# Whether or not to add -lc for building shared libraries.
11824
 
build_libtool_need_lc=$archive_cmds_need_lc
11825
 
 
11826
 
# Whether or not to disallow shared libs when runtime libs are static
11827
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11828
 
 
11829
 
# Whether or not to optimize for fast installation.
11830
 
fast_install=$enable_fast_install
11831
 
 
11832
 
# The host system.
11833
 
host_alias=$host_alias
11834
 
host=$host
11835
 
host_os=$host_os
11836
 
 
11837
 
# The build system.
11838
 
build_alias=$build_alias
11839
 
build=$build
11840
 
build_os=$build_os
11841
 
 
11842
 
# An echo program that does not interpret backslashes.
11843
 
echo=$lt_echo
11844
 
 
11845
 
# The archiver.
11846
 
AR=$lt_AR
11847
 
AR_FLAGS=$lt_AR_FLAGS
11848
 
 
11849
 
# A C compiler.
11850
 
LTCC=$lt_LTCC
11851
 
 
11852
 
# LTCC compiler flags.
11853
 
LTCFLAGS=$lt_LTCFLAGS
11854
 
 
11855
 
# A language-specific compiler.
11856
 
CC=$lt_compiler
11857
 
 
11858
 
# Is the compiler the GNU C compiler?
11859
 
with_gcc=$GCC
11860
 
 
11861
 
# An ERE matcher.
11862
 
EGREP=$lt_EGREP
11863
 
 
11864
 
# The linker used to build libraries.
11865
 
LD=$lt_LD
11866
 
 
11867
 
# Whether we need hard or soft links.
11868
 
LN_S=$lt_LN_S
11869
 
 
11870
 
# A BSD-compatible nm program.
11871
 
NM=$lt_NM
11872
 
 
11873
 
# A symbol stripping program
11874
 
STRIP=$lt_STRIP
11875
 
 
11876
 
# Used to examine libraries when file_magic_cmd begins "file"
11877
 
MAGIC_CMD=$MAGIC_CMD
11878
 
 
11879
 
# Used on cygwin: DLL creation program.
11880
 
DLLTOOL="$DLLTOOL"
11881
 
 
11882
 
# Used on cygwin: object dumper.
11883
 
OBJDUMP="$OBJDUMP"
11884
 
 
11885
 
# Used on cygwin: assembler.
11886
 
AS="$AS"
11887
 
 
11888
 
# The name of the directory that contains temporary libtool files.
11889
 
objdir=$objdir
11890
 
 
11891
 
# How to create reloadable object files.
11892
 
reload_flag=$lt_reload_flag
11893
 
reload_cmds=$lt_reload_cmds
11894
 
 
11895
 
# How to pass a linker flag through the compiler.
11896
 
wl=$lt_lt_prog_compiler_wl
11897
 
 
11898
 
# Object file suffix (normally "o").
11899
 
objext="$ac_objext"
11900
 
 
11901
 
# Old archive suffix (normally "a").
11902
 
libext="$libext"
11903
 
 
11904
 
# Shared library suffix (normally ".so").
11905
 
shrext_cmds='$shrext_cmds'
11906
 
 
11907
 
# Executable file suffix (normally "").
11908
 
exeext="$exeext"
11909
 
 
11910
 
# Additional compiler flags for building library objects.
11911
 
pic_flag=$lt_lt_prog_compiler_pic
11912
 
pic_mode=$pic_mode
11913
 
 
11914
 
# What is the maximum length of a command?
11915
 
max_cmd_len=$lt_cv_sys_max_cmd_len
11916
 
 
11917
 
# Does compiler simultaneously support -c and -o options?
11918
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11919
 
 
11920
 
# Must we lock files when doing compilation?
11921
 
need_locks=$lt_need_locks
11922
 
 
11923
 
# Do we need the lib prefix for modules?
11924
 
need_lib_prefix=$need_lib_prefix
11925
 
 
11926
 
# Do we need a version for libraries?
11927
 
need_version=$need_version
11928
 
 
11929
 
# Whether dlopen is supported.
11930
 
dlopen_support=$enable_dlopen
11931
 
 
11932
 
# Whether dlopen of programs is supported.
11933
 
dlopen_self=$enable_dlopen_self
11934
 
 
11935
 
# Whether dlopen of statically linked programs is supported.
11936
 
dlopen_self_static=$enable_dlopen_self_static
11937
 
 
11938
 
# Compiler flag to prevent dynamic linking.
11939
 
link_static_flag=$lt_lt_prog_compiler_static
11940
 
 
11941
 
# Compiler flag to turn off builtin functions.
11942
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11943
 
 
11944
 
# Compiler flag to allow reflexive dlopens.
11945
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11946
 
 
11947
 
# Compiler flag to generate shared objects directly from archives.
11948
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
11949
 
 
11950
 
# Compiler flag to generate thread-safe objects.
11951
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
11952
 
 
11953
 
# Library versioning type.
11954
 
version_type=$version_type
11955
 
 
11956
 
# Format of library name prefix.
11957
 
libname_spec=$lt_libname_spec
11958
 
 
11959
 
# List of archive names.  First name is the real one, the rest are links.
11960
 
# The last name is the one that the linker finds with -lNAME.
11961
 
library_names_spec=$lt_library_names_spec
11962
 
 
11963
 
# The coded name of the library, if different from the real name.
11964
 
soname_spec=$lt_soname_spec
11965
 
 
11966
 
# Commands used to build and install an old-style archive.
11967
 
RANLIB=$lt_RANLIB
11968
 
old_archive_cmds=$lt_old_archive_cmds
11969
 
old_postinstall_cmds=$lt_old_postinstall_cmds
11970
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
11971
 
 
11972
 
# Create an old-style archive from a shared archive.
11973
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11974
 
 
11975
 
# Create a temporary old-style archive to link instead of a shared archive.
11976
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11977
 
 
11978
 
# Commands used to build and install a shared archive.
11979
 
archive_cmds=$lt_archive_cmds
11980
 
archive_expsym_cmds=$lt_archive_expsym_cmds
11981
 
postinstall_cmds=$lt_postinstall_cmds
11982
 
postuninstall_cmds=$lt_postuninstall_cmds
11983
 
 
11984
 
# Commands used to build a loadable module (assumed same as above if empty)
11985
 
module_cmds=$lt_module_cmds
11986
 
module_expsym_cmds=$lt_module_expsym_cmds
11987
 
 
11988
 
# Commands to strip libraries.
11989
 
old_striplib=$lt_old_striplib
11990
 
striplib=$lt_striplib
11991
 
 
11992
 
# Dependencies to place before the objects being linked to create a
11993
 
# shared library.
11994
 
predep_objects=$lt_predep_objects
11995
 
 
11996
 
# Dependencies to place after the objects being linked to create a
11997
 
# shared library.
11998
 
postdep_objects=$lt_postdep_objects
11999
 
 
12000
 
# Dependencies to place before the objects being linked to create a
12001
 
# shared library.
12002
 
predeps=$lt_predeps
12003
 
 
12004
 
# Dependencies to place after the objects being linked to create a
12005
 
# shared library.
12006
 
postdeps=$lt_postdeps
12007
 
 
12008
 
# The library search path used internally by the compiler when linking
12009
 
# a shared library.
12010
 
compiler_lib_search_path=$lt_compiler_lib_search_path
12011
 
 
12012
 
# Method to check whether dependent libraries are shared objects.
12013
 
deplibs_check_method=$lt_deplibs_check_method
12014
 
 
12015
 
# Command to use when deplibs_check_method == file_magic.
12016
 
file_magic_cmd=$lt_file_magic_cmd
12017
 
 
12018
 
# Flag that allows shared libraries with undefined symbols to be built.
12019
 
allow_undefined_flag=$lt_allow_undefined_flag
12020
 
 
12021
 
# Flag that forces no undefined symbols.
12022
 
no_undefined_flag=$lt_no_undefined_flag
12023
 
 
12024
 
# Commands used to finish a libtool library installation in a directory.
12025
 
finish_cmds=$lt_finish_cmds
12026
 
 
12027
 
# Same as above, but a single script fragment to be evaled but not shown.
12028
 
finish_eval=$lt_finish_eval
12029
 
 
12030
 
# Take the output of nm and produce a listing of raw symbols and C names.
12031
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12032
 
 
12033
 
# Transform the output of nm in a proper C declaration
12034
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12035
 
 
12036
 
# Transform the output of nm in a C name address pair
12037
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12038
 
 
12039
 
# This is the shared library runtime path variable.
12040
 
runpath_var=$runpath_var
12041
 
 
12042
 
# This is the shared library path variable.
12043
 
shlibpath_var=$shlibpath_var
12044
 
 
12045
 
# Is shlibpath searched before the hard-coded library search path?
12046
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12047
 
 
12048
 
# How to hardcode a shared library path into an executable.
12049
 
hardcode_action=$hardcode_action
12050
 
 
12051
 
# Whether we should hardcode library paths into libraries.
12052
 
hardcode_into_libs=$hardcode_into_libs
12053
 
 
12054
 
# Flag to hardcode \$libdir into a binary during linking.
12055
 
# This must work even if \$libdir does not exist.
12056
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12057
 
 
12058
 
# If ld is used when linking, flag to hardcode \$libdir into
12059
 
# a binary during linking. This must work even if \$libdir does
12060
 
# not exist.
12061
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12062
 
 
12063
 
# Whether we need a single -rpath flag with a separated argument.
12064
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
12065
 
 
12066
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12067
 
# resulting binary.
12068
 
hardcode_direct=$hardcode_direct
12069
 
 
12070
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12071
 
# resulting binary.
12072
 
hardcode_minus_L=$hardcode_minus_L
12073
 
 
12074
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12075
 
# the resulting binary.
12076
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
12077
 
 
12078
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
12079
 
# and all subsequent libraries and executables linked against it.
12080
 
hardcode_automatic=$hardcode_automatic
12081
 
 
12082
 
# Variables whose values should be saved in libtool wrapper scripts and
12083
 
# restored at relink time.
12084
 
variables_saved_for_relink="$variables_saved_for_relink"
12085
 
 
12086
 
# Whether libtool must link a program against all its dependency libraries.
12087
 
link_all_deplibs=$link_all_deplibs
12088
 
 
12089
 
# Compile-time system search path for libraries
12090
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12091
 
 
12092
 
# Run-time system search path for libraries
12093
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12094
 
 
12095
 
# Fix the shell variable \$srcfile for the compiler.
12096
 
fix_srcfile_path=$lt_fix_srcfile_path
12097
 
 
12098
 
# Set to yes if exported symbols are required.
12099
 
always_export_symbols=$always_export_symbols
12100
 
 
12101
 
# The commands to list exported symbols.
12102
 
export_symbols_cmds=$lt_export_symbols_cmds
12103
 
 
12104
 
# The commands to extract the exported symbol list from a shared archive.
12105
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
12106
 
 
12107
 
# Symbols that should not be listed in the preloaded symbols.
12108
 
exclude_expsyms=$lt_exclude_expsyms
12109
 
 
12110
 
# Symbols that must always be exported.
12111
 
include_expsyms=$lt_include_expsyms
12112
 
 
12113
 
# ### END LIBTOOL CONFIG
12114
 
 
12115
 
__EOF__
12116
 
 
12117
 
 
12118
 
  case $host_os in
12119
 
  aix3*)
12120
 
    cat <<\EOF >> "$cfgfile"
12121
 
 
12122
 
# AIX sometimes has problems with the GCC collect2 program.  For some
12123
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
12124
 
# vanish in a puff of smoke.
12125
 
if test "X${COLLECT_NAMES+set}" != Xset; then
12126
 
  COLLECT_NAMES=
12127
 
  export COLLECT_NAMES
12128
 
fi
12129
 
EOF
12130
 
    ;;
12131
 
  esac
12132
 
 
12133
 
  # We use sed instead of cat because bash on DJGPP gets confused if
12134
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
12135
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
12136
 
  # is reportedly fixed, but why not run on old versions too?
12137
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12138
 
 
12139
 
  mv -f "$cfgfile" "$ofile" || \
12140
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12141
 
  chmod +x "$ofile"
12142
 
 
12143
 
else
12144
 
  # If there is no Makefile yet, we rely on a make rule to execute
12145
 
  # `config.status --recheck' to rerun these tests and create the
12146
 
  # libtool script then.
12147
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12148
 
  if test -f "$ltmain_in"; then
12149
 
    test -f Makefile && make "$ltmain"
12150
 
  fi
12151
 
fi
12152
 
 
12153
 
 
12154
 
ac_ext=c
12155
 
ac_cpp='$CPP $CPPFLAGS'
12156
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12157
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12158
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12159
 
 
12160
 
CC="$lt_save_CC"
12161
 
 
12162
 
 
12163
 
# Check whether --with-tags was given.
12164
 
if test "${with_tags+set}" = set; then
12165
 
  withval=$with_tags; tagnames="$withval"
12166
 
fi
12167
 
 
12168
 
 
12169
 
if test -f "$ltmain" && test -n "$tagnames"; then
12170
 
  if test ! -f "${ofile}"; then
12171
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
12172
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
12173
 
  fi
12174
 
 
12175
 
  if test -z "$LTCC"; then
12176
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
12177
 
    if test -z "$LTCC"; then
12178
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12179
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
12180
 
    else
12181
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
12182
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
12183
 
    fi
12184
 
  fi
12185
 
  if test -z "$LTCFLAGS"; then
12186
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
12187
 
  fi
12188
 
 
12189
 
  # Extract list of available tagged configurations in $ofile.
12190
 
  # Note that this assumes the entire list is on one line.
12191
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12192
 
 
12193
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12194
 
  for tagname in $tagnames; do
12195
 
    IFS="$lt_save_ifs"
12196
 
    # Check whether tagname contains only valid characters
12197
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12198
 
    "") ;;
12199
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12200
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
12201
 
   { (exit 1); exit 1; }; }
12202
 
        ;;
12203
 
    esac
12204
 
 
12205
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12206
 
    then
12207
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12208
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12209
 
   { (exit 1); exit 1; }; }
12210
 
    fi
12211
 
 
12212
 
    # Update the list of available tags.
12213
 
    if test -n "$tagname"; then
12214
 
      echo appending configuration tag \"$tagname\" to $ofile
12215
 
 
12216
 
      case $tagname in
12217
 
      CXX)
12218
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12219
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12220
 
            (test "X$CXX" != "Xg++"))) ; then
12221
 
          ac_ext=cpp
12222
 
ac_cpp='$CXXCPP $CPPFLAGS'
12223
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12224
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12225
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12226
 
 
12227
 
 
12228
 
 
12229
 
 
12230
 
archive_cmds_need_lc_CXX=no
12231
 
allow_undefined_flag_CXX=
12232
 
always_export_symbols_CXX=no
12233
 
archive_expsym_cmds_CXX=
12234
 
export_dynamic_flag_spec_CXX=
12235
 
hardcode_direct_CXX=no
12236
 
hardcode_libdir_flag_spec_CXX=
12237
 
hardcode_libdir_flag_spec_ld_CXX=
12238
 
hardcode_libdir_separator_CXX=
12239
 
hardcode_minus_L_CXX=no
12240
 
hardcode_shlibpath_var_CXX=unsupported
12241
 
hardcode_automatic_CXX=no
12242
 
module_cmds_CXX=
12243
 
module_expsym_cmds_CXX=
12244
 
link_all_deplibs_CXX=unknown
12245
 
old_archive_cmds_CXX=$old_archive_cmds
12246
 
no_undefined_flag_CXX=
12247
 
whole_archive_flag_spec_CXX=
12248
 
enable_shared_with_static_runtimes_CXX=no
12249
 
 
12250
 
# Dependencies to place before and after the object being linked:
12251
 
predep_objects_CXX=
12252
 
postdep_objects_CXX=
12253
 
predeps_CXX=
12254
 
postdeps_CXX=
12255
 
compiler_lib_search_path_CXX=
12256
 
 
12257
 
# Source file extension for C++ test sources.
12258
 
ac_ext=cpp
12259
 
 
12260
 
# Object file extension for compiled C++ test sources.
12261
 
objext=o
12262
 
objext_CXX=$objext
12263
 
 
12264
 
# Code to be used in simple compile tests
12265
 
lt_simple_compile_test_code="int some_variable = 0;"
12266
 
 
12267
 
# Code to be used in simple link tests
12268
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12269
 
 
12270
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12271
 
 
12272
 
# If no C compiler was specified, use CC.
12273
 
LTCC=${LTCC-"$CC"}
12274
 
 
12275
 
# If no C compiler flags were specified, use CFLAGS.
12276
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12277
 
 
12278
 
# Allow CC to be a program name with arguments.
12279
 
compiler=$CC
12280
 
 
12281
 
 
12282
 
# save warnings/boilerplate of simple test code
12283
 
ac_outfile=conftest.$ac_objext
12284
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12285
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12286
 
_lt_compiler_boilerplate=`cat conftest.err`
12287
 
$rm conftest*
12288
 
 
12289
 
ac_outfile=conftest.$ac_objext
12290
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12291
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12292
 
_lt_linker_boilerplate=`cat conftest.err`
12293
 
$rm conftest*
12294
 
 
12295
 
 
12296
 
# Allow CC to be a program name with arguments.
12297
 
lt_save_CC=$CC
12298
 
lt_save_LD=$LD
12299
 
lt_save_GCC=$GCC
12300
 
GCC=$GXX
12301
 
lt_save_with_gnu_ld=$with_gnu_ld
12302
 
lt_save_path_LD=$lt_cv_path_LD
12303
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12304
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12305
 
else
12306
 
  $as_unset lt_cv_prog_gnu_ld
12307
 
fi
12308
 
if test -n "${lt_cv_path_LDCXX+set}"; then
12309
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
12310
 
else
12311
 
  $as_unset lt_cv_path_LD
12312
 
fi
12313
 
test -z "${LDCXX+set}" || LD=$LDCXX
12314
 
CC=${CXX-"c++"}
12315
 
compiler=$CC
12316
 
compiler_CXX=$CC
12317
 
for cc_temp in $compiler""; do
12318
 
  case $cc_temp in
12319
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12320
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12321
 
    \-*) ;;
12322
 
    *) break;;
12323
 
  esac
12324
 
done
12325
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12326
 
 
12327
 
 
12328
 
# We don't want -fno-exception wen compiling C++ code, so set the
12329
 
# no_builtin_flag separately
12330
 
if test "$GXX" = yes; then
12331
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12332
 
else
12333
 
  lt_prog_compiler_no_builtin_flag_CXX=
12334
 
fi
12335
 
 
12336
 
if test "$GXX" = yes; then
12337
 
  # Set up default GNU C++ configuration
12338
 
 
12339
 
 
12340
 
# Check whether --with-gnu-ld was given.
12341
 
if test "${with_gnu_ld+set}" = set; then
12342
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12343
 
else
12344
 
  with_gnu_ld=no
12345
 
fi
12346
 
 
12347
 
ac_prog=ld
12348
 
if test "$GCC" = yes; then
12349
 
  # Check if gcc -print-prog-name=ld gives a path.
12350
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12351
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12352
 
  case $host in
12353
 
  *-*-mingw*)
12354
 
    # gcc leaves a trailing carriage return which upsets mingw
12355
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12356
 
  *)
12357
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12358
 
  esac
12359
 
  case $ac_prog in
12360
 
    # Accept absolute paths.
12361
 
    [\\/]* | ?:[\\/]*)
12362
 
      re_direlt='/[^/][^/]*/\.\./'
12363
 
      # Canonicalize the pathname of ld
12364
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12365
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12366
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12367
 
      done
12368
 
      test -z "$LD" && LD="$ac_prog"
12369
 
      ;;
12370
 
  "")
12371
 
    # If it fails, then pretend we aren't using GCC.
12372
 
    ac_prog=ld
12373
 
    ;;
12374
 
  *)
12375
 
    # If it is relative, then search for the first ld in PATH.
12376
 
    with_gnu_ld=unknown
12377
 
    ;;
12378
 
  esac
12379
 
elif test "$with_gnu_ld" = yes; then
12380
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
12381
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12382
 
else
12383
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12384
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12385
 
fi
12386
 
if test "${lt_cv_path_LD+set}" = set; then
12387
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12388
 
else
12389
 
  if test -z "$LD"; then
12390
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12391
 
  for ac_dir in $PATH; do
12392
 
    IFS="$lt_save_ifs"
12393
 
    test -z "$ac_dir" && ac_dir=.
12394
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12395
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
12396
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
12397
 
      # but apparently some variants of GNU ld only accept -v.
12398
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
12399
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12400
 
      *GNU* | *'with BFD'*)
12401
 
        test "$with_gnu_ld" != no && break
12402
 
        ;;
12403
 
      *)
12404
 
        test "$with_gnu_ld" != yes && break
12405
 
        ;;
12406
 
      esac
12407
 
    fi
12408
 
  done
12409
 
  IFS="$lt_save_ifs"
12410
 
else
12411
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12412
 
fi
12413
 
fi
12414
 
 
12415
 
LD="$lt_cv_path_LD"
12416
 
if test -n "$LD"; then
12417
 
  { echo "$as_me:$LINENO: result: $LD" >&5
12418
 
echo "${ECHO_T}$LD" >&6; }
12419
 
else
12420
 
  { echo "$as_me:$LINENO: result: no" >&5
12421
 
echo "${ECHO_T}no" >&6; }
12422
 
fi
12423
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12424
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12425
 
   { (exit 1); exit 1; }; }
12426
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12427
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12428
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12429
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12430
 
else
12431
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12432
 
case `$LD -v 2>&1 </dev/null` in
12433
 
*GNU* | *'with BFD'*)
12434
 
  lt_cv_prog_gnu_ld=yes
12435
 
  ;;
12436
 
*)
12437
 
  lt_cv_prog_gnu_ld=no
12438
 
  ;;
12439
 
esac
12440
 
fi
12441
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12442
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12443
 
with_gnu_ld=$lt_cv_prog_gnu_ld
12444
 
 
12445
 
 
12446
 
 
12447
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
12448
 
  # archiving commands below assume that GNU ld is being used.
12449
 
  if test "$with_gnu_ld" = yes; then
12450
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12451
 
    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'
12452
 
 
12453
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12454
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12455
 
 
12456
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
12457
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12458
 
    #     investigate it a little bit more. (MM)
12459
 
    wlarc='${wl}'
12460
 
 
12461
 
    # ancient GNU ld didn't support --whole-archive et. al.
12462
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
12463
 
        grep 'no-whole-archive' > /dev/null; then
12464
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12465
 
    else
12466
 
      whole_archive_flag_spec_CXX=
12467
 
    fi
12468
 
  else
12469
 
    with_gnu_ld=no
12470
 
    wlarc=
12471
 
 
12472
 
    # A generic and very simple default shared library creation
12473
 
    # command for GNU C++ for the case where it uses the native
12474
 
    # linker, instead of GNU ld.  If possible, this setting should
12475
 
    # overridden to take advantage of the native linker features on
12476
 
    # the platform it is being used on.
12477
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12478
 
  fi
12479
 
 
12480
 
  # Commands to make compiler produce verbose output that lists
12481
 
  # what "hidden" libraries, object files and flags are used when
12482
 
  # linking a shared library.
12483
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12484
 
 
12485
 
else
12486
 
  GXX=no
12487
 
  with_gnu_ld=no
12488
 
  wlarc=
12489
 
fi
12490
 
 
12491
 
# PORTME: fill in a description of your system's C++ link characteristics
12492
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12493
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12494
 
ld_shlibs_CXX=yes
12495
 
case $host_os in
12496
 
  aix3*)
12497
 
    # FIXME: insert proper C++ library support
12498
 
    ld_shlibs_CXX=no
12499
 
    ;;
12500
 
  aix4* | aix5*)
12501
 
    if test "$host_cpu" = ia64; then
12502
 
      # On IA64, the linker does run time linking by default, so we don't
12503
 
      # have to do anything special.
12504
 
      aix_use_runtimelinking=no
12505
 
      exp_sym_flag='-Bexport'
12506
 
      no_entry_flag=""
12507
 
    else
12508
 
      aix_use_runtimelinking=no
12509
 
 
12510
 
      # Test if we are trying to use run time linking or normal
12511
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12512
 
      # need to do runtime linking.
12513
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12514
 
        for ld_flag in $LDFLAGS; do
12515
 
          case $ld_flag in
12516
 
          *-brtl*)
12517
 
            aix_use_runtimelinking=yes
12518
 
            break
12519
 
            ;;
12520
 
          esac
12521
 
        done
12522
 
        ;;
12523
 
      esac
12524
 
 
12525
 
      exp_sym_flag='-bexport'
12526
 
      no_entry_flag='-bnoentry'
12527
 
    fi
12528
 
 
12529
 
    # When large executables or shared objects are built, AIX ld can
12530
 
    # have problems creating the table of contents.  If linking a library
12531
 
    # or program results in "error TOC overflow" add -mminimal-toc to
12532
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12533
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12534
 
 
12535
 
    archive_cmds_CXX=''
12536
 
    hardcode_direct_CXX=yes
12537
 
    hardcode_libdir_separator_CXX=':'
12538
 
    link_all_deplibs_CXX=yes
12539
 
 
12540
 
    if test "$GXX" = yes; then
12541
 
      case $host_os in aix4.[012]|aix4.[012].*)
12542
 
      # We only want to do this on AIX 4.2 and lower, the check
12543
 
      # below for broken collect2 doesn't work under 4.3+
12544
 
        collect2name=`${CC} -print-prog-name=collect2`
12545
 
        if test -f "$collect2name" && \
12546
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
12547
 
        then
12548
 
          # We have reworked collect2
12549
 
          :
12550
 
        else
12551
 
          # We have old collect2
12552
 
          hardcode_direct_CXX=unsupported
12553
 
          # It fails to find uninstalled libraries when the uninstalled
12554
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
12555
 
          # to unsupported forces relinking
12556
 
          hardcode_minus_L_CXX=yes
12557
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
12558
 
          hardcode_libdir_separator_CXX=
12559
 
        fi
12560
 
        ;;
12561
 
      esac
12562
 
      shared_flag='-shared'
12563
 
      if test "$aix_use_runtimelinking" = yes; then
12564
 
        shared_flag="$shared_flag "'${wl}-G'
12565
 
      fi
12566
 
    else
12567
 
      # not using gcc
12568
 
      if test "$host_cpu" = ia64; then
12569
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12570
 
        # chokes on -Wl,-G. The following line is correct:
12571
 
        shared_flag='-G'
12572
 
      else
12573
 
        if test "$aix_use_runtimelinking" = yes; then
12574
 
          shared_flag='${wl}-G'
12575
 
        else
12576
 
          shared_flag='${wl}-bM:SRE'
12577
 
        fi
12578
 
      fi
12579
 
    fi
12580
 
 
12581
 
    # It seems that -bexpall does not export symbols beginning with
12582
 
    # underscore (_), so it is better to generate a list of symbols to export.
12583
 
    always_export_symbols_CXX=yes
12584
 
    if test "$aix_use_runtimelinking" = yes; then
12585
 
      # Warning - without using the other runtime loading flags (-brtl),
12586
 
      # -berok will link without error, but may produce a broken library.
12587
 
      allow_undefined_flag_CXX='-berok'
12588
 
      # Determine the default libpath from the value encoded in an empty executable.
12589
 
      cat >conftest.$ac_ext <<_ACEOF
12590
 
/* confdefs.h.  */
12591
 
_ACEOF
12592
 
cat confdefs.h >>conftest.$ac_ext
12593
 
cat >>conftest.$ac_ext <<_ACEOF
12594
 
/* end confdefs.h.  */
12595
 
 
12596
 
int
12597
 
main ()
12598
 
{
12599
 
 
12600
 
  ;
12601
 
  return 0;
12602
 
}
12603
 
_ACEOF
12604
 
rm -f conftest.$ac_objext conftest$ac_exeext
12605
 
if { (ac_try="$ac_link"
12606
 
case "(($ac_try" in
12607
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12608
 
  *) ac_try_echo=$ac_try;;
12609
 
esac
12610
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12611
 
  (eval "$ac_link") 2>conftest.er1
12612
 
  ac_status=$?
12613
 
  grep -v '^ *+' conftest.er1 >conftest.err
12614
 
  rm -f conftest.er1
12615
 
  cat conftest.err >&5
12616
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617
 
  (exit $ac_status); } && {
12618
 
         test -z "$ac_cxx_werror_flag" ||
12619
 
         test ! -s conftest.err
12620
 
       } && test -s conftest$ac_exeext &&
12621
 
       $as_test_x conftest$ac_exeext; then
12622
 
 
12623
 
lt_aix_libpath_sed='
12624
 
    /Import File Strings/,/^$/ {
12625
 
        /^0/ {
12626
 
            s/^0  *\(.*\)$/\1/
12627
 
            p
12628
 
        }
12629
 
    }'
12630
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12631
 
# Check for a 64-bit object if we didn't find anything.
12632
 
if test -z "$aix_libpath"; then
12633
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12634
 
fi
12635
 
else
12636
 
  echo "$as_me: failed program was:" >&5
12637
 
sed 's/^/| /' conftest.$ac_ext >&5
12638
 
 
12639
 
 
12640
 
fi
12641
 
 
12642
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12643
 
      conftest$ac_exeext conftest.$ac_ext
12644
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12645
 
 
12646
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12647
 
 
12648
 
      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"
12649
 
     else
12650
 
      if test "$host_cpu" = ia64; then
12651
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12652
 
        allow_undefined_flag_CXX="-z nodefs"
12653
 
        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"
12654
 
      else
12655
 
        # Determine the default libpath from the value encoded in an empty executable.
12656
 
        cat >conftest.$ac_ext <<_ACEOF
12657
 
/* confdefs.h.  */
12658
 
_ACEOF
12659
 
cat confdefs.h >>conftest.$ac_ext
12660
 
cat >>conftest.$ac_ext <<_ACEOF
12661
 
/* end confdefs.h.  */
12662
 
 
12663
 
int
12664
 
main ()
12665
 
{
12666
 
 
12667
 
  ;
12668
 
  return 0;
12669
 
}
12670
 
_ACEOF
12671
 
rm -f conftest.$ac_objext conftest$ac_exeext
12672
 
if { (ac_try="$ac_link"
12673
 
case "(($ac_try" in
12674
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12675
 
  *) ac_try_echo=$ac_try;;
12676
 
esac
12677
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12678
 
  (eval "$ac_link") 2>conftest.er1
12679
 
  ac_status=$?
12680
 
  grep -v '^ *+' conftest.er1 >conftest.err
12681
 
  rm -f conftest.er1
12682
 
  cat conftest.err >&5
12683
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684
 
  (exit $ac_status); } && {
12685
 
         test -z "$ac_cxx_werror_flag" ||
12686
 
         test ! -s conftest.err
12687
 
       } && test -s conftest$ac_exeext &&
12688
 
       $as_test_x conftest$ac_exeext; then
12689
 
 
12690
 
lt_aix_libpath_sed='
12691
 
    /Import File Strings/,/^$/ {
12692
 
        /^0/ {
12693
 
            s/^0  *\(.*\)$/\1/
12694
 
            p
12695
 
        }
12696
 
    }'
12697
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12698
 
# Check for a 64-bit object if we didn't find anything.
12699
 
if test -z "$aix_libpath"; then
12700
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12701
 
fi
12702
 
else
12703
 
  echo "$as_me: failed program was:" >&5
12704
 
sed 's/^/| /' conftest.$ac_ext >&5
12705
 
 
12706
 
 
12707
 
fi
12708
 
 
12709
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12710
 
      conftest$ac_exeext conftest.$ac_ext
12711
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12712
 
 
12713
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12714
 
        # Warning - without using the other run time loading flags,
12715
 
        # -berok will link without error, but may produce a broken library.
12716
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
12717
 
        allow_undefined_flag_CXX=' ${wl}-berok'
12718
 
        # Exported symbols can be pulled into shared objects from archives
12719
 
        whole_archive_flag_spec_CXX='$convenience'
12720
 
        archive_cmds_need_lc_CXX=yes
12721
 
        # This is similar to how AIX traditionally builds its shared libraries.
12722
 
        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'
12723
 
      fi
12724
 
    fi
12725
 
    ;;
12726
 
 
12727
 
  beos*)
12728
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12729
 
      allow_undefined_flag_CXX=unsupported
12730
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12731
 
      # support --undefined.  This deserves some investigation.  FIXME
12732
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12733
 
    else
12734
 
      ld_shlibs_CXX=no
12735
 
    fi
12736
 
    ;;
12737
 
 
12738
 
  chorus*)
12739
 
    case $cc_basename in
12740
 
      *)
12741
 
        # FIXME: insert proper C++ library support
12742
 
        ld_shlibs_CXX=no
12743
 
        ;;
12744
 
    esac
12745
 
    ;;
12746
 
 
12747
 
  cygwin* | mingw* | pw32*)
12748
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12749
 
    # as there is no search path for DLLs.
12750
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
12751
 
    allow_undefined_flag_CXX=unsupported
12752
 
    always_export_symbols_CXX=no
12753
 
    enable_shared_with_static_runtimes_CXX=yes
12754
 
 
12755
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12756
 
      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'
12757
 
      # If the export-symbols file already is a .def file (1st line
12758
 
      # is EXPORTS), use it as is; otherwise, prepend...
12759
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12760
 
        cp $export_symbols $output_objdir/$soname.def;
12761
 
      else
12762
 
        echo EXPORTS > $output_objdir/$soname.def;
12763
 
        cat $export_symbols >> $output_objdir/$soname.def;
12764
 
      fi~
12765
 
      $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'
12766
 
    else
12767
 
      ld_shlibs_CXX=no
12768
 
    fi
12769
 
  ;;
12770
 
      darwin* | rhapsody*)
12771
 
        case $host_os in
12772
 
        rhapsody* | darwin1.[012])
12773
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12774
 
         ;;
12775
 
       *) # Darwin 1.3 on
12776
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12777
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12778
 
         else
12779
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
12780
 
             10.[012])
12781
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12782
 
               ;;
12783
 
             10.*)
12784
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12785
 
               ;;
12786
 
           esac
12787
 
         fi
12788
 
         ;;
12789
 
        esac
12790
 
      archive_cmds_need_lc_CXX=no
12791
 
      hardcode_direct_CXX=no
12792
 
      hardcode_automatic_CXX=yes
12793
 
      hardcode_shlibpath_var_CXX=unsupported
12794
 
      whole_archive_flag_spec_CXX=''
12795
 
      link_all_deplibs_CXX=yes
12796
 
 
12797
 
    if test "$GXX" = yes ; then
12798
 
      lt_int_apple_cc_single_mod=no
12799
 
      output_verbose_link_cmd='echo'
12800
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12801
 
       lt_int_apple_cc_single_mod=yes
12802
 
      fi
12803
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12804
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12805
 
      else
12806
 
          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'
12807
 
        fi
12808
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12809
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12810
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12811
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12812
 
          else
12813
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12814
 
          fi
12815
 
            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}'
12816
 
      else
12817
 
      case $cc_basename in
12818
 
        xlc*)
12819
 
         output_verbose_link_cmd='echo'
12820
 
          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'
12821
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12822
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12823
 
          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}'
12824
 
          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}'
12825
 
          ;;
12826
 
       *)
12827
 
         ld_shlibs_CXX=no
12828
 
          ;;
12829
 
      esac
12830
 
      fi
12831
 
        ;;
12832
 
 
12833
 
  dgux*)
12834
 
    case $cc_basename in
12835
 
      ec++*)
12836
 
        # FIXME: insert proper C++ library support
12837
 
        ld_shlibs_CXX=no
12838
 
        ;;
12839
 
      ghcx*)
12840
 
        # Green Hills C++ Compiler
12841
 
        # FIXME: insert proper C++ library support
12842
 
        ld_shlibs_CXX=no
12843
 
        ;;
12844
 
      *)
12845
 
        # FIXME: insert proper C++ library support
12846
 
        ld_shlibs_CXX=no
12847
 
        ;;
12848
 
    esac
12849
 
    ;;
12850
 
  freebsd[12]*)
12851
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
12852
 
    ld_shlibs_CXX=no
12853
 
    ;;
12854
 
  freebsd-elf*)
12855
 
    archive_cmds_need_lc_CXX=no
12856
 
    ;;
12857
 
  freebsd* | dragonfly*)
12858
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12859
 
    # conventions
12860
 
    ld_shlibs_CXX=yes
12861
 
    ;;
12862
 
  gnu*)
12863
 
    ;;
12864
 
  hpux9*)
12865
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12866
 
    hardcode_libdir_separator_CXX=:
12867
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12868
 
    hardcode_direct_CXX=yes
12869
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
12870
 
                                # but as the default
12871
 
                                # location of the library.
12872
 
 
12873
 
    case $cc_basename in
12874
 
    CC*)
12875
 
      # FIXME: insert proper C++ library support
12876
 
      ld_shlibs_CXX=no
12877
 
      ;;
12878
 
    aCC*)
12879
 
      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'
12880
 
      # Commands to make compiler produce verbose output that lists
12881
 
      # what "hidden" libraries, object files and flags are used when
12882
 
      # linking a shared library.
12883
 
      #
12884
 
      # There doesn't appear to be a way to prevent this compiler from
12885
 
      # explicitly linking system object files so we need to strip them
12886
 
      # from the output so that they don't get included in the library
12887
 
      # dependencies.
12888
 
      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'
12889
 
      ;;
12890
 
    *)
12891
 
      if test "$GXX" = yes; then
12892
 
        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'
12893
 
      else
12894
 
        # FIXME: insert proper C++ library support
12895
 
        ld_shlibs_CXX=no
12896
 
      fi
12897
 
      ;;
12898
 
    esac
12899
 
    ;;
12900
 
  hpux10*|hpux11*)
12901
 
    if test $with_gnu_ld = no; then
12902
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12903
 
      hardcode_libdir_separator_CXX=:
12904
 
 
12905
 
      case $host_cpu in
12906
 
      hppa*64*|ia64*) ;;
12907
 
      *)
12908
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12909
 
        ;;
12910
 
      esac
12911
 
    fi
12912
 
    case $host_cpu in
12913
 
    hppa*64*|ia64*)
12914
 
      hardcode_direct_CXX=no
12915
 
      hardcode_shlibpath_var_CXX=no
12916
 
      ;;
12917
 
    *)
12918
 
      hardcode_direct_CXX=yes
12919
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
12920
 
                                              # but as the default
12921
 
                                              # location of the library.
12922
 
      ;;
12923
 
    esac
12924
 
 
12925
 
    case $cc_basename in
12926
 
      CC*)
12927
 
        # FIXME: insert proper C++ library support
12928
 
        ld_shlibs_CXX=no
12929
 
        ;;
12930
 
      aCC*)
12931
 
        case $host_cpu in
12932
 
        hppa*64*)
12933
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12934
 
          ;;
12935
 
        ia64*)
12936
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12937
 
          ;;
12938
 
        *)
12939
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12940
 
          ;;
12941
 
        esac
12942
 
        # Commands to make compiler produce verbose output that lists
12943
 
        # what "hidden" libraries, object files and flags are used when
12944
 
        # linking a shared library.
12945
 
        #
12946
 
        # There doesn't appear to be a way to prevent this compiler from
12947
 
        # explicitly linking system object files so we need to strip them
12948
 
        # from the output so that they don't get included in the library
12949
 
        # dependencies.
12950
 
        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'
12951
 
        ;;
12952
 
      *)
12953
 
        if test "$GXX" = yes; then
12954
 
          if test $with_gnu_ld = no; then
12955
 
            case $host_cpu in
12956
 
            hppa*64*)
12957
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12958
 
              ;;
12959
 
            ia64*)
12960
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12961
 
              ;;
12962
 
            *)
12963
 
              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'
12964
 
              ;;
12965
 
            esac
12966
 
          fi
12967
 
        else
12968
 
          # FIXME: insert proper C++ library support
12969
 
          ld_shlibs_CXX=no
12970
 
        fi
12971
 
        ;;
12972
 
    esac
12973
 
    ;;
12974
 
  interix[3-9]*)
12975
 
    hardcode_direct_CXX=no
12976
 
    hardcode_shlibpath_var_CXX=no
12977
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12978
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12979
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12980
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
12981
 
    # default) and relocated if they conflict, which is a slow very memory
12982
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
12983
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12984
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12985
 
    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'
12986
 
    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'
12987
 
    ;;
12988
 
  irix5* | irix6*)
12989
 
    case $cc_basename in
12990
 
      CC*)
12991
 
        # SGI C++
12992
 
        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'
12993
 
 
12994
 
        # Archives containing C++ object files must be created using
12995
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12996
 
        # necessary to make sure instantiated templates are included
12997
 
        # in the archive.
12998
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12999
 
        ;;
13000
 
      *)
13001
 
        if test "$GXX" = yes; then
13002
 
          if test "$with_gnu_ld" = no; then
13003
 
            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'
13004
 
          else
13005
 
            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'
13006
 
          fi
13007
 
        fi
13008
 
        link_all_deplibs_CXX=yes
13009
 
        ;;
13010
 
    esac
13011
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13012
 
    hardcode_libdir_separator_CXX=:
13013
 
    ;;
13014
 
  linux* | k*bsd*-gnu)
13015
 
    case $cc_basename in
13016
 
      KCC*)
13017
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13018
 
 
13019
 
        # KCC will only create a shared library if the output file
13020
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13021
 
        # to its proper name (with version) after linking.
13022
 
        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'
13023
 
        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'
13024
 
        # Commands to make compiler produce verbose output that lists
13025
 
        # what "hidden" libraries, object files and flags are used when
13026
 
        # linking a shared library.
13027
 
        #
13028
 
        # There doesn't appear to be a way to prevent this compiler from
13029
 
        # explicitly linking system object files so we need to strip them
13030
 
        # from the output so that they don't get included in the library
13031
 
        # dependencies.
13032
 
        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'
13033
 
 
13034
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
13035
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13036
 
 
13037
 
        # Archives containing C++ object files must be created using
13038
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13039
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13040
 
        ;;
13041
 
      icpc*)
13042
 
        # Intel C++
13043
 
        with_gnu_ld=yes
13044
 
        # version 8.0 and above of icpc choke on multiply defined symbols
13045
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
13046
 
        # earlier do not add the objects themselves.
13047
 
        case `$CC -V 2>&1` in
13048
 
        *"Version 7."*)
13049
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13050
 
          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'
13051
 
          ;;
13052
 
        *)  # Version 8.0 or newer
13053
 
          tmp_idyn=
13054
 
          case $host_cpu in
13055
 
            ia64*) tmp_idyn=' -i_dynamic';;
13056
 
          esac
13057
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13058
 
          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'
13059
 
          ;;
13060
 
        esac
13061
 
        archive_cmds_need_lc_CXX=no
13062
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13063
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13064
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13065
 
        ;;
13066
 
      pgCC*)
13067
 
        # Portland Group C++ compiler
13068
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13069
 
        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'
13070
 
 
13071
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13072
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13073
 
        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'
13074
 
        ;;
13075
 
      cxx*)
13076
 
        # Compaq C++
13077
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13078
 
        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'
13079
 
 
13080
 
        runpath_var=LD_RUN_PATH
13081
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13082
 
        hardcode_libdir_separator_CXX=:
13083
 
 
13084
 
        # Commands to make compiler produce verbose output that lists
13085
 
        # what "hidden" libraries, object files and flags are used when
13086
 
        # linking a shared library.
13087
 
        #
13088
 
        # There doesn't appear to be a way to prevent this compiler from
13089
 
        # explicitly linking system object files so we need to strip them
13090
 
        # from the output so that they don't get included in the library
13091
 
        # dependencies.
13092
 
        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'
13093
 
        ;;
13094
 
      *)
13095
 
        case `$CC -V 2>&1 | sed 5q` in
13096
 
        *Sun\ C*)
13097
 
          # Sun C++ 5.9
13098
 
          no_undefined_flag_CXX=' -zdefs'
13099
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13100
 
          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'
13101
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
13102
 
          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'
13103
 
 
13104
 
          # Not sure whether something based on
13105
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13106
 
          # would be better.
13107
 
          output_verbose_link_cmd='echo'
13108
 
 
13109
 
          # Archives containing C++ object files must be created using
13110
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13111
 
          # necessary to make sure instantiated templates are included
13112
 
          # in the archive.
13113
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13114
 
          ;;
13115
 
        esac
13116
 
        ;;
13117
 
    esac
13118
 
    ;;
13119
 
  lynxos*)
13120
 
    # FIXME: insert proper C++ library support
13121
 
    ld_shlibs_CXX=no
13122
 
    ;;
13123
 
  m88k*)
13124
 
    # FIXME: insert proper C++ library support
13125
 
    ld_shlibs_CXX=no
13126
 
    ;;
13127
 
  mvs*)
13128
 
    case $cc_basename in
13129
 
      cxx*)
13130
 
        # FIXME: insert proper C++ library support
13131
 
        ld_shlibs_CXX=no
13132
 
        ;;
13133
 
      *)
13134
 
        # FIXME: insert proper C++ library support
13135
 
        ld_shlibs_CXX=no
13136
 
        ;;
13137
 
    esac
13138
 
    ;;
13139
 
  netbsd*)
13140
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13141
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13142
 
      wlarc=
13143
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
13144
 
      hardcode_direct_CXX=yes
13145
 
      hardcode_shlibpath_var_CXX=no
13146
 
    fi
13147
 
    # Workaround some broken pre-1.5 toolchains
13148
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13149
 
    ;;
13150
 
  openbsd2*)
13151
 
    # C++ shared libraries are fairly broken
13152
 
    ld_shlibs_CXX=no
13153
 
    ;;
13154
 
  openbsd*)
13155
 
    if test -f /usr/libexec/ld.so; then
13156
 
      hardcode_direct_CXX=yes
13157
 
      hardcode_shlibpath_var_CXX=no
13158
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13159
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13160
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13161
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13162
 
        export_dynamic_flag_spec_CXX='${wl}-E'
13163
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13164
 
      fi
13165
 
      output_verbose_link_cmd='echo'
13166
 
    else
13167
 
      ld_shlibs_CXX=no
13168
 
    fi
13169
 
    ;;
13170
 
  osf3*)
13171
 
    case $cc_basename in
13172
 
      KCC*)
13173
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13174
 
 
13175
 
        # KCC will only create a shared library if the output file
13176
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13177
 
        # to its proper name (with version) after linking.
13178
 
        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'
13179
 
 
13180
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13181
 
        hardcode_libdir_separator_CXX=:
13182
 
 
13183
 
        # Archives containing C++ object files must be created using
13184
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13185
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13186
 
 
13187
 
        ;;
13188
 
      RCC*)
13189
 
        # Rational C++ 2.4.1
13190
 
        # FIXME: insert proper C++ library support
13191
 
        ld_shlibs_CXX=no
13192
 
        ;;
13193
 
      cxx*)
13194
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13195
 
        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'
13196
 
 
13197
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13198
 
        hardcode_libdir_separator_CXX=:
13199
 
 
13200
 
        # Commands to make compiler produce verbose output that lists
13201
 
        # what "hidden" libraries, object files and flags are used when
13202
 
        # linking a shared library.
13203
 
        #
13204
 
        # There doesn't appear to be a way to prevent this compiler from
13205
 
        # explicitly linking system object files so we need to strip them
13206
 
        # from the output so that they don't get included in the library
13207
 
        # dependencies.
13208
 
        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'
13209
 
        ;;
13210
 
      *)
13211
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13212
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13213
 
          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'
13214
 
 
13215
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13216
 
          hardcode_libdir_separator_CXX=:
13217
 
 
13218
 
          # Commands to make compiler produce verbose output that lists
13219
 
          # what "hidden" libraries, object files and flags are used when
13220
 
          # linking a shared library.
13221
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13222
 
 
13223
 
        else
13224
 
          # FIXME: insert proper C++ library support
13225
 
          ld_shlibs_CXX=no
13226
 
        fi
13227
 
        ;;
13228
 
    esac
13229
 
    ;;
13230
 
  osf4* | osf5*)
13231
 
    case $cc_basename in
13232
 
      KCC*)
13233
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13234
 
 
13235
 
        # KCC will only create a shared library if the output file
13236
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13237
 
        # to its proper name (with version) after linking.
13238
 
        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'
13239
 
 
13240
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13241
 
        hardcode_libdir_separator_CXX=:
13242
 
 
13243
 
        # Archives containing C++ object files must be created using
13244
 
        # the KAI C++ compiler.
13245
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13246
 
        ;;
13247
 
      RCC*)
13248
 
        # Rational C++ 2.4.1
13249
 
        # FIXME: insert proper C++ library support
13250
 
        ld_shlibs_CXX=no
13251
 
        ;;
13252
 
      cxx*)
13253
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
13254
 
        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'
13255
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13256
 
          echo "-hidden">> $lib.exp~
13257
 
          $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~
13258
 
          $rm $lib.exp'
13259
 
 
13260
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13261
 
        hardcode_libdir_separator_CXX=:
13262
 
 
13263
 
        # Commands to make compiler produce verbose output that lists
13264
 
        # what "hidden" libraries, object files and flags are used when
13265
 
        # linking a shared library.
13266
 
        #
13267
 
        # There doesn't appear to be a way to prevent this compiler from
13268
 
        # explicitly linking system object files so we need to strip them
13269
 
        # from the output so that they don't get included in the library
13270
 
        # dependencies.
13271
 
        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'
13272
 
        ;;
13273
 
      *)
13274
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13275
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13276
 
         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'
13277
 
 
13278
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13279
 
          hardcode_libdir_separator_CXX=:
13280
 
 
13281
 
          # Commands to make compiler produce verbose output that lists
13282
 
          # what "hidden" libraries, object files and flags are used when
13283
 
          # linking a shared library.
13284
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13285
 
 
13286
 
        else
13287
 
          # FIXME: insert proper C++ library support
13288
 
          ld_shlibs_CXX=no
13289
 
        fi
13290
 
        ;;
13291
 
    esac
13292
 
    ;;
13293
 
  psos*)
13294
 
    # FIXME: insert proper C++ library support
13295
 
    ld_shlibs_CXX=no
13296
 
    ;;
13297
 
  sunos4*)
13298
 
    case $cc_basename in
13299
 
      CC*)
13300
 
        # Sun C++ 4.x
13301
 
        # FIXME: insert proper C++ library support
13302
 
        ld_shlibs_CXX=no
13303
 
        ;;
13304
 
      lcc*)
13305
 
        # Lucid
13306
 
        # FIXME: insert proper C++ library support
13307
 
        ld_shlibs_CXX=no
13308
 
        ;;
13309
 
      *)
13310
 
        # FIXME: insert proper C++ library support
13311
 
        ld_shlibs_CXX=no
13312
 
        ;;
13313
 
    esac
13314
 
    ;;
13315
 
  solaris*)
13316
 
    case $cc_basename in
13317
 
      CC*)
13318
 
        # Sun C++ 4.2, 5.x and Centerline C++
13319
 
        archive_cmds_need_lc_CXX=yes
13320
 
        no_undefined_flag_CXX=' -zdefs'
13321
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13322
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13323
 
        $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'
13324
 
 
13325
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
13326
 
        hardcode_shlibpath_var_CXX=no
13327
 
        case $host_os in
13328
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13329
 
          *)
13330
 
            # The compiler driver will combine and reorder linker options,
13331
 
            # but understands `-z linker_flag'.
13332
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
13333
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13334
 
            ;;
13335
 
        esac
13336
 
        link_all_deplibs_CXX=yes
13337
 
 
13338
 
        output_verbose_link_cmd='echo'
13339
 
 
13340
 
        # Archives containing C++ object files must be created using
13341
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13342
 
        # necessary to make sure instantiated templates are included
13343
 
        # in the archive.
13344
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13345
 
        ;;
13346
 
      gcx*)
13347
 
        # Green Hills C++ Compiler
13348
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13349
 
 
13350
 
        # The C++ compiler must be used to create the archive.
13351
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13352
 
        ;;
13353
 
      *)
13354
 
        # GNU C++ compiler with Solaris linker
13355
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13356
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13357
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
13358
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13359
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13360
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13361
 
 
13362
 
            # Commands to make compiler produce verbose output that lists
13363
 
            # what "hidden" libraries, object files and flags are used when
13364
 
            # linking a shared library.
13365
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13366
 
          else
13367
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
13368
 
            # platform.
13369
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13370
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13371
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13372
 
 
13373
 
            # Commands to make compiler produce verbose output that lists
13374
 
            # what "hidden" libraries, object files and flags are used when
13375
 
            # linking a shared library.
13376
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13377
 
          fi
13378
 
 
13379
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13380
 
          case $host_os in
13381
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13382
 
          *)
13383
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13384
 
            ;;
13385
 
          esac
13386
 
        fi
13387
 
        ;;
13388
 
    esac
13389
 
    ;;
13390
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13391
 
    no_undefined_flag_CXX='${wl}-z,text'
13392
 
    archive_cmds_need_lc_CXX=no
13393
 
    hardcode_shlibpath_var_CXX=no
13394
 
    runpath_var='LD_RUN_PATH'
13395
 
 
13396
 
    case $cc_basename in
13397
 
      CC*)
13398
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13399
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13400
 
        ;;
13401
 
      *)
13402
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13403
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13404
 
        ;;
13405
 
    esac
13406
 
    ;;
13407
 
  sysv5* | sco3.2v5* | sco5v6*)
13408
 
    # Note: We can NOT use -z defs as we might desire, because we do not
13409
 
    # link with -lc, and that would cause any symbols used from libc to
13410
 
    # always be unresolved, which means just about no library would
13411
 
    # ever link correctly.  If we're not using GNU ld we use -z text
13412
 
    # though, which does catch some bad symbols but isn't as heavy-handed
13413
 
    # as -z defs.
13414
 
    # For security reasons, it is highly recommended that you always
13415
 
    # use absolute paths for naming shared libraries, and exclude the
13416
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
13417
 
    # requires that you compile everything twice, which is a pain.
13418
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
13419
 
    # non-empty value in the environment.  Most likely only useful for
13420
 
    # creating official distributions of packages.
13421
 
    # This is a hack until libtool officially supports absolute path
13422
 
    # names for shared libraries.
13423
 
    no_undefined_flag_CXX='${wl}-z,text'
13424
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
13425
 
    archive_cmds_need_lc_CXX=no
13426
 
    hardcode_shlibpath_var_CXX=no
13427
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13428
 
    hardcode_libdir_separator_CXX=':'
13429
 
    link_all_deplibs_CXX=yes
13430
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
13431
 
    runpath_var='LD_RUN_PATH'
13432
 
 
13433
 
    case $cc_basename in
13434
 
      CC*)
13435
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13436
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13437
 
        ;;
13438
 
      *)
13439
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13440
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13441
 
        ;;
13442
 
    esac
13443
 
    ;;
13444
 
  tandem*)
13445
 
    case $cc_basename in
13446
 
      NCC*)
13447
 
        # NonStop-UX NCC 3.20
13448
 
        # FIXME: insert proper C++ library support
13449
 
        ld_shlibs_CXX=no
13450
 
        ;;
13451
 
      *)
13452
 
        # FIXME: insert proper C++ library support
13453
 
        ld_shlibs_CXX=no
13454
 
        ;;
13455
 
    esac
13456
 
    ;;
13457
 
  vxworks*)
13458
 
    # FIXME: insert proper C++ library support
13459
 
    ld_shlibs_CXX=no
13460
 
    ;;
13461
 
  *)
13462
 
    # FIXME: insert proper C++ library support
13463
 
    ld_shlibs_CXX=no
13464
 
    ;;
13465
 
esac
13466
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13467
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13468
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13469
 
 
13470
 
GCC_CXX="$GXX"
13471
 
LD_CXX="$LD"
13472
 
 
13473
 
 
13474
 
cat > conftest.$ac_ext <<EOF
13475
 
class Foo
13476
 
{
13477
 
public:
13478
 
  Foo (void) { a = 0; }
13479
 
private:
13480
 
  int a;
13481
 
};
13482
 
EOF
13483
 
 
13484
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13485
 
  (eval $ac_compile) 2>&5
13486
 
  ac_status=$?
13487
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13488
 
  (exit $ac_status); }; then
13489
 
  # Parse the compiler output and extract the necessary
13490
 
  # objects, libraries and library flags.
13491
 
 
13492
 
  # Sentinel used to keep track of whether or not we are before
13493
 
  # the conftest object file.
13494
 
  pre_test_object_deps_done=no
13495
 
 
13496
 
  # The `*' in the case matches for architectures that use `case' in
13497
 
  # $output_verbose_cmd can trigger glob expansion during the loop
13498
 
  # eval without this substitution.
13499
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13500
 
 
13501
 
  for p in `eval $output_verbose_link_cmd`; do
13502
 
    case $p in
13503
 
 
13504
 
    -L* | -R* | -l*)
13505
 
       # Some compilers place space between "-{L,R}" and the path.
13506
 
       # Remove the space.
13507
 
       if test $p = "-L" \
13508
 
          || test $p = "-R"; then
13509
 
         prev=$p
13510
 
         continue
13511
 
       else
13512
 
         prev=
13513
 
       fi
13514
 
 
13515
 
       if test "$pre_test_object_deps_done" = no; then
13516
 
         case $p in
13517
 
         -L* | -R*)
13518
 
           # Internal compiler library paths should come after those
13519
 
           # provided the user.  The postdeps already come after the
13520
 
           # user supplied libs so there is no need to process them.
13521
 
           if test -z "$compiler_lib_search_path_CXX"; then
13522
 
             compiler_lib_search_path_CXX="${prev}${p}"
13523
 
           else
13524
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13525
 
           fi
13526
 
           ;;
13527
 
         # The "-l" case would never come before the object being
13528
 
         # linked, so don't bother handling this case.
13529
 
         esac
13530
 
       else
13531
 
         if test -z "$postdeps_CXX"; then
13532
 
           postdeps_CXX="${prev}${p}"
13533
 
         else
13534
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13535
 
         fi
13536
 
       fi
13537
 
       ;;
13538
 
 
13539
 
    *.$objext)
13540
 
       # This assumes that the test object file only shows up
13541
 
       # once in the compiler output.
13542
 
       if test "$p" = "conftest.$objext"; then
13543
 
         pre_test_object_deps_done=yes
13544
 
         continue
13545
 
       fi
13546
 
 
13547
 
       if test "$pre_test_object_deps_done" = no; then
13548
 
         if test -z "$predep_objects_CXX"; then
13549
 
           predep_objects_CXX="$p"
13550
 
         else
13551
 
           predep_objects_CXX="$predep_objects_CXX $p"
13552
 
         fi
13553
 
       else
13554
 
         if test -z "$postdep_objects_CXX"; then
13555
 
           postdep_objects_CXX="$p"
13556
 
         else
13557
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
13558
 
         fi
13559
 
       fi
13560
 
       ;;
13561
 
 
13562
 
    *) ;; # Ignore the rest.
13563
 
 
13564
 
    esac
13565
 
  done
13566
 
 
13567
 
  # Clean up.
13568
 
  rm -f a.out a.exe
13569
 
else
13570
 
  echo "libtool.m4: error: problem compiling CXX test program"
13571
 
fi
13572
 
 
13573
 
$rm -f confest.$objext
13574
 
 
13575
 
# PORTME: override above test on systems where it is broken
13576
 
case $host_os in
13577
 
interix[3-9]*)
13578
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13579
 
  # hack all around it, let's just trust "g++" to DTRT.
13580
 
  predep_objects_CXX=
13581
 
  postdep_objects_CXX=
13582
 
  postdeps_CXX=
13583
 
  ;;
13584
 
 
13585
 
linux*)
13586
 
  case `$CC -V 2>&1 | sed 5q` in
13587
 
  *Sun\ C*)
13588
 
    # Sun C++ 5.9
13589
 
    #
13590
 
    # The more standards-conforming stlport4 library is
13591
 
    # incompatible with the Cstd library. Avoid specifying
13592
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13593
 
    # -library=stlport4 depends on it.
13594
 
    case " $CXX $CXXFLAGS " in
13595
 
    *" -library=stlport4 "*)
13596
 
      solaris_use_stlport4=yes
13597
 
      ;;
13598
 
    esac
13599
 
    if test "$solaris_use_stlport4" != yes; then
13600
 
      postdeps_CXX='-library=Cstd -library=Crun'
13601
 
    fi
13602
 
    ;;
13603
 
  esac
13604
 
  ;;
13605
 
 
13606
 
solaris*)
13607
 
  case $cc_basename in
13608
 
  CC*)
13609
 
    # The more standards-conforming stlport4 library is
13610
 
    # incompatible with the Cstd library. Avoid specifying
13611
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13612
 
    # -library=stlport4 depends on it.
13613
 
    case " $CXX $CXXFLAGS " in
13614
 
    *" -library=stlport4 "*)
13615
 
      solaris_use_stlport4=yes
13616
 
      ;;
13617
 
    esac
13618
 
 
13619
 
    # Adding this requires a known-good setup of shared libraries for
13620
 
    # Sun compiler versions before 5.6, else PIC objects from an old
13621
 
    # archive will be linked into the output, leading to subtle bugs.
13622
 
    if test "$solaris_use_stlport4" != yes; then
13623
 
      postdeps_CXX='-library=Cstd -library=Crun'
13624
 
    fi
13625
 
    ;;
13626
 
  esac
13627
 
  ;;
13628
 
esac
13629
 
 
13630
 
 
13631
 
case " $postdeps_CXX " in
13632
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13633
 
esac
13634
 
 
13635
 
lt_prog_compiler_wl_CXX=
13636
 
lt_prog_compiler_pic_CXX=
13637
 
lt_prog_compiler_static_CXX=
13638
 
 
13639
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13640
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13641
 
 
13642
 
  # C++ specific cases for pic, static, wl, etc.
13643
 
  if test "$GXX" = yes; then
13644
 
    lt_prog_compiler_wl_CXX='-Wl,'
13645
 
    lt_prog_compiler_static_CXX='-static'
13646
 
 
13647
 
    case $host_os in
13648
 
    aix*)
13649
 
      # All AIX code is PIC.
13650
 
      if test "$host_cpu" = ia64; then
13651
 
        # AIX 5 now supports IA64 processor
13652
 
        lt_prog_compiler_static_CXX='-Bstatic'
13653
 
      fi
13654
 
      ;;
13655
 
    amigaos*)
13656
 
      # FIXME: we need at least 68020 code to build shared libraries, but
13657
 
      # adding the `-m68020' flag to GCC prevents building anything better,
13658
 
      # like `-m68040'.
13659
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13660
 
      ;;
13661
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13662
 
      # PIC is the default for these OSes.
13663
 
      ;;
13664
 
    mingw* | cygwin* | os2* | pw32*)
13665
 
      # This hack is so that the source file can tell whether it is being
13666
 
      # built for inclusion in a dll (and should export symbols for example).
13667
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13668
 
      # (--disable-auto-import) libraries
13669
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13670
 
      ;;
13671
 
    darwin* | rhapsody*)
13672
 
      # PIC is the default on this platform
13673
 
      # Common symbols not allowed in MH_DYLIB files
13674
 
      lt_prog_compiler_pic_CXX='-fno-common'
13675
 
      ;;
13676
 
    *djgpp*)
13677
 
      # DJGPP does not support shared libraries at all
13678
 
      lt_prog_compiler_pic_CXX=
13679
 
      ;;
13680
 
    interix[3-9]*)
13681
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13682
 
      # Instead, we relocate shared libraries at runtime.
13683
 
      ;;
13684
 
    sysv4*MP*)
13685
 
      if test -d /usr/nec; then
13686
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
13687
 
      fi
13688
 
      ;;
13689
 
    hpux*)
13690
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13691
 
      # not for PA HP-UX.
13692
 
      case $host_cpu in
13693
 
      hppa*64*|ia64*)
13694
 
        ;;
13695
 
      *)
13696
 
        lt_prog_compiler_pic_CXX='-fPIC'
13697
 
        ;;
13698
 
      esac
13699
 
      ;;
13700
 
    *)
13701
 
      lt_prog_compiler_pic_CXX='-fPIC'
13702
 
      ;;
13703
 
    esac
13704
 
  else
13705
 
    case $host_os in
13706
 
      aix4* | aix5*)
13707
 
        # All AIX code is PIC.
13708
 
        if test "$host_cpu" = ia64; then
13709
 
          # AIX 5 now supports IA64 processor
13710
 
          lt_prog_compiler_static_CXX='-Bstatic'
13711
 
        else
13712
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13713
 
        fi
13714
 
        ;;
13715
 
      chorus*)
13716
 
        case $cc_basename in
13717
 
        cxch68*)
13718
 
          # Green Hills C++ Compiler
13719
 
          # _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"
13720
 
          ;;
13721
 
        esac
13722
 
        ;;
13723
 
       darwin*)
13724
 
         # PIC is the default on this platform
13725
 
         # Common symbols not allowed in MH_DYLIB files
13726
 
         case $cc_basename in
13727
 
           xlc*)
13728
 
           lt_prog_compiler_pic_CXX='-qnocommon'
13729
 
           lt_prog_compiler_wl_CXX='-Wl,'
13730
 
           ;;
13731
 
         esac
13732
 
       ;;
13733
 
      dgux*)
13734
 
        case $cc_basename in
13735
 
          ec++*)
13736
 
            lt_prog_compiler_pic_CXX='-KPIC'
13737
 
            ;;
13738
 
          ghcx*)
13739
 
            # Green Hills C++ Compiler
13740
 
            lt_prog_compiler_pic_CXX='-pic'
13741
 
            ;;
13742
 
          *)
13743
 
            ;;
13744
 
        esac
13745
 
        ;;
13746
 
      freebsd* | dragonfly*)
13747
 
        # FreeBSD uses GNU C++
13748
 
        ;;
13749
 
      hpux9* | hpux10* | hpux11*)
13750
 
        case $cc_basename in
13751
 
          CC*)
13752
 
            lt_prog_compiler_wl_CXX='-Wl,'
13753
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13754
 
            if test "$host_cpu" != ia64; then
13755
 
              lt_prog_compiler_pic_CXX='+Z'
13756
 
            fi
13757
 
            ;;
13758
 
          aCC*)
13759
 
            lt_prog_compiler_wl_CXX='-Wl,'
13760
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13761
 
            case $host_cpu in
13762
 
            hppa*64*|ia64*)
13763
 
              # +Z the default
13764
 
              ;;
13765
 
            *)
13766
 
              lt_prog_compiler_pic_CXX='+Z'
13767
 
              ;;
13768
 
            esac
13769
 
            ;;
13770
 
          *)
13771
 
            ;;
13772
 
        esac
13773
 
        ;;
13774
 
      interix*)
13775
 
        # This is c89, which is MS Visual C++ (no shared libs)
13776
 
        # Anyone wants to do a port?
13777
 
        ;;
13778
 
      irix5* | irix6* | nonstopux*)
13779
 
        case $cc_basename in
13780
 
          CC*)
13781
 
            lt_prog_compiler_wl_CXX='-Wl,'
13782
 
            lt_prog_compiler_static_CXX='-non_shared'
13783
 
            # CC pic flag -KPIC is the default.
13784
 
            ;;
13785
 
          *)
13786
 
            ;;
13787
 
        esac
13788
 
        ;;
13789
 
      linux* | k*bsd*-gnu)
13790
 
        case $cc_basename in
13791
 
          KCC*)
13792
 
            # KAI C++ Compiler
13793
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13794
 
            lt_prog_compiler_pic_CXX='-fPIC'
13795
 
            ;;
13796
 
          icpc* | ecpc*)
13797
 
            # Intel C++
13798
 
            lt_prog_compiler_wl_CXX='-Wl,'
13799
 
            lt_prog_compiler_pic_CXX='-KPIC'
13800
 
            lt_prog_compiler_static_CXX='-static'
13801
 
            ;;
13802
 
          pgCC*)
13803
 
            # Portland Group C++ compiler.
13804
 
            lt_prog_compiler_wl_CXX='-Wl,'
13805
 
            lt_prog_compiler_pic_CXX='-fpic'
13806
 
            lt_prog_compiler_static_CXX='-Bstatic'
13807
 
            ;;
13808
 
          cxx*)
13809
 
            # Compaq C++
13810
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13811
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13812
 
            lt_prog_compiler_pic_CXX=
13813
 
            lt_prog_compiler_static_CXX='-non_shared'
13814
 
            ;;
13815
 
          *)
13816
 
            case `$CC -V 2>&1 | sed 5q` in
13817
 
            *Sun\ C*)
13818
 
              # Sun C++ 5.9
13819
 
              lt_prog_compiler_pic_CXX='-KPIC'
13820
 
              lt_prog_compiler_static_CXX='-Bstatic'
13821
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
13822
 
              ;;
13823
 
            esac
13824
 
            ;;
13825
 
        esac
13826
 
        ;;
13827
 
      lynxos*)
13828
 
        ;;
13829
 
      m88k*)
13830
 
        ;;
13831
 
      mvs*)
13832
 
        case $cc_basename in
13833
 
          cxx*)
13834
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
13835
 
            ;;
13836
 
          *)
13837
 
            ;;
13838
 
        esac
13839
 
        ;;
13840
 
      netbsd*)
13841
 
        ;;
13842
 
      osf3* | osf4* | osf5*)
13843
 
        case $cc_basename in
13844
 
          KCC*)
13845
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13846
 
            ;;
13847
 
          RCC*)
13848
 
            # Rational C++ 2.4.1
13849
 
            lt_prog_compiler_pic_CXX='-pic'
13850
 
            ;;
13851
 
          cxx*)
13852
 
            # Digital/Compaq C++
13853
 
            lt_prog_compiler_wl_CXX='-Wl,'
13854
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13855
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13856
 
            lt_prog_compiler_pic_CXX=
13857
 
            lt_prog_compiler_static_CXX='-non_shared'
13858
 
            ;;
13859
 
          *)
13860
 
            ;;
13861
 
        esac
13862
 
        ;;
13863
 
      psos*)
13864
 
        ;;
13865
 
      solaris*)
13866
 
        case $cc_basename in
13867
 
          CC*)
13868
 
            # Sun C++ 4.2, 5.x and Centerline C++
13869
 
            lt_prog_compiler_pic_CXX='-KPIC'
13870
 
            lt_prog_compiler_static_CXX='-Bstatic'
13871
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
13872
 
            ;;
13873
 
          gcx*)
13874
 
            # Green Hills C++ Compiler
13875
 
            lt_prog_compiler_pic_CXX='-PIC'
13876
 
            ;;
13877
 
          *)
13878
 
            ;;
13879
 
        esac
13880
 
        ;;
13881
 
      sunos4*)
13882
 
        case $cc_basename in
13883
 
          CC*)
13884
 
            # Sun C++ 4.x
13885
 
            lt_prog_compiler_pic_CXX='-pic'
13886
 
            lt_prog_compiler_static_CXX='-Bstatic'
13887
 
            ;;
13888
 
          lcc*)
13889
 
            # Lucid
13890
 
            lt_prog_compiler_pic_CXX='-pic'
13891
 
            ;;
13892
 
          *)
13893
 
            ;;
13894
 
        esac
13895
 
        ;;
13896
 
      tandem*)
13897
 
        case $cc_basename in
13898
 
          NCC*)
13899
 
            # NonStop-UX NCC 3.20
13900
 
            lt_prog_compiler_pic_CXX='-KPIC'
13901
 
            ;;
13902
 
          *)
13903
 
            ;;
13904
 
        esac
13905
 
        ;;
13906
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13907
 
        case $cc_basename in
13908
 
          CC*)
13909
 
            lt_prog_compiler_wl_CXX='-Wl,'
13910
 
            lt_prog_compiler_pic_CXX='-KPIC'
13911
 
            lt_prog_compiler_static_CXX='-Bstatic'
13912
 
            ;;
13913
 
        esac
13914
 
        ;;
13915
 
      vxworks*)
13916
 
        ;;
13917
 
      *)
13918
 
        lt_prog_compiler_can_build_shared_CXX=no
13919
 
        ;;
13920
 
    esac
13921
 
  fi
13922
 
 
13923
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13924
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13925
 
 
13926
 
#
13927
 
# Check to make sure the PIC flag actually works.
13928
 
#
13929
 
if test -n "$lt_prog_compiler_pic_CXX"; then
13930
 
 
13931
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13932
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13933
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13934
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13935
 
else
13936
 
  lt_prog_compiler_pic_works_CXX=no
13937
 
  ac_outfile=conftest.$ac_objext
13938
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13939
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13940
 
   # Insert the option either (1) after the last *FLAGS variable, or
13941
 
   # (2) before a word containing "conftest.", or (3) at the end.
13942
 
   # Note that $ac_compile itself does not contain backslashes and begins
13943
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13944
 
   # The option is referenced via a variable to avoid confusing sed.
13945
 
   lt_compile=`echo "$ac_compile" | $SED \
13946
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13947
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13948
 
   -e 's:$: $lt_compiler_flag:'`
13949
 
   (eval echo "\"\$as_me:13949: $lt_compile\"" >&5)
13950
 
   (eval "$lt_compile" 2>conftest.err)
13951
 
   ac_status=$?
13952
 
   cat conftest.err >&5
13953
 
   echo "$as_me:13953: \$? = $ac_status" >&5
13954
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
13955
 
     # The compiler can only warn and ignore the option if not recognized
13956
 
     # So say no if there are warnings other than the usual output.
13957
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13958
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13959
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13960
 
       lt_prog_compiler_pic_works_CXX=yes
13961
 
     fi
13962
 
   fi
13963
 
   $rm conftest*
13964
 
 
13965
 
fi
13966
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13967
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
13968
 
 
13969
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13970
 
    case $lt_prog_compiler_pic_CXX in
13971
 
     "" | " "*) ;;
13972
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13973
 
     esac
13974
 
else
13975
 
    lt_prog_compiler_pic_CXX=
13976
 
     lt_prog_compiler_can_build_shared_CXX=no
13977
 
fi
13978
 
 
13979
 
fi
13980
 
case $host_os in
13981
 
  # For platforms which do not support PIC, -DPIC is meaningless:
13982
 
  *djgpp*)
13983
 
    lt_prog_compiler_pic_CXX=
13984
 
    ;;
13985
 
  *)
13986
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13987
 
    ;;
13988
 
esac
13989
 
 
13990
 
#
13991
 
# Check to make sure the static flag actually works.
13992
 
#
13993
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13994
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13995
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13996
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13997
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13998
 
else
13999
 
  lt_prog_compiler_static_works_CXX=no
14000
 
   save_LDFLAGS="$LDFLAGS"
14001
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14002
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14003
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14004
 
     # The linker can only warn and ignore the option if not recognized
14005
 
     # So say no if there are warnings
14006
 
     if test -s conftest.err; then
14007
 
       # Append any errors to the config.log.
14008
 
       cat conftest.err 1>&5
14009
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14010
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14011
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14012
 
         lt_prog_compiler_static_works_CXX=yes
14013
 
       fi
14014
 
     else
14015
 
       lt_prog_compiler_static_works_CXX=yes
14016
 
     fi
14017
 
   fi
14018
 
   $rm conftest*
14019
 
   LDFLAGS="$save_LDFLAGS"
14020
 
 
14021
 
fi
14022
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
14023
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
14024
 
 
14025
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
14026
 
    :
14027
 
else
14028
 
    lt_prog_compiler_static_CXX=
14029
 
fi
14030
 
 
14031
 
 
14032
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14033
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14034
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14035
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14036
 
else
14037
 
  lt_cv_prog_compiler_c_o_CXX=no
14038
 
   $rm -r conftest 2>/dev/null
14039
 
   mkdir conftest
14040
 
   cd conftest
14041
 
   mkdir out
14042
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14043
 
 
14044
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14045
 
   # Insert the option either (1) after the last *FLAGS variable, or
14046
 
   # (2) before a word containing "conftest.", or (3) at the end.
14047
 
   # Note that $ac_compile itself does not contain backslashes and begins
14048
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14049
 
   lt_compile=`echo "$ac_compile" | $SED \
14050
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14051
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14052
 
   -e 's:$: $lt_compiler_flag:'`
14053
 
   (eval echo "\"\$as_me:14053: $lt_compile\"" >&5)
14054
 
   (eval "$lt_compile" 2>out/conftest.err)
14055
 
   ac_status=$?
14056
 
   cat out/conftest.err >&5
14057
 
   echo "$as_me:14057: \$? = $ac_status" >&5
14058
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14059
 
   then
14060
 
     # The compiler can only warn and ignore the option if not recognized
14061
 
     # So say no if there are warnings
14062
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14063
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14064
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14065
 
       lt_cv_prog_compiler_c_o_CXX=yes
14066
 
     fi
14067
 
   fi
14068
 
   chmod u+w . 2>&5
14069
 
   $rm conftest*
14070
 
   # SGI C++ compiler will create directory out/ii_files/ for
14071
 
   # template instantiation
14072
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14073
 
   $rm out/* && rmdir out
14074
 
   cd ..
14075
 
   rmdir conftest
14076
 
   $rm conftest*
14077
 
 
14078
 
fi
14079
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14080
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14081
 
 
14082
 
 
14083
 
hard_links="nottested"
14084
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14085
 
  # do not overwrite the value of need_locks provided by the user
14086
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14087
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14088
 
  hard_links=yes
14089
 
  $rm conftest*
14090
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14091
 
  touch conftest.a
14092
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14093
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14094
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14095
 
echo "${ECHO_T}$hard_links" >&6; }
14096
 
  if test "$hard_links" = no; then
14097
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14098
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14099
 
    need_locks=warn
14100
 
  fi
14101
 
else
14102
 
  need_locks=no
14103
 
fi
14104
 
 
14105
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14106
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14107
 
 
14108
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14109
 
  case $host_os in
14110
 
  aix4* | aix5*)
14111
 
    # If we're using GNU nm, then we don't want the "-C" option.
14112
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14113
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14114
 
      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'
14115
 
    else
14116
 
      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'
14117
 
    fi
14118
 
    ;;
14119
 
  pw32*)
14120
 
    export_symbols_cmds_CXX="$ltdll_cmds"
14121
 
  ;;
14122
 
  cygwin* | mingw*)
14123
 
    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'
14124
 
  ;;
14125
 
  *)
14126
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14127
 
  ;;
14128
 
  esac
14129
 
 
14130
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14131
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14132
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14133
 
 
14134
 
#
14135
 
# Do we need to explicitly link libc?
14136
 
#
14137
 
case "x$archive_cmds_need_lc_CXX" in
14138
 
x|xyes)
14139
 
  # Assume -lc should be added
14140
 
  archive_cmds_need_lc_CXX=yes
14141
 
 
14142
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
14143
 
    case $archive_cmds_CXX in
14144
 
    *'~'*)
14145
 
      # FIXME: we may have to deal with multi-command sequences.
14146
 
      ;;
14147
 
    '$CC '*)
14148
 
      # Test whether the compiler implicitly links with -lc since on some
14149
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14150
 
      # to ld, don't add -lc before -lgcc.
14151
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14152
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14153
 
      $rm conftest*
14154
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14155
 
 
14156
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14157
 
  (eval $ac_compile) 2>&5
14158
 
  ac_status=$?
14159
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160
 
  (exit $ac_status); } 2>conftest.err; then
14161
 
        soname=conftest
14162
 
        lib=conftest
14163
 
        libobjs=conftest.$ac_objext
14164
 
        deplibs=
14165
 
        wl=$lt_prog_compiler_wl_CXX
14166
 
        pic_flag=$lt_prog_compiler_pic_CXX
14167
 
        compiler_flags=-v
14168
 
        linker_flags=-v
14169
 
        verstring=
14170
 
        output_objdir=.
14171
 
        libname=conftest
14172
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14173
 
        allow_undefined_flag_CXX=
14174
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14175
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14176
 
  ac_status=$?
14177
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178
 
  (exit $ac_status); }
14179
 
        then
14180
 
          archive_cmds_need_lc_CXX=no
14181
 
        else
14182
 
          archive_cmds_need_lc_CXX=yes
14183
 
        fi
14184
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14185
 
      else
14186
 
        cat conftest.err 1>&5
14187
 
      fi
14188
 
      $rm conftest*
14189
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14190
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14191
 
      ;;
14192
 
    esac
14193
 
  fi
14194
 
  ;;
14195
 
esac
14196
 
 
14197
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14198
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14199
 
library_names_spec=
14200
 
libname_spec='lib$name'
14201
 
soname_spec=
14202
 
shrext_cmds=".so"
14203
 
postinstall_cmds=
14204
 
postuninstall_cmds=
14205
 
finish_cmds=
14206
 
finish_eval=
14207
 
shlibpath_var=
14208
 
shlibpath_overrides_runpath=unknown
14209
 
version_type=none
14210
 
dynamic_linker="$host_os ld.so"
14211
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14212
 
 
14213
 
need_lib_prefix=unknown
14214
 
hardcode_into_libs=no
14215
 
 
14216
 
# when you set need_version to no, make sure it does not cause -set_version
14217
 
# flags to be left without arguments
14218
 
need_version=unknown
14219
 
 
14220
 
case $host_os in
14221
 
aix3*)
14222
 
  version_type=linux
14223
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14224
 
  shlibpath_var=LIBPATH
14225
 
 
14226
 
  # AIX 3 has no versioning support, so we append a major version to the name.
14227
 
  soname_spec='${libname}${release}${shared_ext}$major'
14228
 
  ;;
14229
 
 
14230
 
aix4* | aix5*)
14231
 
  version_type=linux
14232
 
  need_lib_prefix=no
14233
 
  need_version=no
14234
 
  hardcode_into_libs=yes
14235
 
  if test "$host_cpu" = ia64; then
14236
 
    # AIX 5 supports IA64
14237
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14238
 
    shlibpath_var=LD_LIBRARY_PATH
14239
 
  else
14240
 
    # With GCC up to 2.95.x, collect2 would create an import file
14241
 
    # for dependence libraries.  The import file would start with
14242
 
    # the line `#! .'.  This would cause the generated library to
14243
 
    # depend on `.', always an invalid library.  This was fixed in
14244
 
    # development snapshots of GCC prior to 3.0.
14245
 
    case $host_os in
14246
 
      aix4 | aix4.[01] | aix4.[01].*)
14247
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14248
 
           echo ' yes '
14249
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14250
 
        :
14251
 
      else
14252
 
        can_build_shared=no
14253
 
      fi
14254
 
      ;;
14255
 
    esac
14256
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14257
 
    # soname into executable. Probably we can add versioning support to
14258
 
    # collect2, so additional links can be useful in future.
14259
 
    if test "$aix_use_runtimelinking" = yes; then
14260
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14261
 
      # instead of lib<name>.a to let people know that these are not
14262
 
      # typical AIX shared libraries.
14263
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14264
 
    else
14265
 
      # We preserve .a as extension for shared libraries through AIX4.2
14266
 
      # and later when we are not doing run time linking.
14267
 
      library_names_spec='${libname}${release}.a $libname.a'
14268
 
      soname_spec='${libname}${release}${shared_ext}$major'
14269
 
    fi
14270
 
    shlibpath_var=LIBPATH
14271
 
  fi
14272
 
  ;;
14273
 
 
14274
 
amigaos*)
14275
 
  library_names_spec='$libname.ixlibrary $libname.a'
14276
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
14277
 
  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'
14278
 
  ;;
14279
 
 
14280
 
beos*)
14281
 
  library_names_spec='${libname}${shared_ext}'
14282
 
  dynamic_linker="$host_os ld.so"
14283
 
  shlibpath_var=LIBRARY_PATH
14284
 
  ;;
14285
 
 
14286
 
bsdi[45]*)
14287
 
  version_type=linux
14288
 
  need_version=no
14289
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14290
 
  soname_spec='${libname}${release}${shared_ext}$major'
14291
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14292
 
  shlibpath_var=LD_LIBRARY_PATH
14293
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14294
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14295
 
  # the default ld.so.conf also contains /usr/contrib/lib and
14296
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14297
 
  # libtool to hard-code these into programs
14298
 
  ;;
14299
 
 
14300
 
cygwin* | mingw* | pw32*)
14301
 
  version_type=windows
14302
 
  shrext_cmds=".dll"
14303
 
  need_version=no
14304
 
  need_lib_prefix=no
14305
 
 
14306
 
  case $GCC,$host_os in
14307
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
14308
 
    library_names_spec='$libname.dll.a'
14309
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14310
 
    postinstall_cmds='base_file=`basename \${file}`~
14311
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14312
 
      dldir=$destdir/`dirname \$dlpath`~
14313
 
      test -d \$dldir || mkdir -p \$dldir~
14314
 
      $install_prog $dir/$dlname \$dldir/$dlname~
14315
 
      chmod a+x \$dldir/$dlname'
14316
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14317
 
      dlpath=$dir/\$dldll~
14318
 
       $rm \$dlpath'
14319
 
    shlibpath_overrides_runpath=yes
14320
 
 
14321
 
    case $host_os in
14322
 
    cygwin*)
14323
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14324
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14325
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14326
 
      ;;
14327
 
    mingw*)
14328
 
      # MinGW DLLs use traditional 'lib' prefix
14329
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14330
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14331
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14332
 
        # It is most probably a Windows format PATH printed by
14333
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
14334
 
        # path with ; separators, and with drive letters. We can handle the
14335
 
        # drive letters (cygwin fileutils understands them), so leave them,
14336
 
        # especially as we might pass files found there to a mingw objdump,
14337
 
        # which wouldn't understand a cygwinified path. Ahh.
14338
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14339
 
      else
14340
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14341
 
      fi
14342
 
      ;;
14343
 
    pw32*)
14344
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14345
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14346
 
      ;;
14347
 
    esac
14348
 
    ;;
14349
 
 
14350
 
  *)
14351
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14352
 
    ;;
14353
 
  esac
14354
 
  dynamic_linker='Win32 ld.exe'
14355
 
  # FIXME: first we should search . and the directory the executable is in
14356
 
  shlibpath_var=PATH
14357
 
  ;;
14358
 
 
14359
 
darwin* | rhapsody*)
14360
 
  dynamic_linker="$host_os dyld"
14361
 
  version_type=darwin
14362
 
  need_lib_prefix=no
14363
 
  need_version=no
14364
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14365
 
  soname_spec='${libname}${release}${major}$shared_ext'
14366
 
  shlibpath_overrides_runpath=yes
14367
 
  shlibpath_var=DYLD_LIBRARY_PATH
14368
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14369
 
 
14370
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14371
 
  ;;
14372
 
 
14373
 
dgux*)
14374
 
  version_type=linux
14375
 
  need_lib_prefix=no
14376
 
  need_version=no
14377
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14378
 
  soname_spec='${libname}${release}${shared_ext}$major'
14379
 
  shlibpath_var=LD_LIBRARY_PATH
14380
 
  ;;
14381
 
 
14382
 
freebsd1*)
14383
 
  dynamic_linker=no
14384
 
  ;;
14385
 
 
14386
 
freebsd* | dragonfly*)
14387
 
  # DragonFly does not have aout.  When/if they implement a new
14388
 
  # versioning mechanism, adjust this.
14389
 
  if test -x /usr/bin/objformat; then
14390
 
    objformat=`/usr/bin/objformat`
14391
 
  else
14392
 
    case $host_os in
14393
 
    freebsd[123]*) objformat=aout ;;
14394
 
    *) objformat=elf ;;
14395
 
    esac
14396
 
  fi
14397
 
  version_type=freebsd-$objformat
14398
 
  case $version_type in
14399
 
    freebsd-elf*)
14400
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14401
 
      need_version=no
14402
 
      need_lib_prefix=no
14403
 
      ;;
14404
 
    freebsd-*)
14405
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14406
 
      need_version=yes
14407
 
      ;;
14408
 
  esac
14409
 
  shlibpath_var=LD_LIBRARY_PATH
14410
 
  case $host_os in
14411
 
  freebsd2*)
14412
 
    shlibpath_overrides_runpath=yes
14413
 
    ;;
14414
 
  freebsd3.[01]* | freebsdelf3.[01]*)
14415
 
    shlibpath_overrides_runpath=yes
14416
 
    hardcode_into_libs=yes
14417
 
    ;;
14418
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14419
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14420
 
    shlibpath_overrides_runpath=no
14421
 
    hardcode_into_libs=yes
14422
 
    ;;
14423
 
  *) # from 4.6 on, and DragonFly
14424
 
    shlibpath_overrides_runpath=yes
14425
 
    hardcode_into_libs=yes
14426
 
    ;;
14427
 
  esac
14428
 
  ;;
14429
 
 
14430
 
gnu*)
14431
 
  version_type=linux
14432
 
  need_lib_prefix=no
14433
 
  need_version=no
14434
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14435
 
  soname_spec='${libname}${release}${shared_ext}$major'
14436
 
  shlibpath_var=LD_LIBRARY_PATH
14437
 
  hardcode_into_libs=yes
14438
 
  ;;
14439
 
 
14440
 
hpux9* | hpux10* | hpux11*)
14441
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
14442
 
  # link against other versions.
14443
 
  version_type=sunos
14444
 
  need_lib_prefix=no
14445
 
  need_version=no
14446
 
  case $host_cpu in
14447
 
  ia64*)
14448
 
    shrext_cmds='.so'
14449
 
    hardcode_into_libs=yes
14450
 
    dynamic_linker="$host_os dld.so"
14451
 
    shlibpath_var=LD_LIBRARY_PATH
14452
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14453
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14454
 
    soname_spec='${libname}${release}${shared_ext}$major'
14455
 
    if test "X$HPUX_IA64_MODE" = X32; then
14456
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14457
 
    else
14458
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14459
 
    fi
14460
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14461
 
    ;;
14462
 
   hppa*64*)
14463
 
     shrext_cmds='.sl'
14464
 
     hardcode_into_libs=yes
14465
 
     dynamic_linker="$host_os dld.sl"
14466
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14467
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14468
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14469
 
     soname_spec='${libname}${release}${shared_ext}$major'
14470
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14471
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14472
 
     ;;
14473
 
   *)
14474
 
    shrext_cmds='.sl'
14475
 
    dynamic_linker="$host_os dld.sl"
14476
 
    shlibpath_var=SHLIB_PATH
14477
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14478
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14479
 
    soname_spec='${libname}${release}${shared_ext}$major'
14480
 
    ;;
14481
 
  esac
14482
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
14483
 
  postinstall_cmds='chmod 555 $lib'
14484
 
  ;;
14485
 
 
14486
 
interix[3-9]*)
14487
 
  version_type=linux
14488
 
  need_lib_prefix=no
14489
 
  need_version=no
14490
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14491
 
  soname_spec='${libname}${release}${shared_ext}$major'
14492
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14493
 
  shlibpath_var=LD_LIBRARY_PATH
14494
 
  shlibpath_overrides_runpath=no
14495
 
  hardcode_into_libs=yes
14496
 
  ;;
14497
 
 
14498
 
irix5* | irix6* | nonstopux*)
14499
 
  case $host_os in
14500
 
    nonstopux*) version_type=nonstopux ;;
14501
 
    *)
14502
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
14503
 
                version_type=linux
14504
 
        else
14505
 
                version_type=irix
14506
 
        fi ;;
14507
 
  esac
14508
 
  need_lib_prefix=no
14509
 
  need_version=no
14510
 
  soname_spec='${libname}${release}${shared_ext}$major'
14511
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14512
 
  case $host_os in
14513
 
  irix5* | nonstopux*)
14514
 
    libsuff= shlibsuff=
14515
 
    ;;
14516
 
  *)
14517
 
    case $LD in # libtool.m4 will add one of these switches to LD
14518
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14519
 
      libsuff= shlibsuff= libmagic=32-bit;;
14520
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14521
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
14522
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14523
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14524
 
    *) libsuff= shlibsuff= libmagic=never-match;;
14525
 
    esac
14526
 
    ;;
14527
 
  esac
14528
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14529
 
  shlibpath_overrides_runpath=no
14530
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14531
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14532
 
  hardcode_into_libs=yes
14533
 
  ;;
14534
 
 
14535
 
# No shared lib support for Linux oldld, aout, or coff.
14536
 
linux*oldld* | linux*aout* | linux*coff*)
14537
 
  dynamic_linker=no
14538
 
  ;;
14539
 
 
14540
 
# This must be Linux ELF.
14541
 
linux* | k*bsd*-gnu)
14542
 
  version_type=linux
14543
 
  need_lib_prefix=no
14544
 
  need_version=no
14545
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14546
 
  soname_spec='${libname}${release}${shared_ext}$major'
14547
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14548
 
  shlibpath_var=LD_LIBRARY_PATH
14549
 
  shlibpath_overrides_runpath=no
14550
 
  # This implies no fast_install, which is unacceptable.
14551
 
  # Some rework will be needed to allow for fast_install
14552
 
  # before this can be enabled.
14553
 
  hardcode_into_libs=yes
14554
 
 
14555
 
  # Append ld.so.conf contents to the search path
14556
 
  if test -f /etc/ld.so.conf; then
14557
 
    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' ' '`
14558
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14559
 
  fi
14560
 
 
14561
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14562
 
  # powerpc, because MkLinux only supported shared libraries with the
14563
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
14564
 
  # most powerpc-linux boxes support dynamic linking these days and
14565
 
  # people can always --disable-shared, the test was removed, and we
14566
 
  # assume the GNU/Linux dynamic linker is in use.
14567
 
  dynamic_linker='GNU/Linux ld.so'
14568
 
  ;;
14569
 
 
14570
 
netbsd*)
14571
 
  version_type=sunos
14572
 
  need_lib_prefix=no
14573
 
  need_version=no
14574
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14575
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14576
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14577
 
    dynamic_linker='NetBSD (a.out) ld.so'
14578
 
  else
14579
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14580
 
    soname_spec='${libname}${release}${shared_ext}$major'
14581
 
    dynamic_linker='NetBSD ld.elf_so'
14582
 
  fi
14583
 
  shlibpath_var=LD_LIBRARY_PATH
14584
 
  shlibpath_overrides_runpath=yes
14585
 
  hardcode_into_libs=yes
14586
 
  ;;
14587
 
 
14588
 
newsos6)
14589
 
  version_type=linux
14590
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14591
 
  shlibpath_var=LD_LIBRARY_PATH
14592
 
  shlibpath_overrides_runpath=yes
14593
 
  ;;
14594
 
 
14595
 
nto-qnx*)
14596
 
  version_type=linux
14597
 
  need_lib_prefix=no
14598
 
  need_version=no
14599
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14600
 
  soname_spec='${libname}${release}${shared_ext}$major'
14601
 
  shlibpath_var=LD_LIBRARY_PATH
14602
 
  shlibpath_overrides_runpath=yes
14603
 
  ;;
14604
 
 
14605
 
openbsd*)
14606
 
  version_type=sunos
14607
 
  sys_lib_dlsearch_path_spec="/usr/lib"
14608
 
  need_lib_prefix=no
14609
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14610
 
  case $host_os in
14611
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14612
 
    *)                         need_version=no  ;;
14613
 
  esac
14614
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14615
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14616
 
  shlibpath_var=LD_LIBRARY_PATH
14617
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14618
 
    case $host_os in
14619
 
      openbsd2.[89] | openbsd2.[89].*)
14620
 
        shlibpath_overrides_runpath=no
14621
 
        ;;
14622
 
      *)
14623
 
        shlibpath_overrides_runpath=yes
14624
 
        ;;
14625
 
      esac
14626
 
  else
14627
 
    shlibpath_overrides_runpath=yes
14628
 
  fi
14629
 
  ;;
14630
 
 
14631
 
os2*)
14632
 
  libname_spec='$name'
14633
 
  shrext_cmds=".dll"
14634
 
  need_lib_prefix=no
14635
 
  library_names_spec='$libname${shared_ext} $libname.a'
14636
 
  dynamic_linker='OS/2 ld.exe'
14637
 
  shlibpath_var=LIBPATH
14638
 
  ;;
14639
 
 
14640
 
osf3* | osf4* | osf5*)
14641
 
  version_type=osf
14642
 
  need_lib_prefix=no
14643
 
  need_version=no
14644
 
  soname_spec='${libname}${release}${shared_ext}$major'
14645
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14646
 
  shlibpath_var=LD_LIBRARY_PATH
14647
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14648
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14649
 
  ;;
14650
 
 
14651
 
rdos*)
14652
 
  dynamic_linker=no
14653
 
  ;;
14654
 
 
14655
 
solaris*)
14656
 
  version_type=linux
14657
 
  need_lib_prefix=no
14658
 
  need_version=no
14659
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14660
 
  soname_spec='${libname}${release}${shared_ext}$major'
14661
 
  shlibpath_var=LD_LIBRARY_PATH
14662
 
  shlibpath_overrides_runpath=yes
14663
 
  hardcode_into_libs=yes
14664
 
  # ldd complains unless libraries are executable
14665
 
  postinstall_cmds='chmod +x $lib'
14666
 
  ;;
14667
 
 
14668
 
sunos4*)
14669
 
  version_type=sunos
14670
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14671
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14672
 
  shlibpath_var=LD_LIBRARY_PATH
14673
 
  shlibpath_overrides_runpath=yes
14674
 
  if test "$with_gnu_ld" = yes; then
14675
 
    need_lib_prefix=no
14676
 
  fi
14677
 
  need_version=yes
14678
 
  ;;
14679
 
 
14680
 
sysv4 | sysv4.3*)
14681
 
  version_type=linux
14682
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14683
 
  soname_spec='${libname}${release}${shared_ext}$major'
14684
 
  shlibpath_var=LD_LIBRARY_PATH
14685
 
  case $host_vendor in
14686
 
    sni)
14687
 
      shlibpath_overrides_runpath=no
14688
 
      need_lib_prefix=no
14689
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
14690
 
      runpath_var=LD_RUN_PATH
14691
 
      ;;
14692
 
    siemens)
14693
 
      need_lib_prefix=no
14694
 
      ;;
14695
 
    motorola)
14696
 
      need_lib_prefix=no
14697
 
      need_version=no
14698
 
      shlibpath_overrides_runpath=no
14699
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14700
 
      ;;
14701
 
  esac
14702
 
  ;;
14703
 
 
14704
 
sysv4*MP*)
14705
 
  if test -d /usr/nec ;then
14706
 
    version_type=linux
14707
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14708
 
    soname_spec='$libname${shared_ext}.$major'
14709
 
    shlibpath_var=LD_LIBRARY_PATH
14710
 
  fi
14711
 
  ;;
14712
 
 
14713
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14714
 
  version_type=freebsd-elf
14715
 
  need_lib_prefix=no
14716
 
  need_version=no
14717
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14718
 
  soname_spec='${libname}${release}${shared_ext}$major'
14719
 
  shlibpath_var=LD_LIBRARY_PATH
14720
 
  hardcode_into_libs=yes
14721
 
  if test "$with_gnu_ld" = yes; then
14722
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14723
 
    shlibpath_overrides_runpath=no
14724
 
  else
14725
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14726
 
    shlibpath_overrides_runpath=yes
14727
 
    case $host_os in
14728
 
      sco3.2v5*)
14729
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14730
 
        ;;
14731
 
    esac
14732
 
  fi
14733
 
  sys_lib_dlsearch_path_spec='/usr/lib'
14734
 
  ;;
14735
 
 
14736
 
uts4*)
14737
 
  version_type=linux
14738
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14739
 
  soname_spec='${libname}${release}${shared_ext}$major'
14740
 
  shlibpath_var=LD_LIBRARY_PATH
14741
 
  ;;
14742
 
 
14743
 
*)
14744
 
  dynamic_linker=no
14745
 
  ;;
14746
 
esac
14747
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14748
 
echo "${ECHO_T}$dynamic_linker" >&6; }
14749
 
test "$dynamic_linker" = no && can_build_shared=no
14750
 
 
14751
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14752
 
if test "$GCC" = yes; then
14753
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14754
 
fi
14755
 
 
14756
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14757
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14758
 
hardcode_action_CXX=
14759
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14760
 
   test -n "$runpath_var_CXX" || \
14761
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
14762
 
 
14763
 
  # We can hardcode non-existant directories.
14764
 
  if test "$hardcode_direct_CXX" != no &&
14765
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14766
 
     # have to relink, otherwise we might link with an installed library
14767
 
     # when we should be linking with a yet-to-be-installed one
14768
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14769
 
     test "$hardcode_minus_L_CXX" != no; then
14770
 
    # Linking always hardcodes the temporary library directory.
14771
 
    hardcode_action_CXX=relink
14772
 
  else
14773
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14774
 
    hardcode_action_CXX=immediate
14775
 
  fi
14776
 
else
14777
 
  # We cannot hardcode anything, or else we can only hardcode existing
14778
 
  # directories.
14779
 
  hardcode_action_CXX=unsupported
14780
 
fi
14781
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14782
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14783
 
 
14784
 
if test "$hardcode_action_CXX" = relink; then
14785
 
  # Fast installation is not supported
14786
 
  enable_fast_install=no
14787
 
elif test "$shlibpath_overrides_runpath" = yes ||
14788
 
     test "$enable_shared" = no; then
14789
 
  # Fast installation is not necessary
14790
 
  enable_fast_install=needless
14791
 
fi
14792
 
 
14793
 
 
14794
 
# The else clause should only fire when bootstrapping the
14795
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
14796
 
# with your package, and you will get complaints that there are
14797
 
# no rules to generate ltmain.sh.
14798
 
if test -f "$ltmain"; then
14799
 
  # See if we are running on zsh, and set the options which allow our commands through
14800
 
  # without removal of \ escapes.
14801
 
  if test -n "${ZSH_VERSION+set}" ; then
14802
 
    setopt NO_GLOB_SUBST
14803
 
  fi
14804
 
  # Now quote all the things that may contain metacharacters while being
14805
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
14806
 
  # variables and quote the copies for generation of the libtool script.
14807
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14808
 
    SED SHELL STRIP \
14809
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14810
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14811
 
    deplibs_check_method reload_flag reload_cmds need_locks \
14812
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14813
 
    lt_cv_sys_global_symbol_to_c_name_address \
14814
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14815
 
    old_postinstall_cmds old_postuninstall_cmds \
14816
 
    compiler_CXX \
14817
 
    CC_CXX \
14818
 
    LD_CXX \
14819
 
    lt_prog_compiler_wl_CXX \
14820
 
    lt_prog_compiler_pic_CXX \
14821
 
    lt_prog_compiler_static_CXX \
14822
 
    lt_prog_compiler_no_builtin_flag_CXX \
14823
 
    export_dynamic_flag_spec_CXX \
14824
 
    thread_safe_flag_spec_CXX \
14825
 
    whole_archive_flag_spec_CXX \
14826
 
    enable_shared_with_static_runtimes_CXX \
14827
 
    old_archive_cmds_CXX \
14828
 
    old_archive_from_new_cmds_CXX \
14829
 
    predep_objects_CXX \
14830
 
    postdep_objects_CXX \
14831
 
    predeps_CXX \
14832
 
    postdeps_CXX \
14833
 
    compiler_lib_search_path_CXX \
14834
 
    archive_cmds_CXX \
14835
 
    archive_expsym_cmds_CXX \
14836
 
    postinstall_cmds_CXX \
14837
 
    postuninstall_cmds_CXX \
14838
 
    old_archive_from_expsyms_cmds_CXX \
14839
 
    allow_undefined_flag_CXX \
14840
 
    no_undefined_flag_CXX \
14841
 
    export_symbols_cmds_CXX \
14842
 
    hardcode_libdir_flag_spec_CXX \
14843
 
    hardcode_libdir_flag_spec_ld_CXX \
14844
 
    hardcode_libdir_separator_CXX \
14845
 
    hardcode_automatic_CXX \
14846
 
    module_cmds_CXX \
14847
 
    module_expsym_cmds_CXX \
14848
 
    lt_cv_prog_compiler_c_o_CXX \
14849
 
    fix_srcfile_path_CXX \
14850
 
    exclude_expsyms_CXX \
14851
 
    include_expsyms_CXX; do
14852
 
 
14853
 
    case $var in
14854
 
    old_archive_cmds_CXX | \
14855
 
    old_archive_from_new_cmds_CXX | \
14856
 
    archive_cmds_CXX | \
14857
 
    archive_expsym_cmds_CXX | \
14858
 
    module_cmds_CXX | \
14859
 
    module_expsym_cmds_CXX | \
14860
 
    old_archive_from_expsyms_cmds_CXX | \
14861
 
    export_symbols_cmds_CXX | \
14862
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
14863
 
    postinstall_cmds | postuninstall_cmds | \
14864
 
    old_postinstall_cmds | old_postuninstall_cmds | \
14865
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14866
 
      # Double-quote double-evaled strings.
14867
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14868
 
      ;;
14869
 
    *)
14870
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14871
 
      ;;
14872
 
    esac
14873
 
  done
14874
 
 
14875
 
  case $lt_echo in
14876
 
  *'\$0 --fallback-echo"')
14877
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14878
 
    ;;
14879
 
  esac
14880
 
 
14881
 
cfgfile="$ofile"
14882
 
 
14883
 
  cat <<__EOF__ >> "$cfgfile"
14884
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
14885
 
 
14886
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14887
 
 
14888
 
# Shell to use when invoking shell scripts.
14889
 
SHELL=$lt_SHELL
14890
 
 
14891
 
# Whether or not to build shared libraries.
14892
 
build_libtool_libs=$enable_shared
14893
 
 
14894
 
# Whether or not to build static libraries.
14895
 
build_old_libs=$enable_static
14896
 
 
14897
 
# Whether or not to add -lc for building shared libraries.
14898
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
14899
 
 
14900
 
# Whether or not to disallow shared libs when runtime libs are static
14901
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14902
 
 
14903
 
# Whether or not to optimize for fast installation.
14904
 
fast_install=$enable_fast_install
14905
 
 
14906
 
# The host system.
14907
 
host_alias=$host_alias
14908
 
host=$host
14909
 
host_os=$host_os
14910
 
 
14911
 
# The build system.
14912
 
build_alias=$build_alias
14913
 
build=$build
14914
 
build_os=$build_os
14915
 
 
14916
 
# An echo program that does not interpret backslashes.
14917
 
echo=$lt_echo
14918
 
 
14919
 
# The archiver.
14920
 
AR=$lt_AR
14921
 
AR_FLAGS=$lt_AR_FLAGS
14922
 
 
14923
 
# A C compiler.
14924
 
LTCC=$lt_LTCC
14925
 
 
14926
 
# LTCC compiler flags.
14927
 
LTCFLAGS=$lt_LTCFLAGS
14928
 
 
14929
 
# A language-specific compiler.
14930
 
CC=$lt_compiler_CXX
14931
 
 
14932
 
# Is the compiler the GNU C compiler?
14933
 
with_gcc=$GCC_CXX
14934
 
 
14935
 
# An ERE matcher.
14936
 
EGREP=$lt_EGREP
14937
 
 
14938
 
# The linker used to build libraries.
14939
 
LD=$lt_LD_CXX
14940
 
 
14941
 
# Whether we need hard or soft links.
14942
 
LN_S=$lt_LN_S
14943
 
 
14944
 
# A BSD-compatible nm program.
14945
 
NM=$lt_NM
14946
 
 
14947
 
# A symbol stripping program
14948
 
STRIP=$lt_STRIP
14949
 
 
14950
 
# Used to examine libraries when file_magic_cmd begins "file"
14951
 
MAGIC_CMD=$MAGIC_CMD
14952
 
 
14953
 
# Used on cygwin: DLL creation program.
14954
 
DLLTOOL="$DLLTOOL"
14955
 
 
14956
 
# Used on cygwin: object dumper.
14957
 
OBJDUMP="$OBJDUMP"
14958
 
 
14959
 
# Used on cygwin: assembler.
14960
 
AS="$AS"
14961
 
 
14962
 
# The name of the directory that contains temporary libtool files.
14963
 
objdir=$objdir
14964
 
 
14965
 
# How to create reloadable object files.
14966
 
reload_flag=$lt_reload_flag
14967
 
reload_cmds=$lt_reload_cmds
14968
 
 
14969
 
# How to pass a linker flag through the compiler.
14970
 
wl=$lt_lt_prog_compiler_wl_CXX
14971
 
 
14972
 
# Object file suffix (normally "o").
14973
 
objext="$ac_objext"
14974
 
 
14975
 
# Old archive suffix (normally "a").
14976
 
libext="$libext"
14977
 
 
14978
 
# Shared library suffix (normally ".so").
14979
 
shrext_cmds='$shrext_cmds'
14980
 
 
14981
 
# Executable file suffix (normally "").
14982
 
exeext="$exeext"
14983
 
 
14984
 
# Additional compiler flags for building library objects.
14985
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
14986
 
pic_mode=$pic_mode
14987
 
 
14988
 
# What is the maximum length of a command?
14989
 
max_cmd_len=$lt_cv_sys_max_cmd_len
14990
 
 
14991
 
# Does compiler simultaneously support -c and -o options?
14992
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14993
 
 
14994
 
# Must we lock files when doing compilation?
14995
 
need_locks=$lt_need_locks
14996
 
 
14997
 
# Do we need the lib prefix for modules?
14998
 
need_lib_prefix=$need_lib_prefix
14999
 
 
15000
 
# Do we need a version for libraries?
15001
 
need_version=$need_version
15002
 
 
15003
 
# Whether dlopen is supported.
15004
 
dlopen_support=$enable_dlopen
15005
 
 
15006
 
# Whether dlopen of programs is supported.
15007
 
dlopen_self=$enable_dlopen_self
15008
 
 
15009
 
# Whether dlopen of statically linked programs is supported.
15010
 
dlopen_self_static=$enable_dlopen_self_static
15011
 
 
15012
 
# Compiler flag to prevent dynamic linking.
15013
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
15014
 
 
15015
 
# Compiler flag to turn off builtin functions.
15016
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15017
 
 
15018
 
# Compiler flag to allow reflexive dlopens.
15019
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15020
 
 
15021
 
# Compiler flag to generate shared objects directly from archives.
15022
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15023
 
 
15024
 
# Compiler flag to generate thread-safe objects.
15025
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15026
 
 
15027
 
# Library versioning type.
15028
 
version_type=$version_type
15029
 
 
15030
 
# Format of library name prefix.
15031
 
libname_spec=$lt_libname_spec
15032
 
 
15033
 
# List of archive names.  First name is the real one, the rest are links.
15034
 
# The last name is the one that the linker finds with -lNAME.
15035
 
library_names_spec=$lt_library_names_spec
15036
 
 
15037
 
# The coded name of the library, if different from the real name.
15038
 
soname_spec=$lt_soname_spec
15039
 
 
15040
 
# Commands used to build and install an old-style archive.
15041
 
RANLIB=$lt_RANLIB
15042
 
old_archive_cmds=$lt_old_archive_cmds_CXX
15043
 
old_postinstall_cmds=$lt_old_postinstall_cmds
15044
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15045
 
 
15046
 
# Create an old-style archive from a shared archive.
15047
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15048
 
 
15049
 
# Create a temporary old-style archive to link instead of a shared archive.
15050
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15051
 
 
15052
 
# Commands used to build and install a shared archive.
15053
 
archive_cmds=$lt_archive_cmds_CXX
15054
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
15055
 
postinstall_cmds=$lt_postinstall_cmds
15056
 
postuninstall_cmds=$lt_postuninstall_cmds
15057
 
 
15058
 
# Commands used to build a loadable module (assumed same as above if empty)
15059
 
module_cmds=$lt_module_cmds_CXX
15060
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
15061
 
 
15062
 
# Commands to strip libraries.
15063
 
old_striplib=$lt_old_striplib
15064
 
striplib=$lt_striplib
15065
 
 
15066
 
# Dependencies to place before the objects being linked to create a
15067
 
# shared library.
15068
 
predep_objects=$lt_predep_objects_CXX
15069
 
 
15070
 
# Dependencies to place after the objects being linked to create a
15071
 
# shared library.
15072
 
postdep_objects=$lt_postdep_objects_CXX
15073
 
 
15074
 
# Dependencies to place before the objects being linked to create a
15075
 
# shared library.
15076
 
predeps=$lt_predeps_CXX
15077
 
 
15078
 
# Dependencies to place after the objects being linked to create a
15079
 
# shared library.
15080
 
postdeps=$lt_postdeps_CXX
15081
 
 
15082
 
# The library search path used internally by the compiler when linking
15083
 
# a shared library.
15084
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15085
 
 
15086
 
# Method to check whether dependent libraries are shared objects.
15087
 
deplibs_check_method=$lt_deplibs_check_method
15088
 
 
15089
 
# Command to use when deplibs_check_method == file_magic.
15090
 
file_magic_cmd=$lt_file_magic_cmd
15091
 
 
15092
 
# Flag that allows shared libraries with undefined symbols to be built.
15093
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
15094
 
 
15095
 
# Flag that forces no undefined symbols.
15096
 
no_undefined_flag=$lt_no_undefined_flag_CXX
15097
 
 
15098
 
# Commands used to finish a libtool library installation in a directory.
15099
 
finish_cmds=$lt_finish_cmds
15100
 
 
15101
 
# Same as above, but a single script fragment to be evaled but not shown.
15102
 
finish_eval=$lt_finish_eval
15103
 
 
15104
 
# Take the output of nm and produce a listing of raw symbols and C names.
15105
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15106
 
 
15107
 
# Transform the output of nm in a proper C declaration
15108
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15109
 
 
15110
 
# Transform the output of nm in a C name address pair
15111
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15112
 
 
15113
 
# This is the shared library runtime path variable.
15114
 
runpath_var=$runpath_var
15115
 
 
15116
 
# This is the shared library path variable.
15117
 
shlibpath_var=$shlibpath_var
15118
 
 
15119
 
# Is shlibpath searched before the hard-coded library search path?
15120
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15121
 
 
15122
 
# How to hardcode a shared library path into an executable.
15123
 
hardcode_action=$hardcode_action_CXX
15124
 
 
15125
 
# Whether we should hardcode library paths into libraries.
15126
 
hardcode_into_libs=$hardcode_into_libs
15127
 
 
15128
 
# Flag to hardcode \$libdir into a binary during linking.
15129
 
# This must work even if \$libdir does not exist.
15130
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15131
 
 
15132
 
# If ld is used when linking, flag to hardcode \$libdir into
15133
 
# a binary during linking. This must work even if \$libdir does
15134
 
# not exist.
15135
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15136
 
 
15137
 
# Whether we need a single -rpath flag with a separated argument.
15138
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15139
 
 
15140
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15141
 
# resulting binary.
15142
 
hardcode_direct=$hardcode_direct_CXX
15143
 
 
15144
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15145
 
# resulting binary.
15146
 
hardcode_minus_L=$hardcode_minus_L_CXX
15147
 
 
15148
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15149
 
# the resulting binary.
15150
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15151
 
 
15152
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
15153
 
# and all subsequent libraries and executables linked against it.
15154
 
hardcode_automatic=$hardcode_automatic_CXX
15155
 
 
15156
 
# Variables whose values should be saved in libtool wrapper scripts and
15157
 
# restored at relink time.
15158
 
variables_saved_for_relink="$variables_saved_for_relink"
15159
 
 
15160
 
# Whether libtool must link a program against all its dependency libraries.
15161
 
link_all_deplibs=$link_all_deplibs_CXX
15162
 
 
15163
 
# Compile-time system search path for libraries
15164
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15165
 
 
15166
 
# Run-time system search path for libraries
15167
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15168
 
 
15169
 
# Fix the shell variable \$srcfile for the compiler.
15170
 
fix_srcfile_path=$lt_fix_srcfile_path
15171
 
 
15172
 
# Set to yes if exported symbols are required.
15173
 
always_export_symbols=$always_export_symbols_CXX
15174
 
 
15175
 
# The commands to list exported symbols.
15176
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
15177
 
 
15178
 
# The commands to extract the exported symbol list from a shared archive.
15179
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15180
 
 
15181
 
# Symbols that should not be listed in the preloaded symbols.
15182
 
exclude_expsyms=$lt_exclude_expsyms_CXX
15183
 
 
15184
 
# Symbols that must always be exported.
15185
 
include_expsyms=$lt_include_expsyms_CXX
15186
 
 
15187
 
# ### END LIBTOOL TAG CONFIG: $tagname
15188
 
 
15189
 
__EOF__
15190
 
 
15191
 
 
15192
 
else
15193
 
  # If there is no Makefile yet, we rely on a make rule to execute
15194
 
  # `config.status --recheck' to rerun these tests and create the
15195
 
  # libtool script then.
15196
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15197
 
  if test -f "$ltmain_in"; then
15198
 
    test -f Makefile && make "$ltmain"
15199
 
  fi
15200
 
fi
15201
 
 
15202
 
 
15203
 
ac_ext=c
15204
 
ac_cpp='$CPP $CPPFLAGS'
15205
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15206
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15207
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15208
 
 
15209
 
CC=$lt_save_CC
15210
 
LDCXX=$LD
15211
 
LD=$lt_save_LD
15212
 
GCC=$lt_save_GCC
15213
 
with_gnu_ldcxx=$with_gnu_ld
15214
 
with_gnu_ld=$lt_save_with_gnu_ld
15215
 
lt_cv_path_LDCXX=$lt_cv_path_LD
15216
 
lt_cv_path_LD=$lt_save_path_LD
15217
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15218
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15219
 
 
15220
 
        else
15221
 
          tagname=""
15222
 
        fi
15223
 
        ;;
15224
 
 
15225
 
      F77)
15226
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
15227
 
 
15228
 
ac_ext=f
15229
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15230
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15231
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15232
 
 
15233
 
 
15234
 
archive_cmds_need_lc_F77=no
15235
 
allow_undefined_flag_F77=
15236
 
always_export_symbols_F77=no
15237
 
archive_expsym_cmds_F77=
15238
 
export_dynamic_flag_spec_F77=
15239
 
hardcode_direct_F77=no
15240
 
hardcode_libdir_flag_spec_F77=
15241
 
hardcode_libdir_flag_spec_ld_F77=
15242
 
hardcode_libdir_separator_F77=
15243
 
hardcode_minus_L_F77=no
15244
 
hardcode_automatic_F77=no
15245
 
module_cmds_F77=
15246
 
module_expsym_cmds_F77=
15247
 
link_all_deplibs_F77=unknown
15248
 
old_archive_cmds_F77=$old_archive_cmds
15249
 
no_undefined_flag_F77=
15250
 
whole_archive_flag_spec_F77=
15251
 
enable_shared_with_static_runtimes_F77=no
15252
 
 
15253
 
# Source file extension for f77 test sources.
15254
 
ac_ext=f
15255
 
 
15256
 
# Object file extension for compiled f77 test sources.
15257
 
objext=o
15258
 
objext_F77=$objext
15259
 
 
15260
 
# Code to be used in simple compile tests
15261
 
lt_simple_compile_test_code="\
15262
 
      subroutine t
15263
 
      return
15264
 
      end
15265
 
"
15266
 
 
15267
 
# Code to be used in simple link tests
15268
 
lt_simple_link_test_code="\
15269
 
      program t
15270
 
      end
15271
 
"
15272
 
 
15273
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15274
 
 
15275
 
# If no C compiler was specified, use CC.
15276
 
LTCC=${LTCC-"$CC"}
15277
 
 
15278
 
# If no C compiler flags were specified, use CFLAGS.
15279
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15280
 
 
15281
 
# Allow CC to be a program name with arguments.
15282
 
compiler=$CC
15283
 
 
15284
 
 
15285
 
# save warnings/boilerplate of simple test code
15286
 
ac_outfile=conftest.$ac_objext
15287
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15288
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15289
 
_lt_compiler_boilerplate=`cat conftest.err`
15290
 
$rm conftest*
15291
 
 
15292
 
ac_outfile=conftest.$ac_objext
15293
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15294
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15295
 
_lt_linker_boilerplate=`cat conftest.err`
15296
 
$rm conftest*
15297
 
 
15298
 
 
15299
 
# Allow CC to be a program name with arguments.
15300
 
lt_save_CC="$CC"
15301
 
CC=${F77-"f77"}
15302
 
compiler=$CC
15303
 
compiler_F77=$CC
15304
 
for cc_temp in $compiler""; do
15305
 
  case $cc_temp in
15306
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15307
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15308
 
    \-*) ;;
15309
 
    *) break;;
15310
 
  esac
15311
 
done
15312
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15313
 
 
15314
 
 
15315
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15316
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15317
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
15318
 
echo "${ECHO_T}$can_build_shared" >&6; }
15319
 
 
15320
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15321
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15322
 
test "$can_build_shared" = "no" && enable_shared=no
15323
 
 
15324
 
# On AIX, shared libraries and static libraries use the same namespace, and
15325
 
# are all built from PIC.
15326
 
case $host_os in
15327
 
aix3*)
15328
 
  test "$enable_shared" = yes && enable_static=no
15329
 
  if test -n "$RANLIB"; then
15330
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
15331
 
    postinstall_cmds='$RANLIB $lib'
15332
 
  fi
15333
 
  ;;
15334
 
aix4* | aix5*)
15335
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15336
 
    test "$enable_shared" = yes && enable_static=no
15337
 
  fi
15338
 
  ;;
15339
 
esac
15340
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
15341
 
echo "${ECHO_T}$enable_shared" >&6; }
15342
 
 
15343
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15344
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15345
 
# Make sure either enable_shared or enable_static is yes.
15346
 
test "$enable_shared" = yes || enable_static=yes
15347
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
15348
 
echo "${ECHO_T}$enable_static" >&6; }
15349
 
 
15350
 
GCC_F77="$G77"
15351
 
LD_F77="$LD"
15352
 
 
15353
 
lt_prog_compiler_wl_F77=
15354
 
lt_prog_compiler_pic_F77=
15355
 
lt_prog_compiler_static_F77=
15356
 
 
15357
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15358
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15359
 
 
15360
 
  if test "$GCC" = yes; then
15361
 
    lt_prog_compiler_wl_F77='-Wl,'
15362
 
    lt_prog_compiler_static_F77='-static'
15363
 
 
15364
 
    case $host_os in
15365
 
      aix*)
15366
 
      # All AIX code is PIC.
15367
 
      if test "$host_cpu" = ia64; then
15368
 
        # AIX 5 now supports IA64 processor
15369
 
        lt_prog_compiler_static_F77='-Bstatic'
15370
 
      fi
15371
 
      ;;
15372
 
 
15373
 
    amigaos*)
15374
 
      # FIXME: we need at least 68020 code to build shared libraries, but
15375
 
      # adding the `-m68020' flag to GCC prevents building anything better,
15376
 
      # like `-m68040'.
15377
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15378
 
      ;;
15379
 
 
15380
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15381
 
      # PIC is the default for these OSes.
15382
 
      ;;
15383
 
 
15384
 
    mingw* | cygwin* | pw32* | os2*)
15385
 
      # This hack is so that the source file can tell whether it is being
15386
 
      # built for inclusion in a dll (and should export symbols for example).
15387
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15388
 
      # (--disable-auto-import) libraries
15389
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15390
 
      ;;
15391
 
 
15392
 
    darwin* | rhapsody*)
15393
 
      # PIC is the default on this platform
15394
 
      # Common symbols not allowed in MH_DYLIB files
15395
 
      lt_prog_compiler_pic_F77='-fno-common'
15396
 
      ;;
15397
 
 
15398
 
    interix[3-9]*)
15399
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15400
 
      # Instead, we relocate shared libraries at runtime.
15401
 
      ;;
15402
 
 
15403
 
    msdosdjgpp*)
15404
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
15405
 
      # on systems that don't support them.
15406
 
      lt_prog_compiler_can_build_shared_F77=no
15407
 
      enable_shared=no
15408
 
      ;;
15409
 
 
15410
 
    sysv4*MP*)
15411
 
      if test -d /usr/nec; then
15412
 
        lt_prog_compiler_pic_F77=-Kconform_pic
15413
 
      fi
15414
 
      ;;
15415
 
 
15416
 
    hpux*)
15417
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15418
 
      # not for PA HP-UX.
15419
 
      case $host_cpu in
15420
 
      hppa*64*|ia64*)
15421
 
        # +Z the default
15422
 
        ;;
15423
 
      *)
15424
 
        lt_prog_compiler_pic_F77='-fPIC'
15425
 
        ;;
15426
 
      esac
15427
 
      ;;
15428
 
 
15429
 
    *)
15430
 
      lt_prog_compiler_pic_F77='-fPIC'
15431
 
      ;;
15432
 
    esac
15433
 
  else
15434
 
    # PORTME Check for flag to pass linker flags through the system compiler.
15435
 
    case $host_os in
15436
 
    aix*)
15437
 
      lt_prog_compiler_wl_F77='-Wl,'
15438
 
      if test "$host_cpu" = ia64; then
15439
 
        # AIX 5 now supports IA64 processor
15440
 
        lt_prog_compiler_static_F77='-Bstatic'
15441
 
      else
15442
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
15443
 
      fi
15444
 
      ;;
15445
 
      darwin*)
15446
 
        # PIC is the default on this platform
15447
 
        # Common symbols not allowed in MH_DYLIB files
15448
 
       case $cc_basename in
15449
 
         xlc*)
15450
 
         lt_prog_compiler_pic_F77='-qnocommon'
15451
 
         lt_prog_compiler_wl_F77='-Wl,'
15452
 
         ;;
15453
 
       esac
15454
 
       ;;
15455
 
 
15456
 
    mingw* | cygwin* | pw32* | os2*)
15457
 
      # This hack is so that the source file can tell whether it is being
15458
 
      # built for inclusion in a dll (and should export symbols for example).
15459
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15460
 
      ;;
15461
 
 
15462
 
    hpux9* | hpux10* | hpux11*)
15463
 
      lt_prog_compiler_wl_F77='-Wl,'
15464
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15465
 
      # not for PA HP-UX.
15466
 
      case $host_cpu in
15467
 
      hppa*64*|ia64*)
15468
 
        # +Z the default
15469
 
        ;;
15470
 
      *)
15471
 
        lt_prog_compiler_pic_F77='+Z'
15472
 
        ;;
15473
 
      esac
15474
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
15475
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15476
 
      ;;
15477
 
 
15478
 
    irix5* | irix6* | nonstopux*)
15479
 
      lt_prog_compiler_wl_F77='-Wl,'
15480
 
      # PIC (with -KPIC) is the default.
15481
 
      lt_prog_compiler_static_F77='-non_shared'
15482
 
      ;;
15483
 
 
15484
 
    newsos6)
15485
 
      lt_prog_compiler_pic_F77='-KPIC'
15486
 
      lt_prog_compiler_static_F77='-Bstatic'
15487
 
      ;;
15488
 
 
15489
 
    linux* | k*bsd*-gnu)
15490
 
      case $cc_basename in
15491
 
      icc* | ecc*)
15492
 
        lt_prog_compiler_wl_F77='-Wl,'
15493
 
        lt_prog_compiler_pic_F77='-KPIC'
15494
 
        lt_prog_compiler_static_F77='-static'
15495
 
        ;;
15496
 
      pgcc* | pgf77* | pgf90* | pgf95*)
15497
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
15498
 
        # which looks to be a dead project)
15499
 
        lt_prog_compiler_wl_F77='-Wl,'
15500
 
        lt_prog_compiler_pic_F77='-fpic'
15501
 
        lt_prog_compiler_static_F77='-Bstatic'
15502
 
        ;;
15503
 
      ccc*)
15504
 
        lt_prog_compiler_wl_F77='-Wl,'
15505
 
        # All Alpha code is PIC.
15506
 
        lt_prog_compiler_static_F77='-non_shared'
15507
 
        ;;
15508
 
      *)
15509
 
        case `$CC -V 2>&1 | sed 5q` in
15510
 
        *Sun\ C*)
15511
 
          # Sun C 5.9
15512
 
          lt_prog_compiler_pic_F77='-KPIC'
15513
 
          lt_prog_compiler_static_F77='-Bstatic'
15514
 
          lt_prog_compiler_wl_F77='-Wl,'
15515
 
          ;;
15516
 
        *Sun\ F*)
15517
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
15518
 
          lt_prog_compiler_pic_F77='-KPIC'
15519
 
          lt_prog_compiler_static_F77='-Bstatic'
15520
 
          lt_prog_compiler_wl_F77=''
15521
 
          ;;
15522
 
        esac
15523
 
        ;;
15524
 
      esac
15525
 
      ;;
15526
 
 
15527
 
    osf3* | osf4* | osf5*)
15528
 
      lt_prog_compiler_wl_F77='-Wl,'
15529
 
      # All OSF/1 code is PIC.
15530
 
      lt_prog_compiler_static_F77='-non_shared'
15531
 
      ;;
15532
 
 
15533
 
    rdos*)
15534
 
      lt_prog_compiler_static_F77='-non_shared'
15535
 
      ;;
15536
 
 
15537
 
    solaris*)
15538
 
      lt_prog_compiler_pic_F77='-KPIC'
15539
 
      lt_prog_compiler_static_F77='-Bstatic'
15540
 
      case $cc_basename in
15541
 
      f77* | f90* | f95*)
15542
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
15543
 
      *)
15544
 
        lt_prog_compiler_wl_F77='-Wl,';;
15545
 
      esac
15546
 
      ;;
15547
 
 
15548
 
    sunos4*)
15549
 
      lt_prog_compiler_wl_F77='-Qoption ld '
15550
 
      lt_prog_compiler_pic_F77='-PIC'
15551
 
      lt_prog_compiler_static_F77='-Bstatic'
15552
 
      ;;
15553
 
 
15554
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
15555
 
      lt_prog_compiler_wl_F77='-Wl,'
15556
 
      lt_prog_compiler_pic_F77='-KPIC'
15557
 
      lt_prog_compiler_static_F77='-Bstatic'
15558
 
      ;;
15559
 
 
15560
 
    sysv4*MP*)
15561
 
      if test -d /usr/nec ;then
15562
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
15563
 
        lt_prog_compiler_static_F77='-Bstatic'
15564
 
      fi
15565
 
      ;;
15566
 
 
15567
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15568
 
      lt_prog_compiler_wl_F77='-Wl,'
15569
 
      lt_prog_compiler_pic_F77='-KPIC'
15570
 
      lt_prog_compiler_static_F77='-Bstatic'
15571
 
      ;;
15572
 
 
15573
 
    unicos*)
15574
 
      lt_prog_compiler_wl_F77='-Wl,'
15575
 
      lt_prog_compiler_can_build_shared_F77=no
15576
 
      ;;
15577
 
 
15578
 
    uts4*)
15579
 
      lt_prog_compiler_pic_F77='-pic'
15580
 
      lt_prog_compiler_static_F77='-Bstatic'
15581
 
      ;;
15582
 
 
15583
 
    *)
15584
 
      lt_prog_compiler_can_build_shared_F77=no
15585
 
      ;;
15586
 
    esac
15587
 
  fi
15588
 
 
15589
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15590
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15591
 
 
15592
 
#
15593
 
# Check to make sure the PIC flag actually works.
15594
 
#
15595
 
if test -n "$lt_prog_compiler_pic_F77"; then
15596
 
 
15597
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15598
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15599
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15600
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15601
 
else
15602
 
  lt_prog_compiler_pic_works_F77=no
15603
 
  ac_outfile=conftest.$ac_objext
15604
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15605
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15606
 
   # Insert the option either (1) after the last *FLAGS variable, or
15607
 
   # (2) before a word containing "conftest.", or (3) at the end.
15608
 
   # Note that $ac_compile itself does not contain backslashes and begins
15609
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15610
 
   # The option is referenced via a variable to avoid confusing sed.
15611
 
   lt_compile=`echo "$ac_compile" | $SED \
15612
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15613
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15614
 
   -e 's:$: $lt_compiler_flag:'`
15615
 
   (eval echo "\"\$as_me:15615: $lt_compile\"" >&5)
15616
 
   (eval "$lt_compile" 2>conftest.err)
15617
 
   ac_status=$?
15618
 
   cat conftest.err >&5
15619
 
   echo "$as_me:15619: \$? = $ac_status" >&5
15620
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
15621
 
     # The compiler can only warn and ignore the option if not recognized
15622
 
     # So say no if there are warnings other than the usual output.
15623
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15624
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15625
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15626
 
       lt_prog_compiler_pic_works_F77=yes
15627
 
     fi
15628
 
   fi
15629
 
   $rm conftest*
15630
 
 
15631
 
fi
15632
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15633
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
15634
 
 
15635
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15636
 
    case $lt_prog_compiler_pic_F77 in
15637
 
     "" | " "*) ;;
15638
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15639
 
     esac
15640
 
else
15641
 
    lt_prog_compiler_pic_F77=
15642
 
     lt_prog_compiler_can_build_shared_F77=no
15643
 
fi
15644
 
 
15645
 
fi
15646
 
case $host_os in
15647
 
  # For platforms which do not support PIC, -DPIC is meaningless:
15648
 
  *djgpp*)
15649
 
    lt_prog_compiler_pic_F77=
15650
 
    ;;
15651
 
  *)
15652
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15653
 
    ;;
15654
 
esac
15655
 
 
15656
 
#
15657
 
# Check to make sure the static flag actually works.
15658
 
#
15659
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15660
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15661
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15662
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15663
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15664
 
else
15665
 
  lt_prog_compiler_static_works_F77=no
15666
 
   save_LDFLAGS="$LDFLAGS"
15667
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15668
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15669
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15670
 
     # The linker can only warn and ignore the option if not recognized
15671
 
     # So say no if there are warnings
15672
 
     if test -s conftest.err; then
15673
 
       # Append any errors to the config.log.
15674
 
       cat conftest.err 1>&5
15675
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15676
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15677
 
       if diff conftest.exp conftest.er2 >/dev/null; then
15678
 
         lt_prog_compiler_static_works_F77=yes
15679
 
       fi
15680
 
     else
15681
 
       lt_prog_compiler_static_works_F77=yes
15682
 
     fi
15683
 
   fi
15684
 
   $rm conftest*
15685
 
   LDFLAGS="$save_LDFLAGS"
15686
 
 
15687
 
fi
15688
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15689
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
15690
 
 
15691
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
15692
 
    :
15693
 
else
15694
 
    lt_prog_compiler_static_F77=
15695
 
fi
15696
 
 
15697
 
 
15698
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15699
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15700
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15701
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15702
 
else
15703
 
  lt_cv_prog_compiler_c_o_F77=no
15704
 
   $rm -r conftest 2>/dev/null
15705
 
   mkdir conftest
15706
 
   cd conftest
15707
 
   mkdir out
15708
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15709
 
 
15710
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15711
 
   # Insert the option either (1) after the last *FLAGS variable, or
15712
 
   # (2) before a word containing "conftest.", or (3) at the end.
15713
 
   # Note that $ac_compile itself does not contain backslashes and begins
15714
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15715
 
   lt_compile=`echo "$ac_compile" | $SED \
15716
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15717
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15718
 
   -e 's:$: $lt_compiler_flag:'`
15719
 
   (eval echo "\"\$as_me:15719: $lt_compile\"" >&5)
15720
 
   (eval "$lt_compile" 2>out/conftest.err)
15721
 
   ac_status=$?
15722
 
   cat out/conftest.err >&5
15723
 
   echo "$as_me:15723: \$? = $ac_status" >&5
15724
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15725
 
   then
15726
 
     # The compiler can only warn and ignore the option if not recognized
15727
 
     # So say no if there are warnings
15728
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15729
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15730
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15731
 
       lt_cv_prog_compiler_c_o_F77=yes
15732
 
     fi
15733
 
   fi
15734
 
   chmod u+w . 2>&5
15735
 
   $rm conftest*
15736
 
   # SGI C++ compiler will create directory out/ii_files/ for
15737
 
   # template instantiation
15738
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15739
 
   $rm out/* && rmdir out
15740
 
   cd ..
15741
 
   rmdir conftest
15742
 
   $rm conftest*
15743
 
 
15744
 
fi
15745
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15746
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15747
 
 
15748
 
 
15749
 
hard_links="nottested"
15750
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15751
 
  # do not overwrite the value of need_locks provided by the user
15752
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15753
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15754
 
  hard_links=yes
15755
 
  $rm conftest*
15756
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15757
 
  touch conftest.a
15758
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
15759
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15760
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
15761
 
echo "${ECHO_T}$hard_links" >&6; }
15762
 
  if test "$hard_links" = no; then
15763
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15764
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15765
 
    need_locks=warn
15766
 
  fi
15767
 
else
15768
 
  need_locks=no
15769
 
fi
15770
 
 
15771
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15772
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15773
 
 
15774
 
  runpath_var=
15775
 
  allow_undefined_flag_F77=
15776
 
  enable_shared_with_static_runtimes_F77=no
15777
 
  archive_cmds_F77=
15778
 
  archive_expsym_cmds_F77=
15779
 
  old_archive_From_new_cmds_F77=
15780
 
  old_archive_from_expsyms_cmds_F77=
15781
 
  export_dynamic_flag_spec_F77=
15782
 
  whole_archive_flag_spec_F77=
15783
 
  thread_safe_flag_spec_F77=
15784
 
  hardcode_libdir_flag_spec_F77=
15785
 
  hardcode_libdir_flag_spec_ld_F77=
15786
 
  hardcode_libdir_separator_F77=
15787
 
  hardcode_direct_F77=no
15788
 
  hardcode_minus_L_F77=no
15789
 
  hardcode_shlibpath_var_F77=unsupported
15790
 
  link_all_deplibs_F77=unknown
15791
 
  hardcode_automatic_F77=no
15792
 
  module_cmds_F77=
15793
 
  module_expsym_cmds_F77=
15794
 
  always_export_symbols_F77=no
15795
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15796
 
  # include_expsyms should be a list of space-separated symbols to be *always*
15797
 
  # included in the symbol list
15798
 
  include_expsyms_F77=
15799
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
15800
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15801
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15802
 
  # as well as any symbol that contains `d'.
15803
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
15804
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15805
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
15806
 
  # the symbol is explicitly referenced.  Since portable code cannot
15807
 
  # rely on this symbol name, it's probably fine to never include it in
15808
 
  # preloaded symbol tables.
15809
 
  extract_expsyms_cmds=
15810
 
  # Just being paranoid about ensuring that cc_basename is set.
15811
 
  for cc_temp in $compiler""; do
15812
 
  case $cc_temp in
15813
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15814
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15815
 
    \-*) ;;
15816
 
    *) break;;
15817
 
  esac
15818
 
done
15819
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15820
 
 
15821
 
  case $host_os in
15822
 
  cygwin* | mingw* | pw32*)
15823
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
15824
 
    # When not using gcc, we currently assume that we are using
15825
 
    # Microsoft Visual C++.
15826
 
    if test "$GCC" != yes; then
15827
 
      with_gnu_ld=no
15828
 
    fi
15829
 
    ;;
15830
 
  interix*)
15831
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
15832
 
    with_gnu_ld=yes
15833
 
    ;;
15834
 
  openbsd*)
15835
 
    with_gnu_ld=no
15836
 
    ;;
15837
 
  esac
15838
 
 
15839
 
  ld_shlibs_F77=yes
15840
 
  if test "$with_gnu_ld" = yes; then
15841
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
15842
 
    wlarc='${wl}'
15843
 
 
15844
 
    # Set some defaults for GNU ld with shared library support. These
15845
 
    # are reset later if shared libraries are not supported. Putting them
15846
 
    # here allows them to be overridden if necessary.
15847
 
    runpath_var=LD_RUN_PATH
15848
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15849
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15850
 
    # ancient GNU ld didn't support --whole-archive et. al.
15851
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15852
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15853
 
      else
15854
 
        whole_archive_flag_spec_F77=
15855
 
    fi
15856
 
    supports_anon_versioning=no
15857
 
    case `$LD -v 2>/dev/null` in
15858
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15859
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15860
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15861
 
      *\ 2.11.*) ;; # other 2.11 versions
15862
 
      *) supports_anon_versioning=yes ;;
15863
 
    esac
15864
 
 
15865
 
    # See if GNU ld supports shared libraries.
15866
 
    case $host_os in
15867
 
    aix3* | aix4* | aix5*)
15868
 
      # On AIX/PPC, the GNU linker is very broken
15869
 
      if test "$host_cpu" != ia64; then
15870
 
        ld_shlibs_F77=no
15871
 
        cat <<EOF 1>&2
15872
 
 
15873
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15874
 
*** to be unable to reliably create shared libraries on AIX.
15875
 
*** Therefore, libtool is disabling shared libraries support.  If you
15876
 
*** really care for shared libraries, you may want to modify your PATH
15877
 
*** so that a non-GNU linker is found, and then restart.
15878
 
 
15879
 
EOF
15880
 
      fi
15881
 
      ;;
15882
 
 
15883
 
    amigaos*)
15884
 
      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)'
15885
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15886
 
      hardcode_minus_L_F77=yes
15887
 
 
15888
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15889
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
15890
 
      # to version 4, is to share data among multiple programs linked
15891
 
      # with the same dynamic library.  Since this doesn't match the
15892
 
      # behavior of shared libraries on other platforms, we can't use
15893
 
      # them.
15894
 
      ld_shlibs_F77=no
15895
 
      ;;
15896
 
 
15897
 
    beos*)
15898
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15899
 
        allow_undefined_flag_F77=unsupported
15900
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15901
 
        # support --undefined.  This deserves some investigation.  FIXME
15902
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15903
 
      else
15904
 
        ld_shlibs_F77=no
15905
 
      fi
15906
 
      ;;
15907
 
 
15908
 
    cygwin* | mingw* | pw32*)
15909
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15910
 
      # as there is no search path for DLLs.
15911
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15912
 
      allow_undefined_flag_F77=unsupported
15913
 
      always_export_symbols_F77=no
15914
 
      enable_shared_with_static_runtimes_F77=yes
15915
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15916
 
 
15917
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15918
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15919
 
        # If the export-symbols file already is a .def file (1st line
15920
 
        # is EXPORTS), use it as is; otherwise, prepend...
15921
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15922
 
          cp $export_symbols $output_objdir/$soname.def;
15923
 
        else
15924
 
          echo EXPORTS > $output_objdir/$soname.def;
15925
 
          cat $export_symbols >> $output_objdir/$soname.def;
15926
 
        fi~
15927
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15928
 
      else
15929
 
        ld_shlibs_F77=no
15930
 
      fi
15931
 
      ;;
15932
 
 
15933
 
    interix[3-9]*)
15934
 
      hardcode_direct_F77=no
15935
 
      hardcode_shlibpath_var_F77=no
15936
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15937
 
      export_dynamic_flag_spec_F77='${wl}-E'
15938
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15939
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
15940
 
      # default) and relocated if they conflict, which is a slow very memory
15941
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
15942
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15943
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15944
 
      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'
15945
 
      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'
15946
 
      ;;
15947
 
 
15948
 
    gnu* | linux* | k*bsd*-gnu)
15949
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15950
 
        tmp_addflag=
15951
 
        case $cc_basename,$host_cpu in
15952
 
        pgcc*)                          # Portland Group C compiler
15953
 
          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'
15954
 
          tmp_addflag=' $pic_flag'
15955
 
          ;;
15956
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
15957
 
          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'
15958
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
15959
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
15960
 
          tmp_addflag=' -i_dynamic' ;;
15961
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
15962
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
15963
 
        ifc* | ifort*)                  # Intel Fortran compiler
15964
 
          tmp_addflag=' -nofor_main' ;;
15965
 
        esac
15966
 
        case `$CC -V 2>&1 | sed 5q` in
15967
 
        *Sun\ C*)                       # Sun C 5.9
15968
 
          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'
15969
 
          tmp_sharedflag='-G' ;;
15970
 
        *Sun\ F*)                       # Sun Fortran 8.3
15971
 
          tmp_sharedflag='-G' ;;
15972
 
        *)
15973
 
          tmp_sharedflag='-shared' ;;
15974
 
        esac
15975
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15976
 
 
15977
 
        if test $supports_anon_versioning = yes; then
15978
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15979
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15980
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15981
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15982
 
        fi
15983
 
      else
15984
 
        ld_shlibs_F77=no
15985
 
      fi
15986
 
      ;;
15987
 
 
15988
 
    netbsd*)
15989
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15990
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15991
 
        wlarc=
15992
 
      else
15993
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15994
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15995
 
      fi
15996
 
      ;;
15997
 
 
15998
 
    solaris*)
15999
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16000
 
        ld_shlibs_F77=no
16001
 
        cat <<EOF 1>&2
16002
 
 
16003
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16004
 
*** create shared libraries on Solaris systems.  Therefore, libtool
16005
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
16006
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
16007
 
*** your PATH or compiler configuration so that the native linker is
16008
 
*** used, and then restart.
16009
 
 
16010
 
EOF
16011
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16012
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16013
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16014
 
      else
16015
 
        ld_shlibs_F77=no
16016
 
      fi
16017
 
      ;;
16018
 
 
16019
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
16020
 
      case `$LD -v 2>&1` in
16021
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
16022
 
        ld_shlibs_F77=no
16023
 
        cat <<_LT_EOF 1>&2
16024
 
 
16025
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16026
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
16027
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
16028
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
16029
 
*** your PATH or compiler configuration so that the native linker is
16030
 
*** used, and then restart.
16031
 
 
16032
 
_LT_EOF
16033
 
        ;;
16034
 
        *)
16035
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16036
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16037
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16038
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16039
 
          else
16040
 
            ld_shlibs_F77=no
16041
 
          fi
16042
 
        ;;
16043
 
      esac
16044
 
      ;;
16045
 
 
16046
 
    sunos4*)
16047
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16048
 
      wlarc=
16049
 
      hardcode_direct_F77=yes
16050
 
      hardcode_shlibpath_var_F77=no
16051
 
      ;;
16052
 
 
16053
 
    *)
16054
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16055
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16056
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16057
 
      else
16058
 
        ld_shlibs_F77=no
16059
 
      fi
16060
 
      ;;
16061
 
    esac
16062
 
 
16063
 
    if test "$ld_shlibs_F77" = no; then
16064
 
      runpath_var=
16065
 
      hardcode_libdir_flag_spec_F77=
16066
 
      export_dynamic_flag_spec_F77=
16067
 
      whole_archive_flag_spec_F77=
16068
 
    fi
16069
 
  else
16070
 
    # PORTME fill in a description of your system's linker (not GNU ld)
16071
 
    case $host_os in
16072
 
    aix3*)
16073
 
      allow_undefined_flag_F77=unsupported
16074
 
      always_export_symbols_F77=yes
16075
 
      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'
16076
 
      # Note: this linker hardcodes the directories in LIBPATH if there
16077
 
      # are no directories specified by -L.
16078
 
      hardcode_minus_L_F77=yes
16079
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16080
 
        # Neither direct hardcoding nor static linking is supported with a
16081
 
        # broken collect2.
16082
 
        hardcode_direct_F77=unsupported
16083
 
      fi
16084
 
      ;;
16085
 
 
16086
 
    aix4* | aix5*)
16087
 
      if test "$host_cpu" = ia64; then
16088
 
        # On IA64, the linker does run time linking by default, so we don't
16089
 
        # have to do anything special.
16090
 
        aix_use_runtimelinking=no
16091
 
        exp_sym_flag='-Bexport'
16092
 
        no_entry_flag=""
16093
 
      else
16094
 
        # If we're using GNU nm, then we don't want the "-C" option.
16095
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
16096
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16097
 
          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'
16098
 
        else
16099
 
          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'
16100
 
        fi
16101
 
        aix_use_runtimelinking=no
16102
 
 
16103
 
        # Test if we are trying to use run time linking or normal
16104
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16105
 
        # need to do runtime linking.
16106
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
16107
 
          for ld_flag in $LDFLAGS; do
16108
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16109
 
            aix_use_runtimelinking=yes
16110
 
            break
16111
 
          fi
16112
 
          done
16113
 
          ;;
16114
 
        esac
16115
 
 
16116
 
        exp_sym_flag='-bexport'
16117
 
        no_entry_flag='-bnoentry'
16118
 
      fi
16119
 
 
16120
 
      # When large executables or shared objects are built, AIX ld can
16121
 
      # have problems creating the table of contents.  If linking a library
16122
 
      # or program results in "error TOC overflow" add -mminimal-toc to
16123
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
16124
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16125
 
 
16126
 
      archive_cmds_F77=''
16127
 
      hardcode_direct_F77=yes
16128
 
      hardcode_libdir_separator_F77=':'
16129
 
      link_all_deplibs_F77=yes
16130
 
 
16131
 
      if test "$GCC" = yes; then
16132
 
        case $host_os in aix4.[012]|aix4.[012].*)
16133
 
        # We only want to do this on AIX 4.2 and lower, the check
16134
 
        # below for broken collect2 doesn't work under 4.3+
16135
 
          collect2name=`${CC} -print-prog-name=collect2`
16136
 
          if test -f "$collect2name" && \
16137
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16138
 
          then
16139
 
          # We have reworked collect2
16140
 
          :
16141
 
          else
16142
 
          # We have old collect2
16143
 
          hardcode_direct_F77=unsupported
16144
 
          # It fails to find uninstalled libraries when the uninstalled
16145
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
16146
 
          # to unsupported forces relinking
16147
 
          hardcode_minus_L_F77=yes
16148
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
16149
 
          hardcode_libdir_separator_F77=
16150
 
          fi
16151
 
          ;;
16152
 
        esac
16153
 
        shared_flag='-shared'
16154
 
        if test "$aix_use_runtimelinking" = yes; then
16155
 
          shared_flag="$shared_flag "'${wl}-G'
16156
 
        fi
16157
 
      else
16158
 
        # not using gcc
16159
 
        if test "$host_cpu" = ia64; then
16160
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16161
 
        # chokes on -Wl,-G. The following line is correct:
16162
 
          shared_flag='-G'
16163
 
        else
16164
 
          if test "$aix_use_runtimelinking" = yes; then
16165
 
            shared_flag='${wl}-G'
16166
 
          else
16167
 
            shared_flag='${wl}-bM:SRE'
16168
 
          fi
16169
 
        fi
16170
 
      fi
16171
 
 
16172
 
      # It seems that -bexpall does not export symbols beginning with
16173
 
      # underscore (_), so it is better to generate a list of symbols to export.
16174
 
      always_export_symbols_F77=yes
16175
 
      if test "$aix_use_runtimelinking" = yes; then
16176
 
        # Warning - without using the other runtime loading flags (-brtl),
16177
 
        # -berok will link without error, but may produce a broken library.
16178
 
        allow_undefined_flag_F77='-berok'
16179
 
       # Determine the default libpath from the value encoded in an empty executable.
16180
 
       cat >conftest.$ac_ext <<_ACEOF
16181
 
      program main
16182
 
 
16183
 
      end
16184
 
_ACEOF
16185
 
rm -f conftest.$ac_objext conftest$ac_exeext
16186
 
if { (ac_try="$ac_link"
16187
 
case "(($ac_try" in
16188
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16189
 
  *) ac_try_echo=$ac_try;;
16190
 
esac
16191
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16192
 
  (eval "$ac_link") 2>conftest.er1
16193
 
  ac_status=$?
16194
 
  grep -v '^ *+' conftest.er1 >conftest.err
16195
 
  rm -f conftest.er1
16196
 
  cat conftest.err >&5
16197
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198
 
  (exit $ac_status); } && {
16199
 
         test -z "$ac_f77_werror_flag" ||
16200
 
         test ! -s conftest.err
16201
 
       } && test -s conftest$ac_exeext &&
16202
 
       $as_test_x conftest$ac_exeext; then
16203
 
 
16204
 
lt_aix_libpath_sed='
16205
 
    /Import File Strings/,/^$/ {
16206
 
        /^0/ {
16207
 
            s/^0  *\(.*\)$/\1/
16208
 
            p
16209
 
        }
16210
 
    }'
16211
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16212
 
# Check for a 64-bit object if we didn't find anything.
16213
 
if test -z "$aix_libpath"; then
16214
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16215
 
fi
16216
 
else
16217
 
  echo "$as_me: failed program was:" >&5
16218
 
sed 's/^/| /' conftest.$ac_ext >&5
16219
 
 
16220
 
 
16221
 
fi
16222
 
 
16223
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16224
 
      conftest$ac_exeext conftest.$ac_ext
16225
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16226
 
 
16227
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16228
 
        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"
16229
 
       else
16230
 
        if test "$host_cpu" = ia64; then
16231
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16232
 
          allow_undefined_flag_F77="-z nodefs"
16233
 
          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"
16234
 
        else
16235
 
         # Determine the default libpath from the value encoded in an empty executable.
16236
 
         cat >conftest.$ac_ext <<_ACEOF
16237
 
      program main
16238
 
 
16239
 
      end
16240
 
_ACEOF
16241
 
rm -f conftest.$ac_objext conftest$ac_exeext
16242
 
if { (ac_try="$ac_link"
16243
 
case "(($ac_try" in
16244
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16245
 
  *) ac_try_echo=$ac_try;;
16246
 
esac
16247
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16248
 
  (eval "$ac_link") 2>conftest.er1
16249
 
  ac_status=$?
16250
 
  grep -v '^ *+' conftest.er1 >conftest.err
16251
 
  rm -f conftest.er1
16252
 
  cat conftest.err >&5
16253
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254
 
  (exit $ac_status); } && {
16255
 
         test -z "$ac_f77_werror_flag" ||
16256
 
         test ! -s conftest.err
16257
 
       } && test -s conftest$ac_exeext &&
16258
 
       $as_test_x conftest$ac_exeext; then
16259
 
 
16260
 
lt_aix_libpath_sed='
16261
 
    /Import File Strings/,/^$/ {
16262
 
        /^0/ {
16263
 
            s/^0  *\(.*\)$/\1/
16264
 
            p
16265
 
        }
16266
 
    }'
16267
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16268
 
# Check for a 64-bit object if we didn't find anything.
16269
 
if test -z "$aix_libpath"; then
16270
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16271
 
fi
16272
 
else
16273
 
  echo "$as_me: failed program was:" >&5
16274
 
sed 's/^/| /' conftest.$ac_ext >&5
16275
 
 
16276
 
 
16277
 
fi
16278
 
 
16279
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16280
 
      conftest$ac_exeext conftest.$ac_ext
16281
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16282
 
 
16283
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16284
 
          # Warning - without using the other run time loading flags,
16285
 
          # -berok will link without error, but may produce a broken library.
16286
 
          no_undefined_flag_F77=' ${wl}-bernotok'
16287
 
          allow_undefined_flag_F77=' ${wl}-berok'
16288
 
          # Exported symbols can be pulled into shared objects from archives
16289
 
          whole_archive_flag_spec_F77='$convenience'
16290
 
          archive_cmds_need_lc_F77=yes
16291
 
          # This is similar to how AIX traditionally builds its shared libraries.
16292
 
          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'
16293
 
        fi
16294
 
      fi
16295
 
      ;;
16296
 
 
16297
 
    amigaos*)
16298
 
      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)'
16299
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16300
 
      hardcode_minus_L_F77=yes
16301
 
      # see comment about different semantics on the GNU ld section
16302
 
      ld_shlibs_F77=no
16303
 
      ;;
16304
 
 
16305
 
    bsdi[45]*)
16306
 
      export_dynamic_flag_spec_F77=-rdynamic
16307
 
      ;;
16308
 
 
16309
 
    cygwin* | mingw* | pw32*)
16310
 
      # When not using gcc, we currently assume that we are using
16311
 
      # Microsoft Visual C++.
16312
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
16313
 
      # no search path for DLLs.
16314
 
      hardcode_libdir_flag_spec_F77=' '
16315
 
      allow_undefined_flag_F77=unsupported
16316
 
      # Tell ltmain to make .lib files, not .a files.
16317
 
      libext=lib
16318
 
      # Tell ltmain to make .dll files, not .so files.
16319
 
      shrext_cmds=".dll"
16320
 
      # FIXME: Setting linknames here is a bad hack.
16321
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16322
 
      # The linker will automatically build a .lib file if we build a DLL.
16323
 
      old_archive_From_new_cmds_F77='true'
16324
 
      # FIXME: Should let the user specify the lib program.
16325
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
16326
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
16327
 
      enable_shared_with_static_runtimes_F77=yes
16328
 
      ;;
16329
 
 
16330
 
    darwin* | rhapsody*)
16331
 
      case $host_os in
16332
 
        rhapsody* | darwin1.[012])
16333
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
16334
 
         ;;
16335
 
       *) # Darwin 1.3 on
16336
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16337
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16338
 
         else
16339
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
16340
 
             10.[012])
16341
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16342
 
               ;;
16343
 
             10.*)
16344
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
16345
 
               ;;
16346
 
           esac
16347
 
         fi
16348
 
         ;;
16349
 
      esac
16350
 
      archive_cmds_need_lc_F77=no
16351
 
      hardcode_direct_F77=no
16352
 
      hardcode_automatic_F77=yes
16353
 
      hardcode_shlibpath_var_F77=unsupported
16354
 
      whole_archive_flag_spec_F77=''
16355
 
      link_all_deplibs_F77=yes
16356
 
    if test "$GCC" = yes ; then
16357
 
        output_verbose_link_cmd='echo'
16358
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16359
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16360
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16361
 
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16362
 
      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}'
16363
 
    else
16364
 
      case $cc_basename in
16365
 
        xlc*)
16366
 
         output_verbose_link_cmd='echo'
16367
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16368
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16369
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16370
 
         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}'
16371
 
          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}'
16372
 
          ;;
16373
 
       *)
16374
 
         ld_shlibs_F77=no
16375
 
          ;;
16376
 
      esac
16377
 
    fi
16378
 
      ;;
16379
 
 
16380
 
    dgux*)
16381
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16382
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16383
 
      hardcode_shlibpath_var_F77=no
16384
 
      ;;
16385
 
 
16386
 
    freebsd1*)
16387
 
      ld_shlibs_F77=no
16388
 
      ;;
16389
 
 
16390
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16391
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
16392
 
    # does not break anything, and helps significantly (at the cost of a little
16393
 
    # extra space).
16394
 
    freebsd2.2*)
16395
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16396
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16397
 
      hardcode_direct_F77=yes
16398
 
      hardcode_shlibpath_var_F77=no
16399
 
      ;;
16400
 
 
16401
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16402
 
    freebsd2*)
16403
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16404
 
      hardcode_direct_F77=yes
16405
 
      hardcode_minus_L_F77=yes
16406
 
      hardcode_shlibpath_var_F77=no
16407
 
      ;;
16408
 
 
16409
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16410
 
    freebsd* | dragonfly*)
16411
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16412
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16413
 
      hardcode_direct_F77=yes
16414
 
      hardcode_shlibpath_var_F77=no
16415
 
      ;;
16416
 
 
16417
 
    hpux9*)
16418
 
      if test "$GCC" = yes; then
16419
 
        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'
16420
 
      else
16421
 
        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'
16422
 
      fi
16423
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16424
 
      hardcode_libdir_separator_F77=:
16425
 
      hardcode_direct_F77=yes
16426
 
 
16427
 
      # hardcode_minus_L: Not really in the search PATH,
16428
 
      # but as the default location of the library.
16429
 
      hardcode_minus_L_F77=yes
16430
 
      export_dynamic_flag_spec_F77='${wl}-E'
16431
 
      ;;
16432
 
 
16433
 
    hpux10*)
16434
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16435
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16436
 
      else
16437
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16438
 
      fi
16439
 
      if test "$with_gnu_ld" = no; then
16440
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16441
 
        hardcode_libdir_separator_F77=:
16442
 
 
16443
 
        hardcode_direct_F77=yes
16444
 
        export_dynamic_flag_spec_F77='${wl}-E'
16445
 
 
16446
 
        # hardcode_minus_L: Not really in the search PATH,
16447
 
        # but as the default location of the library.
16448
 
        hardcode_minus_L_F77=yes
16449
 
      fi
16450
 
      ;;
16451
 
 
16452
 
    hpux11*)
16453
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16454
 
        case $host_cpu in
16455
 
        hppa*64*)
16456
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16457
 
          ;;
16458
 
        ia64*)
16459
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16460
 
          ;;
16461
 
        *)
16462
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16463
 
          ;;
16464
 
        esac
16465
 
      else
16466
 
        case $host_cpu in
16467
 
        hppa*64*)
16468
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16469
 
          ;;
16470
 
        ia64*)
16471
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16472
 
          ;;
16473
 
        *)
16474
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16475
 
          ;;
16476
 
        esac
16477
 
      fi
16478
 
      if test "$with_gnu_ld" = no; then
16479
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16480
 
        hardcode_libdir_separator_F77=:
16481
 
 
16482
 
        case $host_cpu in
16483
 
        hppa*64*|ia64*)
16484
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16485
 
          hardcode_direct_F77=no
16486
 
          hardcode_shlibpath_var_F77=no
16487
 
          ;;
16488
 
        *)
16489
 
          hardcode_direct_F77=yes
16490
 
          export_dynamic_flag_spec_F77='${wl}-E'
16491
 
 
16492
 
          # hardcode_minus_L: Not really in the search PATH,
16493
 
          # but as the default location of the library.
16494
 
          hardcode_minus_L_F77=yes
16495
 
          ;;
16496
 
        esac
16497
 
      fi
16498
 
      ;;
16499
 
 
16500
 
    irix5* | irix6* | nonstopux*)
16501
 
      if test "$GCC" = yes; then
16502
 
        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'
16503
 
      else
16504
 
        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'
16505
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16506
 
      fi
16507
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16508
 
      hardcode_libdir_separator_F77=:
16509
 
      link_all_deplibs_F77=yes
16510
 
      ;;
16511
 
 
16512
 
    netbsd*)
16513
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16514
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16515
 
      else
16516
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
16517
 
      fi
16518
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16519
 
      hardcode_direct_F77=yes
16520
 
      hardcode_shlibpath_var_F77=no
16521
 
      ;;
16522
 
 
16523
 
    newsos6)
16524
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16525
 
      hardcode_direct_F77=yes
16526
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16527
 
      hardcode_libdir_separator_F77=:
16528
 
      hardcode_shlibpath_var_F77=no
16529
 
      ;;
16530
 
 
16531
 
    openbsd*)
16532
 
      if test -f /usr/libexec/ld.so; then
16533
 
        hardcode_direct_F77=yes
16534
 
        hardcode_shlibpath_var_F77=no
16535
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16536
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16537
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16538
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16539
 
          export_dynamic_flag_spec_F77='${wl}-E'
16540
 
        else
16541
 
          case $host_os in
16542
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16543
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16544
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
16545
 
             ;;
16546
 
           *)
16547
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16548
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16549
 
             ;;
16550
 
          esac
16551
 
        fi
16552
 
      else
16553
 
        ld_shlibs_F77=no
16554
 
      fi
16555
 
      ;;
16556
 
 
16557
 
    os2*)
16558
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16559
 
      hardcode_minus_L_F77=yes
16560
 
      allow_undefined_flag_F77=unsupported
16561
 
      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'
16562
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16563
 
      ;;
16564
 
 
16565
 
    osf3*)
16566
 
      if test "$GCC" = yes; then
16567
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16568
 
        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'
16569
 
      else
16570
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
16571
 
        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'
16572
 
      fi
16573
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16574
 
      hardcode_libdir_separator_F77=:
16575
 
      ;;
16576
 
 
16577
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
16578
 
      if test "$GCC" = yes; then
16579
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16580
 
        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'
16581
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16582
 
      else
16583
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
16584
 
        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'
16585
 
        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~
16586
 
        $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'
16587
 
 
16588
 
        # Both c and cxx compiler support -rpath directly
16589
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
16590
 
      fi
16591
 
      hardcode_libdir_separator_F77=:
16592
 
      ;;
16593
 
 
16594
 
    solaris*)
16595
 
      no_undefined_flag_F77=' -z text'
16596
 
      if test "$GCC" = yes; then
16597
 
        wlarc='${wl}'
16598
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16599
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16600
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16601
 
      else
16602
 
        wlarc=''
16603
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16604
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16605
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16606
 
      fi
16607
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16608
 
      hardcode_shlibpath_var_F77=no
16609
 
      case $host_os in
16610
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16611
 
      *)
16612
 
        # The compiler driver will combine and reorder linker options,
16613
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
16614
 
        # but is careful enough not to reorder.
16615
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16616
 
        if test "$GCC" = yes; then
16617
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16618
 
        else
16619
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
16620
 
        fi
16621
 
        ;;
16622
 
      esac
16623
 
      link_all_deplibs_F77=yes
16624
 
      ;;
16625
 
 
16626
 
    sunos4*)
16627
 
      if test "x$host_vendor" = xsequent; then
16628
 
        # Use $CC to link under sequent, because it throws in some extra .o
16629
 
        # files that make .init and .fini sections work.
16630
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16631
 
      else
16632
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16633
 
      fi
16634
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16635
 
      hardcode_direct_F77=yes
16636
 
      hardcode_minus_L_F77=yes
16637
 
      hardcode_shlibpath_var_F77=no
16638
 
      ;;
16639
 
 
16640
 
    sysv4)
16641
 
      case $host_vendor in
16642
 
        sni)
16643
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16644
 
          hardcode_direct_F77=yes # is this really true???
16645
 
        ;;
16646
 
        siemens)
16647
 
          ## LD is ld it makes a PLAMLIB
16648
 
          ## CC just makes a GrossModule.
16649
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16650
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
16651
 
          hardcode_direct_F77=no
16652
 
        ;;
16653
 
        motorola)
16654
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16655
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16656
 
        ;;
16657
 
      esac
16658
 
      runpath_var='LD_RUN_PATH'
16659
 
      hardcode_shlibpath_var_F77=no
16660
 
      ;;
16661
 
 
16662
 
    sysv4.3*)
16663
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16664
 
      hardcode_shlibpath_var_F77=no
16665
 
      export_dynamic_flag_spec_F77='-Bexport'
16666
 
      ;;
16667
 
 
16668
 
    sysv4*MP*)
16669
 
      if test -d /usr/nec; then
16670
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16671
 
        hardcode_shlibpath_var_F77=no
16672
 
        runpath_var=LD_RUN_PATH
16673
 
        hardcode_runpath_var=yes
16674
 
        ld_shlibs_F77=yes
16675
 
      fi
16676
 
      ;;
16677
 
 
16678
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16679
 
      no_undefined_flag_F77='${wl}-z,text'
16680
 
      archive_cmds_need_lc_F77=no
16681
 
      hardcode_shlibpath_var_F77=no
16682
 
      runpath_var='LD_RUN_PATH'
16683
 
 
16684
 
      if test "$GCC" = yes; then
16685
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16686
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16687
 
      else
16688
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16689
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16690
 
      fi
16691
 
      ;;
16692
 
 
16693
 
    sysv5* | sco3.2v5* | sco5v6*)
16694
 
      # Note: We can NOT use -z defs as we might desire, because we do not
16695
 
      # link with -lc, and that would cause any symbols used from libc to
16696
 
      # always be unresolved, which means just about no library would
16697
 
      # ever link correctly.  If we're not using GNU ld we use -z text
16698
 
      # though, which does catch some bad symbols but isn't as heavy-handed
16699
 
      # as -z defs.
16700
 
      no_undefined_flag_F77='${wl}-z,text'
16701
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
16702
 
      archive_cmds_need_lc_F77=no
16703
 
      hardcode_shlibpath_var_F77=no
16704
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16705
 
      hardcode_libdir_separator_F77=':'
16706
 
      link_all_deplibs_F77=yes
16707
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
16708
 
      runpath_var='LD_RUN_PATH'
16709
 
 
16710
 
      if test "$GCC" = yes; then
16711
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16712
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16713
 
      else
16714
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16715
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16716
 
      fi
16717
 
      ;;
16718
 
 
16719
 
    uts4*)
16720
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16721
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16722
 
      hardcode_shlibpath_var_F77=no
16723
 
      ;;
16724
 
 
16725
 
    *)
16726
 
      ld_shlibs_F77=no
16727
 
      ;;
16728
 
    esac
16729
 
  fi
16730
 
 
16731
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16732
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16733
 
test "$ld_shlibs_F77" = no && can_build_shared=no
16734
 
 
16735
 
#
16736
 
# Do we need to explicitly link libc?
16737
 
#
16738
 
case "x$archive_cmds_need_lc_F77" in
16739
 
x|xyes)
16740
 
  # Assume -lc should be added
16741
 
  archive_cmds_need_lc_F77=yes
16742
 
 
16743
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
16744
 
    case $archive_cmds_F77 in
16745
 
    *'~'*)
16746
 
      # FIXME: we may have to deal with multi-command sequences.
16747
 
      ;;
16748
 
    '$CC '*)
16749
 
      # Test whether the compiler implicitly links with -lc since on some
16750
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16751
 
      # to ld, don't add -lc before -lgcc.
16752
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16753
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16754
 
      $rm conftest*
16755
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16756
 
 
16757
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16758
 
  (eval $ac_compile) 2>&5
16759
 
  ac_status=$?
16760
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761
 
  (exit $ac_status); } 2>conftest.err; then
16762
 
        soname=conftest
16763
 
        lib=conftest
16764
 
        libobjs=conftest.$ac_objext
16765
 
        deplibs=
16766
 
        wl=$lt_prog_compiler_wl_F77
16767
 
        pic_flag=$lt_prog_compiler_pic_F77
16768
 
        compiler_flags=-v
16769
 
        linker_flags=-v
16770
 
        verstring=
16771
 
        output_objdir=.
16772
 
        libname=conftest
16773
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16774
 
        allow_undefined_flag_F77=
16775
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16776
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16777
 
  ac_status=$?
16778
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779
 
  (exit $ac_status); }
16780
 
        then
16781
 
          archive_cmds_need_lc_F77=no
16782
 
        else
16783
 
          archive_cmds_need_lc_F77=yes
16784
 
        fi
16785
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16786
 
      else
16787
 
        cat conftest.err 1>&5
16788
 
      fi
16789
 
      $rm conftest*
16790
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16791
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16792
 
      ;;
16793
 
    esac
16794
 
  fi
16795
 
  ;;
16796
 
esac
16797
 
 
16798
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16799
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16800
 
library_names_spec=
16801
 
libname_spec='lib$name'
16802
 
soname_spec=
16803
 
shrext_cmds=".so"
16804
 
postinstall_cmds=
16805
 
postuninstall_cmds=
16806
 
finish_cmds=
16807
 
finish_eval=
16808
 
shlibpath_var=
16809
 
shlibpath_overrides_runpath=unknown
16810
 
version_type=none
16811
 
dynamic_linker="$host_os ld.so"
16812
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16813
 
 
16814
 
need_lib_prefix=unknown
16815
 
hardcode_into_libs=no
16816
 
 
16817
 
# when you set need_version to no, make sure it does not cause -set_version
16818
 
# flags to be left without arguments
16819
 
need_version=unknown
16820
 
 
16821
 
case $host_os in
16822
 
aix3*)
16823
 
  version_type=linux
16824
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16825
 
  shlibpath_var=LIBPATH
16826
 
 
16827
 
  # AIX 3 has no versioning support, so we append a major version to the name.
16828
 
  soname_spec='${libname}${release}${shared_ext}$major'
16829
 
  ;;
16830
 
 
16831
 
aix4* | aix5*)
16832
 
  version_type=linux
16833
 
  need_lib_prefix=no
16834
 
  need_version=no
16835
 
  hardcode_into_libs=yes
16836
 
  if test "$host_cpu" = ia64; then
16837
 
    # AIX 5 supports IA64
16838
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16839
 
    shlibpath_var=LD_LIBRARY_PATH
16840
 
  else
16841
 
    # With GCC up to 2.95.x, collect2 would create an import file
16842
 
    # for dependence libraries.  The import file would start with
16843
 
    # the line `#! .'.  This would cause the generated library to
16844
 
    # depend on `.', always an invalid library.  This was fixed in
16845
 
    # development snapshots of GCC prior to 3.0.
16846
 
    case $host_os in
16847
 
      aix4 | aix4.[01] | aix4.[01].*)
16848
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16849
 
           echo ' yes '
16850
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16851
 
        :
16852
 
      else
16853
 
        can_build_shared=no
16854
 
      fi
16855
 
      ;;
16856
 
    esac
16857
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16858
 
    # soname into executable. Probably we can add versioning support to
16859
 
    # collect2, so additional links can be useful in future.
16860
 
    if test "$aix_use_runtimelinking" = yes; then
16861
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16862
 
      # instead of lib<name>.a to let people know that these are not
16863
 
      # typical AIX shared libraries.
16864
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16865
 
    else
16866
 
      # We preserve .a as extension for shared libraries through AIX4.2
16867
 
      # and later when we are not doing run time linking.
16868
 
      library_names_spec='${libname}${release}.a $libname.a'
16869
 
      soname_spec='${libname}${release}${shared_ext}$major'
16870
 
    fi
16871
 
    shlibpath_var=LIBPATH
16872
 
  fi
16873
 
  ;;
16874
 
 
16875
 
amigaos*)
16876
 
  library_names_spec='$libname.ixlibrary $libname.a'
16877
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
16878
 
  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'
16879
 
  ;;
16880
 
 
16881
 
beos*)
16882
 
  library_names_spec='${libname}${shared_ext}'
16883
 
  dynamic_linker="$host_os ld.so"
16884
 
  shlibpath_var=LIBRARY_PATH
16885
 
  ;;
16886
 
 
16887
 
bsdi[45]*)
16888
 
  version_type=linux
16889
 
  need_version=no
16890
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16891
 
  soname_spec='${libname}${release}${shared_ext}$major'
16892
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16893
 
  shlibpath_var=LD_LIBRARY_PATH
16894
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16895
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16896
 
  # the default ld.so.conf also contains /usr/contrib/lib and
16897
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16898
 
  # libtool to hard-code these into programs
16899
 
  ;;
16900
 
 
16901
 
cygwin* | mingw* | pw32*)
16902
 
  version_type=windows
16903
 
  shrext_cmds=".dll"
16904
 
  need_version=no
16905
 
  need_lib_prefix=no
16906
 
 
16907
 
  case $GCC,$host_os in
16908
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
16909
 
    library_names_spec='$libname.dll.a'
16910
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16911
 
    postinstall_cmds='base_file=`basename \${file}`~
16912
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16913
 
      dldir=$destdir/`dirname \$dlpath`~
16914
 
      test -d \$dldir || mkdir -p \$dldir~
16915
 
      $install_prog $dir/$dlname \$dldir/$dlname~
16916
 
      chmod a+x \$dldir/$dlname'
16917
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16918
 
      dlpath=$dir/\$dldll~
16919
 
       $rm \$dlpath'
16920
 
    shlibpath_overrides_runpath=yes
16921
 
 
16922
 
    case $host_os in
16923
 
    cygwin*)
16924
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16925
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16926
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16927
 
      ;;
16928
 
    mingw*)
16929
 
      # MinGW DLLs use traditional 'lib' prefix
16930
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16931
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16932
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16933
 
        # It is most probably a Windows format PATH printed by
16934
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
16935
 
        # path with ; separators, and with drive letters. We can handle the
16936
 
        # drive letters (cygwin fileutils understands them), so leave them,
16937
 
        # especially as we might pass files found there to a mingw objdump,
16938
 
        # which wouldn't understand a cygwinified path. Ahh.
16939
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16940
 
      else
16941
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16942
 
      fi
16943
 
      ;;
16944
 
    pw32*)
16945
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
16946
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16947
 
      ;;
16948
 
    esac
16949
 
    ;;
16950
 
 
16951
 
  *)
16952
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16953
 
    ;;
16954
 
  esac
16955
 
  dynamic_linker='Win32 ld.exe'
16956
 
  # FIXME: first we should search . and the directory the executable is in
16957
 
  shlibpath_var=PATH
16958
 
  ;;
16959
 
 
16960
 
darwin* | rhapsody*)
16961
 
  dynamic_linker="$host_os dyld"
16962
 
  version_type=darwin
16963
 
  need_lib_prefix=no
16964
 
  need_version=no
16965
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16966
 
  soname_spec='${libname}${release}${major}$shared_ext'
16967
 
  shlibpath_overrides_runpath=yes
16968
 
  shlibpath_var=DYLD_LIBRARY_PATH
16969
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16970
 
 
16971
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16972
 
  ;;
16973
 
 
16974
 
dgux*)
16975
 
  version_type=linux
16976
 
  need_lib_prefix=no
16977
 
  need_version=no
16978
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16979
 
  soname_spec='${libname}${release}${shared_ext}$major'
16980
 
  shlibpath_var=LD_LIBRARY_PATH
16981
 
  ;;
16982
 
 
16983
 
freebsd1*)
16984
 
  dynamic_linker=no
16985
 
  ;;
16986
 
 
16987
 
freebsd* | dragonfly*)
16988
 
  # DragonFly does not have aout.  When/if they implement a new
16989
 
  # versioning mechanism, adjust this.
16990
 
  if test -x /usr/bin/objformat; then
16991
 
    objformat=`/usr/bin/objformat`
16992
 
  else
16993
 
    case $host_os in
16994
 
    freebsd[123]*) objformat=aout ;;
16995
 
    *) objformat=elf ;;
16996
 
    esac
16997
 
  fi
16998
 
  version_type=freebsd-$objformat
16999
 
  case $version_type in
17000
 
    freebsd-elf*)
17001
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17002
 
      need_version=no
17003
 
      need_lib_prefix=no
17004
 
      ;;
17005
 
    freebsd-*)
17006
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17007
 
      need_version=yes
17008
 
      ;;
17009
 
  esac
17010
 
  shlibpath_var=LD_LIBRARY_PATH
17011
 
  case $host_os in
17012
 
  freebsd2*)
17013
 
    shlibpath_overrides_runpath=yes
17014
 
    ;;
17015
 
  freebsd3.[01]* | freebsdelf3.[01]*)
17016
 
    shlibpath_overrides_runpath=yes
17017
 
    hardcode_into_libs=yes
17018
 
    ;;
17019
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17020
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17021
 
    shlibpath_overrides_runpath=no
17022
 
    hardcode_into_libs=yes
17023
 
    ;;
17024
 
  *) # from 4.6 on, and DragonFly
17025
 
    shlibpath_overrides_runpath=yes
17026
 
    hardcode_into_libs=yes
17027
 
    ;;
17028
 
  esac
17029
 
  ;;
17030
 
 
17031
 
gnu*)
17032
 
  version_type=linux
17033
 
  need_lib_prefix=no
17034
 
  need_version=no
17035
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17036
 
  soname_spec='${libname}${release}${shared_ext}$major'
17037
 
  shlibpath_var=LD_LIBRARY_PATH
17038
 
  hardcode_into_libs=yes
17039
 
  ;;
17040
 
 
17041
 
hpux9* | hpux10* | hpux11*)
17042
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
17043
 
  # link against other versions.
17044
 
  version_type=sunos
17045
 
  need_lib_prefix=no
17046
 
  need_version=no
17047
 
  case $host_cpu in
17048
 
  ia64*)
17049
 
    shrext_cmds='.so'
17050
 
    hardcode_into_libs=yes
17051
 
    dynamic_linker="$host_os dld.so"
17052
 
    shlibpath_var=LD_LIBRARY_PATH
17053
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17054
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17055
 
    soname_spec='${libname}${release}${shared_ext}$major'
17056
 
    if test "X$HPUX_IA64_MODE" = X32; then
17057
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17058
 
    else
17059
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17060
 
    fi
17061
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17062
 
    ;;
17063
 
   hppa*64*)
17064
 
     shrext_cmds='.sl'
17065
 
     hardcode_into_libs=yes
17066
 
     dynamic_linker="$host_os dld.sl"
17067
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17068
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17072
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17073
 
     ;;
17074
 
   *)
17075
 
    shrext_cmds='.sl'
17076
 
    dynamic_linker="$host_os dld.sl"
17077
 
    shlibpath_var=SHLIB_PATH
17078
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17079
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17080
 
    soname_spec='${libname}${release}${shared_ext}$major'
17081
 
    ;;
17082
 
  esac
17083
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
17084
 
  postinstall_cmds='chmod 555 $lib'
17085
 
  ;;
17086
 
 
17087
 
interix[3-9]*)
17088
 
  version_type=linux
17089
 
  need_lib_prefix=no
17090
 
  need_version=no
17091
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17092
 
  soname_spec='${libname}${release}${shared_ext}$major'
17093
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17094
 
  shlibpath_var=LD_LIBRARY_PATH
17095
 
  shlibpath_overrides_runpath=no
17096
 
  hardcode_into_libs=yes
17097
 
  ;;
17098
 
 
17099
 
irix5* | irix6* | nonstopux*)
17100
 
  case $host_os in
17101
 
    nonstopux*) version_type=nonstopux ;;
17102
 
    *)
17103
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
17104
 
                version_type=linux
17105
 
        else
17106
 
                version_type=irix
17107
 
        fi ;;
17108
 
  esac
17109
 
  need_lib_prefix=no
17110
 
  need_version=no
17111
 
  soname_spec='${libname}${release}${shared_ext}$major'
17112
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17113
 
  case $host_os in
17114
 
  irix5* | nonstopux*)
17115
 
    libsuff= shlibsuff=
17116
 
    ;;
17117
 
  *)
17118
 
    case $LD in # libtool.m4 will add one of these switches to LD
17119
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17120
 
      libsuff= shlibsuff= libmagic=32-bit;;
17121
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17122
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
17123
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17124
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
17125
 
    *) libsuff= shlibsuff= libmagic=never-match;;
17126
 
    esac
17127
 
    ;;
17128
 
  esac
17129
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17130
 
  shlibpath_overrides_runpath=no
17131
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17132
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17133
 
  hardcode_into_libs=yes
17134
 
  ;;
17135
 
 
17136
 
# No shared lib support for Linux oldld, aout, or coff.
17137
 
linux*oldld* | linux*aout* | linux*coff*)
17138
 
  dynamic_linker=no
17139
 
  ;;
17140
 
 
17141
 
# This must be Linux ELF.
17142
 
linux* | k*bsd*-gnu)
17143
 
  version_type=linux
17144
 
  need_lib_prefix=no
17145
 
  need_version=no
17146
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17147
 
  soname_spec='${libname}${release}${shared_ext}$major'
17148
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17149
 
  shlibpath_var=LD_LIBRARY_PATH
17150
 
  shlibpath_overrides_runpath=no
17151
 
  # This implies no fast_install, which is unacceptable.
17152
 
  # Some rework will be needed to allow for fast_install
17153
 
  # before this can be enabled.
17154
 
  hardcode_into_libs=yes
17155
 
 
17156
 
  # Append ld.so.conf contents to the search path
17157
 
  if test -f /etc/ld.so.conf; then
17158
 
    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' ' '`
17159
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17160
 
  fi
17161
 
 
17162
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17163
 
  # powerpc, because MkLinux only supported shared libraries with the
17164
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
17165
 
  # most powerpc-linux boxes support dynamic linking these days and
17166
 
  # people can always --disable-shared, the test was removed, and we
17167
 
  # assume the GNU/Linux dynamic linker is in use.
17168
 
  dynamic_linker='GNU/Linux ld.so'
17169
 
  ;;
17170
 
 
17171
 
netbsd*)
17172
 
  version_type=sunos
17173
 
  need_lib_prefix=no
17174
 
  need_version=no
17175
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17176
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17177
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17178
 
    dynamic_linker='NetBSD (a.out) ld.so'
17179
 
  else
17180
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17181
 
    soname_spec='${libname}${release}${shared_ext}$major'
17182
 
    dynamic_linker='NetBSD ld.elf_so'
17183
 
  fi
17184
 
  shlibpath_var=LD_LIBRARY_PATH
17185
 
  shlibpath_overrides_runpath=yes
17186
 
  hardcode_into_libs=yes
17187
 
  ;;
17188
 
 
17189
 
newsos6)
17190
 
  version_type=linux
17191
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17192
 
  shlibpath_var=LD_LIBRARY_PATH
17193
 
  shlibpath_overrides_runpath=yes
17194
 
  ;;
17195
 
 
17196
 
nto-qnx*)
17197
 
  version_type=linux
17198
 
  need_lib_prefix=no
17199
 
  need_version=no
17200
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17201
 
  soname_spec='${libname}${release}${shared_ext}$major'
17202
 
  shlibpath_var=LD_LIBRARY_PATH
17203
 
  shlibpath_overrides_runpath=yes
17204
 
  ;;
17205
 
 
17206
 
openbsd*)
17207
 
  version_type=sunos
17208
 
  sys_lib_dlsearch_path_spec="/usr/lib"
17209
 
  need_lib_prefix=no
17210
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17211
 
  case $host_os in
17212
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17213
 
    *)                         need_version=no  ;;
17214
 
  esac
17215
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17216
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17217
 
  shlibpath_var=LD_LIBRARY_PATH
17218
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17219
 
    case $host_os in
17220
 
      openbsd2.[89] | openbsd2.[89].*)
17221
 
        shlibpath_overrides_runpath=no
17222
 
        ;;
17223
 
      *)
17224
 
        shlibpath_overrides_runpath=yes
17225
 
        ;;
17226
 
      esac
17227
 
  else
17228
 
    shlibpath_overrides_runpath=yes
17229
 
  fi
17230
 
  ;;
17231
 
 
17232
 
os2*)
17233
 
  libname_spec='$name'
17234
 
  shrext_cmds=".dll"
17235
 
  need_lib_prefix=no
17236
 
  library_names_spec='$libname${shared_ext} $libname.a'
17237
 
  dynamic_linker='OS/2 ld.exe'
17238
 
  shlibpath_var=LIBPATH
17239
 
  ;;
17240
 
 
17241
 
osf3* | osf4* | osf5*)
17242
 
  version_type=osf
17243
 
  need_lib_prefix=no
17244
 
  need_version=no
17245
 
  soname_spec='${libname}${release}${shared_ext}$major'
17246
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17247
 
  shlibpath_var=LD_LIBRARY_PATH
17248
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17249
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17250
 
  ;;
17251
 
 
17252
 
rdos*)
17253
 
  dynamic_linker=no
17254
 
  ;;
17255
 
 
17256
 
solaris*)
17257
 
  version_type=linux
17258
 
  need_lib_prefix=no
17259
 
  need_version=no
17260
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17261
 
  soname_spec='${libname}${release}${shared_ext}$major'
17262
 
  shlibpath_var=LD_LIBRARY_PATH
17263
 
  shlibpath_overrides_runpath=yes
17264
 
  hardcode_into_libs=yes
17265
 
  # ldd complains unless libraries are executable
17266
 
  postinstall_cmds='chmod +x $lib'
17267
 
  ;;
17268
 
 
17269
 
sunos4*)
17270
 
  version_type=sunos
17271
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17272
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17273
 
  shlibpath_var=LD_LIBRARY_PATH
17274
 
  shlibpath_overrides_runpath=yes
17275
 
  if test "$with_gnu_ld" = yes; then
17276
 
    need_lib_prefix=no
17277
 
  fi
17278
 
  need_version=yes
17279
 
  ;;
17280
 
 
17281
 
sysv4 | sysv4.3*)
17282
 
  version_type=linux
17283
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17284
 
  soname_spec='${libname}${release}${shared_ext}$major'
17285
 
  shlibpath_var=LD_LIBRARY_PATH
17286
 
  case $host_vendor in
17287
 
    sni)
17288
 
      shlibpath_overrides_runpath=no
17289
 
      need_lib_prefix=no
17290
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
17291
 
      runpath_var=LD_RUN_PATH
17292
 
      ;;
17293
 
    siemens)
17294
 
      need_lib_prefix=no
17295
 
      ;;
17296
 
    motorola)
17297
 
      need_lib_prefix=no
17298
 
      need_version=no
17299
 
      shlibpath_overrides_runpath=no
17300
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17301
 
      ;;
17302
 
  esac
17303
 
  ;;
17304
 
 
17305
 
sysv4*MP*)
17306
 
  if test -d /usr/nec ;then
17307
 
    version_type=linux
17308
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17309
 
    soname_spec='$libname${shared_ext}.$major'
17310
 
    shlibpath_var=LD_LIBRARY_PATH
17311
 
  fi
17312
 
  ;;
17313
 
 
17314
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17315
 
  version_type=freebsd-elf
17316
 
  need_lib_prefix=no
17317
 
  need_version=no
17318
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17319
 
  soname_spec='${libname}${release}${shared_ext}$major'
17320
 
  shlibpath_var=LD_LIBRARY_PATH
17321
 
  hardcode_into_libs=yes
17322
 
  if test "$with_gnu_ld" = yes; then
17323
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17324
 
    shlibpath_overrides_runpath=no
17325
 
  else
17326
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17327
 
    shlibpath_overrides_runpath=yes
17328
 
    case $host_os in
17329
 
      sco3.2v5*)
17330
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17331
 
        ;;
17332
 
    esac
17333
 
  fi
17334
 
  sys_lib_dlsearch_path_spec='/usr/lib'
17335
 
  ;;
17336
 
 
17337
 
uts4*)
17338
 
  version_type=linux
17339
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17340
 
  soname_spec='${libname}${release}${shared_ext}$major'
17341
 
  shlibpath_var=LD_LIBRARY_PATH
17342
 
  ;;
17343
 
 
17344
 
*)
17345
 
  dynamic_linker=no
17346
 
  ;;
17347
 
esac
17348
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17349
 
echo "${ECHO_T}$dynamic_linker" >&6; }
17350
 
test "$dynamic_linker" = no && can_build_shared=no
17351
 
 
17352
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17353
 
if test "$GCC" = yes; then
17354
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17355
 
fi
17356
 
 
17357
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17358
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17359
 
hardcode_action_F77=
17360
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
17361
 
   test -n "$runpath_var_F77" || \
17362
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
17363
 
 
17364
 
  # We can hardcode non-existant directories.
17365
 
  if test "$hardcode_direct_F77" != no &&
17366
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17367
 
     # have to relink, otherwise we might link with an installed library
17368
 
     # when we should be linking with a yet-to-be-installed one
17369
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17370
 
     test "$hardcode_minus_L_F77" != no; then
17371
 
    # Linking always hardcodes the temporary library directory.
17372
 
    hardcode_action_F77=relink
17373
 
  else
17374
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17375
 
    hardcode_action_F77=immediate
17376
 
  fi
17377
 
else
17378
 
  # We cannot hardcode anything, or else we can only hardcode existing
17379
 
  # directories.
17380
 
  hardcode_action_F77=unsupported
17381
 
fi
17382
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17383
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
17384
 
 
17385
 
if test "$hardcode_action_F77" = relink; then
17386
 
  # Fast installation is not supported
17387
 
  enable_fast_install=no
17388
 
elif test "$shlibpath_overrides_runpath" = yes ||
17389
 
     test "$enable_shared" = no; then
17390
 
  # Fast installation is not necessary
17391
 
  enable_fast_install=needless
17392
 
fi
17393
 
 
17394
 
 
17395
 
# The else clause should only fire when bootstrapping the
17396
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
17397
 
# with your package, and you will get complaints that there are
17398
 
# no rules to generate ltmain.sh.
17399
 
if test -f "$ltmain"; then
17400
 
  # See if we are running on zsh, and set the options which allow our commands through
17401
 
  # without removal of \ escapes.
17402
 
  if test -n "${ZSH_VERSION+set}" ; then
17403
 
    setopt NO_GLOB_SUBST
17404
 
  fi
17405
 
  # Now quote all the things that may contain metacharacters while being
17406
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
17407
 
  # variables and quote the copies for generation of the libtool script.
17408
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17409
 
    SED SHELL STRIP \
17410
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17411
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17412
 
    deplibs_check_method reload_flag reload_cmds need_locks \
17413
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17414
 
    lt_cv_sys_global_symbol_to_c_name_address \
17415
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17416
 
    old_postinstall_cmds old_postuninstall_cmds \
17417
 
    compiler_F77 \
17418
 
    CC_F77 \
17419
 
    LD_F77 \
17420
 
    lt_prog_compiler_wl_F77 \
17421
 
    lt_prog_compiler_pic_F77 \
17422
 
    lt_prog_compiler_static_F77 \
17423
 
    lt_prog_compiler_no_builtin_flag_F77 \
17424
 
    export_dynamic_flag_spec_F77 \
17425
 
    thread_safe_flag_spec_F77 \
17426
 
    whole_archive_flag_spec_F77 \
17427
 
    enable_shared_with_static_runtimes_F77 \
17428
 
    old_archive_cmds_F77 \
17429
 
    old_archive_from_new_cmds_F77 \
17430
 
    predep_objects_F77 \
17431
 
    postdep_objects_F77 \
17432
 
    predeps_F77 \
17433
 
    postdeps_F77 \
17434
 
    compiler_lib_search_path_F77 \
17435
 
    archive_cmds_F77 \
17436
 
    archive_expsym_cmds_F77 \
17437
 
    postinstall_cmds_F77 \
17438
 
    postuninstall_cmds_F77 \
17439
 
    old_archive_from_expsyms_cmds_F77 \
17440
 
    allow_undefined_flag_F77 \
17441
 
    no_undefined_flag_F77 \
17442
 
    export_symbols_cmds_F77 \
17443
 
    hardcode_libdir_flag_spec_F77 \
17444
 
    hardcode_libdir_flag_spec_ld_F77 \
17445
 
    hardcode_libdir_separator_F77 \
17446
 
    hardcode_automatic_F77 \
17447
 
    module_cmds_F77 \
17448
 
    module_expsym_cmds_F77 \
17449
 
    lt_cv_prog_compiler_c_o_F77 \
17450
 
    fix_srcfile_path_F77 \
17451
 
    exclude_expsyms_F77 \
17452
 
    include_expsyms_F77; do
17453
 
 
17454
 
    case $var in
17455
 
    old_archive_cmds_F77 | \
17456
 
    old_archive_from_new_cmds_F77 | \
17457
 
    archive_cmds_F77 | \
17458
 
    archive_expsym_cmds_F77 | \
17459
 
    module_cmds_F77 | \
17460
 
    module_expsym_cmds_F77 | \
17461
 
    old_archive_from_expsyms_cmds_F77 | \
17462
 
    export_symbols_cmds_F77 | \
17463
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
17464
 
    postinstall_cmds | postuninstall_cmds | \
17465
 
    old_postinstall_cmds | old_postuninstall_cmds | \
17466
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17467
 
      # Double-quote double-evaled strings.
17468
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17469
 
      ;;
17470
 
    *)
17471
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17472
 
      ;;
17473
 
    esac
17474
 
  done
17475
 
 
17476
 
  case $lt_echo in
17477
 
  *'\$0 --fallback-echo"')
17478
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17479
 
    ;;
17480
 
  esac
17481
 
 
17482
 
cfgfile="$ofile"
17483
 
 
17484
 
  cat <<__EOF__ >> "$cfgfile"
17485
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17486
 
 
17487
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17488
 
 
17489
 
# Shell to use when invoking shell scripts.
17490
 
SHELL=$lt_SHELL
17491
 
 
17492
 
# Whether or not to build shared libraries.
17493
 
build_libtool_libs=$enable_shared
17494
 
 
17495
 
# Whether or not to build static libraries.
17496
 
build_old_libs=$enable_static
17497
 
 
17498
 
# Whether or not to add -lc for building shared libraries.
17499
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
17500
 
 
17501
 
# Whether or not to disallow shared libs when runtime libs are static
17502
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17503
 
 
17504
 
# Whether or not to optimize for fast installation.
17505
 
fast_install=$enable_fast_install
17506
 
 
17507
 
# The host system.
17508
 
host_alias=$host_alias
17509
 
host=$host
17510
 
host_os=$host_os
17511
 
 
17512
 
# The build system.
17513
 
build_alias=$build_alias
17514
 
build=$build
17515
 
build_os=$build_os
17516
 
 
17517
 
# An echo program that does not interpret backslashes.
17518
 
echo=$lt_echo
17519
 
 
17520
 
# The archiver.
17521
 
AR=$lt_AR
17522
 
AR_FLAGS=$lt_AR_FLAGS
17523
 
 
17524
 
# A C compiler.
17525
 
LTCC=$lt_LTCC
17526
 
 
17527
 
# LTCC compiler flags.
17528
 
LTCFLAGS=$lt_LTCFLAGS
17529
 
 
17530
 
# A language-specific compiler.
17531
 
CC=$lt_compiler_F77
17532
 
 
17533
 
# Is the compiler the GNU C compiler?
17534
 
with_gcc=$GCC_F77
17535
 
 
17536
 
# An ERE matcher.
17537
 
EGREP=$lt_EGREP
17538
 
 
17539
 
# The linker used to build libraries.
17540
 
LD=$lt_LD_F77
17541
 
 
17542
 
# Whether we need hard or soft links.
17543
 
LN_S=$lt_LN_S
17544
 
 
17545
 
# A BSD-compatible nm program.
17546
 
NM=$lt_NM
17547
 
 
17548
 
# A symbol stripping program
17549
 
STRIP=$lt_STRIP
17550
 
 
17551
 
# Used to examine libraries when file_magic_cmd begins "file"
17552
 
MAGIC_CMD=$MAGIC_CMD
17553
 
 
17554
 
# Used on cygwin: DLL creation program.
17555
 
DLLTOOL="$DLLTOOL"
17556
 
 
17557
 
# Used on cygwin: object dumper.
17558
 
OBJDUMP="$OBJDUMP"
17559
 
 
17560
 
# Used on cygwin: assembler.
17561
 
AS="$AS"
17562
 
 
17563
 
# The name of the directory that contains temporary libtool files.
17564
 
objdir=$objdir
17565
 
 
17566
 
# How to create reloadable object files.
17567
 
reload_flag=$lt_reload_flag
17568
 
reload_cmds=$lt_reload_cmds
17569
 
 
17570
 
# How to pass a linker flag through the compiler.
17571
 
wl=$lt_lt_prog_compiler_wl_F77
17572
 
 
17573
 
# Object file suffix (normally "o").
17574
 
objext="$ac_objext"
17575
 
 
17576
 
# Old archive suffix (normally "a").
17577
 
libext="$libext"
17578
 
 
17579
 
# Shared library suffix (normally ".so").
17580
 
shrext_cmds='$shrext_cmds'
17581
 
 
17582
 
# Executable file suffix (normally "").
17583
 
exeext="$exeext"
17584
 
 
17585
 
# Additional compiler flags for building library objects.
17586
 
pic_flag=$lt_lt_prog_compiler_pic_F77
17587
 
pic_mode=$pic_mode
17588
 
 
17589
 
# What is the maximum length of a command?
17590
 
max_cmd_len=$lt_cv_sys_max_cmd_len
17591
 
 
17592
 
# Does compiler simultaneously support -c and -o options?
17593
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17594
 
 
17595
 
# Must we lock files when doing compilation?
17596
 
need_locks=$lt_need_locks
17597
 
 
17598
 
# Do we need the lib prefix for modules?
17599
 
need_lib_prefix=$need_lib_prefix
17600
 
 
17601
 
# Do we need a version for libraries?
17602
 
need_version=$need_version
17603
 
 
17604
 
# Whether dlopen is supported.
17605
 
dlopen_support=$enable_dlopen
17606
 
 
17607
 
# Whether dlopen of programs is supported.
17608
 
dlopen_self=$enable_dlopen_self
17609
 
 
17610
 
# Whether dlopen of statically linked programs is supported.
17611
 
dlopen_self_static=$enable_dlopen_self_static
17612
 
 
17613
 
# Compiler flag to prevent dynamic linking.
17614
 
link_static_flag=$lt_lt_prog_compiler_static_F77
17615
 
 
17616
 
# Compiler flag to turn off builtin functions.
17617
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17618
 
 
17619
 
# Compiler flag to allow reflexive dlopens.
17620
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17621
 
 
17622
 
# Compiler flag to generate shared objects directly from archives.
17623
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17624
 
 
17625
 
# Compiler flag to generate thread-safe objects.
17626
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17627
 
 
17628
 
# Library versioning type.
17629
 
version_type=$version_type
17630
 
 
17631
 
# Format of library name prefix.
17632
 
libname_spec=$lt_libname_spec
17633
 
 
17634
 
# List of archive names.  First name is the real one, the rest are links.
17635
 
# The last name is the one that the linker finds with -lNAME.
17636
 
library_names_spec=$lt_library_names_spec
17637
 
 
17638
 
# The coded name of the library, if different from the real name.
17639
 
soname_spec=$lt_soname_spec
17640
 
 
17641
 
# Commands used to build and install an old-style archive.
17642
 
RANLIB=$lt_RANLIB
17643
 
old_archive_cmds=$lt_old_archive_cmds_F77
17644
 
old_postinstall_cmds=$lt_old_postinstall_cmds
17645
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17646
 
 
17647
 
# Create an old-style archive from a shared archive.
17648
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17649
 
 
17650
 
# Create a temporary old-style archive to link instead of a shared archive.
17651
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17652
 
 
17653
 
# Commands used to build and install a shared archive.
17654
 
archive_cmds=$lt_archive_cmds_F77
17655
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17656
 
postinstall_cmds=$lt_postinstall_cmds
17657
 
postuninstall_cmds=$lt_postuninstall_cmds
17658
 
 
17659
 
# Commands used to build a loadable module (assumed same as above if empty)
17660
 
module_cmds=$lt_module_cmds_F77
17661
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
17662
 
 
17663
 
# Commands to strip libraries.
17664
 
old_striplib=$lt_old_striplib
17665
 
striplib=$lt_striplib
17666
 
 
17667
 
# Dependencies to place before the objects being linked to create a
17668
 
# shared library.
17669
 
predep_objects=$lt_predep_objects_F77
17670
 
 
17671
 
# Dependencies to place after the objects being linked to create a
17672
 
# shared library.
17673
 
postdep_objects=$lt_postdep_objects_F77
17674
 
 
17675
 
# Dependencies to place before the objects being linked to create a
17676
 
# shared library.
17677
 
predeps=$lt_predeps_F77
17678
 
 
17679
 
# Dependencies to place after the objects being linked to create a
17680
 
# shared library.
17681
 
postdeps=$lt_postdeps_F77
17682
 
 
17683
 
# The library search path used internally by the compiler when linking
17684
 
# a shared library.
17685
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17686
 
 
17687
 
# Method to check whether dependent libraries are shared objects.
17688
 
deplibs_check_method=$lt_deplibs_check_method
17689
 
 
17690
 
# Command to use when deplibs_check_method == file_magic.
17691
 
file_magic_cmd=$lt_file_magic_cmd
17692
 
 
17693
 
# Flag that allows shared libraries with undefined symbols to be built.
17694
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
17695
 
 
17696
 
# Flag that forces no undefined symbols.
17697
 
no_undefined_flag=$lt_no_undefined_flag_F77
17698
 
 
17699
 
# Commands used to finish a libtool library installation in a directory.
17700
 
finish_cmds=$lt_finish_cmds
17701
 
 
17702
 
# Same as above, but a single script fragment to be evaled but not shown.
17703
 
finish_eval=$lt_finish_eval
17704
 
 
17705
 
# Take the output of nm and produce a listing of raw symbols and C names.
17706
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17707
 
 
17708
 
# Transform the output of nm in a proper C declaration
17709
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17710
 
 
17711
 
# Transform the output of nm in a C name address pair
17712
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17713
 
 
17714
 
# This is the shared library runtime path variable.
17715
 
runpath_var=$runpath_var
17716
 
 
17717
 
# This is the shared library path variable.
17718
 
shlibpath_var=$shlibpath_var
17719
 
 
17720
 
# Is shlibpath searched before the hard-coded library search path?
17721
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17722
 
 
17723
 
# How to hardcode a shared library path into an executable.
17724
 
hardcode_action=$hardcode_action_F77
17725
 
 
17726
 
# Whether we should hardcode library paths into libraries.
17727
 
hardcode_into_libs=$hardcode_into_libs
17728
 
 
17729
 
# Flag to hardcode \$libdir into a binary during linking.
17730
 
# This must work even if \$libdir does not exist.
17731
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17732
 
 
17733
 
# If ld is used when linking, flag to hardcode \$libdir into
17734
 
# a binary during linking. This must work even if \$libdir does
17735
 
# not exist.
17736
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17737
 
 
17738
 
# Whether we need a single -rpath flag with a separated argument.
17739
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17740
 
 
17741
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17742
 
# resulting binary.
17743
 
hardcode_direct=$hardcode_direct_F77
17744
 
 
17745
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17746
 
# resulting binary.
17747
 
hardcode_minus_L=$hardcode_minus_L_F77
17748
 
 
17749
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17750
 
# the resulting binary.
17751
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17752
 
 
17753
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
17754
 
# and all subsequent libraries and executables linked against it.
17755
 
hardcode_automatic=$hardcode_automatic_F77
17756
 
 
17757
 
# Variables whose values should be saved in libtool wrapper scripts and
17758
 
# restored at relink time.
17759
 
variables_saved_for_relink="$variables_saved_for_relink"
17760
 
 
17761
 
# Whether libtool must link a program against all its dependency libraries.
17762
 
link_all_deplibs=$link_all_deplibs_F77
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
 
# Fix the shell variable \$srcfile for the compiler.
17771
 
fix_srcfile_path=$lt_fix_srcfile_path
17772
 
 
17773
 
# Set to yes if exported symbols are required.
17774
 
always_export_symbols=$always_export_symbols_F77
17775
 
 
17776
 
# The commands to list exported symbols.
17777
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
17778
 
 
17779
 
# The commands to extract the exported symbol list from a shared archive.
17780
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17781
 
 
17782
 
# Symbols that should not be listed in the preloaded symbols.
17783
 
exclude_expsyms=$lt_exclude_expsyms_F77
17784
 
 
17785
 
# Symbols that must always be exported.
17786
 
include_expsyms=$lt_include_expsyms_F77
17787
 
 
17788
 
# ### END LIBTOOL TAG CONFIG: $tagname
17789
 
 
17790
 
__EOF__
17791
 
 
17792
 
 
17793
 
else
17794
 
  # If there is no Makefile yet, we rely on a make rule to execute
17795
 
  # `config.status --recheck' to rerun these tests and create the
17796
 
  # libtool script then.
17797
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17798
 
  if test -f "$ltmain_in"; then
17799
 
    test -f Makefile && make "$ltmain"
17800
 
  fi
17801
 
fi
17802
 
 
17803
 
 
17804
 
ac_ext=c
17805
 
ac_cpp='$CPP $CPPFLAGS'
17806
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17807
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17808
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17809
 
 
17810
 
CC="$lt_save_CC"
17811
 
 
17812
 
        else
17813
 
          tagname=""
17814
 
        fi
17815
 
        ;;
17816
 
 
17817
 
      GCJ)
17818
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17819
 
 
17820
 
 
17821
 
# Source file extension for Java test sources.
17822
 
ac_ext=java
17823
 
 
17824
 
# Object file extension for compiled Java test sources.
17825
 
objext=o
17826
 
objext_GCJ=$objext
17827
 
 
17828
 
# Code to be used in simple compile tests
17829
 
lt_simple_compile_test_code="class foo {}"
17830
 
 
17831
 
# Code to be used in simple link tests
17832
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17833
 
 
17834
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17835
 
 
17836
 
# If no C compiler was specified, use CC.
17837
 
LTCC=${LTCC-"$CC"}
17838
 
 
17839
 
# If no C compiler flags were specified, use CFLAGS.
17840
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17841
 
 
17842
 
# Allow CC to be a program name with arguments.
17843
 
compiler=$CC
17844
 
 
17845
 
 
17846
 
# save warnings/boilerplate of simple test code
17847
 
ac_outfile=conftest.$ac_objext
17848
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17849
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17850
 
_lt_compiler_boilerplate=`cat conftest.err`
17851
 
$rm conftest*
17852
 
 
17853
 
ac_outfile=conftest.$ac_objext
17854
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17855
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17856
 
_lt_linker_boilerplate=`cat conftest.err`
17857
 
$rm conftest*
17858
 
 
17859
 
 
17860
 
# Allow CC to be a program name with arguments.
17861
 
lt_save_CC="$CC"
17862
 
CC=${GCJ-"gcj"}
17863
 
compiler=$CC
17864
 
compiler_GCJ=$CC
17865
 
for cc_temp in $compiler""; do
17866
 
  case $cc_temp in
17867
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17868
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17869
 
    \-*) ;;
17870
 
    *) break;;
17871
 
  esac
17872
 
done
17873
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17874
 
 
17875
 
 
17876
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
17877
 
archive_cmds_need_lc_GCJ=no
17878
 
 
17879
 
old_archive_cmds_GCJ=$old_archive_cmds
17880
 
 
17881
 
 
17882
 
lt_prog_compiler_no_builtin_flag_GCJ=
17883
 
 
17884
 
if test "$GCC" = yes; then
17885
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17886
 
 
17887
 
 
17888
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17889
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17890
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17891
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17892
 
else
17893
 
  lt_cv_prog_compiler_rtti_exceptions=no
17894
 
  ac_outfile=conftest.$ac_objext
17895
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17896
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
17897
 
   # Insert the option either (1) after the last *FLAGS variable, or
17898
 
   # (2) before a word containing "conftest.", or (3) at the end.
17899
 
   # Note that $ac_compile itself does not contain backslashes and begins
17900
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17901
 
   # The option is referenced via a variable to avoid confusing sed.
17902
 
   lt_compile=`echo "$ac_compile" | $SED \
17903
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17904
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17905
 
   -e 's:$: $lt_compiler_flag:'`
17906
 
   (eval echo "\"\$as_me:17906: $lt_compile\"" >&5)
17907
 
   (eval "$lt_compile" 2>conftest.err)
17908
 
   ac_status=$?
17909
 
   cat conftest.err >&5
17910
 
   echo "$as_me:17910: \$? = $ac_status" >&5
17911
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17912
 
     # The compiler can only warn and ignore the option if not recognized
17913
 
     # So say no if there are warnings other than the usual output.
17914
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17915
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17916
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17917
 
       lt_cv_prog_compiler_rtti_exceptions=yes
17918
 
     fi
17919
 
   fi
17920
 
   $rm conftest*
17921
 
 
17922
 
fi
17923
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17924
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17925
 
 
17926
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17927
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17928
 
else
17929
 
    :
17930
 
fi
17931
 
 
17932
 
fi
17933
 
 
17934
 
lt_prog_compiler_wl_GCJ=
17935
 
lt_prog_compiler_pic_GCJ=
17936
 
lt_prog_compiler_static_GCJ=
17937
 
 
17938
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17939
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17940
 
 
17941
 
  if test "$GCC" = yes; then
17942
 
    lt_prog_compiler_wl_GCJ='-Wl,'
17943
 
    lt_prog_compiler_static_GCJ='-static'
17944
 
 
17945
 
    case $host_os in
17946
 
      aix*)
17947
 
      # All AIX code is PIC.
17948
 
      if test "$host_cpu" = ia64; then
17949
 
        # AIX 5 now supports IA64 processor
17950
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17951
 
      fi
17952
 
      ;;
17953
 
 
17954
 
    amigaos*)
17955
 
      # FIXME: we need at least 68020 code to build shared libraries, but
17956
 
      # adding the `-m68020' flag to GCC prevents building anything better,
17957
 
      # like `-m68040'.
17958
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17959
 
      ;;
17960
 
 
17961
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17962
 
      # PIC is the default for these OSes.
17963
 
      ;;
17964
 
 
17965
 
    mingw* | cygwin* | pw32* | os2*)
17966
 
      # This hack is so that the source file can tell whether it is being
17967
 
      # built for inclusion in a dll (and should export symbols for example).
17968
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
17969
 
      # (--disable-auto-import) libraries
17970
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17971
 
      ;;
17972
 
 
17973
 
    darwin* | rhapsody*)
17974
 
      # PIC is the default on this platform
17975
 
      # Common symbols not allowed in MH_DYLIB files
17976
 
      lt_prog_compiler_pic_GCJ='-fno-common'
17977
 
      ;;
17978
 
 
17979
 
    interix[3-9]*)
17980
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17981
 
      # Instead, we relocate shared libraries at runtime.
17982
 
      ;;
17983
 
 
17984
 
    msdosdjgpp*)
17985
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
17986
 
      # on systems that don't support them.
17987
 
      lt_prog_compiler_can_build_shared_GCJ=no
17988
 
      enable_shared=no
17989
 
      ;;
17990
 
 
17991
 
    sysv4*MP*)
17992
 
      if test -d /usr/nec; then
17993
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
17994
 
      fi
17995
 
      ;;
17996
 
 
17997
 
    hpux*)
17998
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17999
 
      # not for PA HP-UX.
18000
 
      case $host_cpu in
18001
 
      hppa*64*|ia64*)
18002
 
        # +Z the default
18003
 
        ;;
18004
 
      *)
18005
 
        lt_prog_compiler_pic_GCJ='-fPIC'
18006
 
        ;;
18007
 
      esac
18008
 
      ;;
18009
 
 
18010
 
    *)
18011
 
      lt_prog_compiler_pic_GCJ='-fPIC'
18012
 
      ;;
18013
 
    esac
18014
 
  else
18015
 
    # PORTME Check for flag to pass linker flags through the system compiler.
18016
 
    case $host_os in
18017
 
    aix*)
18018
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18019
 
      if test "$host_cpu" = ia64; then
18020
 
        # AIX 5 now supports IA64 processor
18021
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18022
 
      else
18023
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
18024
 
      fi
18025
 
      ;;
18026
 
      darwin*)
18027
 
        # PIC is the default on this platform
18028
 
        # Common symbols not allowed in MH_DYLIB files
18029
 
       case $cc_basename in
18030
 
         xlc*)
18031
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
18032
 
         lt_prog_compiler_wl_GCJ='-Wl,'
18033
 
         ;;
18034
 
       esac
18035
 
       ;;
18036
 
 
18037
 
    mingw* | cygwin* | pw32* | os2*)
18038
 
      # This hack is so that the source file can tell whether it is being
18039
 
      # built for inclusion in a dll (and should export symbols for example).
18040
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
18041
 
      ;;
18042
 
 
18043
 
    hpux9* | hpux10* | hpux11*)
18044
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18045
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18046
 
      # not for PA HP-UX.
18047
 
      case $host_cpu in
18048
 
      hppa*64*|ia64*)
18049
 
        # +Z the default
18050
 
        ;;
18051
 
      *)
18052
 
        lt_prog_compiler_pic_GCJ='+Z'
18053
 
        ;;
18054
 
      esac
18055
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
18056
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
18057
 
      ;;
18058
 
 
18059
 
    irix5* | irix6* | nonstopux*)
18060
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18061
 
      # PIC (with -KPIC) is the default.
18062
 
      lt_prog_compiler_static_GCJ='-non_shared'
18063
 
      ;;
18064
 
 
18065
 
    newsos6)
18066
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18067
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18068
 
      ;;
18069
 
 
18070
 
    linux* | k*bsd*-gnu)
18071
 
      case $cc_basename in
18072
 
      icc* | ecc*)
18073
 
        lt_prog_compiler_wl_GCJ='-Wl,'
18074
 
        lt_prog_compiler_pic_GCJ='-KPIC'
18075
 
        lt_prog_compiler_static_GCJ='-static'
18076
 
        ;;
18077
 
      pgcc* | pgf77* | pgf90* | pgf95*)
18078
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
18079
 
        # which looks to be a dead project)
18080
 
        lt_prog_compiler_wl_GCJ='-Wl,'
18081
 
        lt_prog_compiler_pic_GCJ='-fpic'
18082
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18083
 
        ;;
18084
 
      ccc*)
18085
 
        lt_prog_compiler_wl_GCJ='-Wl,'
18086
 
        # All Alpha code is PIC.
18087
 
        lt_prog_compiler_static_GCJ='-non_shared'
18088
 
        ;;
18089
 
      *)
18090
 
        case `$CC -V 2>&1 | sed 5q` in
18091
 
        *Sun\ C*)
18092
 
          # Sun C 5.9
18093
 
          lt_prog_compiler_pic_GCJ='-KPIC'
18094
 
          lt_prog_compiler_static_GCJ='-Bstatic'
18095
 
          lt_prog_compiler_wl_GCJ='-Wl,'
18096
 
          ;;
18097
 
        *Sun\ F*)
18098
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
18099
 
          lt_prog_compiler_pic_GCJ='-KPIC'
18100
 
          lt_prog_compiler_static_GCJ='-Bstatic'
18101
 
          lt_prog_compiler_wl_GCJ=''
18102
 
          ;;
18103
 
        esac
18104
 
        ;;
18105
 
      esac
18106
 
      ;;
18107
 
 
18108
 
    osf3* | osf4* | osf5*)
18109
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18110
 
      # All OSF/1 code is PIC.
18111
 
      lt_prog_compiler_static_GCJ='-non_shared'
18112
 
      ;;
18113
 
 
18114
 
    rdos*)
18115
 
      lt_prog_compiler_static_GCJ='-non_shared'
18116
 
      ;;
18117
 
 
18118
 
    solaris*)
18119
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18120
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18121
 
      case $cc_basename in
18122
 
      f77* | f90* | f95*)
18123
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
18124
 
      *)
18125
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
18126
 
      esac
18127
 
      ;;
18128
 
 
18129
 
    sunos4*)
18130
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
18131
 
      lt_prog_compiler_pic_GCJ='-PIC'
18132
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18133
 
      ;;
18134
 
 
18135
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
18136
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18137
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18138
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18139
 
      ;;
18140
 
 
18141
 
    sysv4*MP*)
18142
 
      if test -d /usr/nec ;then
18143
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
18144
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18145
 
      fi
18146
 
      ;;
18147
 
 
18148
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18149
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18150
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18151
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18152
 
      ;;
18153
 
 
18154
 
    unicos*)
18155
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18156
 
      lt_prog_compiler_can_build_shared_GCJ=no
18157
 
      ;;
18158
 
 
18159
 
    uts4*)
18160
 
      lt_prog_compiler_pic_GCJ='-pic'
18161
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18162
 
      ;;
18163
 
 
18164
 
    *)
18165
 
      lt_prog_compiler_can_build_shared_GCJ=no
18166
 
      ;;
18167
 
    esac
18168
 
  fi
18169
 
 
18170
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18171
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18172
 
 
18173
 
#
18174
 
# Check to make sure the PIC flag actually works.
18175
 
#
18176
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
18177
 
 
18178
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18179
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18180
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
18181
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18182
 
else
18183
 
  lt_prog_compiler_pic_works_GCJ=no
18184
 
  ac_outfile=conftest.$ac_objext
18185
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18186
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
18187
 
   # Insert the option either (1) after the last *FLAGS variable, or
18188
 
   # (2) before a word containing "conftest.", or (3) at the end.
18189
 
   # Note that $ac_compile itself does not contain backslashes and begins
18190
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18191
 
   # The option is referenced via a variable to avoid confusing sed.
18192
 
   lt_compile=`echo "$ac_compile" | $SED \
18193
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18194
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18195
 
   -e 's:$: $lt_compiler_flag:'`
18196
 
   (eval echo "\"\$as_me:18196: $lt_compile\"" >&5)
18197
 
   (eval "$lt_compile" 2>conftest.err)
18198
 
   ac_status=$?
18199
 
   cat conftest.err >&5
18200
 
   echo "$as_me:18200: \$? = $ac_status" >&5
18201
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
18202
 
     # The compiler can only warn and ignore the option if not recognized
18203
 
     # So say no if there are warnings other than the usual output.
18204
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18205
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18206
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18207
 
       lt_prog_compiler_pic_works_GCJ=yes
18208
 
     fi
18209
 
   fi
18210
 
   $rm conftest*
18211
 
 
18212
 
fi
18213
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18214
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
18215
 
 
18216
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
18217
 
    case $lt_prog_compiler_pic_GCJ in
18218
 
     "" | " "*) ;;
18219
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
18220
 
     esac
18221
 
else
18222
 
    lt_prog_compiler_pic_GCJ=
18223
 
     lt_prog_compiler_can_build_shared_GCJ=no
18224
 
fi
18225
 
 
18226
 
fi
18227
 
case $host_os in
18228
 
  # For platforms which do not support PIC, -DPIC is meaningless:
18229
 
  *djgpp*)
18230
 
    lt_prog_compiler_pic_GCJ=
18231
 
    ;;
18232
 
  *)
18233
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
18234
 
    ;;
18235
 
esac
18236
 
 
18237
 
#
18238
 
# Check to make sure the static flag actually works.
18239
 
#
18240
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
18241
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18242
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18243
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
18244
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18245
 
else
18246
 
  lt_prog_compiler_static_works_GCJ=no
18247
 
   save_LDFLAGS="$LDFLAGS"
18248
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18249
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
18250
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18251
 
     # The linker can only warn and ignore the option if not recognized
18252
 
     # So say no if there are warnings
18253
 
     if test -s conftest.err; then
18254
 
       # Append any errors to the config.log.
18255
 
       cat conftest.err 1>&5
18256
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18257
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18258
 
       if diff conftest.exp conftest.er2 >/dev/null; then
18259
 
         lt_prog_compiler_static_works_GCJ=yes
18260
 
       fi
18261
 
     else
18262
 
       lt_prog_compiler_static_works_GCJ=yes
18263
 
     fi
18264
 
   fi
18265
 
   $rm conftest*
18266
 
   LDFLAGS="$save_LDFLAGS"
18267
 
 
18268
 
fi
18269
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
18270
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
18271
 
 
18272
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
18273
 
    :
18274
 
else
18275
 
    lt_prog_compiler_static_GCJ=
18276
 
fi
18277
 
 
18278
 
 
18279
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18280
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18281
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18282
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18283
 
else
18284
 
  lt_cv_prog_compiler_c_o_GCJ=no
18285
 
   $rm -r conftest 2>/dev/null
18286
 
   mkdir conftest
18287
 
   cd conftest
18288
 
   mkdir out
18289
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18290
 
 
18291
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
18292
 
   # Insert the option either (1) after the last *FLAGS variable, or
18293
 
   # (2) before a word containing "conftest.", or (3) at the end.
18294
 
   # Note that $ac_compile itself does not contain backslashes and begins
18295
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18296
 
   lt_compile=`echo "$ac_compile" | $SED \
18297
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18298
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18299
 
   -e 's:$: $lt_compiler_flag:'`
18300
 
   (eval echo "\"\$as_me:18300: $lt_compile\"" >&5)
18301
 
   (eval "$lt_compile" 2>out/conftest.err)
18302
 
   ac_status=$?
18303
 
   cat out/conftest.err >&5
18304
 
   echo "$as_me:18304: \$? = $ac_status" >&5
18305
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18306
 
   then
18307
 
     # The compiler can only warn and ignore the option if not recognized
18308
 
     # So say no if there are warnings
18309
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18310
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18311
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18312
 
       lt_cv_prog_compiler_c_o_GCJ=yes
18313
 
     fi
18314
 
   fi
18315
 
   chmod u+w . 2>&5
18316
 
   $rm conftest*
18317
 
   # SGI C++ compiler will create directory out/ii_files/ for
18318
 
   # template instantiation
18319
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
18320
 
   $rm out/* && rmdir out
18321
 
   cd ..
18322
 
   rmdir conftest
18323
 
   $rm conftest*
18324
 
 
18325
 
fi
18326
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18327
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18328
 
 
18329
 
 
18330
 
hard_links="nottested"
18331
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18332
 
  # do not overwrite the value of need_locks provided by the user
18333
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18334
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18335
 
  hard_links=yes
18336
 
  $rm conftest*
18337
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18338
 
  touch conftest.a
18339
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
18340
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18341
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
18342
 
echo "${ECHO_T}$hard_links" >&6; }
18343
 
  if test "$hard_links" = no; then
18344
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18345
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18346
 
    need_locks=warn
18347
 
  fi
18348
 
else
18349
 
  need_locks=no
18350
 
fi
18351
 
 
18352
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18353
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18354
 
 
18355
 
  runpath_var=
18356
 
  allow_undefined_flag_GCJ=
18357
 
  enable_shared_with_static_runtimes_GCJ=no
18358
 
  archive_cmds_GCJ=
18359
 
  archive_expsym_cmds_GCJ=
18360
 
  old_archive_From_new_cmds_GCJ=
18361
 
  old_archive_from_expsyms_cmds_GCJ=
18362
 
  export_dynamic_flag_spec_GCJ=
18363
 
  whole_archive_flag_spec_GCJ=
18364
 
  thread_safe_flag_spec_GCJ=
18365
 
  hardcode_libdir_flag_spec_GCJ=
18366
 
  hardcode_libdir_flag_spec_ld_GCJ=
18367
 
  hardcode_libdir_separator_GCJ=
18368
 
  hardcode_direct_GCJ=no
18369
 
  hardcode_minus_L_GCJ=no
18370
 
  hardcode_shlibpath_var_GCJ=unsupported
18371
 
  link_all_deplibs_GCJ=unknown
18372
 
  hardcode_automatic_GCJ=no
18373
 
  module_cmds_GCJ=
18374
 
  module_expsym_cmds_GCJ=
18375
 
  always_export_symbols_GCJ=no
18376
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18377
 
  # include_expsyms should be a list of space-separated symbols to be *always*
18378
 
  # included in the symbol list
18379
 
  include_expsyms_GCJ=
18380
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
18381
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
18382
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18383
 
  # as well as any symbol that contains `d'.
18384
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
18385
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18386
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
18387
 
  # the symbol is explicitly referenced.  Since portable code cannot
18388
 
  # rely on this symbol name, it's probably fine to never include it in
18389
 
  # preloaded symbol tables.
18390
 
  extract_expsyms_cmds=
18391
 
  # Just being paranoid about ensuring that cc_basename is set.
18392
 
  for cc_temp in $compiler""; do
18393
 
  case $cc_temp in
18394
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18395
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18396
 
    \-*) ;;
18397
 
    *) break;;
18398
 
  esac
18399
 
done
18400
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18401
 
 
18402
 
  case $host_os in
18403
 
  cygwin* | mingw* | pw32*)
18404
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
18405
 
    # When not using gcc, we currently assume that we are using
18406
 
    # Microsoft Visual C++.
18407
 
    if test "$GCC" != yes; then
18408
 
      with_gnu_ld=no
18409
 
    fi
18410
 
    ;;
18411
 
  interix*)
18412
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
18413
 
    with_gnu_ld=yes
18414
 
    ;;
18415
 
  openbsd*)
18416
 
    with_gnu_ld=no
18417
 
    ;;
18418
 
  esac
18419
 
 
18420
 
  ld_shlibs_GCJ=yes
18421
 
  if test "$with_gnu_ld" = yes; then
18422
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
18423
 
    wlarc='${wl}'
18424
 
 
18425
 
    # Set some defaults for GNU ld with shared library support. These
18426
 
    # are reset later if shared libraries are not supported. Putting them
18427
 
    # here allows them to be overridden if necessary.
18428
 
    runpath_var=LD_RUN_PATH
18429
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
18430
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
18431
 
    # ancient GNU ld didn't support --whole-archive et. al.
18432
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18433
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18434
 
      else
18435
 
        whole_archive_flag_spec_GCJ=
18436
 
    fi
18437
 
    supports_anon_versioning=no
18438
 
    case `$LD -v 2>/dev/null` in
18439
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18440
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18441
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18442
 
      *\ 2.11.*) ;; # other 2.11 versions
18443
 
      *) supports_anon_versioning=yes ;;
18444
 
    esac
18445
 
 
18446
 
    # See if GNU ld supports shared libraries.
18447
 
    case $host_os in
18448
 
    aix3* | aix4* | aix5*)
18449
 
      # On AIX/PPC, the GNU linker is very broken
18450
 
      if test "$host_cpu" != ia64; then
18451
 
        ld_shlibs_GCJ=no
18452
 
        cat <<EOF 1>&2
18453
 
 
18454
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
18455
 
*** to be unable to reliably create shared libraries on AIX.
18456
 
*** Therefore, libtool is disabling shared libraries support.  If you
18457
 
*** really care for shared libraries, you may want to modify your PATH
18458
 
*** so that a non-GNU linker is found, and then restart.
18459
 
 
18460
 
EOF
18461
 
      fi
18462
 
      ;;
18463
 
 
18464
 
    amigaos*)
18465
 
      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)'
18466
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18467
 
      hardcode_minus_L_GCJ=yes
18468
 
 
18469
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18470
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
18471
 
      # to version 4, is to share data among multiple programs linked
18472
 
      # with the same dynamic library.  Since this doesn't match the
18473
 
      # behavior of shared libraries on other platforms, we can't use
18474
 
      # them.
18475
 
      ld_shlibs_GCJ=no
18476
 
      ;;
18477
 
 
18478
 
    beos*)
18479
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18480
 
        allow_undefined_flag_GCJ=unsupported
18481
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18482
 
        # support --undefined.  This deserves some investigation.  FIXME
18483
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18484
 
      else
18485
 
        ld_shlibs_GCJ=no
18486
 
      fi
18487
 
      ;;
18488
 
 
18489
 
    cygwin* | mingw* | pw32*)
18490
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18491
 
      # as there is no search path for DLLs.
18492
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18493
 
      allow_undefined_flag_GCJ=unsupported
18494
 
      always_export_symbols_GCJ=no
18495
 
      enable_shared_with_static_runtimes_GCJ=yes
18496
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18497
 
 
18498
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18499
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18500
 
        # If the export-symbols file already is a .def file (1st line
18501
 
        # is EXPORTS), use it as is; otherwise, prepend...
18502
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18503
 
          cp $export_symbols $output_objdir/$soname.def;
18504
 
        else
18505
 
          echo EXPORTS > $output_objdir/$soname.def;
18506
 
          cat $export_symbols >> $output_objdir/$soname.def;
18507
 
        fi~
18508
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18509
 
      else
18510
 
        ld_shlibs_GCJ=no
18511
 
      fi
18512
 
      ;;
18513
 
 
18514
 
    interix[3-9]*)
18515
 
      hardcode_direct_GCJ=no
18516
 
      hardcode_shlibpath_var_GCJ=no
18517
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18518
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18519
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18520
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
18521
 
      # default) and relocated if they conflict, which is a slow very memory
18522
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
18523
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18524
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
18525
 
      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'
18526
 
      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'
18527
 
      ;;
18528
 
 
18529
 
    gnu* | linux* | k*bsd*-gnu)
18530
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18531
 
        tmp_addflag=
18532
 
        case $cc_basename,$host_cpu in
18533
 
        pgcc*)                          # Portland Group C compiler
18534
 
          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'
18535
 
          tmp_addflag=' $pic_flag'
18536
 
          ;;
18537
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
18538
 
          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'
18539
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
18540
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
18541
 
          tmp_addflag=' -i_dynamic' ;;
18542
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
18543
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
18544
 
        ifc* | ifort*)                  # Intel Fortran compiler
18545
 
          tmp_addflag=' -nofor_main' ;;
18546
 
        esac
18547
 
        case `$CC -V 2>&1 | sed 5q` in
18548
 
        *Sun\ C*)                       # Sun C 5.9
18549
 
          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'
18550
 
          tmp_sharedflag='-G' ;;
18551
 
        *Sun\ F*)                       # Sun Fortran 8.3
18552
 
          tmp_sharedflag='-G' ;;
18553
 
        *)
18554
 
          tmp_sharedflag='-shared' ;;
18555
 
        esac
18556
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18557
 
 
18558
 
        if test $supports_anon_versioning = yes; then
18559
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18560
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18561
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18562
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18563
 
        fi
18564
 
      else
18565
 
        ld_shlibs_GCJ=no
18566
 
      fi
18567
 
      ;;
18568
 
 
18569
 
    netbsd*)
18570
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18571
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18572
 
        wlarc=
18573
 
      else
18574
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18575
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18576
 
      fi
18577
 
      ;;
18578
 
 
18579
 
    solaris*)
18580
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18581
 
        ld_shlibs_GCJ=no
18582
 
        cat <<EOF 1>&2
18583
 
 
18584
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18585
 
*** create shared libraries on Solaris systems.  Therefore, libtool
18586
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18587
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
18588
 
*** your PATH or compiler configuration so that the native linker is
18589
 
*** used, and then restart.
18590
 
 
18591
 
EOF
18592
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18593
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18594
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18595
 
      else
18596
 
        ld_shlibs_GCJ=no
18597
 
      fi
18598
 
      ;;
18599
 
 
18600
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18601
 
      case `$LD -v 2>&1` in
18602
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
18603
 
        ld_shlibs_GCJ=no
18604
 
        cat <<_LT_EOF 1>&2
18605
 
 
18606
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18607
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
18608
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18609
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
18610
 
*** your PATH or compiler configuration so that the native linker is
18611
 
*** used, and then restart.
18612
 
 
18613
 
_LT_EOF
18614
 
        ;;
18615
 
        *)
18616
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18617
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18618
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18619
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18620
 
          else
18621
 
            ld_shlibs_GCJ=no
18622
 
          fi
18623
 
        ;;
18624
 
      esac
18625
 
      ;;
18626
 
 
18627
 
    sunos4*)
18628
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18629
 
      wlarc=
18630
 
      hardcode_direct_GCJ=yes
18631
 
      hardcode_shlibpath_var_GCJ=no
18632
 
      ;;
18633
 
 
18634
 
    *)
18635
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18636
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18637
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18638
 
      else
18639
 
        ld_shlibs_GCJ=no
18640
 
      fi
18641
 
      ;;
18642
 
    esac
18643
 
 
18644
 
    if test "$ld_shlibs_GCJ" = no; then
18645
 
      runpath_var=
18646
 
      hardcode_libdir_flag_spec_GCJ=
18647
 
      export_dynamic_flag_spec_GCJ=
18648
 
      whole_archive_flag_spec_GCJ=
18649
 
    fi
18650
 
  else
18651
 
    # PORTME fill in a description of your system's linker (not GNU ld)
18652
 
    case $host_os in
18653
 
    aix3*)
18654
 
      allow_undefined_flag_GCJ=unsupported
18655
 
      always_export_symbols_GCJ=yes
18656
 
      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'
18657
 
      # Note: this linker hardcodes the directories in LIBPATH if there
18658
 
      # are no directories specified by -L.
18659
 
      hardcode_minus_L_GCJ=yes
18660
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18661
 
        # Neither direct hardcoding nor static linking is supported with a
18662
 
        # broken collect2.
18663
 
        hardcode_direct_GCJ=unsupported
18664
 
      fi
18665
 
      ;;
18666
 
 
18667
 
    aix4* | aix5*)
18668
 
      if test "$host_cpu" = ia64; then
18669
 
        # On IA64, the linker does run time linking by default, so we don't
18670
 
        # have to do anything special.
18671
 
        aix_use_runtimelinking=no
18672
 
        exp_sym_flag='-Bexport'
18673
 
        no_entry_flag=""
18674
 
      else
18675
 
        # If we're using GNU nm, then we don't want the "-C" option.
18676
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
18677
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18678
 
          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'
18679
 
        else
18680
 
          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'
18681
 
        fi
18682
 
        aix_use_runtimelinking=no
18683
 
 
18684
 
        # Test if we are trying to use run time linking or normal
18685
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18686
 
        # need to do runtime linking.
18687
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18688
 
          for ld_flag in $LDFLAGS; do
18689
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18690
 
            aix_use_runtimelinking=yes
18691
 
            break
18692
 
          fi
18693
 
          done
18694
 
          ;;
18695
 
        esac
18696
 
 
18697
 
        exp_sym_flag='-bexport'
18698
 
        no_entry_flag='-bnoentry'
18699
 
      fi
18700
 
 
18701
 
      # When large executables or shared objects are built, AIX ld can
18702
 
      # have problems creating the table of contents.  If linking a library
18703
 
      # or program results in "error TOC overflow" add -mminimal-toc to
18704
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18705
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18706
 
 
18707
 
      archive_cmds_GCJ=''
18708
 
      hardcode_direct_GCJ=yes
18709
 
      hardcode_libdir_separator_GCJ=':'
18710
 
      link_all_deplibs_GCJ=yes
18711
 
 
18712
 
      if test "$GCC" = yes; then
18713
 
        case $host_os in aix4.[012]|aix4.[012].*)
18714
 
        # We only want to do this on AIX 4.2 and lower, the check
18715
 
        # below for broken collect2 doesn't work under 4.3+
18716
 
          collect2name=`${CC} -print-prog-name=collect2`
18717
 
          if test -f "$collect2name" && \
18718
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18719
 
          then
18720
 
          # We have reworked collect2
18721
 
          :
18722
 
          else
18723
 
          # We have old collect2
18724
 
          hardcode_direct_GCJ=unsupported
18725
 
          # It fails to find uninstalled libraries when the uninstalled
18726
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
18727
 
          # to unsupported forces relinking
18728
 
          hardcode_minus_L_GCJ=yes
18729
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
18730
 
          hardcode_libdir_separator_GCJ=
18731
 
          fi
18732
 
          ;;
18733
 
        esac
18734
 
        shared_flag='-shared'
18735
 
        if test "$aix_use_runtimelinking" = yes; then
18736
 
          shared_flag="$shared_flag "'${wl}-G'
18737
 
        fi
18738
 
      else
18739
 
        # not using gcc
18740
 
        if test "$host_cpu" = ia64; then
18741
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18742
 
        # chokes on -Wl,-G. The following line is correct:
18743
 
          shared_flag='-G'
18744
 
        else
18745
 
          if test "$aix_use_runtimelinking" = yes; then
18746
 
            shared_flag='${wl}-G'
18747
 
          else
18748
 
            shared_flag='${wl}-bM:SRE'
18749
 
          fi
18750
 
        fi
18751
 
      fi
18752
 
 
18753
 
      # It seems that -bexpall does not export symbols beginning with
18754
 
      # underscore (_), so it is better to generate a list of symbols to export.
18755
 
      always_export_symbols_GCJ=yes
18756
 
      if test "$aix_use_runtimelinking" = yes; then
18757
 
        # Warning - without using the other runtime loading flags (-brtl),
18758
 
        # -berok will link without error, but may produce a broken library.
18759
 
        allow_undefined_flag_GCJ='-berok'
18760
 
       # Determine the default libpath from the value encoded in an empty executable.
18761
 
       cat >conftest.$ac_ext <<_ACEOF
18762
 
/* confdefs.h.  */
18763
 
_ACEOF
18764
 
cat confdefs.h >>conftest.$ac_ext
18765
 
cat >>conftest.$ac_ext <<_ACEOF
18766
 
/* end confdefs.h.  */
18767
 
 
18768
 
int
18769
 
main ()
18770
 
{
18771
 
 
18772
 
  ;
18773
 
  return 0;
18774
 
}
18775
 
_ACEOF
18776
 
rm -f conftest.$ac_objext conftest$ac_exeext
18777
 
if { (ac_try="$ac_link"
18778
 
case "(($ac_try" in
18779
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18780
 
  *) ac_try_echo=$ac_try;;
18781
 
esac
18782
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18783
 
  (eval "$ac_link") 2>conftest.er1
18784
 
  ac_status=$?
18785
 
  grep -v '^ *+' conftest.er1 >conftest.err
18786
 
  rm -f conftest.er1
18787
 
  cat conftest.err >&5
18788
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789
 
  (exit $ac_status); } && {
18790
 
         test -z "$ac_c_werror_flag" ||
18791
 
         test ! -s conftest.err
18792
 
       } && test -s conftest$ac_exeext &&
18793
 
       $as_test_x conftest$ac_exeext; then
18794
 
 
18795
 
lt_aix_libpath_sed='
18796
 
    /Import File Strings/,/^$/ {
18797
 
        /^0/ {
18798
 
            s/^0  *\(.*\)$/\1/
18799
 
            p
18800
 
        }
18801
 
    }'
18802
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18803
 
# Check for a 64-bit object if we didn't find anything.
18804
 
if test -z "$aix_libpath"; then
18805
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18806
 
fi
18807
 
else
18808
 
  echo "$as_me: failed program was:" >&5
18809
 
sed 's/^/| /' conftest.$ac_ext >&5
18810
 
 
18811
 
 
18812
 
fi
18813
 
 
18814
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18815
 
      conftest$ac_exeext conftest.$ac_ext
18816
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18817
 
 
18818
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18819
 
        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"
18820
 
       else
18821
 
        if test "$host_cpu" = ia64; then
18822
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18823
 
          allow_undefined_flag_GCJ="-z nodefs"
18824
 
          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"
18825
 
        else
18826
 
         # Determine the default libpath from the value encoded in an empty executable.
18827
 
         cat >conftest.$ac_ext <<_ACEOF
18828
 
/* confdefs.h.  */
18829
 
_ACEOF
18830
 
cat confdefs.h >>conftest.$ac_ext
18831
 
cat >>conftest.$ac_ext <<_ACEOF
18832
 
/* end confdefs.h.  */
18833
 
 
18834
 
int
18835
 
main ()
18836
 
{
18837
 
 
18838
 
  ;
18839
 
  return 0;
18840
 
}
18841
 
_ACEOF
18842
 
rm -f conftest.$ac_objext conftest$ac_exeext
18843
 
if { (ac_try="$ac_link"
18844
 
case "(($ac_try" in
18845
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18846
 
  *) ac_try_echo=$ac_try;;
18847
 
esac
18848
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18849
 
  (eval "$ac_link") 2>conftest.er1
18850
 
  ac_status=$?
18851
 
  grep -v '^ *+' conftest.er1 >conftest.err
18852
 
  rm -f conftest.er1
18853
 
  cat conftest.err >&5
18854
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855
 
  (exit $ac_status); } && {
18856
 
         test -z "$ac_c_werror_flag" ||
18857
 
         test ! -s conftest.err
18858
 
       } && test -s conftest$ac_exeext &&
18859
 
       $as_test_x conftest$ac_exeext; then
18860
 
 
18861
 
lt_aix_libpath_sed='
18862
 
    /Import File Strings/,/^$/ {
18863
 
        /^0/ {
18864
 
            s/^0  *\(.*\)$/\1/
18865
 
            p
18866
 
        }
18867
 
    }'
18868
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18869
 
# Check for a 64-bit object if we didn't find anything.
18870
 
if test -z "$aix_libpath"; then
18871
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18872
 
fi
18873
 
else
18874
 
  echo "$as_me: failed program was:" >&5
18875
 
sed 's/^/| /' conftest.$ac_ext >&5
18876
 
 
18877
 
 
18878
 
fi
18879
 
 
18880
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18881
 
      conftest$ac_exeext conftest.$ac_ext
18882
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18883
 
 
18884
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18885
 
          # Warning - without using the other run time loading flags,
18886
 
          # -berok will link without error, but may produce a broken library.
18887
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
18888
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
18889
 
          # Exported symbols can be pulled into shared objects from archives
18890
 
          whole_archive_flag_spec_GCJ='$convenience'
18891
 
          archive_cmds_need_lc_GCJ=yes
18892
 
          # This is similar to how AIX traditionally builds its shared libraries.
18893
 
          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'
18894
 
        fi
18895
 
      fi
18896
 
      ;;
18897
 
 
18898
 
    amigaos*)
18899
 
      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)'
18900
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18901
 
      hardcode_minus_L_GCJ=yes
18902
 
      # see comment about different semantics on the GNU ld section
18903
 
      ld_shlibs_GCJ=no
18904
 
      ;;
18905
 
 
18906
 
    bsdi[45]*)
18907
 
      export_dynamic_flag_spec_GCJ=-rdynamic
18908
 
      ;;
18909
 
 
18910
 
    cygwin* | mingw* | pw32*)
18911
 
      # When not using gcc, we currently assume that we are using
18912
 
      # Microsoft Visual C++.
18913
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
18914
 
      # no search path for DLLs.
18915
 
      hardcode_libdir_flag_spec_GCJ=' '
18916
 
      allow_undefined_flag_GCJ=unsupported
18917
 
      # Tell ltmain to make .lib files, not .a files.
18918
 
      libext=lib
18919
 
      # Tell ltmain to make .dll files, not .so files.
18920
 
      shrext_cmds=".dll"
18921
 
      # FIXME: Setting linknames here is a bad hack.
18922
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18923
 
      # The linker will automatically build a .lib file if we build a DLL.
18924
 
      old_archive_From_new_cmds_GCJ='true'
18925
 
      # FIXME: Should let the user specify the lib program.
18926
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18927
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18928
 
      enable_shared_with_static_runtimes_GCJ=yes
18929
 
      ;;
18930
 
 
18931
 
    darwin* | rhapsody*)
18932
 
      case $host_os in
18933
 
        rhapsody* | darwin1.[012])
18934
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
18935
 
         ;;
18936
 
       *) # Darwin 1.3 on
18937
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18938
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18939
 
         else
18940
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
18941
 
             10.[012])
18942
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18943
 
               ;;
18944
 
             10.*)
18945
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
18946
 
               ;;
18947
 
           esac
18948
 
         fi
18949
 
         ;;
18950
 
      esac
18951
 
      archive_cmds_need_lc_GCJ=no
18952
 
      hardcode_direct_GCJ=no
18953
 
      hardcode_automatic_GCJ=yes
18954
 
      hardcode_shlibpath_var_GCJ=unsupported
18955
 
      whole_archive_flag_spec_GCJ=''
18956
 
      link_all_deplibs_GCJ=yes
18957
 
    if test "$GCC" = yes ; then
18958
 
        output_verbose_link_cmd='echo'
18959
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18960
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18961
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18962
 
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18963
 
      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}'
18964
 
    else
18965
 
      case $cc_basename in
18966
 
        xlc*)
18967
 
         output_verbose_link_cmd='echo'
18968
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18969
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18970
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18971
 
         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}'
18972
 
          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}'
18973
 
          ;;
18974
 
       *)
18975
 
         ld_shlibs_GCJ=no
18976
 
          ;;
18977
 
      esac
18978
 
    fi
18979
 
      ;;
18980
 
 
18981
 
    dgux*)
18982
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18983
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18984
 
      hardcode_shlibpath_var_GCJ=no
18985
 
      ;;
18986
 
 
18987
 
    freebsd1*)
18988
 
      ld_shlibs_GCJ=no
18989
 
      ;;
18990
 
 
18991
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18992
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
18993
 
    # does not break anything, and helps significantly (at the cost of a little
18994
 
    # extra space).
18995
 
    freebsd2.2*)
18996
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18997
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18998
 
      hardcode_direct_GCJ=yes
18999
 
      hardcode_shlibpath_var_GCJ=no
19000
 
      ;;
19001
 
 
19002
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19003
 
    freebsd2*)
19004
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19005
 
      hardcode_direct_GCJ=yes
19006
 
      hardcode_minus_L_GCJ=yes
19007
 
      hardcode_shlibpath_var_GCJ=no
19008
 
      ;;
19009
 
 
19010
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19011
 
    freebsd* | dragonfly*)
19012
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19013
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19014
 
      hardcode_direct_GCJ=yes
19015
 
      hardcode_shlibpath_var_GCJ=no
19016
 
      ;;
19017
 
 
19018
 
    hpux9*)
19019
 
      if test "$GCC" = yes; then
19020
 
        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'
19021
 
      else
19022
 
        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'
19023
 
      fi
19024
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19025
 
      hardcode_libdir_separator_GCJ=:
19026
 
      hardcode_direct_GCJ=yes
19027
 
 
19028
 
      # hardcode_minus_L: Not really in the search PATH,
19029
 
      # but as the default location of the library.
19030
 
      hardcode_minus_L_GCJ=yes
19031
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
19032
 
      ;;
19033
 
 
19034
 
    hpux10*)
19035
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19036
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19037
 
      else
19038
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19039
 
      fi
19040
 
      if test "$with_gnu_ld" = no; then
19041
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19042
 
        hardcode_libdir_separator_GCJ=:
19043
 
 
19044
 
        hardcode_direct_GCJ=yes
19045
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
19046
 
 
19047
 
        # hardcode_minus_L: Not really in the search PATH,
19048
 
        # but as the default location of the library.
19049
 
        hardcode_minus_L_GCJ=yes
19050
 
      fi
19051
 
      ;;
19052
 
 
19053
 
    hpux11*)
19054
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19055
 
        case $host_cpu in
19056
 
        hppa*64*)
19057
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19058
 
          ;;
19059
 
        ia64*)
19060
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19061
 
          ;;
19062
 
        *)
19063
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19064
 
          ;;
19065
 
        esac
19066
 
      else
19067
 
        case $host_cpu in
19068
 
        hppa*64*)
19069
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19070
 
          ;;
19071
 
        ia64*)
19072
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19073
 
          ;;
19074
 
        *)
19075
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19076
 
          ;;
19077
 
        esac
19078
 
      fi
19079
 
      if test "$with_gnu_ld" = no; then
19080
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19081
 
        hardcode_libdir_separator_GCJ=:
19082
 
 
19083
 
        case $host_cpu in
19084
 
        hppa*64*|ia64*)
19085
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
19086
 
          hardcode_direct_GCJ=no
19087
 
          hardcode_shlibpath_var_GCJ=no
19088
 
          ;;
19089
 
        *)
19090
 
          hardcode_direct_GCJ=yes
19091
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
19092
 
 
19093
 
          # hardcode_minus_L: Not really in the search PATH,
19094
 
          # but as the default location of the library.
19095
 
          hardcode_minus_L_GCJ=yes
19096
 
          ;;
19097
 
        esac
19098
 
      fi
19099
 
      ;;
19100
 
 
19101
 
    irix5* | irix6* | nonstopux*)
19102
 
      if test "$GCC" = yes; then
19103
 
        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'
19104
 
      else
19105
 
        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'
19106
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
19107
 
      fi
19108
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19109
 
      hardcode_libdir_separator_GCJ=:
19110
 
      link_all_deplibs_GCJ=yes
19111
 
      ;;
19112
 
 
19113
 
    netbsd*)
19114
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19115
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
19116
 
      else
19117
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
19118
 
      fi
19119
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19120
 
      hardcode_direct_GCJ=yes
19121
 
      hardcode_shlibpath_var_GCJ=no
19122
 
      ;;
19123
 
 
19124
 
    newsos6)
19125
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19126
 
      hardcode_direct_GCJ=yes
19127
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19128
 
      hardcode_libdir_separator_GCJ=:
19129
 
      hardcode_shlibpath_var_GCJ=no
19130
 
      ;;
19131
 
 
19132
 
    openbsd*)
19133
 
      if test -f /usr/libexec/ld.so; then
19134
 
        hardcode_direct_GCJ=yes
19135
 
        hardcode_shlibpath_var_GCJ=no
19136
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19137
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19138
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19139
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19140
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
19141
 
        else
19142
 
          case $host_os in
19143
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19144
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19145
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
19146
 
             ;;
19147
 
           *)
19148
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19149
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19150
 
             ;;
19151
 
          esac
19152
 
        fi
19153
 
      else
19154
 
        ld_shlibs_GCJ=no
19155
 
      fi
19156
 
      ;;
19157
 
 
19158
 
    os2*)
19159
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19160
 
      hardcode_minus_L_GCJ=yes
19161
 
      allow_undefined_flag_GCJ=unsupported
19162
 
      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'
19163
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19164
 
      ;;
19165
 
 
19166
 
    osf3*)
19167
 
      if test "$GCC" = yes; then
19168
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19169
 
        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'
19170
 
      else
19171
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
19172
 
        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'
19173
 
      fi
19174
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19175
 
      hardcode_libdir_separator_GCJ=:
19176
 
      ;;
19177
 
 
19178
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
19179
 
      if test "$GCC" = yes; then
19180
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19181
 
        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'
19182
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19183
 
      else
19184
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
19185
 
        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'
19186
 
        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~
19187
 
        $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'
19188
 
 
19189
 
        # Both c and cxx compiler support -rpath directly
19190
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
19191
 
      fi
19192
 
      hardcode_libdir_separator_GCJ=:
19193
 
      ;;
19194
 
 
19195
 
    solaris*)
19196
 
      no_undefined_flag_GCJ=' -z text'
19197
 
      if test "$GCC" = yes; then
19198
 
        wlarc='${wl}'
19199
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19200
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19201
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19202
 
      else
19203
 
        wlarc=''
19204
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19205
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19206
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19207
 
      fi
19208
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19209
 
      hardcode_shlibpath_var_GCJ=no
19210
 
      case $host_os in
19211
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
19212
 
      *)
19213
 
        # The compiler driver will combine and reorder linker options,
19214
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
19215
 
        # but is careful enough not to reorder.
19216
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
19217
 
        if test "$GCC" = yes; then
19218
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19219
 
        else
19220
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
19221
 
        fi
19222
 
        ;;
19223
 
      esac
19224
 
      link_all_deplibs_GCJ=yes
19225
 
      ;;
19226
 
 
19227
 
    sunos4*)
19228
 
      if test "x$host_vendor" = xsequent; then
19229
 
        # Use $CC to link under sequent, because it throws in some extra .o
19230
 
        # files that make .init and .fini sections work.
19231
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19232
 
      else
19233
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19234
 
      fi
19235
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19236
 
      hardcode_direct_GCJ=yes
19237
 
      hardcode_minus_L_GCJ=yes
19238
 
      hardcode_shlibpath_var_GCJ=no
19239
 
      ;;
19240
 
 
19241
 
    sysv4)
19242
 
      case $host_vendor in
19243
 
        sni)
19244
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19245
 
          hardcode_direct_GCJ=yes # is this really true???
19246
 
        ;;
19247
 
        siemens)
19248
 
          ## LD is ld it makes a PLAMLIB
19249
 
          ## CC just makes a GrossModule.
19250
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19251
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
19252
 
          hardcode_direct_GCJ=no
19253
 
        ;;
19254
 
        motorola)
19255
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19256
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
19257
 
        ;;
19258
 
      esac
19259
 
      runpath_var='LD_RUN_PATH'
19260
 
      hardcode_shlibpath_var_GCJ=no
19261
 
      ;;
19262
 
 
19263
 
    sysv4.3*)
19264
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19265
 
      hardcode_shlibpath_var_GCJ=no
19266
 
      export_dynamic_flag_spec_GCJ='-Bexport'
19267
 
      ;;
19268
 
 
19269
 
    sysv4*MP*)
19270
 
      if test -d /usr/nec; then
19271
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19272
 
        hardcode_shlibpath_var_GCJ=no
19273
 
        runpath_var=LD_RUN_PATH
19274
 
        hardcode_runpath_var=yes
19275
 
        ld_shlibs_GCJ=yes
19276
 
      fi
19277
 
      ;;
19278
 
 
19279
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19280
 
      no_undefined_flag_GCJ='${wl}-z,text'
19281
 
      archive_cmds_need_lc_GCJ=no
19282
 
      hardcode_shlibpath_var_GCJ=no
19283
 
      runpath_var='LD_RUN_PATH'
19284
 
 
19285
 
      if test "$GCC" = yes; then
19286
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19287
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19288
 
      else
19289
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19290
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19291
 
      fi
19292
 
      ;;
19293
 
 
19294
 
    sysv5* | sco3.2v5* | sco5v6*)
19295
 
      # Note: We can NOT use -z defs as we might desire, because we do not
19296
 
      # link with -lc, and that would cause any symbols used from libc to
19297
 
      # always be unresolved, which means just about no library would
19298
 
      # ever link correctly.  If we're not using GNU ld we use -z text
19299
 
      # though, which does catch some bad symbols but isn't as heavy-handed
19300
 
      # as -z defs.
19301
 
      no_undefined_flag_GCJ='${wl}-z,text'
19302
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
19303
 
      archive_cmds_need_lc_GCJ=no
19304
 
      hardcode_shlibpath_var_GCJ=no
19305
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19306
 
      hardcode_libdir_separator_GCJ=':'
19307
 
      link_all_deplibs_GCJ=yes
19308
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
19309
 
      runpath_var='LD_RUN_PATH'
19310
 
 
19311
 
      if test "$GCC" = yes; then
19312
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19313
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19314
 
      else
19315
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19316
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19317
 
      fi
19318
 
      ;;
19319
 
 
19320
 
    uts4*)
19321
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19322
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19323
 
      hardcode_shlibpath_var_GCJ=no
19324
 
      ;;
19325
 
 
19326
 
    *)
19327
 
      ld_shlibs_GCJ=no
19328
 
      ;;
19329
 
    esac
19330
 
  fi
19331
 
 
19332
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19333
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19334
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
19335
 
 
19336
 
#
19337
 
# Do we need to explicitly link libc?
19338
 
#
19339
 
case "x$archive_cmds_need_lc_GCJ" in
19340
 
x|xyes)
19341
 
  # Assume -lc should be added
19342
 
  archive_cmds_need_lc_GCJ=yes
19343
 
 
19344
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
19345
 
    case $archive_cmds_GCJ in
19346
 
    *'~'*)
19347
 
      # FIXME: we may have to deal with multi-command sequences.
19348
 
      ;;
19349
 
    '$CC '*)
19350
 
      # Test whether the compiler implicitly links with -lc since on some
19351
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
19352
 
      # to ld, don't add -lc before -lgcc.
19353
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19354
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19355
 
      $rm conftest*
19356
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19357
 
 
19358
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19359
 
  (eval $ac_compile) 2>&5
19360
 
  ac_status=$?
19361
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362
 
  (exit $ac_status); } 2>conftest.err; then
19363
 
        soname=conftest
19364
 
        lib=conftest
19365
 
        libobjs=conftest.$ac_objext
19366
 
        deplibs=
19367
 
        wl=$lt_prog_compiler_wl_GCJ
19368
 
        pic_flag=$lt_prog_compiler_pic_GCJ
19369
 
        compiler_flags=-v
19370
 
        linker_flags=-v
19371
 
        verstring=
19372
 
        output_objdir=.
19373
 
        libname=conftest
19374
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
19375
 
        allow_undefined_flag_GCJ=
19376
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19377
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19378
 
  ac_status=$?
19379
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380
 
  (exit $ac_status); }
19381
 
        then
19382
 
          archive_cmds_need_lc_GCJ=no
19383
 
        else
19384
 
          archive_cmds_need_lc_GCJ=yes
19385
 
        fi
19386
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
19387
 
      else
19388
 
        cat conftest.err 1>&5
19389
 
      fi
19390
 
      $rm conftest*
19391
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19392
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19393
 
      ;;
19394
 
    esac
19395
 
  fi
19396
 
  ;;
19397
 
esac
19398
 
 
19399
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19400
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19401
 
library_names_spec=
19402
 
libname_spec='lib$name'
19403
 
soname_spec=
19404
 
shrext_cmds=".so"
19405
 
postinstall_cmds=
19406
 
postuninstall_cmds=
19407
 
finish_cmds=
19408
 
finish_eval=
19409
 
shlibpath_var=
19410
 
shlibpath_overrides_runpath=unknown
19411
 
version_type=none
19412
 
dynamic_linker="$host_os ld.so"
19413
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19414
 
 
19415
 
need_lib_prefix=unknown
19416
 
hardcode_into_libs=no
19417
 
 
19418
 
# when you set need_version to no, make sure it does not cause -set_version
19419
 
# flags to be left without arguments
19420
 
need_version=unknown
19421
 
 
19422
 
case $host_os in
19423
 
aix3*)
19424
 
  version_type=linux
19425
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19426
 
  shlibpath_var=LIBPATH
19427
 
 
19428
 
  # AIX 3 has no versioning support, so we append a major version to the name.
19429
 
  soname_spec='${libname}${release}${shared_ext}$major'
19430
 
  ;;
19431
 
 
19432
 
aix4* | aix5*)
19433
 
  version_type=linux
19434
 
  need_lib_prefix=no
19435
 
  need_version=no
19436
 
  hardcode_into_libs=yes
19437
 
  if test "$host_cpu" = ia64; then
19438
 
    # AIX 5 supports IA64
19439
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19440
 
    shlibpath_var=LD_LIBRARY_PATH
19441
 
  else
19442
 
    # With GCC up to 2.95.x, collect2 would create an import file
19443
 
    # for dependence libraries.  The import file would start with
19444
 
    # the line `#! .'.  This would cause the generated library to
19445
 
    # depend on `.', always an invalid library.  This was fixed in
19446
 
    # development snapshots of GCC prior to 3.0.
19447
 
    case $host_os in
19448
 
      aix4 | aix4.[01] | aix4.[01].*)
19449
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19450
 
           echo ' yes '
19451
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19452
 
        :
19453
 
      else
19454
 
        can_build_shared=no
19455
 
      fi
19456
 
      ;;
19457
 
    esac
19458
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19459
 
    # soname into executable. Probably we can add versioning support to
19460
 
    # collect2, so additional links can be useful in future.
19461
 
    if test "$aix_use_runtimelinking" = yes; then
19462
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19463
 
      # instead of lib<name>.a to let people know that these are not
19464
 
      # typical AIX shared libraries.
19465
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19466
 
    else
19467
 
      # We preserve .a as extension for shared libraries through AIX4.2
19468
 
      # and later when we are not doing run time linking.
19469
 
      library_names_spec='${libname}${release}.a $libname.a'
19470
 
      soname_spec='${libname}${release}${shared_ext}$major'
19471
 
    fi
19472
 
    shlibpath_var=LIBPATH
19473
 
  fi
19474
 
  ;;
19475
 
 
19476
 
amigaos*)
19477
 
  library_names_spec='$libname.ixlibrary $libname.a'
19478
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
19479
 
  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'
19480
 
  ;;
19481
 
 
19482
 
beos*)
19483
 
  library_names_spec='${libname}${shared_ext}'
19484
 
  dynamic_linker="$host_os ld.so"
19485
 
  shlibpath_var=LIBRARY_PATH
19486
 
  ;;
19487
 
 
19488
 
bsdi[45]*)
19489
 
  version_type=linux
19490
 
  need_version=no
19491
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19492
 
  soname_spec='${libname}${release}${shared_ext}$major'
19493
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19494
 
  shlibpath_var=LD_LIBRARY_PATH
19495
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19496
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19497
 
  # the default ld.so.conf also contains /usr/contrib/lib and
19498
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19499
 
  # libtool to hard-code these into programs
19500
 
  ;;
19501
 
 
19502
 
cygwin* | mingw* | pw32*)
19503
 
  version_type=windows
19504
 
  shrext_cmds=".dll"
19505
 
  need_version=no
19506
 
  need_lib_prefix=no
19507
 
 
19508
 
  case $GCC,$host_os in
19509
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
19510
 
    library_names_spec='$libname.dll.a'
19511
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
19512
 
    postinstall_cmds='base_file=`basename \${file}`~
19513
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19514
 
      dldir=$destdir/`dirname \$dlpath`~
19515
 
      test -d \$dldir || mkdir -p \$dldir~
19516
 
      $install_prog $dir/$dlname \$dldir/$dlname~
19517
 
      chmod a+x \$dldir/$dlname'
19518
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19519
 
      dlpath=$dir/\$dldll~
19520
 
       $rm \$dlpath'
19521
 
    shlibpath_overrides_runpath=yes
19522
 
 
19523
 
    case $host_os in
19524
 
    cygwin*)
19525
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19526
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19527
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19528
 
      ;;
19529
 
    mingw*)
19530
 
      # MinGW DLLs use traditional 'lib' prefix
19531
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19532
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19533
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19534
 
        # It is most probably a Windows format PATH printed by
19535
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
19536
 
        # path with ; separators, and with drive letters. We can handle the
19537
 
        # drive letters (cygwin fileutils understands them), so leave them,
19538
 
        # especially as we might pass files found there to a mingw objdump,
19539
 
        # which wouldn't understand a cygwinified path. Ahh.
19540
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19541
 
      else
19542
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19543
 
      fi
19544
 
      ;;
19545
 
    pw32*)
19546
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
19547
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19548
 
      ;;
19549
 
    esac
19550
 
    ;;
19551
 
 
19552
 
  *)
19553
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19554
 
    ;;
19555
 
  esac
19556
 
  dynamic_linker='Win32 ld.exe'
19557
 
  # FIXME: first we should search . and the directory the executable is in
19558
 
  shlibpath_var=PATH
19559
 
  ;;
19560
 
 
19561
 
darwin* | rhapsody*)
19562
 
  dynamic_linker="$host_os dyld"
19563
 
  version_type=darwin
19564
 
  need_lib_prefix=no
19565
 
  need_version=no
19566
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19567
 
  soname_spec='${libname}${release}${major}$shared_ext'
19568
 
  shlibpath_overrides_runpath=yes
19569
 
  shlibpath_var=DYLD_LIBRARY_PATH
19570
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19571
 
 
19572
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19573
 
  ;;
19574
 
 
19575
 
dgux*)
19576
 
  version_type=linux
19577
 
  need_lib_prefix=no
19578
 
  need_version=no
19579
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19580
 
  soname_spec='${libname}${release}${shared_ext}$major'
19581
 
  shlibpath_var=LD_LIBRARY_PATH
19582
 
  ;;
19583
 
 
19584
 
freebsd1*)
19585
 
  dynamic_linker=no
19586
 
  ;;
19587
 
 
19588
 
freebsd* | dragonfly*)
19589
 
  # DragonFly does not have aout.  When/if they implement a new
19590
 
  # versioning mechanism, adjust this.
19591
 
  if test -x /usr/bin/objformat; then
19592
 
    objformat=`/usr/bin/objformat`
19593
 
  else
19594
 
    case $host_os in
19595
 
    freebsd[123]*) objformat=aout ;;
19596
 
    *) objformat=elf ;;
19597
 
    esac
19598
 
  fi
19599
 
  version_type=freebsd-$objformat
19600
 
  case $version_type in
19601
 
    freebsd-elf*)
19602
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19603
 
      need_version=no
19604
 
      need_lib_prefix=no
19605
 
      ;;
19606
 
    freebsd-*)
19607
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19608
 
      need_version=yes
19609
 
      ;;
19610
 
  esac
19611
 
  shlibpath_var=LD_LIBRARY_PATH
19612
 
  case $host_os in
19613
 
  freebsd2*)
19614
 
    shlibpath_overrides_runpath=yes
19615
 
    ;;
19616
 
  freebsd3.[01]* | freebsdelf3.[01]*)
19617
 
    shlibpath_overrides_runpath=yes
19618
 
    hardcode_into_libs=yes
19619
 
    ;;
19620
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19621
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19622
 
    shlibpath_overrides_runpath=no
19623
 
    hardcode_into_libs=yes
19624
 
    ;;
19625
 
  *) # from 4.6 on, and DragonFly
19626
 
    shlibpath_overrides_runpath=yes
19627
 
    hardcode_into_libs=yes
19628
 
    ;;
19629
 
  esac
19630
 
  ;;
19631
 
 
19632
 
gnu*)
19633
 
  version_type=linux
19634
 
  need_lib_prefix=no
19635
 
  need_version=no
19636
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19637
 
  soname_spec='${libname}${release}${shared_ext}$major'
19638
 
  shlibpath_var=LD_LIBRARY_PATH
19639
 
  hardcode_into_libs=yes
19640
 
  ;;
19641
 
 
19642
 
hpux9* | hpux10* | hpux11*)
19643
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
19644
 
  # link against other versions.
19645
 
  version_type=sunos
19646
 
  need_lib_prefix=no
19647
 
  need_version=no
19648
 
  case $host_cpu in
19649
 
  ia64*)
19650
 
    shrext_cmds='.so'
19651
 
    hardcode_into_libs=yes
19652
 
    dynamic_linker="$host_os dld.so"
19653
 
    shlibpath_var=LD_LIBRARY_PATH
19654
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19655
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19656
 
    soname_spec='${libname}${release}${shared_ext}$major'
19657
 
    if test "X$HPUX_IA64_MODE" = X32; then
19658
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19659
 
    else
19660
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19661
 
    fi
19662
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19663
 
    ;;
19664
 
   hppa*64*)
19665
 
     shrext_cmds='.sl'
19666
 
     hardcode_into_libs=yes
19667
 
     dynamic_linker="$host_os dld.sl"
19668
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19669
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19670
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19671
 
     soname_spec='${libname}${release}${shared_ext}$major'
19672
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19673
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19674
 
     ;;
19675
 
   *)
19676
 
    shrext_cmds='.sl'
19677
 
    dynamic_linker="$host_os dld.sl"
19678
 
    shlibpath_var=SHLIB_PATH
19679
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19680
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19681
 
    soname_spec='${libname}${release}${shared_ext}$major'
19682
 
    ;;
19683
 
  esac
19684
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
19685
 
  postinstall_cmds='chmod 555 $lib'
19686
 
  ;;
19687
 
 
19688
 
interix[3-9]*)
19689
 
  version_type=linux
19690
 
  need_lib_prefix=no
19691
 
  need_version=no
19692
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19693
 
  soname_spec='${libname}${release}${shared_ext}$major'
19694
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19695
 
  shlibpath_var=LD_LIBRARY_PATH
19696
 
  shlibpath_overrides_runpath=no
19697
 
  hardcode_into_libs=yes
19698
 
  ;;
19699
 
 
19700
 
irix5* | irix6* | nonstopux*)
19701
 
  case $host_os in
19702
 
    nonstopux*) version_type=nonstopux ;;
19703
 
    *)
19704
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
19705
 
                version_type=linux
19706
 
        else
19707
 
                version_type=irix
19708
 
        fi ;;
19709
 
  esac
19710
 
  need_lib_prefix=no
19711
 
  need_version=no
19712
 
  soname_spec='${libname}${release}${shared_ext}$major'
19713
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19714
 
  case $host_os in
19715
 
  irix5* | nonstopux*)
19716
 
    libsuff= shlibsuff=
19717
 
    ;;
19718
 
  *)
19719
 
    case $LD in # libtool.m4 will add one of these switches to LD
19720
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19721
 
      libsuff= shlibsuff= libmagic=32-bit;;
19722
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19723
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
19724
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19725
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
19726
 
    *) libsuff= shlibsuff= libmagic=never-match;;
19727
 
    esac
19728
 
    ;;
19729
 
  esac
19730
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19731
 
  shlibpath_overrides_runpath=no
19732
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19733
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19734
 
  hardcode_into_libs=yes
19735
 
  ;;
19736
 
 
19737
 
# No shared lib support for Linux oldld, aout, or coff.
19738
 
linux*oldld* | linux*aout* | linux*coff*)
19739
 
  dynamic_linker=no
19740
 
  ;;
19741
 
 
19742
 
# This must be Linux ELF.
19743
 
linux* | k*bsd*-gnu)
19744
 
  version_type=linux
19745
 
  need_lib_prefix=no
19746
 
  need_version=no
19747
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19748
 
  soname_spec='${libname}${release}${shared_ext}$major'
19749
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19750
 
  shlibpath_var=LD_LIBRARY_PATH
19751
 
  shlibpath_overrides_runpath=no
19752
 
  # This implies no fast_install, which is unacceptable.
19753
 
  # Some rework will be needed to allow for fast_install
19754
 
  # before this can be enabled.
19755
 
  hardcode_into_libs=yes
19756
 
 
19757
 
  # Append ld.so.conf contents to the search path
19758
 
  if test -f /etc/ld.so.conf; then
19759
 
    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' ' '`
19760
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19761
 
  fi
19762
 
 
19763
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
19764
 
  # powerpc, because MkLinux only supported shared libraries with the
19765
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
19766
 
  # most powerpc-linux boxes support dynamic linking these days and
19767
 
  # people can always --disable-shared, the test was removed, and we
19768
 
  # assume the GNU/Linux dynamic linker is in use.
19769
 
  dynamic_linker='GNU/Linux ld.so'
19770
 
  ;;
19771
 
 
19772
 
netbsd*)
19773
 
  version_type=sunos
19774
 
  need_lib_prefix=no
19775
 
  need_version=no
19776
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19777
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19778
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19779
 
    dynamic_linker='NetBSD (a.out) ld.so'
19780
 
  else
19781
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19782
 
    soname_spec='${libname}${release}${shared_ext}$major'
19783
 
    dynamic_linker='NetBSD ld.elf_so'
19784
 
  fi
19785
 
  shlibpath_var=LD_LIBRARY_PATH
19786
 
  shlibpath_overrides_runpath=yes
19787
 
  hardcode_into_libs=yes
19788
 
  ;;
19789
 
 
19790
 
newsos6)
19791
 
  version_type=linux
19792
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19793
 
  shlibpath_var=LD_LIBRARY_PATH
19794
 
  shlibpath_overrides_runpath=yes
19795
 
  ;;
19796
 
 
19797
 
nto-qnx*)
19798
 
  version_type=linux
19799
 
  need_lib_prefix=no
19800
 
  need_version=no
19801
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19802
 
  soname_spec='${libname}${release}${shared_ext}$major'
19803
 
  shlibpath_var=LD_LIBRARY_PATH
19804
 
  shlibpath_overrides_runpath=yes
19805
 
  ;;
19806
 
 
19807
 
openbsd*)
19808
 
  version_type=sunos
19809
 
  sys_lib_dlsearch_path_spec="/usr/lib"
19810
 
  need_lib_prefix=no
19811
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19812
 
  case $host_os in
19813
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19814
 
    *)                         need_version=no  ;;
19815
 
  esac
19816
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19817
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19818
 
  shlibpath_var=LD_LIBRARY_PATH
19819
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19820
 
    case $host_os in
19821
 
      openbsd2.[89] | openbsd2.[89].*)
19822
 
        shlibpath_overrides_runpath=no
19823
 
        ;;
19824
 
      *)
19825
 
        shlibpath_overrides_runpath=yes
19826
 
        ;;
19827
 
      esac
19828
 
  else
19829
 
    shlibpath_overrides_runpath=yes
19830
 
  fi
19831
 
  ;;
19832
 
 
19833
 
os2*)
19834
 
  libname_spec='$name'
19835
 
  shrext_cmds=".dll"
19836
 
  need_lib_prefix=no
19837
 
  library_names_spec='$libname${shared_ext} $libname.a'
19838
 
  dynamic_linker='OS/2 ld.exe'
19839
 
  shlibpath_var=LIBPATH
19840
 
  ;;
19841
 
 
19842
 
osf3* | osf4* | osf5*)
19843
 
  version_type=osf
19844
 
  need_lib_prefix=no
19845
 
  need_version=no
19846
 
  soname_spec='${libname}${release}${shared_ext}$major'
19847
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19848
 
  shlibpath_var=LD_LIBRARY_PATH
19849
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19850
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19851
 
  ;;
19852
 
 
19853
 
rdos*)
19854
 
  dynamic_linker=no
19855
 
  ;;
19856
 
 
19857
 
solaris*)
19858
 
  version_type=linux
19859
 
  need_lib_prefix=no
19860
 
  need_version=no
19861
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19862
 
  soname_spec='${libname}${release}${shared_ext}$major'
19863
 
  shlibpath_var=LD_LIBRARY_PATH
19864
 
  shlibpath_overrides_runpath=yes
19865
 
  hardcode_into_libs=yes
19866
 
  # ldd complains unless libraries are executable
19867
 
  postinstall_cmds='chmod +x $lib'
19868
 
  ;;
19869
 
 
19870
 
sunos4*)
19871
 
  version_type=sunos
19872
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19873
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19874
 
  shlibpath_var=LD_LIBRARY_PATH
19875
 
  shlibpath_overrides_runpath=yes
19876
 
  if test "$with_gnu_ld" = yes; then
19877
 
    need_lib_prefix=no
19878
 
  fi
19879
 
  need_version=yes
19880
 
  ;;
19881
 
 
19882
 
sysv4 | sysv4.3*)
19883
 
  version_type=linux
19884
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19885
 
  soname_spec='${libname}${release}${shared_ext}$major'
19886
 
  shlibpath_var=LD_LIBRARY_PATH
19887
 
  case $host_vendor in
19888
 
    sni)
19889
 
      shlibpath_overrides_runpath=no
19890
 
      need_lib_prefix=no
19891
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
19892
 
      runpath_var=LD_RUN_PATH
19893
 
      ;;
19894
 
    siemens)
19895
 
      need_lib_prefix=no
19896
 
      ;;
19897
 
    motorola)
19898
 
      need_lib_prefix=no
19899
 
      need_version=no
19900
 
      shlibpath_overrides_runpath=no
19901
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19902
 
      ;;
19903
 
  esac
19904
 
  ;;
19905
 
 
19906
 
sysv4*MP*)
19907
 
  if test -d /usr/nec ;then
19908
 
    version_type=linux
19909
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19910
 
    soname_spec='$libname${shared_ext}.$major'
19911
 
    shlibpath_var=LD_LIBRARY_PATH
19912
 
  fi
19913
 
  ;;
19914
 
 
19915
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19916
 
  version_type=freebsd-elf
19917
 
  need_lib_prefix=no
19918
 
  need_version=no
19919
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19920
 
  soname_spec='${libname}${release}${shared_ext}$major'
19921
 
  shlibpath_var=LD_LIBRARY_PATH
19922
 
  hardcode_into_libs=yes
19923
 
  if test "$with_gnu_ld" = yes; then
19924
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19925
 
    shlibpath_overrides_runpath=no
19926
 
  else
19927
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19928
 
    shlibpath_overrides_runpath=yes
19929
 
    case $host_os in
19930
 
      sco3.2v5*)
19931
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19932
 
        ;;
19933
 
    esac
19934
 
  fi
19935
 
  sys_lib_dlsearch_path_spec='/usr/lib'
19936
 
  ;;
19937
 
 
19938
 
uts4*)
19939
 
  version_type=linux
19940
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19941
 
  soname_spec='${libname}${release}${shared_ext}$major'
19942
 
  shlibpath_var=LD_LIBRARY_PATH
19943
 
  ;;
19944
 
 
19945
 
*)
19946
 
  dynamic_linker=no
19947
 
  ;;
19948
 
esac
19949
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19950
 
echo "${ECHO_T}$dynamic_linker" >&6; }
19951
 
test "$dynamic_linker" = no && can_build_shared=no
19952
 
 
19953
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19954
 
if test "$GCC" = yes; then
19955
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19956
 
fi
19957
 
 
19958
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19959
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19960
 
hardcode_action_GCJ=
19961
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19962
 
   test -n "$runpath_var_GCJ" || \
19963
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19964
 
 
19965
 
  # We can hardcode non-existant directories.
19966
 
  if test "$hardcode_direct_GCJ" != no &&
19967
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
19968
 
     # have to relink, otherwise we might link with an installed library
19969
 
     # when we should be linking with a yet-to-be-installed one
19970
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19971
 
     test "$hardcode_minus_L_GCJ" != no; then
19972
 
    # Linking always hardcodes the temporary library directory.
19973
 
    hardcode_action_GCJ=relink
19974
 
  else
19975
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
19976
 
    hardcode_action_GCJ=immediate
19977
 
  fi
19978
 
else
19979
 
  # We cannot hardcode anything, or else we can only hardcode existing
19980
 
  # directories.
19981
 
  hardcode_action_GCJ=unsupported
19982
 
fi
19983
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19984
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19985
 
 
19986
 
if test "$hardcode_action_GCJ" = relink; then
19987
 
  # Fast installation is not supported
19988
 
  enable_fast_install=no
19989
 
elif test "$shlibpath_overrides_runpath" = yes ||
19990
 
     test "$enable_shared" = no; then
19991
 
  # Fast installation is not necessary
19992
 
  enable_fast_install=needless
19993
 
fi
19994
 
 
19995
 
 
19996
 
# The else clause should only fire when bootstrapping the
19997
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19998
 
# with your package, and you will get complaints that there are
19999
 
# no rules to generate ltmain.sh.
20000
 
if test -f "$ltmain"; then
20001
 
  # See if we are running on zsh, and set the options which allow our commands through
20002
 
  # without removal of \ escapes.
20003
 
  if test -n "${ZSH_VERSION+set}" ; then
20004
 
    setopt NO_GLOB_SUBST
20005
 
  fi
20006
 
  # Now quote all the things that may contain metacharacters while being
20007
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
20008
 
  # variables and quote the copies for generation of the libtool script.
20009
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20010
 
    SED SHELL STRIP \
20011
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20012
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20013
 
    deplibs_check_method reload_flag reload_cmds need_locks \
20014
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20015
 
    lt_cv_sys_global_symbol_to_c_name_address \
20016
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20017
 
    old_postinstall_cmds old_postuninstall_cmds \
20018
 
    compiler_GCJ \
20019
 
    CC_GCJ \
20020
 
    LD_GCJ \
20021
 
    lt_prog_compiler_wl_GCJ \
20022
 
    lt_prog_compiler_pic_GCJ \
20023
 
    lt_prog_compiler_static_GCJ \
20024
 
    lt_prog_compiler_no_builtin_flag_GCJ \
20025
 
    export_dynamic_flag_spec_GCJ \
20026
 
    thread_safe_flag_spec_GCJ \
20027
 
    whole_archive_flag_spec_GCJ \
20028
 
    enable_shared_with_static_runtimes_GCJ \
20029
 
    old_archive_cmds_GCJ \
20030
 
    old_archive_from_new_cmds_GCJ \
20031
 
    predep_objects_GCJ \
20032
 
    postdep_objects_GCJ \
20033
 
    predeps_GCJ \
20034
 
    postdeps_GCJ \
20035
 
    compiler_lib_search_path_GCJ \
20036
 
    archive_cmds_GCJ \
20037
 
    archive_expsym_cmds_GCJ \
20038
 
    postinstall_cmds_GCJ \
20039
 
    postuninstall_cmds_GCJ \
20040
 
    old_archive_from_expsyms_cmds_GCJ \
20041
 
    allow_undefined_flag_GCJ \
20042
 
    no_undefined_flag_GCJ \
20043
 
    export_symbols_cmds_GCJ \
20044
 
    hardcode_libdir_flag_spec_GCJ \
20045
 
    hardcode_libdir_flag_spec_ld_GCJ \
20046
 
    hardcode_libdir_separator_GCJ \
20047
 
    hardcode_automatic_GCJ \
20048
 
    module_cmds_GCJ \
20049
 
    module_expsym_cmds_GCJ \
20050
 
    lt_cv_prog_compiler_c_o_GCJ \
20051
 
    fix_srcfile_path_GCJ \
20052
 
    exclude_expsyms_GCJ \
20053
 
    include_expsyms_GCJ; do
20054
 
 
20055
 
    case $var in
20056
 
    old_archive_cmds_GCJ | \
20057
 
    old_archive_from_new_cmds_GCJ | \
20058
 
    archive_cmds_GCJ | \
20059
 
    archive_expsym_cmds_GCJ | \
20060
 
    module_cmds_GCJ | \
20061
 
    module_expsym_cmds_GCJ | \
20062
 
    old_archive_from_expsyms_cmds_GCJ | \
20063
 
    export_symbols_cmds_GCJ | \
20064
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
20065
 
    postinstall_cmds | postuninstall_cmds | \
20066
 
    old_postinstall_cmds | old_postuninstall_cmds | \
20067
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20068
 
      # Double-quote double-evaled strings.
20069
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20070
 
      ;;
20071
 
    *)
20072
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20073
 
      ;;
20074
 
    esac
20075
 
  done
20076
 
 
20077
 
  case $lt_echo in
20078
 
  *'\$0 --fallback-echo"')
20079
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20080
 
    ;;
20081
 
  esac
20082
 
 
20083
 
cfgfile="$ofile"
20084
 
 
20085
 
  cat <<__EOF__ >> "$cfgfile"
20086
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20087
 
 
20088
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20089
 
 
20090
 
# Shell to use when invoking shell scripts.
20091
 
SHELL=$lt_SHELL
20092
 
 
20093
 
# Whether or not to build shared libraries.
20094
 
build_libtool_libs=$enable_shared
20095
 
 
20096
 
# Whether or not to build static libraries.
20097
 
build_old_libs=$enable_static
20098
 
 
20099
 
# Whether or not to add -lc for building shared libraries.
20100
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20101
 
 
20102
 
# Whether or not to disallow shared libs when runtime libs are static
20103
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20104
 
 
20105
 
# Whether or not to optimize for fast installation.
20106
 
fast_install=$enable_fast_install
20107
 
 
20108
 
# The host system.
20109
 
host_alias=$host_alias
20110
 
host=$host
20111
 
host_os=$host_os
20112
 
 
20113
 
# The build system.
20114
 
build_alias=$build_alias
20115
 
build=$build
20116
 
build_os=$build_os
20117
 
 
20118
 
# An echo program that does not interpret backslashes.
20119
 
echo=$lt_echo
20120
 
 
20121
 
# The archiver.
20122
 
AR=$lt_AR
20123
 
AR_FLAGS=$lt_AR_FLAGS
20124
 
 
20125
 
# A C compiler.
20126
 
LTCC=$lt_LTCC
20127
 
 
20128
 
# LTCC compiler flags.
20129
 
LTCFLAGS=$lt_LTCFLAGS
20130
 
 
20131
 
# A language-specific compiler.
20132
 
CC=$lt_compiler_GCJ
20133
 
 
20134
 
# Is the compiler the GNU C compiler?
20135
 
with_gcc=$GCC_GCJ
20136
 
 
20137
 
# An ERE matcher.
20138
 
EGREP=$lt_EGREP
20139
 
 
20140
 
# The linker used to build libraries.
20141
 
LD=$lt_LD_GCJ
20142
 
 
20143
 
# Whether we need hard or soft links.
20144
 
LN_S=$lt_LN_S
20145
 
 
20146
 
# A BSD-compatible nm program.
20147
 
NM=$lt_NM
20148
 
 
20149
 
# A symbol stripping program
20150
 
STRIP=$lt_STRIP
20151
 
 
20152
 
# Used to examine libraries when file_magic_cmd begins "file"
20153
 
MAGIC_CMD=$MAGIC_CMD
20154
 
 
20155
 
# Used on cygwin: DLL creation program.
20156
 
DLLTOOL="$DLLTOOL"
20157
 
 
20158
 
# Used on cygwin: object dumper.
20159
 
OBJDUMP="$OBJDUMP"
20160
 
 
20161
 
# Used on cygwin: assembler.
20162
 
AS="$AS"
20163
 
 
20164
 
# The name of the directory that contains temporary libtool files.
20165
 
objdir=$objdir
20166
 
 
20167
 
# How to create reloadable object files.
20168
 
reload_flag=$lt_reload_flag
20169
 
reload_cmds=$lt_reload_cmds
20170
 
 
20171
 
# How to pass a linker flag through the compiler.
20172
 
wl=$lt_lt_prog_compiler_wl_GCJ
20173
 
 
20174
 
# Object file suffix (normally "o").
20175
 
objext="$ac_objext"
20176
 
 
20177
 
# Old archive suffix (normally "a").
20178
 
libext="$libext"
20179
 
 
20180
 
# Shared library suffix (normally ".so").
20181
 
shrext_cmds='$shrext_cmds'
20182
 
 
20183
 
# Executable file suffix (normally "").
20184
 
exeext="$exeext"
20185
 
 
20186
 
# Additional compiler flags for building library objects.
20187
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
20188
 
pic_mode=$pic_mode
20189
 
 
20190
 
# What is the maximum length of a command?
20191
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20192
 
 
20193
 
# Does compiler simultaneously support -c and -o options?
20194
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20195
 
 
20196
 
# Must we lock files when doing compilation?
20197
 
need_locks=$lt_need_locks
20198
 
 
20199
 
# Do we need the lib prefix for modules?
20200
 
need_lib_prefix=$need_lib_prefix
20201
 
 
20202
 
# Do we need a version for libraries?
20203
 
need_version=$need_version
20204
 
 
20205
 
# Whether dlopen is supported.
20206
 
dlopen_support=$enable_dlopen
20207
 
 
20208
 
# Whether dlopen of programs is supported.
20209
 
dlopen_self=$enable_dlopen_self
20210
 
 
20211
 
# Whether dlopen of statically linked programs is supported.
20212
 
dlopen_self_static=$enable_dlopen_self_static
20213
 
 
20214
 
# Compiler flag to prevent dynamic linking.
20215
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
20216
 
 
20217
 
# Compiler flag to turn off builtin functions.
20218
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20219
 
 
20220
 
# Compiler flag to allow reflexive dlopens.
20221
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20222
 
 
20223
 
# Compiler flag to generate shared objects directly from archives.
20224
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20225
 
 
20226
 
# Compiler flag to generate thread-safe objects.
20227
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20228
 
 
20229
 
# Library versioning type.
20230
 
version_type=$version_type
20231
 
 
20232
 
# Format of library name prefix.
20233
 
libname_spec=$lt_libname_spec
20234
 
 
20235
 
# List of archive names.  First name is the real one, the rest are links.
20236
 
# The last name is the one that the linker finds with -lNAME.
20237
 
library_names_spec=$lt_library_names_spec
20238
 
 
20239
 
# The coded name of the library, if different from the real name.
20240
 
soname_spec=$lt_soname_spec
20241
 
 
20242
 
# Commands used to build and install an old-style archive.
20243
 
RANLIB=$lt_RANLIB
20244
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
20245
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20246
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20247
 
 
20248
 
# Create an old-style archive from a shared archive.
20249
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20250
 
 
20251
 
# Create a temporary old-style archive to link instead of a shared archive.
20252
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20253
 
 
20254
 
# Commands used to build and install a shared archive.
20255
 
archive_cmds=$lt_archive_cmds_GCJ
20256
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20257
 
postinstall_cmds=$lt_postinstall_cmds
20258
 
postuninstall_cmds=$lt_postuninstall_cmds
20259
 
 
20260
 
# Commands used to build a loadable module (assumed same as above if empty)
20261
 
module_cmds=$lt_module_cmds_GCJ
20262
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20263
 
 
20264
 
# Commands to strip libraries.
20265
 
old_striplib=$lt_old_striplib
20266
 
striplib=$lt_striplib
20267
 
 
20268
 
# Dependencies to place before the objects being linked to create a
20269
 
# shared library.
20270
 
predep_objects=$lt_predep_objects_GCJ
20271
 
 
20272
 
# Dependencies to place after the objects being linked to create a
20273
 
# shared library.
20274
 
postdep_objects=$lt_postdep_objects_GCJ
20275
 
 
20276
 
# Dependencies to place before the objects being linked to create a
20277
 
# shared library.
20278
 
predeps=$lt_predeps_GCJ
20279
 
 
20280
 
# Dependencies to place after the objects being linked to create a
20281
 
# shared library.
20282
 
postdeps=$lt_postdeps_GCJ
20283
 
 
20284
 
# The library search path used internally by the compiler when linking
20285
 
# a shared library.
20286
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20287
 
 
20288
 
# Method to check whether dependent libraries are shared objects.
20289
 
deplibs_check_method=$lt_deplibs_check_method
20290
 
 
20291
 
# Command to use when deplibs_check_method == file_magic.
20292
 
file_magic_cmd=$lt_file_magic_cmd
20293
 
 
20294
 
# Flag that allows shared libraries with undefined symbols to be built.
20295
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20296
 
 
20297
 
# Flag that forces no undefined symbols.
20298
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
20299
 
 
20300
 
# Commands used to finish a libtool library installation in a directory.
20301
 
finish_cmds=$lt_finish_cmds
20302
 
 
20303
 
# Same as above, but a single script fragment to be evaled but not shown.
20304
 
finish_eval=$lt_finish_eval
20305
 
 
20306
 
# Take the output of nm and produce a listing of raw symbols and C names.
20307
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20308
 
 
20309
 
# Transform the output of nm in a proper C declaration
20310
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20311
 
 
20312
 
# Transform the output of nm in a C name address pair
20313
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20314
 
 
20315
 
# This is the shared library runtime path variable.
20316
 
runpath_var=$runpath_var
20317
 
 
20318
 
# This is the shared library path variable.
20319
 
shlibpath_var=$shlibpath_var
20320
 
 
20321
 
# Is shlibpath searched before the hard-coded library search path?
20322
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20323
 
 
20324
 
# How to hardcode a shared library path into an executable.
20325
 
hardcode_action=$hardcode_action_GCJ
20326
 
 
20327
 
# Whether we should hardcode library paths into libraries.
20328
 
hardcode_into_libs=$hardcode_into_libs
20329
 
 
20330
 
# Flag to hardcode \$libdir into a binary during linking.
20331
 
# This must work even if \$libdir does not exist.
20332
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20333
 
 
20334
 
# If ld is used when linking, flag to hardcode \$libdir into
20335
 
# a binary during linking. This must work even if \$libdir does
20336
 
# not exist.
20337
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20338
 
 
20339
 
# Whether we need a single -rpath flag with a separated argument.
20340
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20341
 
 
20342
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20343
 
# resulting binary.
20344
 
hardcode_direct=$hardcode_direct_GCJ
20345
 
 
20346
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20347
 
# resulting binary.
20348
 
hardcode_minus_L=$hardcode_minus_L_GCJ
20349
 
 
20350
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20351
 
# the resulting binary.
20352
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20353
 
 
20354
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20355
 
# and all subsequent libraries and executables linked against it.
20356
 
hardcode_automatic=$hardcode_automatic_GCJ
20357
 
 
20358
 
# Variables whose values should be saved in libtool wrapper scripts and
20359
 
# restored at relink time.
20360
 
variables_saved_for_relink="$variables_saved_for_relink"
20361
 
 
20362
 
# Whether libtool must link a program against all its dependency libraries.
20363
 
link_all_deplibs=$link_all_deplibs_GCJ
20364
 
 
20365
 
# Compile-time system search path for libraries
20366
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20367
 
 
20368
 
# Run-time system search path for libraries
20369
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20370
 
 
20371
 
# Fix the shell variable \$srcfile for the compiler.
20372
 
fix_srcfile_path=$lt_fix_srcfile_path
20373
 
 
20374
 
# Set to yes if exported symbols are required.
20375
 
always_export_symbols=$always_export_symbols_GCJ
20376
 
 
20377
 
# The commands to list exported symbols.
20378
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20379
 
 
20380
 
# The commands to extract the exported symbol list from a shared archive.
20381
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20382
 
 
20383
 
# Symbols that should not be listed in the preloaded symbols.
20384
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
20385
 
 
20386
 
# Symbols that must always be exported.
20387
 
include_expsyms=$lt_include_expsyms_GCJ
20388
 
 
20389
 
# ### END LIBTOOL TAG CONFIG: $tagname
20390
 
 
20391
 
__EOF__
20392
 
 
20393
 
 
20394
 
else
20395
 
  # If there is no Makefile yet, we rely on a make rule to execute
20396
 
  # `config.status --recheck' to rerun these tests and create the
20397
 
  # libtool script then.
20398
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20399
 
  if test -f "$ltmain_in"; then
20400
 
    test -f Makefile && make "$ltmain"
20401
 
  fi
20402
 
fi
20403
 
 
20404
 
 
20405
 
ac_ext=c
20406
 
ac_cpp='$CPP $CPPFLAGS'
20407
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20408
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20409
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20410
 
 
20411
 
CC="$lt_save_CC"
20412
 
 
20413
 
        else
20414
 
          tagname=""
20415
 
        fi
20416
 
        ;;
20417
 
 
20418
 
      RC)
20419
 
 
20420
 
 
20421
 
# Source file extension for RC test sources.
20422
 
ac_ext=rc
20423
 
 
20424
 
# Object file extension for compiled RC test sources.
20425
 
objext=o
20426
 
objext_RC=$objext
20427
 
 
20428
 
# Code to be used in simple compile tests
20429
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20430
 
 
20431
 
# Code to be used in simple link tests
20432
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
20433
 
 
20434
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
20435
 
 
20436
 
# If no C compiler was specified, use CC.
20437
 
LTCC=${LTCC-"$CC"}
20438
 
 
20439
 
# If no C compiler flags were specified, use CFLAGS.
20440
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20441
 
 
20442
 
# Allow CC to be a program name with arguments.
20443
 
compiler=$CC
20444
 
 
20445
 
 
20446
 
# save warnings/boilerplate of simple test code
20447
 
ac_outfile=conftest.$ac_objext
20448
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20449
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20450
 
_lt_compiler_boilerplate=`cat conftest.err`
20451
 
$rm conftest*
20452
 
 
20453
 
ac_outfile=conftest.$ac_objext
20454
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20455
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20456
 
_lt_linker_boilerplate=`cat conftest.err`
20457
 
$rm conftest*
20458
 
 
20459
 
 
20460
 
# Allow CC to be a program name with arguments.
20461
 
lt_save_CC="$CC"
20462
 
CC=${RC-"windres"}
20463
 
compiler=$CC
20464
 
compiler_RC=$CC
20465
 
for cc_temp in $compiler""; do
20466
 
  case $cc_temp in
20467
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20468
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20469
 
    \-*) ;;
20470
 
    *) break;;
20471
 
  esac
20472
 
done
20473
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20474
 
 
20475
 
lt_cv_prog_compiler_c_o_RC=yes
20476
 
 
20477
 
# The else clause should only fire when bootstrapping the
20478
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
20479
 
# with your package, and you will get complaints that there are
20480
 
# no rules to generate ltmain.sh.
20481
 
if test -f "$ltmain"; then
20482
 
  # See if we are running on zsh, and set the options which allow our commands through
20483
 
  # without removal of \ escapes.
20484
 
  if test -n "${ZSH_VERSION+set}" ; then
20485
 
    setopt NO_GLOB_SUBST
20486
 
  fi
20487
 
  # Now quote all the things that may contain metacharacters while being
20488
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
20489
 
  # variables and quote the copies for generation of the libtool script.
20490
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20491
 
    SED SHELL STRIP \
20492
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20493
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20494
 
    deplibs_check_method reload_flag reload_cmds need_locks \
20495
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20496
 
    lt_cv_sys_global_symbol_to_c_name_address \
20497
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20498
 
    old_postinstall_cmds old_postuninstall_cmds \
20499
 
    compiler_RC \
20500
 
    CC_RC \
20501
 
    LD_RC \
20502
 
    lt_prog_compiler_wl_RC \
20503
 
    lt_prog_compiler_pic_RC \
20504
 
    lt_prog_compiler_static_RC \
20505
 
    lt_prog_compiler_no_builtin_flag_RC \
20506
 
    export_dynamic_flag_spec_RC \
20507
 
    thread_safe_flag_spec_RC \
20508
 
    whole_archive_flag_spec_RC \
20509
 
    enable_shared_with_static_runtimes_RC \
20510
 
    old_archive_cmds_RC \
20511
 
    old_archive_from_new_cmds_RC \
20512
 
    predep_objects_RC \
20513
 
    postdep_objects_RC \
20514
 
    predeps_RC \
20515
 
    postdeps_RC \
20516
 
    compiler_lib_search_path_RC \
20517
 
    archive_cmds_RC \
20518
 
    archive_expsym_cmds_RC \
20519
 
    postinstall_cmds_RC \
20520
 
    postuninstall_cmds_RC \
20521
 
    old_archive_from_expsyms_cmds_RC \
20522
 
    allow_undefined_flag_RC \
20523
 
    no_undefined_flag_RC \
20524
 
    export_symbols_cmds_RC \
20525
 
    hardcode_libdir_flag_spec_RC \
20526
 
    hardcode_libdir_flag_spec_ld_RC \
20527
 
    hardcode_libdir_separator_RC \
20528
 
    hardcode_automatic_RC \
20529
 
    module_cmds_RC \
20530
 
    module_expsym_cmds_RC \
20531
 
    lt_cv_prog_compiler_c_o_RC \
20532
 
    fix_srcfile_path_RC \
20533
 
    exclude_expsyms_RC \
20534
 
    include_expsyms_RC; do
20535
 
 
20536
 
    case $var in
20537
 
    old_archive_cmds_RC | \
20538
 
    old_archive_from_new_cmds_RC | \
20539
 
    archive_cmds_RC | \
20540
 
    archive_expsym_cmds_RC | \
20541
 
    module_cmds_RC | \
20542
 
    module_expsym_cmds_RC | \
20543
 
    old_archive_from_expsyms_cmds_RC | \
20544
 
    export_symbols_cmds_RC | \
20545
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
20546
 
    postinstall_cmds | postuninstall_cmds | \
20547
 
    old_postinstall_cmds | old_postuninstall_cmds | \
20548
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20549
 
      # Double-quote double-evaled strings.
20550
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20551
 
      ;;
20552
 
    *)
20553
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20554
 
      ;;
20555
 
    esac
20556
 
  done
20557
 
 
20558
 
  case $lt_echo in
20559
 
  *'\$0 --fallback-echo"')
20560
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20561
 
    ;;
20562
 
  esac
20563
 
 
20564
 
cfgfile="$ofile"
20565
 
 
20566
 
  cat <<__EOF__ >> "$cfgfile"
20567
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20568
 
 
20569
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20570
 
 
20571
 
# Shell to use when invoking shell scripts.
20572
 
SHELL=$lt_SHELL
20573
 
 
20574
 
# Whether or not to build shared libraries.
20575
 
build_libtool_libs=$enable_shared
20576
 
 
20577
 
# Whether or not to build static libraries.
20578
 
build_old_libs=$enable_static
20579
 
 
20580
 
# Whether or not to add -lc for building shared libraries.
20581
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
20582
 
 
20583
 
# Whether or not to disallow shared libs when runtime libs are static
20584
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20585
 
 
20586
 
# Whether or not to optimize for fast installation.
20587
 
fast_install=$enable_fast_install
20588
 
 
20589
 
# The host system.
20590
 
host_alias=$host_alias
20591
 
host=$host
20592
 
host_os=$host_os
20593
 
 
20594
 
# The build system.
20595
 
build_alias=$build_alias
20596
 
build=$build
20597
 
build_os=$build_os
20598
 
 
20599
 
# An echo program that does not interpret backslashes.
20600
 
echo=$lt_echo
20601
 
 
20602
 
# The archiver.
20603
 
AR=$lt_AR
20604
 
AR_FLAGS=$lt_AR_FLAGS
20605
 
 
20606
 
# A C compiler.
20607
 
LTCC=$lt_LTCC
20608
 
 
20609
 
# LTCC compiler flags.
20610
 
LTCFLAGS=$lt_LTCFLAGS
20611
 
 
20612
 
# A language-specific compiler.
20613
 
CC=$lt_compiler_RC
20614
 
 
20615
 
# Is the compiler the GNU C compiler?
20616
 
with_gcc=$GCC_RC
20617
 
 
20618
 
# An ERE matcher.
20619
 
EGREP=$lt_EGREP
20620
 
 
20621
 
# The linker used to build libraries.
20622
 
LD=$lt_LD_RC
20623
 
 
20624
 
# Whether we need hard or soft links.
20625
 
LN_S=$lt_LN_S
20626
 
 
20627
 
# A BSD-compatible nm program.
20628
 
NM=$lt_NM
20629
 
 
20630
 
# A symbol stripping program
20631
 
STRIP=$lt_STRIP
20632
 
 
20633
 
# Used to examine libraries when file_magic_cmd begins "file"
20634
 
MAGIC_CMD=$MAGIC_CMD
20635
 
 
20636
 
# Used on cygwin: DLL creation program.
20637
 
DLLTOOL="$DLLTOOL"
20638
 
 
20639
 
# Used on cygwin: object dumper.
20640
 
OBJDUMP="$OBJDUMP"
20641
 
 
20642
 
# Used on cygwin: assembler.
20643
 
AS="$AS"
20644
 
 
20645
 
# The name of the directory that contains temporary libtool files.
20646
 
objdir=$objdir
20647
 
 
20648
 
# How to create reloadable object files.
20649
 
reload_flag=$lt_reload_flag
20650
 
reload_cmds=$lt_reload_cmds
20651
 
 
20652
 
# How to pass a linker flag through the compiler.
20653
 
wl=$lt_lt_prog_compiler_wl_RC
20654
 
 
20655
 
# Object file suffix (normally "o").
20656
 
objext="$ac_objext"
20657
 
 
20658
 
# Old archive suffix (normally "a").
20659
 
libext="$libext"
20660
 
 
20661
 
# Shared library suffix (normally ".so").
20662
 
shrext_cmds='$shrext_cmds'
20663
 
 
20664
 
# Executable file suffix (normally "").
20665
 
exeext="$exeext"
20666
 
 
20667
 
# Additional compiler flags for building library objects.
20668
 
pic_flag=$lt_lt_prog_compiler_pic_RC
20669
 
pic_mode=$pic_mode
20670
 
 
20671
 
# What is the maximum length of a command?
20672
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20673
 
 
20674
 
# Does compiler simultaneously support -c and -o options?
20675
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20676
 
 
20677
 
# Must we lock files when doing compilation?
20678
 
need_locks=$lt_need_locks
20679
 
 
20680
 
# Do we need the lib prefix for modules?
20681
 
need_lib_prefix=$need_lib_prefix
20682
 
 
20683
 
# Do we need a version for libraries?
20684
 
need_version=$need_version
20685
 
 
20686
 
# Whether dlopen is supported.
20687
 
dlopen_support=$enable_dlopen
20688
 
 
20689
 
# Whether dlopen of programs is supported.
20690
 
dlopen_self=$enable_dlopen_self
20691
 
 
20692
 
# Whether dlopen of statically linked programs is supported.
20693
 
dlopen_self_static=$enable_dlopen_self_static
20694
 
 
20695
 
# Compiler flag to prevent dynamic linking.
20696
 
link_static_flag=$lt_lt_prog_compiler_static_RC
20697
 
 
20698
 
# Compiler flag to turn off builtin functions.
20699
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20700
 
 
20701
 
# Compiler flag to allow reflexive dlopens.
20702
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20703
 
 
20704
 
# Compiler flag to generate shared objects directly from archives.
20705
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20706
 
 
20707
 
# Compiler flag to generate thread-safe objects.
20708
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20709
 
 
20710
 
# Library versioning type.
20711
 
version_type=$version_type
20712
 
 
20713
 
# Format of library name prefix.
20714
 
libname_spec=$lt_libname_spec
20715
 
 
20716
 
# List of archive names.  First name is the real one, the rest are links.
20717
 
# The last name is the one that the linker finds with -lNAME.
20718
 
library_names_spec=$lt_library_names_spec
20719
 
 
20720
 
# The coded name of the library, if different from the real name.
20721
 
soname_spec=$lt_soname_spec
20722
 
 
20723
 
# Commands used to build and install an old-style archive.
20724
 
RANLIB=$lt_RANLIB
20725
 
old_archive_cmds=$lt_old_archive_cmds_RC
20726
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20727
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20728
 
 
20729
 
# Create an old-style archive from a shared archive.
20730
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20731
 
 
20732
 
# Create a temporary old-style archive to link instead of a shared archive.
20733
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20734
 
 
20735
 
# Commands used to build and install a shared archive.
20736
 
archive_cmds=$lt_archive_cmds_RC
20737
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20738
 
postinstall_cmds=$lt_postinstall_cmds
20739
 
postuninstall_cmds=$lt_postuninstall_cmds
20740
 
 
20741
 
# Commands used to build a loadable module (assumed same as above if empty)
20742
 
module_cmds=$lt_module_cmds_RC
20743
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
20744
 
 
20745
 
# Commands to strip libraries.
20746
 
old_striplib=$lt_old_striplib
20747
 
striplib=$lt_striplib
20748
 
 
20749
 
# Dependencies to place before the objects being linked to create a
20750
 
# shared library.
20751
 
predep_objects=$lt_predep_objects_RC
20752
 
 
20753
 
# Dependencies to place after the objects being linked to create a
20754
 
# shared library.
20755
 
postdep_objects=$lt_postdep_objects_RC
20756
 
 
20757
 
# Dependencies to place before the objects being linked to create a
20758
 
# shared library.
20759
 
predeps=$lt_predeps_RC
20760
 
 
20761
 
# Dependencies to place after the objects being linked to create a
20762
 
# shared library.
20763
 
postdeps=$lt_postdeps_RC
20764
 
 
20765
 
# The library search path used internally by the compiler when linking
20766
 
# a shared library.
20767
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20768
 
 
20769
 
# Method to check whether dependent libraries are shared objects.
20770
 
deplibs_check_method=$lt_deplibs_check_method
20771
 
 
20772
 
# Command to use when deplibs_check_method == file_magic.
20773
 
file_magic_cmd=$lt_file_magic_cmd
20774
 
 
20775
 
# Flag that allows shared libraries with undefined symbols to be built.
20776
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
20777
 
 
20778
 
# Flag that forces no undefined symbols.
20779
 
no_undefined_flag=$lt_no_undefined_flag_RC
20780
 
 
20781
 
# Commands used to finish a libtool library installation in a directory.
20782
 
finish_cmds=$lt_finish_cmds
20783
 
 
20784
 
# Same as above, but a single script fragment to be evaled but not shown.
20785
 
finish_eval=$lt_finish_eval
20786
 
 
20787
 
# Take the output of nm and produce a listing of raw symbols and C names.
20788
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20789
 
 
20790
 
# Transform the output of nm in a proper C declaration
20791
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20792
 
 
20793
 
# Transform the output of nm in a C name address pair
20794
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20795
 
 
20796
 
# This is the shared library runtime path variable.
20797
 
runpath_var=$runpath_var
20798
 
 
20799
 
# This is the shared library path variable.
20800
 
shlibpath_var=$shlibpath_var
20801
 
 
20802
 
# Is shlibpath searched before the hard-coded library search path?
20803
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20804
 
 
20805
 
# How to hardcode a shared library path into an executable.
20806
 
hardcode_action=$hardcode_action_RC
20807
 
 
20808
 
# Whether we should hardcode library paths into libraries.
20809
 
hardcode_into_libs=$hardcode_into_libs
20810
 
 
20811
 
# Flag to hardcode \$libdir into a binary during linking.
20812
 
# This must work even if \$libdir does not exist.
20813
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20814
 
 
20815
 
# If ld is used when linking, flag to hardcode \$libdir into
20816
 
# a binary during linking. This must work even if \$libdir does
20817
 
# not exist.
20818
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20819
 
 
20820
 
# Whether we need a single -rpath flag with a separated argument.
20821
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20822
 
 
20823
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20824
 
# resulting binary.
20825
 
hardcode_direct=$hardcode_direct_RC
20826
 
 
20827
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20828
 
# resulting binary.
20829
 
hardcode_minus_L=$hardcode_minus_L_RC
20830
 
 
20831
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20832
 
# the resulting binary.
20833
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20834
 
 
20835
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20836
 
# and all subsequent libraries and executables linked against it.
20837
 
hardcode_automatic=$hardcode_automatic_RC
20838
 
 
20839
 
# Variables whose values should be saved in libtool wrapper scripts and
20840
 
# restored at relink time.
20841
 
variables_saved_for_relink="$variables_saved_for_relink"
20842
 
 
20843
 
# Whether libtool must link a program against all its dependency libraries.
20844
 
link_all_deplibs=$link_all_deplibs_RC
20845
 
 
20846
 
# Compile-time system search path for libraries
20847
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20848
 
 
20849
 
# Run-time system search path for libraries
20850
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20851
 
 
20852
 
# Fix the shell variable \$srcfile for the compiler.
20853
 
fix_srcfile_path=$lt_fix_srcfile_path
20854
 
 
20855
 
# Set to yes if exported symbols are required.
20856
 
always_export_symbols=$always_export_symbols_RC
20857
 
 
20858
 
# The commands to list exported symbols.
20859
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
20860
 
 
20861
 
# The commands to extract the exported symbol list from a shared archive.
20862
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20863
 
 
20864
 
# Symbols that should not be listed in the preloaded symbols.
20865
 
exclude_expsyms=$lt_exclude_expsyms_RC
20866
 
 
20867
 
# Symbols that must always be exported.
20868
 
include_expsyms=$lt_include_expsyms_RC
20869
 
 
20870
 
# ### END LIBTOOL TAG CONFIG: $tagname
20871
 
 
20872
 
__EOF__
20873
 
 
20874
 
 
20875
 
else
20876
 
  # If there is no Makefile yet, we rely on a make rule to execute
20877
 
  # `config.status --recheck' to rerun these tests and create the
20878
 
  # libtool script then.
20879
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20880
 
  if test -f "$ltmain_in"; then
20881
 
    test -f Makefile && make "$ltmain"
20882
 
  fi
20883
 
fi
20884
 
 
20885
 
 
20886
 
ac_ext=c
20887
 
ac_cpp='$CPP $CPPFLAGS'
20888
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20889
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20890
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20891
 
 
20892
 
CC="$lt_save_CC"
20893
 
 
20894
 
        ;;
20895
 
 
20896
 
      *)
20897
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20898
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20899
 
   { (exit 1); exit 1; }; }
20900
 
        ;;
20901
 
      esac
20902
 
 
20903
 
      # Append the new tag name to the list of available tags.
20904
 
      if test -n "$tagname" ; then
20905
 
      available_tags="$available_tags $tagname"
20906
 
    fi
20907
 
    fi
20908
 
  done
20909
 
  IFS="$lt_save_ifs"
20910
 
 
20911
 
  # Now substitute the updated list of available tags.
20912
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20913
 
    mv "${ofile}T" "$ofile"
20914
 
    chmod +x "$ofile"
20915
 
  else
20916
 
    rm -f "${ofile}T"
20917
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20918
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20919
 
   { (exit 1); exit 1; }; }
20920
 
  fi
20921
 
fi
20922
 
 
20923
 
 
20924
 
 
20925
 
# This can be used to rebuild libtool when needed
20926
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
20927
 
 
20928
 
# Always use our own libtool.
20929
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20930
 
 
20931
 
# Prevent multiple expansion
20932
 
 
20933
 
 
20934
 
 
20935
 
 
20936
 
 
20937
 
 
20938
 
 
20939
 
 
20940
 
 
20941
 
 
20942
 
 
20943
 
 
20944
 
 
20945
 
 
20946
 
 
20947
 
 
20948
 
 
20949
 
 
 
12624
 
 
12625
 
 
12626
 
 
12627
 
 
12628
 
 
12629
 
 
12630
 
 
12631
 
 
12632
 
 
12633
 
 
12634
 
 
12635
 
 
12636
 
 
12637
 
 
12638
 
 
12639
striplib=
 
12640
old_striplib=
 
12641
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
12642
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
12643
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
12644
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
12645
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
12646
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12647
$as_echo "yes" >&6; }
 
12648
else
 
12649
# FIXME - insert some real tests, host_os isn't really good enough
 
12650
  case $host_os in
 
12651
  darwin*)
 
12652
    if test -n "$STRIP" ; then
 
12653
      striplib="$STRIP -x"
 
12654
      old_striplib="$STRIP -S"
 
12655
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12656
$as_echo "yes" >&6; }
 
12657
    else
 
12658
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
12659
$as_echo "no" >&6; }
 
12660
    fi
 
12661
    ;;
 
12662
  *)
 
12663
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
12664
$as_echo "no" >&6; }
 
12665
    ;;
 
12666
  esac
 
12667
fi
 
12668
 
 
12669
 
 
12670
 
 
12671
 
 
12672
 
 
12673
 
 
12674
 
 
12675
 
 
12676
 
 
12677
 
 
12678
 
 
12679
 
 
12680
  # Report which library types will actually be built
 
12681
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
12682
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
12683
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
12684
$as_echo "$can_build_shared" >&6; }
 
12685
 
 
12686
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
12687
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
12688
  test "$can_build_shared" = "no" && enable_shared=no
 
12689
 
 
12690
  # On AIX, shared libraries and static libraries use the same namespace, and
 
12691
  # are all built from PIC.
 
12692
  case $host_os in
 
12693
  aix3*)
 
12694
    test "$enable_shared" = yes && enable_static=no
 
12695
    if test -n "$RANLIB"; then
 
12696
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
12697
      postinstall_cmds='$RANLIB $lib'
 
12698
    fi
 
12699
    ;;
 
12700
 
 
12701
  aix[4-9]*)
 
12702
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
12703
      test "$enable_shared" = yes && enable_static=no
 
12704
    fi
 
12705
    ;;
 
12706
  esac
 
12707
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
12708
$as_echo "$enable_shared" >&6; }
 
12709
 
 
12710
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
12711
$as_echo_n "checking whether to build static libraries... " >&6; }
 
12712
  # Make sure either enable_shared or enable_static is yes.
 
12713
  test "$enable_shared" = yes || enable_static=yes
 
12714
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
12715
$as_echo "$enable_static" >&6; }
 
12716
 
 
12717
 
 
12718
 
 
12719
 
 
12720
fi
 
12721
ac_ext=c
 
12722
ac_cpp='$CPP $CPPFLAGS'
 
12723
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12724
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12725
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12726
 
 
12727
CC="$lt_save_CC"
 
12728
 
 
12729
 
 
12730
 
 
12731
 
 
12732
 
 
12733
 
 
12734
 
 
12735
 
 
12736
 
 
12737
 
 
12738
 
 
12739
 
 
12740
 
 
12741
        ac_config_commands="$ac_config_commands libtool"
 
12742
 
 
12743
 
 
12744
 
 
12745
 
 
12746
# Only expand once:
20950
12747
 
20951
12748
 
20952
12749
 
20975
12772
         gthread)
20976
12773
             pkg_config_args="$pkg_config_args gthread-2.0"
20977
12774
         ;;
 
12775
         gio*)
 
12776
             pkg_config_args="$pkg_config_args $module-2.0"
 
12777
         ;;
20978
12778
      esac
20979
12779
  done
20980
12780
 
20984
12784
        if test -n "$ac_tool_prefix"; then
20985
12785
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20986
12786
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20987
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20988
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
12787
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12788
$as_echo_n "checking for $ac_word... " >&6; }
20989
12789
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20990
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12790
  $as_echo_n "(cached) " >&6
20991
12791
else
20992
12792
  case $PKG_CONFIG in
20993
12793
  [\\/]* | ?:[\\/]*)
21002
12802
  for ac_exec_ext in '' $ac_executable_extensions; do
21003
12803
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21004
12804
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21005
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12805
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21006
12806
    break 2
21007
12807
  fi
21008
12808
done
21014
12814
fi
21015
12815
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21016
12816
if test -n "$PKG_CONFIG"; then
21017
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21018
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
12817
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
12818
$as_echo "$PKG_CONFIG" >&6; }
21019
12819
else
21020
 
  { echo "$as_me:$LINENO: result: no" >&5
21021
 
echo "${ECHO_T}no" >&6; }
 
12820
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12821
$as_echo "no" >&6; }
21022
12822
fi
21023
12823
 
21024
12824
 
21027
12827
  ac_pt_PKG_CONFIG=$PKG_CONFIG
21028
12828
  # Extract the first word of "pkg-config", so it can be a program name with args.
21029
12829
set dummy pkg-config; ac_word=$2
21030
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21031
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
12830
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12831
$as_echo_n "checking for $ac_word... " >&6; }
21032
12832
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
21033
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12833
  $as_echo_n "(cached) " >&6
21034
12834
else
21035
12835
  case $ac_pt_PKG_CONFIG in
21036
12836
  [\\/]* | ?:[\\/]*)
21045
12845
  for ac_exec_ext in '' $ac_executable_extensions; do
21046
12846
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21047
12847
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21048
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12848
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21049
12849
    break 2
21050
12850
  fi
21051
12851
done
21057
12857
fi
21058
12858
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21059
12859
if test -n "$ac_pt_PKG_CONFIG"; then
21060
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
21061
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
12860
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
12861
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
21062
12862
else
21063
 
  { echo "$as_me:$LINENO: result: no" >&5
21064
 
echo "${ECHO_T}no" >&6; }
 
12863
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12864
$as_echo "no" >&6; }
21065
12865
fi
21066
12866
 
21067
12867
  if test "x$ac_pt_PKG_CONFIG" = x; then
21069
12869
  else
21070
12870
    case $cross_compiling:$ac_tool_warned in
21071
12871
yes:)
21072
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21073
 
whose name does not start with the host triplet.  If you think this
21074
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
21075
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21076
 
whose name does not start with the host triplet.  If you think this
21077
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
12872
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
12873
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21078
12874
ac_tool_warned=yes ;;
21079
12875
esac
21080
12876
    PKG_CONFIG=$ac_pt_PKG_CONFIG
21085
12881
 
21086
12882
fi
21087
12883
if test -n "$PKG_CONFIG"; then
21088
 
        _pkg_min_version=0.7
21089
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
21090
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
12884
        _pkg_min_version=0.16
 
12885
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
12886
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
21091
12887
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21092
 
                { echo "$as_me:$LINENO: result: yes" >&5
21093
 
echo "${ECHO_T}yes" >&6; }
 
12888
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12889
$as_echo "yes" >&6; }
21094
12890
        else
21095
 
                { echo "$as_me:$LINENO: result: no" >&5
21096
 
echo "${ECHO_T}no" >&6; }
 
12891
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
12892
$as_echo "no" >&6; }
21097
12893
                PKG_CONFIG=""
21098
12894
        fi
21099
12895
 
21107
12903
  fi
21108
12904
 
21109
12905
  min_glib_version=2.0.0
21110
 
  { echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
21111
 
echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6; }
 
12906
  { $as_echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
 
12907
$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
21112
12908
 
21113
12909
  if test x$PKG_CONFIG != xno ; then
21114
12910
    ## don't try to run the test against uninstalled libtool libs
21231
13027
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21232
13028
  *) ac_try_echo=$ac_try;;
21233
13029
esac
21234
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13030
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13031
$as_echo "$ac_try_echo") >&5
21235
13032
  (eval "$ac_link") 2>&5
21236
13033
  ac_status=$?
21237
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13034
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238
13035
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21239
13036
  { (case "(($ac_try" in
21240
13037
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21241
13038
  *) ac_try_echo=$ac_try;;
21242
13039
esac
21243
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13040
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13041
$as_echo "$ac_try_echo") >&5
21244
13042
  (eval "$ac_try") 2>&5
21245
13043
  ac_status=$?
21246
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13044
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247
13045
  (exit $ac_status); }; }; then
21248
13046
  :
21249
13047
else
21250
 
  echo "$as_me: program exited with status $ac_status" >&5
21251
 
echo "$as_me: failed program was:" >&5
 
13048
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
13049
$as_echo "$as_me: failed program was:" >&5
21252
13050
sed 's/^/| /' conftest.$ac_ext >&5
21253
13051
 
21254
13052
( exit $ac_status )
21255
13053
no_glib=yes
21256
13054
fi
 
13055
rm -rf conftest.dSYM
21257
13056
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21258
13057
fi
21259
13058
 
21263
13062
     fi
21264
13063
  fi
21265
13064
  if test "x$no_glib" = x ; then
21266
 
     { echo "$as_me:$LINENO: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
21267
 
echo "${ECHO_T}yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
 
13065
     { $as_echo "$as_me:$LINENO: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
 
13066
$as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
21268
13067
     :
21269
13068
  else
21270
 
     { echo "$as_me:$LINENO: result: no" >&5
21271
 
echo "${ECHO_T}no" >&6; }
 
13069
     { $as_echo "$as_me:$LINENO: result: no" >&5
 
13070
$as_echo "no" >&6; }
21272
13071
     if test "$PKG_CONFIG" = "no" ; then
21273
13072
       echo "*** A new enough version of pkg-config was not found."
21274
13073
       echo "*** See http://www.freedesktop.org/software/pkgconfig/"
21305
13104
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21306
13105
  *) ac_try_echo=$ac_try;;
21307
13106
esac
21308
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13107
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13108
$as_echo "$ac_try_echo") >&5
21309
13109
  (eval "$ac_link") 2>conftest.er1
21310
13110
  ac_status=$?
21311
13111
  grep -v '^ *+' conftest.er1 >conftest.err
21312
13112
  rm -f conftest.er1
21313
13113
  cat conftest.err >&5
21314
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13114
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21315
13115
  (exit $ac_status); } && {
21316
13116
         test -z "$ac_c_werror_flag" ||
21317
13117
         test ! -s conftest.err
21318
 
       } && test -s conftest$ac_exeext &&
21319
 
       $as_test_x conftest$ac_exeext; then
 
13118
       } && test -s conftest$ac_exeext && {
 
13119
         test "$cross_compiling" = yes ||
 
13120
         $as_test_x conftest$ac_exeext
 
13121
       }; then
21320
13122
   echo "*** The test program compiled, but did not run. This usually means"
21321
13123
          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
21322
13124
          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
21327
13129
          echo "*** If you have an old version installed, it is best to remove it, although"
21328
13130
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21329
13131
else
21330
 
  echo "$as_me: failed program was:" >&5
 
13132
  $as_echo "$as_me: failed program was:" >&5
21331
13133
sed 's/^/| /' conftest.$ac_ext >&5
21332
13134
 
21333
13135
         echo "*** The test program failed to compile or link. See the file config.log for the"
21334
13136
          echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
21335
13137
fi
21336
13138
 
 
13139
rm -rf conftest.dSYM
21337
13140
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21338
13141
      conftest$ac_exeext conftest.$ac_ext
21339
13142
          CFLAGS="$ac_save_CFLAGS"
21358
13161
 
21359
13162
# Extract the first word of "mono", so it can be a program name with args.
21360
13163
set dummy mono; ac_word=$2
21361
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21362
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13164
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13165
$as_echo_n "checking for $ac_word... " >&6; }
21363
13166
if test "${ac_cv_path_MONO+set}" = set; then
21364
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13167
  $as_echo_n "(cached) " >&6
21365
13168
else
21366
13169
  case $MONO in
21367
13170
  [\\/]* | ?:[\\/]*)
21376
13179
  for ac_exec_ext in '' $ac_executable_extensions; do
21377
13180
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21378
13181
    ac_cv_path_MONO="$as_dir/$ac_word$ac_exec_ext"
21379
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13182
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21380
13183
    break 2
21381
13184
  fi
21382
13185
done
21388
13191
fi
21389
13192
MONO=$ac_cv_path_MONO
21390
13193
if test -n "$MONO"; then
21391
 
  { echo "$as_me:$LINENO: result: $MONO" >&5
21392
 
echo "${ECHO_T}$MONO" >&6; }
 
13194
  { $as_echo "$as_me:$LINENO: result: $MONO" >&5
 
13195
$as_echo "$MONO" >&6; }
21393
13196
else
21394
 
  { echo "$as_me:$LINENO: result: no" >&5
21395
 
echo "${ECHO_T}no" >&6; }
 
13197
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13198
$as_echo "no" >&6; }
21396
13199
fi
21397
13200
 
21398
13201
 
21399
13202
# Extract the first word of "gmcs", so it can be a program name with args.
21400
13203
set dummy gmcs; ac_word=$2
21401
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21402
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13204
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13205
$as_echo_n "checking for $ac_word... " >&6; }
21403
13206
if test "${ac_cv_path_MCS+set}" = set; then
21404
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13207
  $as_echo_n "(cached) " >&6
21405
13208
else
21406
13209
  case $MCS in
21407
13210
  [\\/]* | ?:[\\/]*)
21416
13219
  for ac_exec_ext in '' $ac_executable_extensions; do
21417
13220
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21418
13221
    ac_cv_path_MCS="$as_dir/$ac_word$ac_exec_ext"
21419
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13222
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21420
13223
    break 2
21421
13224
  fi
21422
13225
done
21428
13231
fi
21429
13232
MCS=$ac_cv_path_MCS
21430
13233
if test -n "$MCS"; then
21431
 
  { echo "$as_me:$LINENO: result: $MCS" >&5
21432
 
echo "${ECHO_T}$MCS" >&6; }
 
13234
  { $as_echo "$as_me:$LINENO: result: $MCS" >&5
 
13235
$as_echo "$MCS" >&6; }
21433
13236
else
21434
 
  { echo "$as_me:$LINENO: result: no" >&5
21435
 
echo "${ECHO_T}no" >&6; }
 
13237
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13238
$as_echo "no" >&6; }
21436
13239
fi
21437
13240
 
21438
13241
 
21439
13242
 
21440
13243
CS="C#"
21441
13244
if test ! -x "$MCS"; then
21442
 
        { { echo "$as_me:$LINENO: error: No $CS compiler found" >&5
21443
 
echo "$as_me: error: No $CS compiler found" >&2;}
 
13245
        { { $as_echo "$as_me:$LINENO: error: No $CS compiler found" >&5
 
13246
$as_echo "$as_me: error: No $CS compiler found" >&2;}
21444
13247
   { (exit 1); exit 1; }; }
21445
13248
fi
21446
13249
 
21449
13252
gdu_cv_version_required=0.3.2
21450
13253
 
21451
13254
if test -n "$PKG_CONFIG" && \
21452
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
 
13255
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
21453
13256
  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
21454
13257
  ac_status=$?
21455
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13258
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456
13259
  (exit $ac_status); }; then
21457
13260
  gdu_cv_have_gdu=yes
21458
13261
else
21462
13265
if test "$gdu_cv_have_gdu" = "yes"; then
21463
13266
        :
21464
13267
else
21465
 
        { { echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
21466
 
echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
 
13268
        { { $as_echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
 
13269
$as_echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
21467
13270
   { (exit 1); exit 1; }; }
21468
13271
fi
21469
13272
 
21517
13320
fi
21518
13321
 
21519
13322
 
 
13323
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
 
13324
 
 
13325
 
21520
13326
 if test "$gdu_cv_have_gdu" = "yes"; then
21521
13327
  HAVE_GNOME_DOC_UTILS_TRUE=
21522
13328
  HAVE_GNOME_DOC_UTILS_FALSE='#'
21529
13335
 
21530
13336
 
21531
13337
 
21532
 
{ echo "$as_me:$LINENO: checking for mono.pc" >&5
21533
 
echo $ECHO_N "checking for mono.pc... $ECHO_C" >&6; }
 
13338
{ $as_echo "$as_me:$LINENO: checking for mono.pc" >&5
 
13339
$as_echo_n "checking for mono.pc... " >&6; }
21534
13340
if test -z `$PKG_CONFIG --variable=prefix mono`; then
21535
 
  { { echo "$as_me:$LINENO: error: missing the mono.pc file, usually found in the mono-devel package" >&5
21536
 
echo "$as_me: error: missing the mono.pc file, usually found in the mono-devel package" >&2;}
 
13341
  { { $as_echo "$as_me:$LINENO: error: missing the mono.pc file, usually found in the mono-devel package" >&5
 
13342
$as_echo "$as_me: error: missing the mono.pc file, usually found in the mono-devel package" >&2;}
21537
13343
   { (exit 1); exit 1; }; }
21538
13344
else
21539
 
  { echo "$as_me:$LINENO: result: found" >&5
21540
 
echo "${ECHO_T}found" >&6; }
 
13345
  { $as_echo "$as_me:$LINENO: result: found" >&5
 
13346
$as_echo "found" >&6; }
21541
13347
fi
21542
13348
 
21543
13349
 
21544
13350
needed_dlls="Mono.Data.SqliteClient Mono.Posix System.Runtime.Remoting System.Web System.Web.Services Mono.Cairo"
21545
13351
for i in $needed_dlls; do
21546
 
  { echo "$as_me:$LINENO: checking for $i.dll" >&5
21547
 
echo $ECHO_N "checking for $i.dll... $ECHO_C" >&6; }
 
13352
  { $as_echo "$as_me:$LINENO: checking for $i.dll" >&5
 
13353
$as_echo_n "checking for $i.dll... " >&6; }
21548
13354
  if test ! \( -e `$PKG_CONFIG --variable=prefix mono`/lib/mono/2.0/$i.dll -o -e `$PKG_CONFIG --variable=prefix mono`/lib64/mono/2.0//$i.dll \); then
21549
 
    { { echo "$as_me:$LINENO: error: missing required mono 2.0 DLL: $i.dll" >&5
21550
 
echo "$as_me: error: missing required mono 2.0 DLL: $i.dll" >&2;}
 
13355
    { { $as_echo "$as_me:$LINENO: error: missing required mono 2.0 DLL: $i.dll" >&5
 
13356
$as_echo "$as_me: error: missing required mono 2.0 DLL: $i.dll" >&2;}
21551
13357
   { (exit 1); exit 1; }; }
21552
13358
  else
21553
 
    { echo "$as_me:$LINENO: result: found" >&5
21554
 
echo "${ECHO_T}found" >&6; }
 
13359
    { $as_echo "$as_me:$LINENO: result: found" >&5
 
13360
$as_echo "found" >&6; }
21555
13361
  fi
21556
13362
done
21557
13363
 
21561
13367
LIBEXIF_REQUIRED_MIN=0.5.7
21562
13368
LIBEXIF_REQUIRED_MAX=0.7.0
21563
13369
GTKSHARP_REQUIRED=2.8
21564
 
MONO_REQUIRED=1.1.7
 
13370
MONO_REQUIRED=1.2.4
21565
13371
GTK_REQUIRED=2.6
21566
13372
BEAGLE_REQUIRED=0.3.0
21567
13373
NDESK_DBUS_REQUIRED=0.4.2
21571
13377
 
21572
13378
 
21573
13379
pkg_failed=no
21574
 
{ echo "$as_me:$LINENO: checking for F" >&5
21575
 
echo $ECHO_N "checking for F... $ECHO_C" >&6; }
 
13380
{ $as_echo "$as_me:$LINENO: checking for F" >&5
 
13381
$as_echo_n "checking for F... " >&6; }
21576
13382
 
21577
 
if test -n "$PKG_CONFIG"; then
21578
 
    if test -n "$F_CFLAGS"; then
21579
 
        pkg_cv_F_CFLAGS="$F_CFLAGS"
21580
 
    else
21581
 
        if test -n "$PKG_CONFIG" && \
21582
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0 >= \$LIBGNOME_REQUIRED libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED libexif >= \$LIBEXIF_REQUIRED_MIN libexif < \$LIBEXIF_REQUIRED_MAX glade-sharp-2.0 >= \$GTKSHARP_REQUIRED gnome-vfs-sharp-2.0 >= \$GTKSHARP_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED mono >= \$MONO_REQUIRED mono-cairo >= \$MONO_CAIRO_REQUIRED\"") >&5
 
13383
if test -n "$F_CFLAGS"; then
 
13384
    pkg_cv_F_CFLAGS="$F_CFLAGS"
 
13385
 elif test -n "$PKG_CONFIG"; then
 
13386
    if test -n "$PKG_CONFIG" && \
 
13387
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0 >= \$LIBGNOME_REQUIRED libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED libexif >= \$LIBEXIF_REQUIRED_MIN libexif < \$LIBEXIF_REQUIRED_MAX glade-sharp-2.0 >= \$GTKSHARP_REQUIRED gnome-vfs-sharp-2.0 >= \$GTKSHARP_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED mono >= \$MONO_REQUIRED mono-cairo >= \$MONO_CAIRO_REQUIRED\"") >&5
21583
13388
  ($PKG_CONFIG --exists --print-errors "libgnome-2.0 >= $LIBGNOME_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED libexif >= $LIBEXIF_REQUIRED_MIN libexif < $LIBEXIF_REQUIRED_MAX glade-sharp-2.0 >= $GTKSHARP_REQUIRED gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED gtk+-2.0 >= $GTK_REQUIRED mono >= $MONO_REQUIRED mono-cairo >= $MONO_CAIRO_REQUIRED") 2>&5
21584
13389
  ac_status=$?
21585
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13390
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586
13391
  (exit $ac_status); }; then
21587
13392
  pkg_cv_F_CFLAGS=`$PKG_CONFIG --cflags "libgnome-2.0 >= $LIBGNOME_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED libexif >= $LIBEXIF_REQUIRED_MIN libexif < $LIBEXIF_REQUIRED_MAX glade-sharp-2.0 >= $GTKSHARP_REQUIRED gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED gtk+-2.0 >= $GTK_REQUIRED mono >= $MONO_REQUIRED mono-cairo >= $MONO_CAIRO_REQUIRED" 2>/dev/null`
21588
13393
else
21589
13394
  pkg_failed=yes
21590
13395
fi
21591
 
    fi
21592
 
else
21593
 
        pkg_failed=untried
 
13396
 else
 
13397
    pkg_failed=untried
21594
13398
fi
21595
 
if test -n "$PKG_CONFIG"; then
21596
 
    if test -n "$F_LIBS"; then
21597
 
        pkg_cv_F_LIBS="$F_LIBS"
21598
 
    else
21599
 
        if test -n "$PKG_CONFIG" && \
21600
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0 >= \$LIBGNOME_REQUIRED libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED libexif >= \$LIBEXIF_REQUIRED_MIN libexif < \$LIBEXIF_REQUIRED_MAX glade-sharp-2.0 >= \$GTKSHARP_REQUIRED gnome-vfs-sharp-2.0 >= \$GTKSHARP_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED mono >= \$MONO_REQUIRED mono-cairo >= \$MONO_CAIRO_REQUIRED\"") >&5
 
13399
if test -n "$F_LIBS"; then
 
13400
    pkg_cv_F_LIBS="$F_LIBS"
 
13401
 elif test -n "$PKG_CONFIG"; then
 
13402
    if test -n "$PKG_CONFIG" && \
 
13403
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0 >= \$LIBGNOME_REQUIRED libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED libexif >= \$LIBEXIF_REQUIRED_MIN libexif < \$LIBEXIF_REQUIRED_MAX glade-sharp-2.0 >= \$GTKSHARP_REQUIRED gnome-vfs-sharp-2.0 >= \$GTKSHARP_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED mono >= \$MONO_REQUIRED mono-cairo >= \$MONO_CAIRO_REQUIRED\"") >&5
21601
13404
  ($PKG_CONFIG --exists --print-errors "libgnome-2.0 >= $LIBGNOME_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED libexif >= $LIBEXIF_REQUIRED_MIN libexif < $LIBEXIF_REQUIRED_MAX glade-sharp-2.0 >= $GTKSHARP_REQUIRED gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED gtk+-2.0 >= $GTK_REQUIRED mono >= $MONO_REQUIRED mono-cairo >= $MONO_CAIRO_REQUIRED") 2>&5
21602
13405
  ac_status=$?
21603
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13406
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604
13407
  (exit $ac_status); }; then
21605
13408
  pkg_cv_F_LIBS=`$PKG_CONFIG --libs "libgnome-2.0 >= $LIBGNOME_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED libexif >= $LIBEXIF_REQUIRED_MIN libexif < $LIBEXIF_REQUIRED_MAX glade-sharp-2.0 >= $GTKSHARP_REQUIRED gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED gtk+-2.0 >= $GTK_REQUIRED mono >= $MONO_REQUIRED mono-cairo >= $MONO_CAIRO_REQUIRED" 2>/dev/null`
21606
13409
else
21607
13410
  pkg_failed=yes
21608
13411
fi
21609
 
    fi
21610
 
else
21611
 
        pkg_failed=untried
 
13412
 else
 
13413
    pkg_failed=untried
21612
13414
fi
21613
13415
 
21614
13416
 
21621
13423
        _pkg_short_errors_supported=no
21622
13424
fi
21623
13425
        if test $_pkg_short_errors_supported = yes; then
21624
 
                F_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnome-2.0 >= $LIBGNOME_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED libexif >= $LIBEXIF_REQUIRED_MIN libexif < $LIBEXIF_REQUIRED_MAX glade-sharp-2.0 >= $GTKSHARP_REQUIRED gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED gtk+-2.0 >= $GTK_REQUIRED mono >= $MONO_REQUIRED mono-cairo >= $MONO_CAIRO_REQUIRED"`
 
13426
                F_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgnome-2.0 >= $LIBGNOME_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED libexif >= $LIBEXIF_REQUIRED_MIN libexif < $LIBEXIF_REQUIRED_MAX glade-sharp-2.0 >= $GTKSHARP_REQUIRED gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED gtk+-2.0 >= $GTK_REQUIRED mono >= $MONO_REQUIRED mono-cairo >= $MONO_CAIRO_REQUIRED" 2>&1`
21625
13427
        else
21626
 
                F_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnome-2.0 >= $LIBGNOME_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED libexif >= $LIBEXIF_REQUIRED_MIN libexif < $LIBEXIF_REQUIRED_MAX glade-sharp-2.0 >= $GTKSHARP_REQUIRED gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED gtk+-2.0 >= $GTK_REQUIRED mono >= $MONO_REQUIRED mono-cairo >= $MONO_CAIRO_REQUIRED"`
 
13428
                F_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgnome-2.0 >= $LIBGNOME_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED libexif >= $LIBEXIF_REQUIRED_MIN libexif < $LIBEXIF_REQUIRED_MAX glade-sharp-2.0 >= $GTKSHARP_REQUIRED gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED gtk+-2.0 >= $GTK_REQUIRED mono >= $MONO_REQUIRED mono-cairo >= $MONO_CAIRO_REQUIRED" 2>&1`
21627
13429
        fi
21628
13430
        # Put the nasty error message in config.log where it belongs
21629
13431
        echo "$F_PKG_ERRORS" >&5
21630
13432
 
21631
 
        { { echo "$as_me:$LINENO: error: Package requirements (libgnome-2.0 >= $LIBGNOME_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED libexif >= $LIBEXIF_REQUIRED_MIN libexif < $LIBEXIF_REQUIRED_MAX glade-sharp-2.0 >= $GTKSHARP_REQUIRED gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED gtk+-2.0 >= $GTK_REQUIRED mono >= $MONO_REQUIRED mono-cairo >= $MONO_CAIRO_REQUIRED) were not met:
 
13433
        { { $as_echo "$as_me:$LINENO: error: Package requirements (libgnome-2.0 >= $LIBGNOME_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED libexif >= $LIBEXIF_REQUIRED_MIN libexif < $LIBEXIF_REQUIRED_MAX glade-sharp-2.0 >= $GTKSHARP_REQUIRED gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED gtk+-2.0 >= $GTK_REQUIRED mono >= $MONO_REQUIRED mono-cairo >= $MONO_CAIRO_REQUIRED) were not met:
21632
13434
 
21633
13435
$F_PKG_ERRORS
21634
13436
 
21639
13441
and F_LIBS to avoid the need to call pkg-config.
21640
13442
See the pkg-config man page for more details.
21641
13443
" >&5
21642
 
echo "$as_me: error: Package requirements (libgnome-2.0 >= $LIBGNOME_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED libexif >= $LIBEXIF_REQUIRED_MIN libexif < $LIBEXIF_REQUIRED_MAX glade-sharp-2.0 >= $GTKSHARP_REQUIRED gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED gtk+-2.0 >= $GTK_REQUIRED mono >= $MONO_REQUIRED mono-cairo >= $MONO_CAIRO_REQUIRED) were not met:
 
13444
$as_echo "$as_me: error: Package requirements (libgnome-2.0 >= $LIBGNOME_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED libexif >= $LIBEXIF_REQUIRED_MIN libexif < $LIBEXIF_REQUIRED_MAX glade-sharp-2.0 >= $GTKSHARP_REQUIRED gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED gtk+-2.0 >= $GTK_REQUIRED mono >= $MONO_REQUIRED mono-cairo >= $MONO_CAIRO_REQUIRED) were not met:
21643
13445
 
21644
13446
$F_PKG_ERRORS
21645
13447
 
21652
13454
" >&2;}
21653
13455
   { (exit 1); exit 1; }; }
21654
13456
elif test $pkg_failed = untried; then
21655
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
13457
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13458
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13459
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
21656
13460
is in your PATH or set the PKG_CONFIG environment variable to the full
21657
13461
path to pkg-config.
21658
13462
 
21660
13464
and F_LIBS to avoid the need to call pkg-config.
21661
13465
See the pkg-config man page for more details.
21662
13466
 
21663
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
13467
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21664
13468
See \`config.log' for more details." >&5
21665
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
13469
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
21666
13470
is in your PATH or set the PKG_CONFIG environment variable to the full
21667
13471
path to pkg-config.
21668
13472
 
21670
13474
and F_LIBS to avoid the need to call pkg-config.
21671
13475
See the pkg-config man page for more details.
21672
13476
 
21673
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
13477
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21674
13478
See \`config.log' for more details." >&2;}
21675
 
   { (exit 1); exit 1; }; }
 
13479
   { (exit 1); exit 1; }; }; }
21676
13480
else
21677
13481
        F_CFLAGS=$pkg_cv_F_CFLAGS
21678
13482
        F_LIBS=$pkg_cv_F_LIBS
21679
 
        { echo "$as_me:$LINENO: result: yes" >&5
21680
 
echo "${ECHO_T}yes" >&6; }
 
13483
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13484
$as_echo "yes" >&6; }
21681
13485
        :
21682
13486
fi
21683
13487
 
21686
13490
CSC_DEFINES=""
21687
13491
 
21688
13492
pkg_failed=no
21689
 
{ echo "$as_me:$LINENO: checking for GNOME_SHARP" >&5
21690
 
echo $ECHO_N "checking for GNOME_SHARP... $ECHO_C" >&6; }
 
13493
{ $as_echo "$as_me:$LINENO: checking for GNOME_SHARP" >&5
 
13494
$as_echo_n "checking for GNOME_SHARP... " >&6; }
21691
13495
 
21692
 
if test -n "$PKG_CONFIG"; then
21693
 
    if test -n "$GNOME_SHARP_CFLAGS"; then
21694
 
        pkg_cv_GNOME_SHARP_CFLAGS="$GNOME_SHARP_CFLAGS"
21695
 
    else
21696
 
        if test -n "$PKG_CONFIG" && \
21697
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0 >= 2.8\"") >&5
 
13496
if test -n "$GNOME_SHARP_CFLAGS"; then
 
13497
    pkg_cv_GNOME_SHARP_CFLAGS="$GNOME_SHARP_CFLAGS"
 
13498
 elif test -n "$PKG_CONFIG"; then
 
13499
    if test -n "$PKG_CONFIG" && \
 
13500
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0 >= 2.8\"") >&5
21698
13501
  ($PKG_CONFIG --exists --print-errors "gnome-sharp-2.0 >= 2.8") 2>&5
21699
13502
  ac_status=$?
21700
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13503
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701
13504
  (exit $ac_status); }; then
21702
13505
  pkg_cv_GNOME_SHARP_CFLAGS=`$PKG_CONFIG --cflags "gnome-sharp-2.0 >= 2.8" 2>/dev/null`
21703
13506
else
21704
13507
  pkg_failed=yes
21705
13508
fi
21706
 
    fi
21707
 
else
21708
 
        pkg_failed=untried
 
13509
 else
 
13510
    pkg_failed=untried
21709
13511
fi
21710
 
if test -n "$PKG_CONFIG"; then
21711
 
    if test -n "$GNOME_SHARP_LIBS"; then
21712
 
        pkg_cv_GNOME_SHARP_LIBS="$GNOME_SHARP_LIBS"
21713
 
    else
21714
 
        if test -n "$PKG_CONFIG" && \
21715
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0 >= 2.8\"") >&5
 
13512
if test -n "$GNOME_SHARP_LIBS"; then
 
13513
    pkg_cv_GNOME_SHARP_LIBS="$GNOME_SHARP_LIBS"
 
13514
 elif test -n "$PKG_CONFIG"; then
 
13515
    if test -n "$PKG_CONFIG" && \
 
13516
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0 >= 2.8\"") >&5
21716
13517
  ($PKG_CONFIG --exists --print-errors "gnome-sharp-2.0 >= 2.8") 2>&5
21717
13518
  ac_status=$?
21718
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13519
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719
13520
  (exit $ac_status); }; then
21720
13521
  pkg_cv_GNOME_SHARP_LIBS=`$PKG_CONFIG --libs "gnome-sharp-2.0 >= 2.8" 2>/dev/null`
21721
13522
else
21722
13523
  pkg_failed=yes
21723
13524
fi
21724
 
    fi
21725
 
else
21726
 
        pkg_failed=untried
 
13525
 else
 
13526
    pkg_failed=untried
21727
13527
fi
21728
13528
 
21729
13529
 
21736
13536
        _pkg_short_errors_supported=no
21737
13537
fi
21738
13538
        if test $_pkg_short_errors_supported = yes; then
21739
 
                GNOME_SHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-sharp-2.0 >= 2.8"`
 
13539
                GNOME_SHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnome-sharp-2.0 >= 2.8" 2>&1`
21740
13540
        else
21741
 
                GNOME_SHARP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-sharp-2.0 >= 2.8"`
 
13541
                GNOME_SHARP_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnome-sharp-2.0 >= 2.8" 2>&1`
21742
13542
        fi
21743
13543
        # Put the nasty error message in config.log where it belongs
21744
13544
        echo "$GNOME_SHARP_PKG_ERRORS" >&5
21745
13545
 
21746
 
        { { echo "$as_me:$LINENO: error: Package requirements (gnome-sharp-2.0 >= 2.8) were not met:
 
13546
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gnome-sharp-2.0 >= 2.8) were not met:
21747
13547
 
21748
13548
$GNOME_SHARP_PKG_ERRORS
21749
13549
 
21754
13554
and GNOME_SHARP_LIBS to avoid the need to call pkg-config.
21755
13555
See the pkg-config man page for more details.
21756
13556
" >&5
21757
 
echo "$as_me: error: Package requirements (gnome-sharp-2.0 >= 2.8) were not met:
 
13557
$as_echo "$as_me: error: Package requirements (gnome-sharp-2.0 >= 2.8) were not met:
21758
13558
 
21759
13559
$GNOME_SHARP_PKG_ERRORS
21760
13560
 
21767
13567
" >&2;}
21768
13568
   { (exit 1); exit 1; }; }
21769
13569
elif test $pkg_failed = untried; then
21770
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
13570
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13571
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13572
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
21771
13573
is in your PATH or set the PKG_CONFIG environment variable to the full
21772
13574
path to pkg-config.
21773
13575
 
21775
13577
and GNOME_SHARP_LIBS to avoid the need to call pkg-config.
21776
13578
See the pkg-config man page for more details.
21777
13579
 
21778
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
13580
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21779
13581
See \`config.log' for more details." >&5
21780
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
13582
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
21781
13583
is in your PATH or set the PKG_CONFIG environment variable to the full
21782
13584
path to pkg-config.
21783
13585
 
21785
13587
and GNOME_SHARP_LIBS to avoid the need to call pkg-config.
21786
13588
See the pkg-config man page for more details.
21787
13589
 
21788
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
13590
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21789
13591
See \`config.log' for more details." >&2;}
21790
 
   { (exit 1); exit 1; }; }
 
13592
   { (exit 1); exit 1; }; }; }
21791
13593
else
21792
13594
        GNOME_SHARP_CFLAGS=$pkg_cv_GNOME_SHARP_CFLAGS
21793
13595
        GNOME_SHARP_LIBS=$pkg_cv_GNOME_SHARP_LIBS
21794
 
        { echo "$as_me:$LINENO: result: yes" >&5
21795
 
echo "${ECHO_T}yes" >&6; }
21796
 
        :
21797
 
fi
21798
 
if pkg-config --atleast-version=2.19.90 gnome-sharp-2.0; then
21799
 
 
21800
 
pkg_failed=no
21801
 
{ echo "$as_me:$LINENO: checking for GTKHTML_SHARP" >&5
21802
 
echo $ECHO_N "checking for GTKHTML_SHARP... $ECHO_C" >&6; }
21803
 
 
21804
 
if test -n "$PKG_CONFIG"; then
21805
 
    if test -n "$GTKHTML_SHARP_CFLAGS"; then
21806
 
        pkg_cv_GTKHTML_SHARP_CFLAGS="$GTKHTML_SHARP_CFLAGS"
21807
 
    else
21808
 
        if test -n "$PKG_CONFIG" && \
21809
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkhtml-sharp-3.14 >= 2.19.90\"") >&5
21810
 
  ($PKG_CONFIG --exists --print-errors "gtkhtml-sharp-3.14 >= 2.19.90") 2>&5
21811
 
  ac_status=$?
21812
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813
 
  (exit $ac_status); }; then
21814
 
  pkg_cv_GTKHTML_SHARP_CFLAGS=`$PKG_CONFIG --cflags "gtkhtml-sharp-3.14 >= 2.19.90" 2>/dev/null`
21815
 
else
21816
 
  pkg_failed=yes
21817
 
fi
21818
 
    fi
21819
 
else
21820
 
        pkg_failed=untried
21821
 
fi
21822
 
if test -n "$PKG_CONFIG"; then
21823
 
    if test -n "$GTKHTML_SHARP_LIBS"; then
21824
 
        pkg_cv_GTKHTML_SHARP_LIBS="$GTKHTML_SHARP_LIBS"
21825
 
    else
21826
 
        if test -n "$PKG_CONFIG" && \
21827
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkhtml-sharp-3.14 >= 2.19.90\"") >&5
21828
 
  ($PKG_CONFIG --exists --print-errors "gtkhtml-sharp-3.14 >= 2.19.90") 2>&5
21829
 
  ac_status=$?
21830
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831
 
  (exit $ac_status); }; then
21832
 
  pkg_cv_GTKHTML_SHARP_LIBS=`$PKG_CONFIG --libs "gtkhtml-sharp-3.14 >= 2.19.90" 2>/dev/null`
21833
 
else
21834
 
  pkg_failed=yes
21835
 
fi
21836
 
    fi
21837
 
else
21838
 
        pkg_failed=untried
21839
 
fi
21840
 
 
21841
 
 
21842
 
 
21843
 
if test $pkg_failed = yes; then
21844
 
 
21845
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21846
 
        _pkg_short_errors_supported=yes
21847
 
else
21848
 
        _pkg_short_errors_supported=no
21849
 
fi
21850
 
        if test $_pkg_short_errors_supported = yes; then
21851
 
                GTKHTML_SHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkhtml-sharp-3.14 >= 2.19.90"`
21852
 
        else
21853
 
                GTKHTML_SHARP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkhtml-sharp-3.14 >= 2.19.90"`
21854
 
        fi
21855
 
        # Put the nasty error message in config.log where it belongs
21856
 
        echo "$GTKHTML_SHARP_PKG_ERRORS" >&5
21857
 
 
21858
 
        { { echo "$as_me:$LINENO: error: Package requirements (gtkhtml-sharp-3.14 >= 2.19.90) were not met:
21859
 
 
21860
 
$GTKHTML_SHARP_PKG_ERRORS
21861
 
 
21862
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
21863
 
installed software in a non-standard prefix.
21864
 
 
21865
 
Alternatively, you may set the environment variables GTKHTML_SHARP_CFLAGS
21866
 
and GTKHTML_SHARP_LIBS to avoid the need to call pkg-config.
21867
 
See the pkg-config man page for more details.
21868
 
" >&5
21869
 
echo "$as_me: error: Package requirements (gtkhtml-sharp-3.14 >= 2.19.90) were not met:
21870
 
 
21871
 
$GTKHTML_SHARP_PKG_ERRORS
21872
 
 
21873
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
21874
 
installed software in a non-standard prefix.
21875
 
 
21876
 
Alternatively, you may set the environment variables GTKHTML_SHARP_CFLAGS
21877
 
and GTKHTML_SHARP_LIBS to avoid the need to call pkg-config.
21878
 
See the pkg-config man page for more details.
21879
 
" >&2;}
21880
 
   { (exit 1); exit 1; }; }
21881
 
elif test $pkg_failed = untried; then
21882
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
21883
 
is in your PATH or set the PKG_CONFIG environment variable to the full
21884
 
path to pkg-config.
21885
 
 
21886
 
Alternatively, you may set the environment variables GTKHTML_SHARP_CFLAGS
21887
 
and GTKHTML_SHARP_LIBS to avoid the need to call pkg-config.
21888
 
See the pkg-config man page for more details.
21889
 
 
21890
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21891
 
See \`config.log' for more details." >&5
21892
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
21893
 
is in your PATH or set the PKG_CONFIG environment variable to the full
21894
 
path to pkg-config.
21895
 
 
21896
 
Alternatively, you may set the environment variables GTKHTML_SHARP_CFLAGS
21897
 
and GTKHTML_SHARP_LIBS to avoid the need to call pkg-config.
21898
 
See the pkg-config man page for more details.
21899
 
 
21900
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21901
 
See \`config.log' for more details." >&2;}
21902
 
   { (exit 1); exit 1; }; }
21903
 
else
21904
 
        GTKHTML_SHARP_CFLAGS=$pkg_cv_GTKHTML_SHARP_CFLAGS
21905
 
        GTKHTML_SHARP_LIBS=$pkg_cv_GTKHTML_SHARP_LIBS
21906
 
        { echo "$as_me:$LINENO: result: yes" >&5
21907
 
echo "${ECHO_T}yes" >&6; }
21908
 
        :
21909
 
fi
21910
 
        GTKHTML_SHARP_PKG="-pkg:gtkhtml-sharp-3.14 -pkg:gnome-sharp-2.0"
21911
 
        CSC_DEFINES="$CSC_DEFINES -d:GTKHTML_3_14"
21912
 
else
21913
 
 
21914
 
pkg_failed=no
21915
 
{ echo "$as_me:$LINENO: checking for GTKHTML_SHARP" >&5
21916
 
echo $ECHO_N "checking for GTKHTML_SHARP... $ECHO_C" >&6; }
21917
 
 
21918
 
if test -n "$PKG_CONFIG"; then
21919
 
    if test -n "$GTKHTML_SHARP_CFLAGS"; then
21920
 
        pkg_cv_GTKHTML_SHARP_CFLAGS="$GTKHTML_SHARP_CFLAGS"
21921
 
    else
21922
 
        if test -n "$PKG_CONFIG" && \
21923
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkhtml-sharp-2.0 >= 2.8\"") >&5
21924
 
  ($PKG_CONFIG --exists --print-errors "gtkhtml-sharp-2.0 >= 2.8") 2>&5
21925
 
  ac_status=$?
21926
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927
 
  (exit $ac_status); }; then
21928
 
  pkg_cv_GTKHTML_SHARP_CFLAGS=`$PKG_CONFIG --cflags "gtkhtml-sharp-2.0 >= 2.8" 2>/dev/null`
21929
 
else
21930
 
  pkg_failed=yes
21931
 
fi
21932
 
    fi
21933
 
else
21934
 
        pkg_failed=untried
21935
 
fi
21936
 
if test -n "$PKG_CONFIG"; then
21937
 
    if test -n "$GTKHTML_SHARP_LIBS"; then
21938
 
        pkg_cv_GTKHTML_SHARP_LIBS="$GTKHTML_SHARP_LIBS"
21939
 
    else
21940
 
        if test -n "$PKG_CONFIG" && \
21941
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkhtml-sharp-2.0 >= 2.8\"") >&5
21942
 
  ($PKG_CONFIG --exists --print-errors "gtkhtml-sharp-2.0 >= 2.8") 2>&5
21943
 
  ac_status=$?
21944
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945
 
  (exit $ac_status); }; then
21946
 
  pkg_cv_GTKHTML_SHARP_LIBS=`$PKG_CONFIG --libs "gtkhtml-sharp-2.0 >= 2.8" 2>/dev/null`
21947
 
else
21948
 
  pkg_failed=yes
21949
 
fi
21950
 
    fi
21951
 
else
21952
 
        pkg_failed=untried
21953
 
fi
21954
 
 
21955
 
 
21956
 
 
21957
 
if test $pkg_failed = yes; then
21958
 
 
21959
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21960
 
        _pkg_short_errors_supported=yes
21961
 
else
21962
 
        _pkg_short_errors_supported=no
21963
 
fi
21964
 
        if test $_pkg_short_errors_supported = yes; then
21965
 
                GTKHTML_SHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkhtml-sharp-2.0 >= 2.8"`
21966
 
        else
21967
 
                GTKHTML_SHARP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkhtml-sharp-2.0 >= 2.8"`
21968
 
        fi
21969
 
        # Put the nasty error message in config.log where it belongs
21970
 
        echo "$GTKHTML_SHARP_PKG_ERRORS" >&5
21971
 
 
21972
 
        { { echo "$as_me:$LINENO: error: Package requirements (gtkhtml-sharp-2.0 >= 2.8) were not met:
21973
 
 
21974
 
$GTKHTML_SHARP_PKG_ERRORS
21975
 
 
21976
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
21977
 
installed software in a non-standard prefix.
21978
 
 
21979
 
Alternatively, you may set the environment variables GTKHTML_SHARP_CFLAGS
21980
 
and GTKHTML_SHARP_LIBS to avoid the need to call pkg-config.
21981
 
See the pkg-config man page for more details.
21982
 
" >&5
21983
 
echo "$as_me: error: Package requirements (gtkhtml-sharp-2.0 >= 2.8) were not met:
21984
 
 
21985
 
$GTKHTML_SHARP_PKG_ERRORS
21986
 
 
21987
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
21988
 
installed software in a non-standard prefix.
21989
 
 
21990
 
Alternatively, you may set the environment variables GTKHTML_SHARP_CFLAGS
21991
 
and GTKHTML_SHARP_LIBS to avoid the need to call pkg-config.
21992
 
See the pkg-config man page for more details.
21993
 
" >&2;}
21994
 
   { (exit 1); exit 1; }; }
21995
 
elif test $pkg_failed = untried; then
21996
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
21997
 
is in your PATH or set the PKG_CONFIG environment variable to the full
21998
 
path to pkg-config.
21999
 
 
22000
 
Alternatively, you may set the environment variables GTKHTML_SHARP_CFLAGS
22001
 
and GTKHTML_SHARP_LIBS to avoid the need to call pkg-config.
22002
 
See the pkg-config man page for more details.
22003
 
 
22004
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
22005
 
See \`config.log' for more details." >&5
22006
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
22007
 
is in your PATH or set the PKG_CONFIG environment variable to the full
22008
 
path to pkg-config.
22009
 
 
22010
 
Alternatively, you may set the environment variables GTKHTML_SHARP_CFLAGS
22011
 
and GTKHTML_SHARP_LIBS to avoid the need to call pkg-config.
22012
 
See the pkg-config man page for more details.
22013
 
 
22014
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
22015
 
See \`config.log' for more details." >&2;}
22016
 
   { (exit 1); exit 1; }; }
22017
 
else
22018
 
        GTKHTML_SHARP_CFLAGS=$pkg_cv_GTKHTML_SHARP_CFLAGS
22019
 
        GTKHTML_SHARP_LIBS=$pkg_cv_GTKHTML_SHARP_LIBS
22020
 
        { echo "$as_me:$LINENO: result: yes" >&5
22021
 
echo "${ECHO_T}yes" >&6; }
22022
 
        :
22023
 
fi
22024
 
        GTKHTML_SHARP_PKG="-pkg:gtkhtml-sharp-2.0"
22025
 
fi
22026
 
 
 
13596
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13597
$as_echo "yes" >&6; }
 
13598
        :
 
13599
fi
22027
13600
 
22028
13601
if pkg-config --atleast-version=2.22 libgnome-2.0; then
22029
13602
        if pkg-config --atleast-version=2.16 gio-sharp-2.0; then
22033
13606
        else
22034
13607
                LINK_GIO='-r:$(top_builddir)/gio-sharp/gio/gio-sharp.dll'
22035
13608
                DIR_GIO="gio-sharp"
22036
 
                subdirs="$subdirs gio-sharp"
 
13609
 
 
13610
 
 
13611
subdirs="$subdirs gio-sharp"
22037
13612
 
22038
13613
                PATH_GIO='../gio-sharp/gio:'
22039
13614
        fi
22060
13635
if pkg-config --atleast-version=2.12.2 gtk-sharp-2.0; then
22061
13636
   CSC_DEFINES="$CSC_DEFINES -d:GTK_2_12_2"
22062
13637
fi
 
13638
if pkg-config --atleast-version=1.2.5 mono; then
 
13639
   CSC_DEFINES="$CSC_DEFINES -d:MONO_1_2_5"
 
13640
fi
 
13641
if pkg-config --atleast-version=1.9.0 mono; then
 
13642
   CSC_DEFINES="$CSC_DEFINES -d:MONO_1_9_0"
 
13643
fi
22063
13644
if pkg-config --atleast-version=2.0 mono; then
22064
13645
   CSC_DEFINES="$CSC_DEFINES -d:MONO_2_0"
22065
13646
fi
22087
13668
else
22088
13669
 
22089
13670
pkg_failed=no
22090
 
{ echo "$as_me:$LINENO: checking for GCONF_SHARP" >&5
22091
 
echo $ECHO_N "checking for GCONF_SHARP... $ECHO_C" >&6; }
 
13671
{ $as_echo "$as_me:$LINENO: checking for GCONF_SHARP" >&5
 
13672
$as_echo_n "checking for GCONF_SHARP... " >&6; }
22092
13673
 
22093
 
if test -n "$PKG_CONFIG"; then
22094
 
    if test -n "$GCONF_SHARP_CFLAGS"; then
22095
 
        pkg_cv_GCONF_SHARP_CFLAGS="$GCONF_SHARP_CFLAGS"
22096
 
    else
22097
 
        if test -n "$PKG_CONFIG" && \
22098
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-sharp-2.0 >= \$GTKSHARP_REQUIRED\"") >&5
 
13674
if test -n "$GCONF_SHARP_CFLAGS"; then
 
13675
    pkg_cv_GCONF_SHARP_CFLAGS="$GCONF_SHARP_CFLAGS"
 
13676
 elif test -n "$PKG_CONFIG"; then
 
13677
    if test -n "$PKG_CONFIG" && \
 
13678
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-sharp-2.0 >= \$GTKSHARP_REQUIRED\"") >&5
22099
13679
  ($PKG_CONFIG --exists --print-errors "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED") 2>&5
22100
13680
  ac_status=$?
22101
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13681
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102
13682
  (exit $ac_status); }; then
22103
13683
  pkg_cv_GCONF_SHARP_CFLAGS=`$PKG_CONFIG --cflags "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED" 2>/dev/null`
22104
13684
else
22105
13685
  pkg_failed=yes
22106
13686
fi
22107
 
    fi
22108
 
else
22109
 
        pkg_failed=untried
 
13687
 else
 
13688
    pkg_failed=untried
22110
13689
fi
22111
 
if test -n "$PKG_CONFIG"; then
22112
 
    if test -n "$GCONF_SHARP_LIBS"; then
22113
 
        pkg_cv_GCONF_SHARP_LIBS="$GCONF_SHARP_LIBS"
22114
 
    else
22115
 
        if test -n "$PKG_CONFIG" && \
22116
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-sharp-2.0 >= \$GTKSHARP_REQUIRED\"") >&5
 
13690
if test -n "$GCONF_SHARP_LIBS"; then
 
13691
    pkg_cv_GCONF_SHARP_LIBS="$GCONF_SHARP_LIBS"
 
13692
 elif test -n "$PKG_CONFIG"; then
 
13693
    if test -n "$PKG_CONFIG" && \
 
13694
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-sharp-2.0 >= \$GTKSHARP_REQUIRED\"") >&5
22117
13695
  ($PKG_CONFIG --exists --print-errors "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED") 2>&5
22118
13696
  ac_status=$?
22119
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13697
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120
13698
  (exit $ac_status); }; then
22121
13699
  pkg_cv_GCONF_SHARP_LIBS=`$PKG_CONFIG --libs "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED" 2>/dev/null`
22122
13700
else
22123
13701
  pkg_failed=yes
22124
13702
fi
22125
 
    fi
22126
 
else
22127
 
        pkg_failed=untried
 
13703
 else
 
13704
    pkg_failed=untried
22128
13705
fi
22129
13706
 
22130
13707
 
22137
13714
        _pkg_short_errors_supported=no
22138
13715
fi
22139
13716
        if test $_pkg_short_errors_supported = yes; then
22140
 
                GCONF_SHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED"`
 
13717
                GCONF_SHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED" 2>&1`
22141
13718
        else
22142
 
                GCONF_SHARP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED"`
 
13719
                GCONF_SHARP_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED" 2>&1`
22143
13720
        fi
22144
13721
        # Put the nasty error message in config.log where it belongs
22145
13722
        echo "$GCONF_SHARP_PKG_ERRORS" >&5
22146
13723
 
22147
 
        { { echo "$as_me:$LINENO: error: Package requirements (gconf-sharp-2.0 >= $GTKSHARP_REQUIRED) were not met:
 
13724
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gconf-sharp-2.0 >= $GTKSHARP_REQUIRED) were not met:
22148
13725
 
22149
13726
$GCONF_SHARP_PKG_ERRORS
22150
13727
 
22155
13732
and GCONF_SHARP_LIBS to avoid the need to call pkg-config.
22156
13733
See the pkg-config man page for more details.
22157
13734
" >&5
22158
 
echo "$as_me: error: Package requirements (gconf-sharp-2.0 >= $GTKSHARP_REQUIRED) were not met:
 
13735
$as_echo "$as_me: error: Package requirements (gconf-sharp-2.0 >= $GTKSHARP_REQUIRED) were not met:
22159
13736
 
22160
13737
$GCONF_SHARP_PKG_ERRORS
22161
13738
 
22168
13745
" >&2;}
22169
13746
   { (exit 1); exit 1; }; }
22170
13747
elif test $pkg_failed = untried; then
22171
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
13748
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13749
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13750
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
22172
13751
is in your PATH or set the PKG_CONFIG environment variable to the full
22173
13752
path to pkg-config.
22174
13753
 
22176
13755
and GCONF_SHARP_LIBS to avoid the need to call pkg-config.
22177
13756
See the pkg-config man page for more details.
22178
13757
 
22179
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
13758
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22180
13759
See \`config.log' for more details." >&5
22181
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
13760
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
22182
13761
is in your PATH or set the PKG_CONFIG environment variable to the full
22183
13762
path to pkg-config.
22184
13763
 
22186
13765
and GCONF_SHARP_LIBS to avoid the need to call pkg-config.
22187
13766
See the pkg-config man page for more details.
22188
13767
 
22189
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
13768
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22190
13769
See \`config.log' for more details." >&2;}
22191
 
   { (exit 1); exit 1; }; }
 
13770
   { (exit 1); exit 1; }; }; }
22192
13771
else
22193
13772
        GCONF_SHARP_CFLAGS=$pkg_cv_GCONF_SHARP_CFLAGS
22194
13773
        GCONF_SHARP_LIBS=$pkg_cv_GCONF_SHARP_LIBS
22195
 
        { echo "$as_me:$LINENO: result: yes" >&5
22196
 
echo "${ECHO_T}yes" >&6; }
 
13774
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13775
$as_echo "yes" >&6; }
22197
13776
        :
22198
13777
fi
22199
13778
  if pkg-config --atleast-version=2.18 gconf-sharp-2.0; then
22206
13785
 
22207
13786
 
22208
13787
 
22209
 
 
22210
13788
pkg_failed=no
22211
 
{ echo "$as_me:$LINENO: checking for BEAGLE" >&5
22212
 
echo $ECHO_N "checking for BEAGLE... $ECHO_C" >&6; }
 
13789
{ $as_echo "$as_me:$LINENO: checking for BEAGLE" >&5
 
13790
$as_echo_n "checking for BEAGLE... " >&6; }
22213
13791
 
22214
 
if test -n "$PKG_CONFIG"; then
22215
 
    if test -n "$BEAGLE_CFLAGS"; then
22216
 
        pkg_cv_BEAGLE_CFLAGS="$BEAGLE_CFLAGS"
22217
 
    else
22218
 
        if test -n "$PKG_CONFIG" && \
22219
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"beagle-0.0 >= \$BEAGLE_REQUIRED\"") >&5
 
13792
if test -n "$BEAGLE_CFLAGS"; then
 
13793
    pkg_cv_BEAGLE_CFLAGS="$BEAGLE_CFLAGS"
 
13794
 elif test -n "$PKG_CONFIG"; then
 
13795
    if test -n "$PKG_CONFIG" && \
 
13796
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"beagle-0.0 >= \$BEAGLE_REQUIRED\"") >&5
22220
13797
  ($PKG_CONFIG --exists --print-errors "beagle-0.0 >= $BEAGLE_REQUIRED") 2>&5
22221
13798
  ac_status=$?
22222
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13799
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223
13800
  (exit $ac_status); }; then
22224
13801
  pkg_cv_BEAGLE_CFLAGS=`$PKG_CONFIG --cflags "beagle-0.0 >= $BEAGLE_REQUIRED" 2>/dev/null`
22225
13802
else
22226
13803
  pkg_failed=yes
22227
13804
fi
22228
 
    fi
22229
 
else
22230
 
        pkg_failed=untried
 
13805
 else
 
13806
    pkg_failed=untried
22231
13807
fi
22232
 
if test -n "$PKG_CONFIG"; then
22233
 
    if test -n "$BEAGLE_LIBS"; then
22234
 
        pkg_cv_BEAGLE_LIBS="$BEAGLE_LIBS"
22235
 
    else
22236
 
        if test -n "$PKG_CONFIG" && \
22237
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"beagle-0.0 >= \$BEAGLE_REQUIRED\"") >&5
 
13808
if test -n "$BEAGLE_LIBS"; then
 
13809
    pkg_cv_BEAGLE_LIBS="$BEAGLE_LIBS"
 
13810
 elif test -n "$PKG_CONFIG"; then
 
13811
    if test -n "$PKG_CONFIG" && \
 
13812
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"beagle-0.0 >= \$BEAGLE_REQUIRED\"") >&5
22238
13813
  ($PKG_CONFIG --exists --print-errors "beagle-0.0 >= $BEAGLE_REQUIRED") 2>&5
22239
13814
  ac_status=$?
22240
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13815
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22241
13816
  (exit $ac_status); }; then
22242
13817
  pkg_cv_BEAGLE_LIBS=`$PKG_CONFIG --libs "beagle-0.0 >= $BEAGLE_REQUIRED" 2>/dev/null`
22243
13818
else
22244
13819
  pkg_failed=yes
22245
13820
fi
22246
 
    fi
22247
 
else
22248
 
        pkg_failed=untried
 
13821
 else
 
13822
    pkg_failed=untried
22249
13823
fi
22250
13824
 
22251
13825
 
22258
13832
        _pkg_short_errors_supported=no
22259
13833
fi
22260
13834
        if test $_pkg_short_errors_supported = yes; then
22261
 
                BEAGLE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "beagle-0.0 >= $BEAGLE_REQUIRED"`
 
13835
                BEAGLE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "beagle-0.0 >= $BEAGLE_REQUIRED" 2>&1`
22262
13836
        else
22263
 
                BEAGLE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "beagle-0.0 >= $BEAGLE_REQUIRED"`
 
13837
                BEAGLE_PKG_ERRORS=`$PKG_CONFIG --print-errors "beagle-0.0 >= $BEAGLE_REQUIRED" 2>&1`
22264
13838
        fi
22265
13839
        # Put the nasty error message in config.log where it belongs
22266
13840
        echo "$BEAGLE_PKG_ERRORS" >&5
22267
13841
 
22268
 
        { echo "$as_me:$LINENO: result: no" >&5
22269
 
echo "${ECHO_T}no" >&6; }
 
13842
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
13843
$as_echo "no" >&6; }
22270
13844
 
22271
 
        { echo "$as_me:$LINENO: result: beagle not found" >&5
22272
 
echo "${ECHO_T}beagle not found" >&6; }
 
13845
        { $as_echo "$as_me:$LINENO: result: beagle not found" >&5
 
13846
$as_echo "beagle not found" >&6; }
22273
13847
 
22274
13848
elif test $pkg_failed = untried; then
22275
13849
 
22276
 
        { echo "$as_me:$LINENO: result: beagle not found" >&5
22277
 
echo "${ECHO_T}beagle not found" >&6; }
 
13850
        { $as_echo "$as_me:$LINENO: result: beagle not found" >&5
 
13851
$as_echo "beagle not found" >&6; }
22278
13852
 
22279
13853
else
22280
13854
        BEAGLE_CFLAGS=$pkg_cv_BEAGLE_CFLAGS
22281
13855
        BEAGLE_LIBS=$pkg_cv_BEAGLE_LIBS
22282
 
        { echo "$as_me:$LINENO: result: yes" >&5
22283
 
echo "${ECHO_T}yes" >&6; }
 
13856
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13857
$as_echo "yes" >&6; }
22284
13858
 
22285
13859
                BEAGLE_DIR=`$PKG_CONFIG --variable=dlldir beagle-0.0`
22286
13860
        LINK_BEAGLE="-r:$BEAGLE_DIR/Beagle"
22287
 
        BEAGLE_DEFINES='-d:ENABLE_BEAGLE'
 
13861
        CSC_DEFINES="$CSC_DEFINES -d:ENABLE_BEAGLE"
22288
13862
 
22289
13863
fi
22290
13864
 
22292
13866
 
22293
13867
 
22294
13868
 
 
13869
 
22295
13870
pkg_failed=no
22296
 
{ echo "$as_me:$LINENO: checking for NDESK_DBUS" >&5
22297
 
echo $ECHO_N "checking for NDESK_DBUS... $ECHO_C" >&6; }
 
13871
{ $as_echo "$as_me:$LINENO: checking for NDESK_DBUS" >&5
 
13872
$as_echo_n "checking for NDESK_DBUS... " >&6; }
22298
13873
 
22299
 
if test -n "$PKG_CONFIG"; then
22300
 
    if test -n "$NDESK_DBUS_CFLAGS"; then
22301
 
        pkg_cv_NDESK_DBUS_CFLAGS="$NDESK_DBUS_CFLAGS"
22302
 
    else
22303
 
        if test -n "$PKG_CONFIG" && \
22304
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ndesk-dbus-1.0 >= \$NDESK_DBUS_REQUIRED ndesk-dbus-glib-1.0 >= \$NDESK_DBUS_GLIB_REQUIRED\"") >&5
 
13874
if test -n "$NDESK_DBUS_CFLAGS"; then
 
13875
    pkg_cv_NDESK_DBUS_CFLAGS="$NDESK_DBUS_CFLAGS"
 
13876
 elif test -n "$PKG_CONFIG"; then
 
13877
    if test -n "$PKG_CONFIG" && \
 
13878
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ndesk-dbus-1.0 >= \$NDESK_DBUS_REQUIRED ndesk-dbus-glib-1.0 >= \$NDESK_DBUS_GLIB_REQUIRED\"") >&5
22305
13879
  ($PKG_CONFIG --exists --print-errors "ndesk-dbus-1.0 >= $NDESK_DBUS_REQUIRED ndesk-dbus-glib-1.0 >= $NDESK_DBUS_GLIB_REQUIRED") 2>&5
22306
13880
  ac_status=$?
22307
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13881
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308
13882
  (exit $ac_status); }; then
22309
13883
  pkg_cv_NDESK_DBUS_CFLAGS=`$PKG_CONFIG --cflags "ndesk-dbus-1.0 >= $NDESK_DBUS_REQUIRED ndesk-dbus-glib-1.0 >= $NDESK_DBUS_GLIB_REQUIRED" 2>/dev/null`
22310
13884
else
22311
13885
  pkg_failed=yes
22312
13886
fi
22313
 
    fi
22314
 
else
22315
 
        pkg_failed=untried
 
13887
 else
 
13888
    pkg_failed=untried
22316
13889
fi
22317
 
if test -n "$PKG_CONFIG"; then
22318
 
    if test -n "$NDESK_DBUS_LIBS"; then
22319
 
        pkg_cv_NDESK_DBUS_LIBS="$NDESK_DBUS_LIBS"
22320
 
    else
22321
 
        if test -n "$PKG_CONFIG" && \
22322
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ndesk-dbus-1.0 >= \$NDESK_DBUS_REQUIRED ndesk-dbus-glib-1.0 >= \$NDESK_DBUS_GLIB_REQUIRED\"") >&5
 
13890
if test -n "$NDESK_DBUS_LIBS"; then
 
13891
    pkg_cv_NDESK_DBUS_LIBS="$NDESK_DBUS_LIBS"
 
13892
 elif test -n "$PKG_CONFIG"; then
 
13893
    if test -n "$PKG_CONFIG" && \
 
13894
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ndesk-dbus-1.0 >= \$NDESK_DBUS_REQUIRED ndesk-dbus-glib-1.0 >= \$NDESK_DBUS_GLIB_REQUIRED\"") >&5
22323
13895
  ($PKG_CONFIG --exists --print-errors "ndesk-dbus-1.0 >= $NDESK_DBUS_REQUIRED ndesk-dbus-glib-1.0 >= $NDESK_DBUS_GLIB_REQUIRED") 2>&5
22324
13896
  ac_status=$?
22325
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13897
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326
13898
  (exit $ac_status); }; then
22327
13899
  pkg_cv_NDESK_DBUS_LIBS=`$PKG_CONFIG --libs "ndesk-dbus-1.0 >= $NDESK_DBUS_REQUIRED ndesk-dbus-glib-1.0 >= $NDESK_DBUS_GLIB_REQUIRED" 2>/dev/null`
22328
13900
else
22329
13901
  pkg_failed=yes
22330
13902
fi
22331
 
    fi
22332
 
else
22333
 
        pkg_failed=untried
 
13903
 else
 
13904
    pkg_failed=untried
22334
13905
fi
22335
13906
 
22336
13907
 
22343
13914
        _pkg_short_errors_supported=no
22344
13915
fi
22345
13916
        if test $_pkg_short_errors_supported = yes; then
22346
 
                NDESK_DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ndesk-dbus-1.0 >= $NDESK_DBUS_REQUIRED ndesk-dbus-glib-1.0 >= $NDESK_DBUS_GLIB_REQUIRED"`
 
13917
                NDESK_DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ndesk-dbus-1.0 >= $NDESK_DBUS_REQUIRED ndesk-dbus-glib-1.0 >= $NDESK_DBUS_GLIB_REQUIRED" 2>&1`
22347
13918
        else
22348
 
                NDESK_DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ndesk-dbus-1.0 >= $NDESK_DBUS_REQUIRED ndesk-dbus-glib-1.0 >= $NDESK_DBUS_GLIB_REQUIRED"`
 
13919
                NDESK_DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "ndesk-dbus-1.0 >= $NDESK_DBUS_REQUIRED ndesk-dbus-glib-1.0 >= $NDESK_DBUS_GLIB_REQUIRED" 2>&1`
22349
13920
        fi
22350
13921
        # Put the nasty error message in config.log where it belongs
22351
13922
        echo "$NDESK_DBUS_PKG_ERRORS" >&5
22352
13923
 
22353
 
        { echo "$as_me:$LINENO: result: no" >&5
22354
 
echo "${ECHO_T}no" >&6; }
 
13924
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
13925
$as_echo "no" >&6; }
22355
13926
 
22356
13927
        LINK_DBUS='-r:$(top_builddir)/dbus-sharp/NDesk.DBus.dll -r:$(top_builddir)/dbus-sharp-glib/NDesk.DBus.GLib.dll'
22357
13928
        DIR_DBUS="dbus-sharp"
22358
13929
        DIR_DBUS_GLIB="dbus-sharp-glib"
22359
 
        PATH_DBUS='../dbus-sharp:../dbus-sharp-glib:
 
13930
        PATH_DBUS='../dbus-sharp:../dbus-sharp-glib:'
22360
13931
 
22361
13932
elif test $pkg_failed = untried; then
22362
13933
 
22363
13934
        LINK_DBUS='-r:$(top_builddir)/dbus-sharp/NDesk.DBus.dll -r:$(top_builddir)/dbus-sharp-glib/NDesk.DBus.GLib.dll'
22364
13935
        DIR_DBUS="dbus-sharp"
22365
13936
        DIR_DBUS_GLIB="dbus-sharp-glib"
22366
 
        PATH_DBUS='../dbus-sharp:../dbus-sharp-glib:
 
13937
        PATH_DBUS='../dbus-sharp:../dbus-sharp-glib:'
22367
13938
 
22368
13939
else
22369
13940
        NDESK_DBUS_CFLAGS=$pkg_cv_NDESK_DBUS_CFLAGS
22370
13941
        NDESK_DBUS_LIBS=$pkg_cv_NDESK_DBUS_LIBS
22371
 
        { echo "$as_me:$LINENO: result: yes" >&5
22372
 
echo "${ECHO_T}yes" >&6; }
 
13942
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13943
$as_echo "yes" >&6; }
22373
13944
 
22374
13945
        LINK_DBUS="-pkg:ndesk-dbus-1.0 -pkg:ndesk-dbus-glib-1.0"
22375
13946
        DIR_DBUS=""
22382
13953
 
22383
13954
 
22384
13955
 
 
13956
# Check whether --enable-nunit was given.
 
13957
if test "${enable_nunit+set}" = set; then
 
13958
  enableval=$enable_nunit;
 
13959
fi
 
13960
 
 
13961
 if test "x$enable_nunit" = "xno"; then
 
13962
  DISABLE_NUNIT_TRUE=
 
13963
  DISABLE_NUNIT_FALSE='#'
 
13964
else
 
13965
  DISABLE_NUNIT_TRUE='#'
 
13966
  DISABLE_NUNIT_FALSE=
 
13967
fi
 
13968
 
 
13969
 
 
13970
if test "x$enable_nunit" = "xno"; then
 
13971
        NUNIT_DEFINES=''
 
13972
        NUNIT_PKG=''
 
13973
 
 
13974
else
22385
13975
NUNIT_DEFINES='-d:ENABLE_NUNIT'
22386
13976
 
22387
13977
pkg_failed=no
22388
 
{ echo "$as_me:$LINENO: checking for MONO_NUNIT" >&5
22389
 
echo $ECHO_N "checking for MONO_NUNIT... $ECHO_C" >&6; }
 
13978
{ $as_echo "$as_me:$LINENO: checking for MONO_NUNIT" >&5
 
13979
$as_echo_n "checking for MONO_NUNIT... " >&6; }
22390
13980
 
22391
 
if test -n "$PKG_CONFIG"; then
22392
 
    if test -n "$MONO_NUNIT_CFLAGS"; then
22393
 
        pkg_cv_MONO_NUNIT_CFLAGS="$MONO_NUNIT_CFLAGS"
22394
 
    else
22395
 
        if test -n "$PKG_CONFIG" && \
22396
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-nunit >= \$MONO_REQUIRED\"") >&5
 
13981
if test -n "$MONO_NUNIT_CFLAGS"; then
 
13982
    pkg_cv_MONO_NUNIT_CFLAGS="$MONO_NUNIT_CFLAGS"
 
13983
 elif test -n "$PKG_CONFIG"; then
 
13984
    if test -n "$PKG_CONFIG" && \
 
13985
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-nunit >= \$MONO_REQUIRED\"") >&5
22397
13986
  ($PKG_CONFIG --exists --print-errors "mono-nunit >= $MONO_REQUIRED") 2>&5
22398
13987
  ac_status=$?
22399
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13988
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22400
13989
  (exit $ac_status); }; then
22401
13990
  pkg_cv_MONO_NUNIT_CFLAGS=`$PKG_CONFIG --cflags "mono-nunit >= $MONO_REQUIRED" 2>/dev/null`
22402
13991
else
22403
13992
  pkg_failed=yes
22404
13993
fi
22405
 
    fi
22406
 
else
22407
 
        pkg_failed=untried
 
13994
 else
 
13995
    pkg_failed=untried
22408
13996
fi
22409
 
if test -n "$PKG_CONFIG"; then
22410
 
    if test -n "$MONO_NUNIT_LIBS"; then
22411
 
        pkg_cv_MONO_NUNIT_LIBS="$MONO_NUNIT_LIBS"
22412
 
    else
22413
 
        if test -n "$PKG_CONFIG" && \
22414
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-nunit >= \$MONO_REQUIRED\"") >&5
 
13997
if test -n "$MONO_NUNIT_LIBS"; then
 
13998
    pkg_cv_MONO_NUNIT_LIBS="$MONO_NUNIT_LIBS"
 
13999
 elif test -n "$PKG_CONFIG"; then
 
14000
    if test -n "$PKG_CONFIG" && \
 
14001
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-nunit >= \$MONO_REQUIRED\"") >&5
22415
14002
  ($PKG_CONFIG --exists --print-errors "mono-nunit >= $MONO_REQUIRED") 2>&5
22416
14003
  ac_status=$?
22417
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14004
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418
14005
  (exit $ac_status); }; then
22419
14006
  pkg_cv_MONO_NUNIT_LIBS=`$PKG_CONFIG --libs "mono-nunit >= $MONO_REQUIRED" 2>/dev/null`
22420
14007
else
22421
14008
  pkg_failed=yes
22422
14009
fi
22423
 
    fi
22424
 
else
22425
 
        pkg_failed=untried
 
14010
 else
 
14011
    pkg_failed=untried
22426
14012
fi
22427
14013
 
22428
14014
 
22435
14021
        _pkg_short_errors_supported=no
22436
14022
fi
22437
14023
        if test $_pkg_short_errors_supported = yes; then
22438
 
                MONO_NUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mono-nunit >= $MONO_REQUIRED"`
 
14024
                MONO_NUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mono-nunit >= $MONO_REQUIRED" 2>&1`
22439
14025
        else
22440
 
                MONO_NUNIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mono-nunit >= $MONO_REQUIRED"`
 
14026
                MONO_NUNIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "mono-nunit >= $MONO_REQUIRED" 2>&1`
22441
14027
        fi
22442
14028
        # Put the nasty error message in config.log where it belongs
22443
14029
        echo "$MONO_NUNIT_PKG_ERRORS" >&5
22444
14030
 
22445
 
        { echo "$as_me:$LINENO: result: no" >&5
22446
 
echo "${ECHO_T}no" >&6; }
 
14031
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
14032
$as_echo "no" >&6; }
22447
14033
 
22448
14034
 
22449
14035
pkg_failed=no
22450
 
{ echo "$as_me:$LINENO: checking for NUNIT22" >&5
22451
 
echo $ECHO_N "checking for NUNIT22... $ECHO_C" >&6; }
 
14036
{ $as_echo "$as_me:$LINENO: checking for NUNIT22" >&5
 
14037
$as_echo_n "checking for NUNIT22... " >&6; }
22452
14038
 
22453
 
if test -n "$PKG_CONFIG"; then
22454
 
    if test -n "$NUNIT22_CFLAGS"; then
22455
 
        pkg_cv_NUNIT22_CFLAGS="$NUNIT22_CFLAGS"
22456
 
    else
22457
 
        if test -n "$PKG_CONFIG" && \
22458
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit-2.2 >= \$MONO_REQUIRED\"") >&5
 
14039
if test -n "$NUNIT22_CFLAGS"; then
 
14040
    pkg_cv_NUNIT22_CFLAGS="$NUNIT22_CFLAGS"
 
14041
 elif test -n "$PKG_CONFIG"; then
 
14042
    if test -n "$PKG_CONFIG" && \
 
14043
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit-2.2 >= \$MONO_REQUIRED\"") >&5
22459
14044
  ($PKG_CONFIG --exists --print-errors "nunit-2.2 >= $MONO_REQUIRED") 2>&5
22460
14045
  ac_status=$?
22461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14046
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462
14047
  (exit $ac_status); }; then
22463
14048
  pkg_cv_NUNIT22_CFLAGS=`$PKG_CONFIG --cflags "nunit-2.2 >= $MONO_REQUIRED" 2>/dev/null`
22464
14049
else
22465
14050
  pkg_failed=yes
22466
14051
fi
22467
 
    fi
22468
 
else
22469
 
        pkg_failed=untried
 
14052
 else
 
14053
    pkg_failed=untried
22470
14054
fi
22471
 
if test -n "$PKG_CONFIG"; then
22472
 
    if test -n "$NUNIT22_LIBS"; then
22473
 
        pkg_cv_NUNIT22_LIBS="$NUNIT22_LIBS"
22474
 
    else
22475
 
        if test -n "$PKG_CONFIG" && \
22476
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit-2.2 >= \$MONO_REQUIRED\"") >&5
 
14055
if test -n "$NUNIT22_LIBS"; then
 
14056
    pkg_cv_NUNIT22_LIBS="$NUNIT22_LIBS"
 
14057
 elif test -n "$PKG_CONFIG"; then
 
14058
    if test -n "$PKG_CONFIG" && \
 
14059
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit-2.2 >= \$MONO_REQUIRED\"") >&5
22477
14060
  ($PKG_CONFIG --exists --print-errors "nunit-2.2 >= $MONO_REQUIRED") 2>&5
22478
14061
  ac_status=$?
22479
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14062
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22480
14063
  (exit $ac_status); }; then
22481
14064
  pkg_cv_NUNIT22_LIBS=`$PKG_CONFIG --libs "nunit-2.2 >= $MONO_REQUIRED" 2>/dev/null`
22482
14065
else
22483
14066
  pkg_failed=yes
22484
14067
fi
22485
 
    fi
22486
 
else
22487
 
        pkg_failed=untried
 
14068
 else
 
14069
    pkg_failed=untried
22488
14070
fi
22489
14071
 
22490
14072
 
22497
14079
        _pkg_short_errors_supported=no
22498
14080
fi
22499
14081
        if test $_pkg_short_errors_supported = yes; then
22500
 
                NUNIT22_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "nunit-2.2 >= $MONO_REQUIRED"`
 
14082
                NUNIT22_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nunit-2.2 >= $MONO_REQUIRED" 2>&1`
22501
14083
        else
22502
 
                NUNIT22_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "nunit-2.2 >= $MONO_REQUIRED"`
 
14084
                NUNIT22_PKG_ERRORS=`$PKG_CONFIG --print-errors "nunit-2.2 >= $MONO_REQUIRED" 2>&1`
22503
14085
        fi
22504
14086
        # Put the nasty error message in config.log where it belongs
22505
14087
        echo "$NUNIT22_PKG_ERRORS" >&5
22506
14088
 
22507
 
        { echo "$as_me:$LINENO: result: no" >&5
22508
 
echo "${ECHO_T}no" >&6; }
 
14089
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
14090
$as_echo "no" >&6; }
22509
14091
 
22510
14092
 
22511
14093
pkg_failed=no
22512
 
{ echo "$as_me:$LINENO: checking for NUNIT" >&5
22513
 
echo $ECHO_N "checking for NUNIT... $ECHO_C" >&6; }
 
14094
{ $as_echo "$as_me:$LINENO: checking for NUNIT" >&5
 
14095
$as_echo_n "checking for NUNIT... " >&6; }
22514
14096
 
22515
 
if test -n "$PKG_CONFIG"; then
22516
 
    if test -n "$NUNIT_CFLAGS"; then
22517
 
        pkg_cv_NUNIT_CFLAGS="$NUNIT_CFLAGS"
22518
 
    else
22519
 
        if test -n "$PKG_CONFIG" && \
22520
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit >= \$MONO_REQUIRED\"") >&5
 
14097
if test -n "$NUNIT_CFLAGS"; then
 
14098
    pkg_cv_NUNIT_CFLAGS="$NUNIT_CFLAGS"
 
14099
 elif test -n "$PKG_CONFIG"; then
 
14100
    if test -n "$PKG_CONFIG" && \
 
14101
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit >= \$MONO_REQUIRED\"") >&5
22521
14102
  ($PKG_CONFIG --exists --print-errors "nunit >= $MONO_REQUIRED") 2>&5
22522
14103
  ac_status=$?
22523
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14104
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524
14105
  (exit $ac_status); }; then
22525
14106
  pkg_cv_NUNIT_CFLAGS=`$PKG_CONFIG --cflags "nunit >= $MONO_REQUIRED" 2>/dev/null`
22526
14107
else
22527
14108
  pkg_failed=yes
22528
14109
fi
22529
 
    fi
22530
 
else
22531
 
        pkg_failed=untried
22532
 
fi
22533
 
if test -n "$PKG_CONFIG"; then
22534
 
    if test -n "$NUNIT_LIBS"; then
22535
 
        pkg_cv_NUNIT_LIBS="$NUNIT_LIBS"
22536
 
    else
22537
 
        if test -n "$PKG_CONFIG" && \
22538
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit >= \$MONO_REQUIRED\"") >&5
 
14110
 else
 
14111
    pkg_failed=untried
 
14112
fi
 
14113
if test -n "$NUNIT_LIBS"; then
 
14114
    pkg_cv_NUNIT_LIBS="$NUNIT_LIBS"
 
14115
 elif test -n "$PKG_CONFIG"; then
 
14116
    if test -n "$PKG_CONFIG" && \
 
14117
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit >= \$MONO_REQUIRED\"") >&5
22539
14118
  ($PKG_CONFIG --exists --print-errors "nunit >= $MONO_REQUIRED") 2>&5
22540
14119
  ac_status=$?
22541
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14120
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22542
14121
  (exit $ac_status); }; then
22543
14122
  pkg_cv_NUNIT_LIBS=`$PKG_CONFIG --libs "nunit >= $MONO_REQUIRED" 2>/dev/null`
22544
14123
else
22545
14124
  pkg_failed=yes
22546
14125
fi
22547
 
    fi
22548
 
else
22549
 
        pkg_failed=untried
22550
 
fi
22551
 
 
22552
 
 
22553
 
 
 
14126
 else
 
14127
    pkg_failed=untried
 
14128
fi
 
14129
 
 
14130
 
 
14131
 
22554
14132
if test $pkg_failed = yes; then
22555
14133
 
22556
14134
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22559
14137
        _pkg_short_errors_supported=no
22560
14138
fi
22561
14139
        if test $_pkg_short_errors_supported = yes; then
22562
 
                NUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "nunit >= $MONO_REQUIRED"`
 
14140
                NUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nunit >= $MONO_REQUIRED" 2>&1`
22563
14141
        else
22564
 
                NUNIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "nunit >= $MONO_REQUIRED"`
 
14142
                NUNIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "nunit >= $MONO_REQUIRED" 2>&1`
22565
14143
        fi
22566
14144
        # Put the nasty error message in config.log where it belongs
22567
14145
        echo "$NUNIT_PKG_ERRORS" >&5
22568
14146
 
22569
 
        { echo "$as_me:$LINENO: result: no" >&5
22570
 
echo "${ECHO_T}no" >&6; }
22571
 
 
 
14147
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
14148
$as_echo "no" >&6; }
 
14149
 
22572
14150
        NUNIT_DEFINES=''
22573
14151
        NUNIT_PKG=''
22574
14152
 
22580
14158
else
22581
14159
        NUNIT_CFLAGS=$pkg_cv_NUNIT_CFLAGS
22582
14160
        NUNIT_LIBS=$pkg_cv_NUNIT_LIBS
22583
 
        { echo "$as_me:$LINENO: result: yes" >&5
22584
 
echo "${ECHO_T}yes" >&6; }
 
14161
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14162
$as_echo "yes" >&6; }
22585
14163
 
22586
14164
        NUNIT_LIBS=$NUNIT_LIBS
22587
14165
        NUNIT_PKG='-pkg:nunit'
22592
14170
 
22593
14171
 
22594
14172
pkg_failed=no
22595
 
{ echo "$as_me:$LINENO: checking for NUNIT" >&5
22596
 
echo $ECHO_N "checking for NUNIT... $ECHO_C" >&6; }
 
14173
{ $as_echo "$as_me:$LINENO: checking for NUNIT" >&5
 
14174
$as_echo_n "checking for NUNIT... " >&6; }
22597
14175
 
22598
 
if test -n "$PKG_CONFIG"; then
22599
 
    if test -n "$NUNIT_CFLAGS"; then
22600
 
        pkg_cv_NUNIT_CFLAGS="$NUNIT_CFLAGS"
22601
 
    else
22602
 
        if test -n "$PKG_CONFIG" && \
22603
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit >= \$MONO_REQUIRED\"") >&5
 
14176
if test -n "$NUNIT_CFLAGS"; then
 
14177
    pkg_cv_NUNIT_CFLAGS="$NUNIT_CFLAGS"
 
14178
 elif test -n "$PKG_CONFIG"; then
 
14179
    if test -n "$PKG_CONFIG" && \
 
14180
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit >= \$MONO_REQUIRED\"") >&5
22604
14181
  ($PKG_CONFIG --exists --print-errors "nunit >= $MONO_REQUIRED") 2>&5
22605
14182
  ac_status=$?
22606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14183
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607
14184
  (exit $ac_status); }; then
22608
14185
  pkg_cv_NUNIT_CFLAGS=`$PKG_CONFIG --cflags "nunit >= $MONO_REQUIRED" 2>/dev/null`
22609
14186
else
22610
14187
  pkg_failed=yes
22611
14188
fi
22612
 
    fi
22613
 
else
22614
 
        pkg_failed=untried
22615
 
fi
22616
 
if test -n "$PKG_CONFIG"; then
22617
 
    if test -n "$NUNIT_LIBS"; then
22618
 
        pkg_cv_NUNIT_LIBS="$NUNIT_LIBS"
22619
 
    else
22620
 
        if test -n "$PKG_CONFIG" && \
22621
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit >= \$MONO_REQUIRED\"") >&5
 
14189
 else
 
14190
    pkg_failed=untried
 
14191
fi
 
14192
if test -n "$NUNIT_LIBS"; then
 
14193
    pkg_cv_NUNIT_LIBS="$NUNIT_LIBS"
 
14194
 elif test -n "$PKG_CONFIG"; then
 
14195
    if test -n "$PKG_CONFIG" && \
 
14196
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit >= \$MONO_REQUIRED\"") >&5
22622
14197
  ($PKG_CONFIG --exists --print-errors "nunit >= $MONO_REQUIRED") 2>&5
22623
14198
  ac_status=$?
22624
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14199
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625
14200
  (exit $ac_status); }; then
22626
14201
  pkg_cv_NUNIT_LIBS=`$PKG_CONFIG --libs "nunit >= $MONO_REQUIRED" 2>/dev/null`
22627
14202
else
22628
14203
  pkg_failed=yes
22629
14204
fi
22630
 
    fi
22631
 
else
22632
 
        pkg_failed=untried
22633
 
fi
22634
 
 
22635
 
 
22636
 
 
 
14205
 else
 
14206
    pkg_failed=untried
 
14207
fi
 
14208
 
 
14209
 
 
14210
 
22637
14211
if test $pkg_failed = yes; then
22638
14212
 
22639
14213
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22642
14216
        _pkg_short_errors_supported=no
22643
14217
fi
22644
14218
        if test $_pkg_short_errors_supported = yes; then
22645
 
                NUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "nunit >= $MONO_REQUIRED"`
 
14219
                NUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nunit >= $MONO_REQUIRED" 2>&1`
22646
14220
        else
22647
 
                NUNIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "nunit >= $MONO_REQUIRED"`
 
14221
                NUNIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "nunit >= $MONO_REQUIRED" 2>&1`
22648
14222
        fi
22649
14223
        # Put the nasty error message in config.log where it belongs
22650
14224
        echo "$NUNIT_PKG_ERRORS" >&5
22651
 
 
22652
 
        { echo "$as_me:$LINENO: result: no" >&5
22653
 
echo "${ECHO_T}no" >&6; }
22654
 
 
 
14225
 
 
14226
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
14227
$as_echo "no" >&6; }
 
14228
 
22655
14229
        NUNIT_DEFINES=''
22656
14230
        NUNIT_PKG=''
22657
 
 
 
14231
 
22658
14232
elif test $pkg_failed = untried; then
22659
 
 
 
14233
 
22660
14234
        NUNIT_DEFINES=''
22661
14235
        NUNIT_PKG=''
22662
 
 
 
14236
 
22663
14237
else
22664
14238
        NUNIT_CFLAGS=$pkg_cv_NUNIT_CFLAGS
22665
14239
        NUNIT_LIBS=$pkg_cv_NUNIT_LIBS
22666
 
        { echo "$as_me:$LINENO: result: yes" >&5
22667
 
echo "${ECHO_T}yes" >&6; }
 
14240
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14241
$as_echo "yes" >&6; }
22668
14242
 
22669
14243
        NUNIT_LIBS=$NUNIT_LIBS
22670
14244
        NUNIT_PKG='-pkg:nunit'
22674
14248
else
22675
14249
        NUNIT22_CFLAGS=$pkg_cv_NUNIT22_CFLAGS
22676
14250
        NUNIT22_LIBS=$pkg_cv_NUNIT22_LIBS
22677
 
        { echo "$as_me:$LINENO: result: yes" >&5
22678
 
echo "${ECHO_T}yes" >&6; }
 
14251
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14252
$as_echo "yes" >&6; }
22679
14253
 
22680
14254
    NUNIT_LIBS=$NUNIT22_LIBS
22681
14255
    NUNIT_PKG='-pkg:nunit-2.2'
22686
14260
 
22687
14261
 
22688
14262
pkg_failed=no
22689
 
{ echo "$as_me:$LINENO: checking for NUNIT22" >&5
22690
 
echo $ECHO_N "checking for NUNIT22... $ECHO_C" >&6; }
 
14263
{ $as_echo "$as_me:$LINENO: checking for NUNIT22" >&5
 
14264
$as_echo_n "checking for NUNIT22... " >&6; }
22691
14265
 
22692
 
if test -n "$PKG_CONFIG"; then
22693
 
    if test -n "$NUNIT22_CFLAGS"; then
22694
 
        pkg_cv_NUNIT22_CFLAGS="$NUNIT22_CFLAGS"
22695
 
    else
22696
 
        if test -n "$PKG_CONFIG" && \
22697
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit-2.2 >= \$MONO_REQUIRED\"") >&5
 
14266
if test -n "$NUNIT22_CFLAGS"; then
 
14267
    pkg_cv_NUNIT22_CFLAGS="$NUNIT22_CFLAGS"
 
14268
 elif test -n "$PKG_CONFIG"; then
 
14269
    if test -n "$PKG_CONFIG" && \
 
14270
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit-2.2 >= \$MONO_REQUIRED\"") >&5
22698
14271
  ($PKG_CONFIG --exists --print-errors "nunit-2.2 >= $MONO_REQUIRED") 2>&5
22699
14272
  ac_status=$?
22700
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14273
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701
14274
  (exit $ac_status); }; then
22702
14275
  pkg_cv_NUNIT22_CFLAGS=`$PKG_CONFIG --cflags "nunit-2.2 >= $MONO_REQUIRED" 2>/dev/null`
22703
14276
else
22704
14277
  pkg_failed=yes
22705
14278
fi
22706
 
    fi
22707
 
else
22708
 
        pkg_failed=untried
 
14279
 else
 
14280
    pkg_failed=untried
22709
14281
fi
22710
 
if test -n "$PKG_CONFIG"; then
22711
 
    if test -n "$NUNIT22_LIBS"; then
22712
 
        pkg_cv_NUNIT22_LIBS="$NUNIT22_LIBS"
22713
 
    else
22714
 
        if test -n "$PKG_CONFIG" && \
22715
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit-2.2 >= \$MONO_REQUIRED\"") >&5
 
14282
if test -n "$NUNIT22_LIBS"; then
 
14283
    pkg_cv_NUNIT22_LIBS="$NUNIT22_LIBS"
 
14284
 elif test -n "$PKG_CONFIG"; then
 
14285
    if test -n "$PKG_CONFIG" && \
 
14286
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit-2.2 >= \$MONO_REQUIRED\"") >&5
22716
14287
  ($PKG_CONFIG --exists --print-errors "nunit-2.2 >= $MONO_REQUIRED") 2>&5
22717
14288
  ac_status=$?
22718
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14289
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719
14290
  (exit $ac_status); }; then
22720
14291
  pkg_cv_NUNIT22_LIBS=`$PKG_CONFIG --libs "nunit-2.2 >= $MONO_REQUIRED" 2>/dev/null`
22721
14292
else
22722
14293
  pkg_failed=yes
22723
14294
fi
22724
 
    fi
22725
 
else
22726
 
        pkg_failed=untried
 
14295
 else
 
14296
    pkg_failed=untried
22727
14297
fi
22728
14298
 
22729
14299
 
22736
14306
        _pkg_short_errors_supported=no
22737
14307
fi
22738
14308
        if test $_pkg_short_errors_supported = yes; then
22739
 
                NUNIT22_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "nunit-2.2 >= $MONO_REQUIRED"`
 
14309
                NUNIT22_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nunit-2.2 >= $MONO_REQUIRED" 2>&1`
22740
14310
        else
22741
 
                NUNIT22_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "nunit-2.2 >= $MONO_REQUIRED"`
 
14311
                NUNIT22_PKG_ERRORS=`$PKG_CONFIG --print-errors "nunit-2.2 >= $MONO_REQUIRED" 2>&1`
22742
14312
        fi
22743
14313
        # Put the nasty error message in config.log where it belongs
22744
14314
        echo "$NUNIT22_PKG_ERRORS" >&5
22745
14315
 
22746
 
        { echo "$as_me:$LINENO: result: no" >&5
22747
 
echo "${ECHO_T}no" >&6; }
 
14316
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
14317
$as_echo "no" >&6; }
22748
14318
 
22749
14319
 
22750
14320
pkg_failed=no
22751
 
{ echo "$as_me:$LINENO: checking for NUNIT" >&5
22752
 
echo $ECHO_N "checking for NUNIT... $ECHO_C" >&6; }
 
14321
{ $as_echo "$as_me:$LINENO: checking for NUNIT" >&5
 
14322
$as_echo_n "checking for NUNIT... " >&6; }
22753
14323
 
22754
 
if test -n "$PKG_CONFIG"; then
22755
 
    if test -n "$NUNIT_CFLAGS"; then
22756
 
        pkg_cv_NUNIT_CFLAGS="$NUNIT_CFLAGS"
22757
 
    else
22758
 
        if test -n "$PKG_CONFIG" && \
22759
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit >= \$MONO_REQUIRED\"") >&5
 
14324
if test -n "$NUNIT_CFLAGS"; then
 
14325
    pkg_cv_NUNIT_CFLAGS="$NUNIT_CFLAGS"
 
14326
 elif test -n "$PKG_CONFIG"; then
 
14327
    if test -n "$PKG_CONFIG" && \
 
14328
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit >= \$MONO_REQUIRED\"") >&5
22760
14329
  ($PKG_CONFIG --exists --print-errors "nunit >= $MONO_REQUIRED") 2>&5
22761
14330
  ac_status=$?
22762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14331
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22763
14332
  (exit $ac_status); }; then
22764
14333
  pkg_cv_NUNIT_CFLAGS=`$PKG_CONFIG --cflags "nunit >= $MONO_REQUIRED" 2>/dev/null`
22765
14334
else
22766
14335
  pkg_failed=yes
22767
14336
fi
22768
 
    fi
22769
 
else
22770
 
        pkg_failed=untried
22771
 
fi
22772
 
if test -n "$PKG_CONFIG"; then
22773
 
    if test -n "$NUNIT_LIBS"; then
22774
 
        pkg_cv_NUNIT_LIBS="$NUNIT_LIBS"
22775
 
    else
22776
 
        if test -n "$PKG_CONFIG" && \
22777
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit >= \$MONO_REQUIRED\"") >&5
 
14337
 else
 
14338
    pkg_failed=untried
 
14339
fi
 
14340
if test -n "$NUNIT_LIBS"; then
 
14341
    pkg_cv_NUNIT_LIBS="$NUNIT_LIBS"
 
14342
 elif test -n "$PKG_CONFIG"; then
 
14343
    if test -n "$PKG_CONFIG" && \
 
14344
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit >= \$MONO_REQUIRED\"") >&5
22778
14345
  ($PKG_CONFIG --exists --print-errors "nunit >= $MONO_REQUIRED") 2>&5
22779
14346
  ac_status=$?
22780
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14347
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22781
14348
  (exit $ac_status); }; then
22782
14349
  pkg_cv_NUNIT_LIBS=`$PKG_CONFIG --libs "nunit >= $MONO_REQUIRED" 2>/dev/null`
22783
14350
else
22784
14351
  pkg_failed=yes
22785
14352
fi
22786
 
    fi
22787
 
else
22788
 
        pkg_failed=untried
22789
 
fi
22790
 
 
22791
 
 
22792
 
 
 
14353
 else
 
14354
    pkg_failed=untried
 
14355
fi
 
14356
 
 
14357
 
 
14358
 
22793
14359
if test $pkg_failed = yes; then
22794
14360
 
22795
14361
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22798
14364
        _pkg_short_errors_supported=no
22799
14365
fi
22800
14366
        if test $_pkg_short_errors_supported = yes; then
22801
 
                NUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "nunit >= $MONO_REQUIRED"`
 
14367
                NUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nunit >= $MONO_REQUIRED" 2>&1`
22802
14368
        else
22803
 
                NUNIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "nunit >= $MONO_REQUIRED"`
 
14369
                NUNIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "nunit >= $MONO_REQUIRED" 2>&1`
22804
14370
        fi
22805
14371
        # Put the nasty error message in config.log where it belongs
22806
14372
        echo "$NUNIT_PKG_ERRORS" >&5
22807
14373
 
22808
 
        { echo "$as_me:$LINENO: result: no" >&5
22809
 
echo "${ECHO_T}no" >&6; }
22810
 
 
 
14374
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
14375
$as_echo "no" >&6; }
 
14376
 
22811
14377
        NUNIT_DEFINES=''
22812
14378
        NUNIT_PKG=''
22813
14379
 
22819
14385
else
22820
14386
        NUNIT_CFLAGS=$pkg_cv_NUNIT_CFLAGS
22821
14387
        NUNIT_LIBS=$pkg_cv_NUNIT_LIBS
22822
 
        { echo "$as_me:$LINENO: result: yes" >&5
22823
 
echo "${ECHO_T}yes" >&6; }
 
14388
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14389
$as_echo "yes" >&6; }
22824
14390
 
22825
14391
        NUNIT_LIBS=$NUNIT_LIBS
22826
14392
        NUNIT_PKG='-pkg:nunit'
22831
14397
 
22832
14398
 
22833
14399
pkg_failed=no
22834
 
{ echo "$as_me:$LINENO: checking for NUNIT" >&5
22835
 
echo $ECHO_N "checking for NUNIT... $ECHO_C" >&6; }
 
14400
{ $as_echo "$as_me:$LINENO: checking for NUNIT" >&5
 
14401
$as_echo_n "checking for NUNIT... " >&6; }
22836
14402
 
22837
 
if test -n "$PKG_CONFIG"; then
22838
 
    if test -n "$NUNIT_CFLAGS"; then
22839
 
        pkg_cv_NUNIT_CFLAGS="$NUNIT_CFLAGS"
22840
 
    else
22841
 
        if test -n "$PKG_CONFIG" && \
22842
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit >= \$MONO_REQUIRED\"") >&5
 
14403
if test -n "$NUNIT_CFLAGS"; then
 
14404
    pkg_cv_NUNIT_CFLAGS="$NUNIT_CFLAGS"
 
14405
 elif test -n "$PKG_CONFIG"; then
 
14406
    if test -n "$PKG_CONFIG" && \
 
14407
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit >= \$MONO_REQUIRED\"") >&5
22843
14408
  ($PKG_CONFIG --exists --print-errors "nunit >= $MONO_REQUIRED") 2>&5
22844
14409
  ac_status=$?
22845
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14410
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846
14411
  (exit $ac_status); }; then
22847
14412
  pkg_cv_NUNIT_CFLAGS=`$PKG_CONFIG --cflags "nunit >= $MONO_REQUIRED" 2>/dev/null`
22848
14413
else
22849
14414
  pkg_failed=yes
22850
14415
fi
22851
 
    fi
22852
 
else
22853
 
        pkg_failed=untried
22854
 
fi
22855
 
if test -n "$PKG_CONFIG"; then
22856
 
    if test -n "$NUNIT_LIBS"; then
22857
 
        pkg_cv_NUNIT_LIBS="$NUNIT_LIBS"
22858
 
    else
22859
 
        if test -n "$PKG_CONFIG" && \
22860
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit >= \$MONO_REQUIRED\"") >&5
 
14416
 else
 
14417
    pkg_failed=untried
 
14418
fi
 
14419
if test -n "$NUNIT_LIBS"; then
 
14420
    pkg_cv_NUNIT_LIBS="$NUNIT_LIBS"
 
14421
 elif test -n "$PKG_CONFIG"; then
 
14422
    if test -n "$PKG_CONFIG" && \
 
14423
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit >= \$MONO_REQUIRED\"") >&5
22861
14424
  ($PKG_CONFIG --exists --print-errors "nunit >= $MONO_REQUIRED") 2>&5
22862
14425
  ac_status=$?
22863
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14426
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22864
14427
  (exit $ac_status); }; then
22865
14428
  pkg_cv_NUNIT_LIBS=`$PKG_CONFIG --libs "nunit >= $MONO_REQUIRED" 2>/dev/null`
22866
14429
else
22867
14430
  pkg_failed=yes
22868
14431
fi
22869
 
    fi
22870
 
else
22871
 
        pkg_failed=untried
22872
 
fi
22873
 
 
22874
 
 
22875
 
 
 
14432
 else
 
14433
    pkg_failed=untried
 
14434
fi
 
14435
 
 
14436
 
 
14437
 
22876
14438
if test $pkg_failed = yes; then
22877
14439
 
22878
14440
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22881
14443
        _pkg_short_errors_supported=no
22882
14444
fi
22883
14445
        if test $_pkg_short_errors_supported = yes; then
22884
 
                NUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "nunit >= $MONO_REQUIRED"`
 
14446
                NUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nunit >= $MONO_REQUIRED" 2>&1`
22885
14447
        else
22886
 
                NUNIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "nunit >= $MONO_REQUIRED"`
 
14448
                NUNIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "nunit >= $MONO_REQUIRED" 2>&1`
22887
14449
        fi
22888
14450
        # Put the nasty error message in config.log where it belongs
22889
14451
        echo "$NUNIT_PKG_ERRORS" >&5
22890
 
 
22891
 
        { echo "$as_me:$LINENO: result: no" >&5
22892
 
echo "${ECHO_T}no" >&6; }
22893
 
 
 
14452
 
 
14453
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
14454
$as_echo "no" >&6; }
 
14455
 
22894
14456
        NUNIT_DEFINES=''
22895
14457
        NUNIT_PKG=''
22896
 
 
 
14458
 
22897
14459
elif test $pkg_failed = untried; then
22898
 
 
 
14460
 
22899
14461
        NUNIT_DEFINES=''
22900
14462
        NUNIT_PKG=''
22901
 
 
 
14463
 
22902
14464
else
22903
14465
        NUNIT_CFLAGS=$pkg_cv_NUNIT_CFLAGS
22904
14466
        NUNIT_LIBS=$pkg_cv_NUNIT_LIBS
22905
 
        { echo "$as_me:$LINENO: result: yes" >&5
22906
 
echo "${ECHO_T}yes" >&6; }
 
14467
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14468
$as_echo "yes" >&6; }
22907
14469
 
22908
14470
        NUNIT_LIBS=$NUNIT_LIBS
22909
14471
        NUNIT_PKG='-pkg:nunit'
22913
14475
else
22914
14476
        NUNIT22_CFLAGS=$pkg_cv_NUNIT22_CFLAGS
22915
14477
        NUNIT22_LIBS=$pkg_cv_NUNIT22_LIBS
22916
 
        { echo "$as_me:$LINENO: result: yes" >&5
22917
 
echo "${ECHO_T}yes" >&6; }
 
14478
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14479
$as_echo "yes" >&6; }
22918
14480
 
22919
14481
    NUNIT_LIBS=$NUNIT22_LIBS
22920
14482
    NUNIT_PKG='-pkg:nunit-2.2'
22924
14486
else
22925
14487
        MONO_NUNIT_CFLAGS=$pkg_cv_MONO_NUNIT_CFLAGS
22926
14488
        MONO_NUNIT_LIBS=$pkg_cv_MONO_NUNIT_LIBS
22927
 
        { echo "$as_me:$LINENO: result: yes" >&5
22928
 
echo "${ECHO_T}yes" >&6; }
 
14489
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14490
$as_echo "yes" >&6; }
22929
14491
 
22930
14492
  NUNIT_LIBS=$MONO_NUNIT_LIBS
22931
14493
  NUNIT_PKG='-pkg:mono-nunit'
22932
14494
 
22933
14495
fi
 
14496
fi
22934
14497
 
22935
14498
 
22936
14499
 
22939
14502
 
22940
14503
# Extract the first word of "gconftool-2", so it can be a program name with args.
22941
14504
set dummy gconftool-2; ac_word=$2
22942
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22943
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
14505
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14506
$as_echo_n "checking for $ac_word... " >&6; }
22944
14507
if test "${ac_cv_path_GCONFTOOL+set}" = set; then
22945
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14508
  $as_echo_n "(cached) " >&6
22946
14509
else
22947
14510
  case $GCONFTOOL in
22948
14511
  [\\/]* | ?:[\\/]*)
22957
14520
  for ac_exec_ext in '' $ac_executable_extensions; do
22958
14521
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22959
14522
    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
22960
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14523
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22961
14524
    break 2
22962
14525
  fi
22963
14526
done
22970
14533
fi
22971
14534
GCONFTOOL=$ac_cv_path_GCONFTOOL
22972
14535
if test -n "$GCONFTOOL"; then
22973
 
  { echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
22974
 
echo "${ECHO_T}$GCONFTOOL" >&6; }
 
14536
  { $as_echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
 
14537
$as_echo "$GCONFTOOL" >&6; }
22975
14538
else
22976
 
  { echo "$as_me:$LINENO: result: no" >&5
22977
 
echo "${ECHO_T}no" >&6; }
 
14539
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14540
$as_echo "no" >&6; }
22978
14541
fi
22979
14542
 
22980
14543
 
22993
14556
 
22994
14557
 
22995
14558
 
22996
 
  { echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
22997
 
echo "${ECHO_T}Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
 
14559
  { $as_echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
 
14560
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
22998
14561
 
22999
14562
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
23000
14563
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
23008
14571
 
23009
14572
 
23010
14573
 
23011
 
  { echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
23012
 
echo "${ECHO_T}Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
 
14574
  { $as_echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
 
14575
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
23013
14576
 
23014
14577
  # Check whether --enable-schemas-install was given.
23015
14578
if test "${enable_schemas_install+set}" = set; then
23016
14579
  enableval=$enable_schemas_install; case ${enableval} in
23017
14580
       yes|no) ;;
23018
 
       *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
23019
 
echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
 
14581
       *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
 
14582
$as_echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
23020
14583
   { (exit 1); exit 1; }; } ;;
23021
14584
      esac
23022
14585
fi
23034
14597
 
23035
14598
 
23036
14599
 
23037
 
{ echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
23038
 
echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6; }
 
14600
{ $as_echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
 
14601
$as_echo_n "checking for jpeg_start_decompress in -ljpeg... " >&6; }
23039
14602
if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
23040
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14603
  $as_echo_n "(cached) " >&6
23041
14604
else
23042
14605
  ac_check_lib_save_LIBS=$LIBS
23043
14606
LIBS="-ljpeg -lm $LIBS"
23069
14632
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23070
14633
  *) ac_try_echo=$ac_try;;
23071
14634
esac
23072
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14635
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14636
$as_echo "$ac_try_echo") >&5
23073
14637
  (eval "$ac_link") 2>conftest.er1
23074
14638
  ac_status=$?
23075
14639
  grep -v '^ *+' conftest.er1 >conftest.err
23076
14640
  rm -f conftest.er1
23077
14641
  cat conftest.err >&5
23078
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14642
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079
14643
  (exit $ac_status); } && {
23080
14644
         test -z "$ac_c_werror_flag" ||
23081
14645
         test ! -s conftest.err
23082
 
       } && test -s conftest$ac_exeext &&
23083
 
       $as_test_x conftest$ac_exeext; then
 
14646
       } && test -s conftest$ac_exeext && {
 
14647
         test "$cross_compiling" = yes ||
 
14648
         $as_test_x conftest$ac_exeext
 
14649
       }; then
23084
14650
  ac_cv_lib_jpeg_jpeg_start_decompress=yes
23085
14651
else
23086
 
  echo "$as_me: failed program was:" >&5
 
14652
  $as_echo "$as_me: failed program was:" >&5
23087
14653
sed 's/^/| /' conftest.$ac_ext >&5
23088
14654
 
23089
14655
        ac_cv_lib_jpeg_jpeg_start_decompress=no
23090
14656
fi
23091
14657
 
 
14658
rm -rf conftest.dSYM
23092
14659
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23093
14660
      conftest$ac_exeext conftest.$ac_ext
23094
14661
LIBS=$ac_check_lib_save_LIBS
23095
14662
fi
23096
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
23097
 
echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6; }
23098
 
if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
 
14663
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
 
14664
$as_echo "$ac_cv_lib_jpeg_jpeg_start_decompress" >&6; }
 
14665
if test "x$ac_cv_lib_jpeg_jpeg_start_decompress" = x""yes; then
23099
14666
  cat >>confdefs.h <<_ACEOF
23100
14667
#define HAVE_LIBJPEG 1
23101
14668
_ACEOF
23103
14670
  LIBS="-ljpeg $LIBS"
23104
14671
 
23105
14672
else
23106
 
  { { echo "$as_me:$LINENO: error: libjpeg not found" >&5
23107
 
echo "$as_me: error: libjpeg not found" >&2;}
 
14673
  { { $as_echo "$as_me:$LINENO: error: libjpeg not found" >&5
 
14674
$as_echo "$as_me: error: libjpeg not found" >&2;}
23108
14675
   { (exit 1); exit 1; }; }
23109
14676
fi
23110
14677
 
23111
14678
if test "${ac_cv_header_jpeglib_h+set}" = set; then
23112
 
  { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23113
 
echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
 
14679
  { $as_echo "$as_me:$LINENO: checking for jpeglib.h" >&5
 
14680
$as_echo_n "checking for jpeglib.h... " >&6; }
23114
14681
if test "${ac_cv_header_jpeglib_h+set}" = set; then
23115
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14682
  $as_echo_n "(cached) " >&6
23116
14683
fi
23117
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23118
 
echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
 
14684
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
 
14685
$as_echo "$ac_cv_header_jpeglib_h" >&6; }
23119
14686
else
23120
14687
  # Is the header compilable?
23121
 
{ echo "$as_me:$LINENO: checking jpeglib.h usability" >&5
23122
 
echo $ECHO_N "checking jpeglib.h usability... $ECHO_C" >&6; }
 
14688
{ $as_echo "$as_me:$LINENO: checking jpeglib.h usability" >&5
 
14689
$as_echo_n "checking jpeglib.h usability... " >&6; }
23123
14690
cat >conftest.$ac_ext <<_ACEOF
23124
14691
/* confdefs.h.  */
23125
14692
_ACEOF
23135
14702
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23136
14703
  *) ac_try_echo=$ac_try;;
23137
14704
esac
23138
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14705
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14706
$as_echo "$ac_try_echo") >&5
23139
14707
  (eval "$ac_compile") 2>conftest.er1
23140
14708
  ac_status=$?
23141
14709
  grep -v '^ *+' conftest.er1 >conftest.err
23142
14710
  rm -f conftest.er1
23143
14711
  cat conftest.err >&5
23144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14712
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23145
14713
  (exit $ac_status); } && {
23146
14714
         test -z "$ac_c_werror_flag" ||
23147
14715
         test ! -s conftest.err
23148
14716
       } && test -s conftest.$ac_objext; then
23149
14717
  ac_header_compiler=yes
23150
14718
else
23151
 
  echo "$as_me: failed program was:" >&5
 
14719
  $as_echo "$as_me: failed program was:" >&5
23152
14720
sed 's/^/| /' conftest.$ac_ext >&5
23153
14721
 
23154
14722
        ac_header_compiler=no
23155
14723
fi
23156
14724
 
23157
14725
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23158
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23159
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
14726
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
14727
$as_echo "$ac_header_compiler" >&6; }
23160
14728
 
23161
14729
# Is the header present?
23162
 
{ echo "$as_me:$LINENO: checking jpeglib.h presence" >&5
23163
 
echo $ECHO_N "checking jpeglib.h presence... $ECHO_C" >&6; }
 
14730
{ $as_echo "$as_me:$LINENO: checking jpeglib.h presence" >&5
 
14731
$as_echo_n "checking jpeglib.h presence... " >&6; }
23164
14732
cat >conftest.$ac_ext <<_ACEOF
23165
14733
/* confdefs.h.  */
23166
14734
_ACEOF
23174
14742
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23175
14743
  *) ac_try_echo=$ac_try;;
23176
14744
esac
23177
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14745
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14746
$as_echo "$ac_try_echo") >&5
23178
14747
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23179
14748
  ac_status=$?
23180
14749
  grep -v '^ *+' conftest.er1 >conftest.err
23181
14750
  rm -f conftest.er1
23182
14751
  cat conftest.err >&5
23183
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14752
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184
14753
  (exit $ac_status); } >/dev/null && {
23185
14754
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23186
14755
         test ! -s conftest.err
23187
14756
       }; then
23188
14757
  ac_header_preproc=yes
23189
14758
else
23190
 
  echo "$as_me: failed program was:" >&5
 
14759
  $as_echo "$as_me: failed program was:" >&5
23191
14760
sed 's/^/| /' conftest.$ac_ext >&5
23192
14761
 
23193
14762
  ac_header_preproc=no
23194
14763
fi
23195
14764
 
23196
14765
rm -f conftest.err conftest.$ac_ext
23197
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23198
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
14766
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
14767
$as_echo "$ac_header_preproc" >&6; }
23199
14768
 
23200
14769
# So?  What about this header?
23201
14770
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23202
14771
  yes:no: )
23203
 
    { echo "$as_me:$LINENO: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&5
23204
 
echo "$as_me: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23205
 
    { echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the compiler's result" >&5
23206
 
echo "$as_me: WARNING: jpeglib.h: proceeding with the compiler's result" >&2;}
 
14772
    { $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
14773
$as_echo "$as_me: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
14774
    { $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the compiler's result" >&5
 
14775
$as_echo "$as_me: WARNING: jpeglib.h: proceeding with the compiler's result" >&2;}
23207
14776
    ac_header_preproc=yes
23208
14777
    ;;
23209
14778
  no:yes:* )
23210
 
    { echo "$as_me:$LINENO: WARNING: jpeglib.h: present but cannot be compiled" >&5
23211
 
echo "$as_me: WARNING: jpeglib.h: present but cannot be compiled" >&2;}
23212
 
    { echo "$as_me:$LINENO: WARNING: jpeglib.h:     check for missing prerequisite headers?" >&5
23213
 
echo "$as_me: WARNING: jpeglib.h:     check for missing prerequisite headers?" >&2;}
23214
 
    { echo "$as_me:$LINENO: WARNING: jpeglib.h: see the Autoconf documentation" >&5
23215
 
echo "$as_me: WARNING: jpeglib.h: see the Autoconf documentation" >&2;}
23216
 
    { echo "$as_me:$LINENO: WARNING: jpeglib.h:     section \"Present But Cannot Be Compiled\"" >&5
23217
 
echo "$as_me: WARNING: jpeglib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
23218
 
    { echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&5
23219
 
echo "$as_me: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&2;}
23220
 
    { echo "$as_me:$LINENO: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&5
23221
 
echo "$as_me: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&2;}
 
14779
    { $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: present but cannot be compiled" >&5
 
14780
$as_echo "$as_me: WARNING: jpeglib.h: present but cannot be compiled" >&2;}
 
14781
    { $as_echo "$as_me:$LINENO: WARNING: jpeglib.h:     check for missing prerequisite headers?" >&5
 
14782
$as_echo "$as_me: WARNING: jpeglib.h:     check for missing prerequisite headers?" >&2;}
 
14783
    { $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: see the Autoconf documentation" >&5
 
14784
$as_echo "$as_me: WARNING: jpeglib.h: see the Autoconf documentation" >&2;}
 
14785
    { $as_echo "$as_me:$LINENO: WARNING: jpeglib.h:     section \"Present But Cannot Be Compiled\"" >&5
 
14786
$as_echo "$as_me: WARNING: jpeglib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
14787
    { $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&5
 
14788
$as_echo "$as_me: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&2;}
 
14789
    { $as_echo "$as_me:$LINENO: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&5
 
14790
$as_echo "$as_me: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&2;}
23222
14791
 
23223
14792
    ;;
23224
14793
esac
23225
 
{ echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23226
 
echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
 
14794
{ $as_echo "$as_me:$LINENO: checking for jpeglib.h" >&5
 
14795
$as_echo_n "checking for jpeglib.h... " >&6; }
23227
14796
if test "${ac_cv_header_jpeglib_h+set}" = set; then
23228
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14797
  $as_echo_n "(cached) " >&6
23229
14798
else
23230
14799
  ac_cv_header_jpeglib_h=$ac_header_preproc
23231
14800
fi
23232
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23233
 
echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
 
14801
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
 
14802
$as_echo "$ac_cv_header_jpeglib_h" >&6; }
23234
14803
 
23235
14804
fi
23236
 
if test $ac_cv_header_jpeglib_h = yes; then
 
14805
if test "x$ac_cv_header_jpeglib_h" = x""yes; then
23237
14806
  :
23238
14807
else
23239
 
  { { echo "$as_me:$LINENO: error: libjpeg not found" >&5
23240
 
echo "$as_me: error: libjpeg not found" >&2;}
 
14808
  { { $as_echo "$as_me:$LINENO: error: libjpeg not found" >&5
 
14809
$as_echo "$as_me: error: libjpeg not found" >&2;}
23241
14810
   { (exit 1); exit 1; }; }
23242
14811
fi
23243
14812
 
23247
14816
 
23248
14817
 
23249
14818
pkg_failed=no
23250
 
{ echo "$as_me:$LINENO: checking for LCMS" >&5
23251
 
echo $ECHO_N "checking for LCMS... $ECHO_C" >&6; }
 
14819
{ $as_echo "$as_me:$LINENO: checking for LCMS" >&5
 
14820
$as_echo_n "checking for LCMS... " >&6; }
23252
14821
 
23253
 
if test -n "$PKG_CONFIG"; then
23254
 
    if test -n "$LCMS_CFLAGS"; then
23255
 
        pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
23256
 
    else
23257
 
        if test -n "$PKG_CONFIG" && \
23258
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"lcms >= \$LCMS_REQUIRED\"") >&5
 
14822
if test -n "$LCMS_CFLAGS"; then
 
14823
    pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
 
14824
 elif test -n "$PKG_CONFIG"; then
 
14825
    if test -n "$PKG_CONFIG" && \
 
14826
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"lcms >= \$LCMS_REQUIRED\"") >&5
23259
14827
  ($PKG_CONFIG --exists --print-errors "lcms >= $LCMS_REQUIRED") 2>&5
23260
14828
  ac_status=$?
23261
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14829
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23262
14830
  (exit $ac_status); }; then
23263
14831
  pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms >= $LCMS_REQUIRED" 2>/dev/null`
23264
14832
else
23265
14833
  pkg_failed=yes
23266
14834
fi
23267
 
    fi
23268
 
else
23269
 
        pkg_failed=untried
 
14835
 else
 
14836
    pkg_failed=untried
23270
14837
fi
23271
 
if test -n "$PKG_CONFIG"; then
23272
 
    if test -n "$LCMS_LIBS"; then
23273
 
        pkg_cv_LCMS_LIBS="$LCMS_LIBS"
23274
 
    else
23275
 
        if test -n "$PKG_CONFIG" && \
23276
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"lcms >= \$LCMS_REQUIRED\"") >&5
 
14838
if test -n "$LCMS_LIBS"; then
 
14839
    pkg_cv_LCMS_LIBS="$LCMS_LIBS"
 
14840
 elif test -n "$PKG_CONFIG"; then
 
14841
    if test -n "$PKG_CONFIG" && \
 
14842
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"lcms >= \$LCMS_REQUIRED\"") >&5
23277
14843
  ($PKG_CONFIG --exists --print-errors "lcms >= $LCMS_REQUIRED") 2>&5
23278
14844
  ac_status=$?
23279
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14845
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23280
14846
  (exit $ac_status); }; then
23281
14847
  pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms >= $LCMS_REQUIRED" 2>/dev/null`
23282
14848
else
23283
14849
  pkg_failed=yes
23284
14850
fi
23285
 
    fi
23286
 
else
23287
 
        pkg_failed=untried
 
14851
 else
 
14852
    pkg_failed=untried
23288
14853
fi
23289
14854
 
23290
14855
 
23297
14862
        _pkg_short_errors_supported=no
23298
14863
fi
23299
14864
        if test $_pkg_short_errors_supported = yes; then
23300
 
                LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lcms >= $LCMS_REQUIRED"`
 
14865
                LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lcms >= $LCMS_REQUIRED" 2>&1`
23301
14866
        else
23302
 
                LCMS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lcms >= $LCMS_REQUIRED"`
 
14867
                LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors "lcms >= $LCMS_REQUIRED" 2>&1`
23303
14868
        fi
23304
14869
        # Put the nasty error message in config.log where it belongs
23305
14870
        echo "$LCMS_PKG_ERRORS" >&5
23306
14871
 
23307
 
        { echo "$as_me:$LINENO: result: no" >&5
23308
 
echo "${ECHO_T}no" >&6; }
 
14872
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
14873
$as_echo "no" >&6; }
23309
14874
 
23310
 
{ echo "$as_me:$LINENO: checking for cmsCreateBCHSWabstractProfile in -llcms" >&5
23311
 
echo $ECHO_N "checking for cmsCreateBCHSWabstractProfile in -llcms... $ECHO_C" >&6; }
 
14875
{ $as_echo "$as_me:$LINENO: checking for cmsCreateBCHSWabstractProfile in -llcms" >&5
 
14876
$as_echo_n "checking for cmsCreateBCHSWabstractProfile in -llcms... " >&6; }
23312
14877
if test "${ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile+set}" = set; then
23313
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14878
  $as_echo_n "(cached) " >&6
23314
14879
else
23315
14880
  ac_check_lib_save_LIBS=$LIBS
23316
14881
LIBS="-llcms -lm $LIBS"
23342
14907
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23343
14908
  *) ac_try_echo=$ac_try;;
23344
14909
esac
23345
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14910
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14911
$as_echo "$ac_try_echo") >&5
23346
14912
  (eval "$ac_link") 2>conftest.er1
23347
14913
  ac_status=$?
23348
14914
  grep -v '^ *+' conftest.er1 >conftest.err
23349
14915
  rm -f conftest.er1
23350
14916
  cat conftest.err >&5
23351
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14917
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352
14918
  (exit $ac_status); } && {
23353
14919
         test -z "$ac_c_werror_flag" ||
23354
14920
         test ! -s conftest.err
23355
 
       } && test -s conftest$ac_exeext &&
23356
 
       $as_test_x conftest$ac_exeext; then
 
14921
       } && test -s conftest$ac_exeext && {
 
14922
         test "$cross_compiling" = yes ||
 
14923
         $as_test_x conftest$ac_exeext
 
14924
       }; then
23357
14925
  ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile=yes
23358
14926
else
23359
 
  echo "$as_me: failed program was:" >&5
 
14927
  $as_echo "$as_me: failed program was:" >&5
23360
14928
sed 's/^/| /' conftest.$ac_ext >&5
23361
14929
 
23362
14930
        ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile=no
23363
14931
fi
23364
14932
 
 
14933
rm -rf conftest.dSYM
23365
14934
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23366
14935
      conftest$ac_exeext conftest.$ac_ext
23367
14936
LIBS=$ac_check_lib_save_LIBS
23368
14937
fi
23369
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile" >&5
23370
 
echo "${ECHO_T}$ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile" >&6; }
23371
 
if test $ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile = yes; then
 
14938
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile" >&5
 
14939
$as_echo "$ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile" >&6; }
 
14940
if test "x$ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile" = x""yes; then
23372
14941
  cat >>confdefs.h <<_ACEOF
23373
14942
#define HAVE_LIBLCMS 1
23374
14943
_ACEOF
23376
14945
  LIBS="-llcms $LIBS"
23377
14946
 
23378
14947
else
23379
 
  { { echo "$as_me:$LINENO: error: liblcms not found" >&5
23380
 
echo "$as_me: error: liblcms not found" >&2;}
 
14948
  { { $as_echo "$as_me:$LINENO: error: liblcms not found" >&5
 
14949
$as_echo "$as_me: error: liblcms not found" >&2;}
23381
14950
   { (exit 1); exit 1; }; }
23382
14951
fi
23383
14952
 
23384
14953
        if test "${ac_cv_header_lcms_h+set}" = set; then
23385
 
  { echo "$as_me:$LINENO: checking for lcms.h" >&5
23386
 
echo $ECHO_N "checking for lcms.h... $ECHO_C" >&6; }
 
14954
  { $as_echo "$as_me:$LINENO: checking for lcms.h" >&5
 
14955
$as_echo_n "checking for lcms.h... " >&6; }
23387
14956
if test "${ac_cv_header_lcms_h+set}" = set; then
23388
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14957
  $as_echo_n "(cached) " >&6
23389
14958
fi
23390
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_lcms_h" >&5
23391
 
echo "${ECHO_T}$ac_cv_header_lcms_h" >&6; }
 
14959
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_lcms_h" >&5
 
14960
$as_echo "$ac_cv_header_lcms_h" >&6; }
23392
14961
else
23393
14962
  # Is the header compilable?
23394
 
{ echo "$as_me:$LINENO: checking lcms.h usability" >&5
23395
 
echo $ECHO_N "checking lcms.h usability... $ECHO_C" >&6; }
 
14963
{ $as_echo "$as_me:$LINENO: checking lcms.h usability" >&5
 
14964
$as_echo_n "checking lcms.h usability... " >&6; }
23396
14965
cat >conftest.$ac_ext <<_ACEOF
23397
14966
/* confdefs.h.  */
23398
14967
_ACEOF
23408
14977
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23409
14978
  *) ac_try_echo=$ac_try;;
23410
14979
esac
23411
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14980
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14981
$as_echo "$ac_try_echo") >&5
23412
14982
  (eval "$ac_compile") 2>conftest.er1
23413
14983
  ac_status=$?
23414
14984
  grep -v '^ *+' conftest.er1 >conftest.err
23415
14985
  rm -f conftest.er1
23416
14986
  cat conftest.err >&5
23417
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14987
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418
14988
  (exit $ac_status); } && {
23419
14989
         test -z "$ac_c_werror_flag" ||
23420
14990
         test ! -s conftest.err
23421
14991
       } && test -s conftest.$ac_objext; then
23422
14992
  ac_header_compiler=yes
23423
14993
else
23424
 
  echo "$as_me: failed program was:" >&5
 
14994
  $as_echo "$as_me: failed program was:" >&5
23425
14995
sed 's/^/| /' conftest.$ac_ext >&5
23426
14996
 
23427
14997
        ac_header_compiler=no
23428
14998
fi
23429
14999
 
23430
15000
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23431
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23432
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
15001
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
15002
$as_echo "$ac_header_compiler" >&6; }
23433
15003
 
23434
15004
# Is the header present?
23435
 
{ echo "$as_me:$LINENO: checking lcms.h presence" >&5
23436
 
echo $ECHO_N "checking lcms.h presence... $ECHO_C" >&6; }
 
15005
{ $as_echo "$as_me:$LINENO: checking lcms.h presence" >&5
 
15006
$as_echo_n "checking lcms.h presence... " >&6; }
23437
15007
cat >conftest.$ac_ext <<_ACEOF
23438
15008
/* confdefs.h.  */
23439
15009
_ACEOF
23447
15017
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23448
15018
  *) ac_try_echo=$ac_try;;
23449
15019
esac
23450
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15020
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15021
$as_echo "$ac_try_echo") >&5
23451
15022
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23452
15023
  ac_status=$?
23453
15024
  grep -v '^ *+' conftest.er1 >conftest.err
23454
15025
  rm -f conftest.er1
23455
15026
  cat conftest.err >&5
23456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15027
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457
15028
  (exit $ac_status); } >/dev/null && {
23458
15029
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23459
15030
         test ! -s conftest.err
23460
15031
       }; then
23461
15032
  ac_header_preproc=yes
23462
15033
else
23463
 
  echo "$as_me: failed program was:" >&5
 
15034
  $as_echo "$as_me: failed program was:" >&5
23464
15035
sed 's/^/| /' conftest.$ac_ext >&5
23465
15036
 
23466
15037
  ac_header_preproc=no
23467
15038
fi
23468
15039
 
23469
15040
rm -f conftest.err conftest.$ac_ext
23470
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23471
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
15041
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
15042
$as_echo "$ac_header_preproc" >&6; }
23472
15043
 
23473
15044
# So?  What about this header?
23474
15045
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23475
15046
  yes:no: )
23476
 
    { echo "$as_me:$LINENO: WARNING: lcms.h: accepted by the compiler, rejected by the preprocessor!" >&5
23477
 
echo "$as_me: WARNING: lcms.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23478
 
    { echo "$as_me:$LINENO: WARNING: lcms.h: proceeding with the compiler's result" >&5
23479
 
echo "$as_me: WARNING: lcms.h: proceeding with the compiler's result" >&2;}
 
15047
    { $as_echo "$as_me:$LINENO: WARNING: lcms.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
15048
$as_echo "$as_me: WARNING: lcms.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
15049
    { $as_echo "$as_me:$LINENO: WARNING: lcms.h: proceeding with the compiler's result" >&5
 
15050
$as_echo "$as_me: WARNING: lcms.h: proceeding with the compiler's result" >&2;}
23480
15051
    ac_header_preproc=yes
23481
15052
    ;;
23482
15053
  no:yes:* )
23483
 
    { echo "$as_me:$LINENO: WARNING: lcms.h: present but cannot be compiled" >&5
23484
 
echo "$as_me: WARNING: lcms.h: present but cannot be compiled" >&2;}
23485
 
    { echo "$as_me:$LINENO: WARNING: lcms.h:     check for missing prerequisite headers?" >&5
23486
 
echo "$as_me: WARNING: lcms.h:     check for missing prerequisite headers?" >&2;}
23487
 
    { echo "$as_me:$LINENO: WARNING: lcms.h: see the Autoconf documentation" >&5
23488
 
echo "$as_me: WARNING: lcms.h: see the Autoconf documentation" >&2;}
23489
 
    { echo "$as_me:$LINENO: WARNING: lcms.h:     section \"Present But Cannot Be Compiled\"" >&5
23490
 
echo "$as_me: WARNING: lcms.h:     section \"Present But Cannot Be Compiled\"" >&2;}
23491
 
    { echo "$as_me:$LINENO: WARNING: lcms.h: proceeding with the preprocessor's result" >&5
23492
 
echo "$as_me: WARNING: lcms.h: proceeding with the preprocessor's result" >&2;}
23493
 
    { echo "$as_me:$LINENO: WARNING: lcms.h: in the future, the compiler will take precedence" >&5
23494
 
echo "$as_me: WARNING: lcms.h: in the future, the compiler will take precedence" >&2;}
 
15054
    { $as_echo "$as_me:$LINENO: WARNING: lcms.h: present but cannot be compiled" >&5
 
15055
$as_echo "$as_me: WARNING: lcms.h: present but cannot be compiled" >&2;}
 
15056
    { $as_echo "$as_me:$LINENO: WARNING: lcms.h:     check for missing prerequisite headers?" >&5
 
15057
$as_echo "$as_me: WARNING: lcms.h:     check for missing prerequisite headers?" >&2;}
 
15058
    { $as_echo "$as_me:$LINENO: WARNING: lcms.h: see the Autoconf documentation" >&5
 
15059
$as_echo "$as_me: WARNING: lcms.h: see the Autoconf documentation" >&2;}
 
15060
    { $as_echo "$as_me:$LINENO: WARNING: lcms.h:     section \"Present But Cannot Be Compiled\"" >&5
 
15061
$as_echo "$as_me: WARNING: lcms.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
15062
    { $as_echo "$as_me:$LINENO: WARNING: lcms.h: proceeding with the preprocessor's result" >&5
 
15063
$as_echo "$as_me: WARNING: lcms.h: proceeding with the preprocessor's result" >&2;}
 
15064
    { $as_echo "$as_me:$LINENO: WARNING: lcms.h: in the future, the compiler will take precedence" >&5
 
15065
$as_echo "$as_me: WARNING: lcms.h: in the future, the compiler will take precedence" >&2;}
23495
15066
 
23496
15067
    ;;
23497
15068
esac
23498
 
{ echo "$as_me:$LINENO: checking for lcms.h" >&5
23499
 
echo $ECHO_N "checking for lcms.h... $ECHO_C" >&6; }
 
15069
{ $as_echo "$as_me:$LINENO: checking for lcms.h" >&5
 
15070
$as_echo_n "checking for lcms.h... " >&6; }
23500
15071
if test "${ac_cv_header_lcms_h+set}" = set; then
23501
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15072
  $as_echo_n "(cached) " >&6
23502
15073
else
23503
15074
  ac_cv_header_lcms_h=$ac_header_preproc
23504
15075
fi
23505
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_lcms_h" >&5
23506
 
echo "${ECHO_T}$ac_cv_header_lcms_h" >&6; }
 
15076
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_lcms_h" >&5
 
15077
$as_echo "$ac_cv_header_lcms_h" >&6; }
23507
15078
 
23508
15079
fi
23509
 
if test $ac_cv_header_lcms_h = yes; then
 
15080
if test "x$ac_cv_header_lcms_h" = x""yes; then
23510
15081
  :
23511
15082
else
23512
 
  { { echo "$as_me:$LINENO: error: liblcms not found" >&5
23513
 
echo "$as_me: error: liblcms not found" >&2;}
 
15083
  { { $as_echo "$as_me:$LINENO: error: liblcms not found" >&5
 
15084
$as_echo "$as_me: error: liblcms not found" >&2;}
23514
15085
   { (exit 1); exit 1; }; }
23515
15086
fi
23516
15087
 
23519
15090
        LCMS_CFLAGS=''
23520
15091
elif test $pkg_failed = untried; then
23521
15092
 
23522
 
{ echo "$as_me:$LINENO: checking for cmsCreateBCHSWabstractProfile in -llcms" >&5
23523
 
echo $ECHO_N "checking for cmsCreateBCHSWabstractProfile in -llcms... $ECHO_C" >&6; }
 
15093
{ $as_echo "$as_me:$LINENO: checking for cmsCreateBCHSWabstractProfile in -llcms" >&5
 
15094
$as_echo_n "checking for cmsCreateBCHSWabstractProfile in -llcms... " >&6; }
23524
15095
if test "${ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile+set}" = set; then
23525
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15096
  $as_echo_n "(cached) " >&6
23526
15097
else
23527
15098
  ac_check_lib_save_LIBS=$LIBS
23528
15099
LIBS="-llcms -lm $LIBS"
23554
15125
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23555
15126
  *) ac_try_echo=$ac_try;;
23556
15127
esac
23557
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15128
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15129
$as_echo "$ac_try_echo") >&5
23558
15130
  (eval "$ac_link") 2>conftest.er1
23559
15131
  ac_status=$?
23560
15132
  grep -v '^ *+' conftest.er1 >conftest.err
23561
15133
  rm -f conftest.er1
23562
15134
  cat conftest.err >&5
23563
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15135
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23564
15136
  (exit $ac_status); } && {
23565
15137
         test -z "$ac_c_werror_flag" ||
23566
15138
         test ! -s conftest.err
23567
 
       } && test -s conftest$ac_exeext &&
23568
 
       $as_test_x conftest$ac_exeext; then
 
15139
       } && test -s conftest$ac_exeext && {
 
15140
         test "$cross_compiling" = yes ||
 
15141
         $as_test_x conftest$ac_exeext
 
15142
       }; then
23569
15143
  ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile=yes
23570
15144
else
23571
 
  echo "$as_me: failed program was:" >&5
 
15145
  $as_echo "$as_me: failed program was:" >&5
23572
15146
sed 's/^/| /' conftest.$ac_ext >&5
23573
15147
 
23574
15148
        ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile=no
23575
15149
fi
23576
15150
 
 
15151
rm -rf conftest.dSYM
23577
15152
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23578
15153
      conftest$ac_exeext conftest.$ac_ext
23579
15154
LIBS=$ac_check_lib_save_LIBS
23580
15155
fi
23581
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile" >&5
23582
 
echo "${ECHO_T}$ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile" >&6; }
23583
 
if test $ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile = yes; then
 
15156
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile" >&5
 
15157
$as_echo "$ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile" >&6; }
 
15158
if test "x$ac_cv_lib_lcms_cmsCreateBCHSWabstractProfile" = x""yes; then
23584
15159
  cat >>confdefs.h <<_ACEOF
23585
15160
#define HAVE_LIBLCMS 1
23586
15161
_ACEOF
23588
15163
  LIBS="-llcms $LIBS"
23589
15164
 
23590
15165
else
23591
 
  { { echo "$as_me:$LINENO: error: liblcms not found" >&5
23592
 
echo "$as_me: error: liblcms not found" >&2;}
 
15166
  { { $as_echo "$as_me:$LINENO: error: liblcms not found" >&5
 
15167
$as_echo "$as_me: error: liblcms not found" >&2;}
23593
15168
   { (exit 1); exit 1; }; }
23594
15169
fi
23595
15170
 
23596
15171
        if test "${ac_cv_header_lcms_h+set}" = set; then
23597
 
  { echo "$as_me:$LINENO: checking for lcms.h" >&5
23598
 
echo $ECHO_N "checking for lcms.h... $ECHO_C" >&6; }
 
15172
  { $as_echo "$as_me:$LINENO: checking for lcms.h" >&5
 
15173
$as_echo_n "checking for lcms.h... " >&6; }
23599
15174
if test "${ac_cv_header_lcms_h+set}" = set; then
23600
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15175
  $as_echo_n "(cached) " >&6
23601
15176
fi
23602
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_lcms_h" >&5
23603
 
echo "${ECHO_T}$ac_cv_header_lcms_h" >&6; }
 
15177
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_lcms_h" >&5
 
15178
$as_echo "$ac_cv_header_lcms_h" >&6; }
23604
15179
else
23605
15180
  # Is the header compilable?
23606
 
{ echo "$as_me:$LINENO: checking lcms.h usability" >&5
23607
 
echo $ECHO_N "checking lcms.h usability... $ECHO_C" >&6; }
 
15181
{ $as_echo "$as_me:$LINENO: checking lcms.h usability" >&5
 
15182
$as_echo_n "checking lcms.h usability... " >&6; }
23608
15183
cat >conftest.$ac_ext <<_ACEOF
23609
15184
/* confdefs.h.  */
23610
15185
_ACEOF
23620
15195
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23621
15196
  *) ac_try_echo=$ac_try;;
23622
15197
esac
23623
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15198
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15199
$as_echo "$ac_try_echo") >&5
23624
15200
  (eval "$ac_compile") 2>conftest.er1
23625
15201
  ac_status=$?
23626
15202
  grep -v '^ *+' conftest.er1 >conftest.err
23627
15203
  rm -f conftest.er1
23628
15204
  cat conftest.err >&5
23629
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15205
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23630
15206
  (exit $ac_status); } && {
23631
15207
         test -z "$ac_c_werror_flag" ||
23632
15208
         test ! -s conftest.err
23633
15209
       } && test -s conftest.$ac_objext; then
23634
15210
  ac_header_compiler=yes
23635
15211
else
23636
 
  echo "$as_me: failed program was:" >&5
 
15212
  $as_echo "$as_me: failed program was:" >&5
23637
15213
sed 's/^/| /' conftest.$ac_ext >&5
23638
15214
 
23639
15215
        ac_header_compiler=no
23640
15216
fi
23641
15217
 
23642
15218
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23643
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23644
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
15219
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
15220
$as_echo "$ac_header_compiler" >&6; }
23645
15221
 
23646
15222
# Is the header present?
23647
 
{ echo "$as_me:$LINENO: checking lcms.h presence" >&5
23648
 
echo $ECHO_N "checking lcms.h presence... $ECHO_C" >&6; }
 
15223
{ $as_echo "$as_me:$LINENO: checking lcms.h presence" >&5
 
15224
$as_echo_n "checking lcms.h presence... " >&6; }
23649
15225
cat >conftest.$ac_ext <<_ACEOF
23650
15226
/* confdefs.h.  */
23651
15227
_ACEOF
23659
15235
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23660
15236
  *) ac_try_echo=$ac_try;;
23661
15237
esac
23662
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15238
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15239
$as_echo "$ac_try_echo") >&5
23663
15240
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23664
15241
  ac_status=$?
23665
15242
  grep -v '^ *+' conftest.er1 >conftest.err
23666
15243
  rm -f conftest.er1
23667
15244
  cat conftest.err >&5
23668
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15245
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669
15246
  (exit $ac_status); } >/dev/null && {
23670
15247
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23671
15248
         test ! -s conftest.err
23672
15249
       }; then
23673
15250
  ac_header_preproc=yes
23674
15251
else
23675
 
  echo "$as_me: failed program was:" >&5
 
15252
  $as_echo "$as_me: failed program was:" >&5
23676
15253
sed 's/^/| /' conftest.$ac_ext >&5
23677
15254
 
23678
15255
  ac_header_preproc=no
23679
15256
fi
23680
15257
 
23681
15258
rm -f conftest.err conftest.$ac_ext
23682
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23683
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
15259
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
15260
$as_echo "$ac_header_preproc" >&6; }
23684
15261
 
23685
15262
# So?  What about this header?
23686
15263
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23687
15264
  yes:no: )
23688
 
    { echo "$as_me:$LINENO: WARNING: lcms.h: accepted by the compiler, rejected by the preprocessor!" >&5
23689
 
echo "$as_me: WARNING: lcms.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23690
 
    { echo "$as_me:$LINENO: WARNING: lcms.h: proceeding with the compiler's result" >&5
23691
 
echo "$as_me: WARNING: lcms.h: proceeding with the compiler's result" >&2;}
 
15265
    { $as_echo "$as_me:$LINENO: WARNING: lcms.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
15266
$as_echo "$as_me: WARNING: lcms.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
15267
    { $as_echo "$as_me:$LINENO: WARNING: lcms.h: proceeding with the compiler's result" >&5
 
15268
$as_echo "$as_me: WARNING: lcms.h: proceeding with the compiler's result" >&2;}
23692
15269
    ac_header_preproc=yes
23693
15270
    ;;
23694
15271
  no:yes:* )
23695
 
    { echo "$as_me:$LINENO: WARNING: lcms.h: present but cannot be compiled" >&5
23696
 
echo "$as_me: WARNING: lcms.h: present but cannot be compiled" >&2;}
23697
 
    { echo "$as_me:$LINENO: WARNING: lcms.h:     check for missing prerequisite headers?" >&5
23698
 
echo "$as_me: WARNING: lcms.h:     check for missing prerequisite headers?" >&2;}
23699
 
    { echo "$as_me:$LINENO: WARNING: lcms.h: see the Autoconf documentation" >&5
23700
 
echo "$as_me: WARNING: lcms.h: see the Autoconf documentation" >&2;}
23701
 
    { echo "$as_me:$LINENO: WARNING: lcms.h:     section \"Present But Cannot Be Compiled\"" >&5
23702
 
echo "$as_me: WARNING: lcms.h:     section \"Present But Cannot Be Compiled\"" >&2;}
23703
 
    { echo "$as_me:$LINENO: WARNING: lcms.h: proceeding with the preprocessor's result" >&5
23704
 
echo "$as_me: WARNING: lcms.h: proceeding with the preprocessor's result" >&2;}
23705
 
    { echo "$as_me:$LINENO: WARNING: lcms.h: in the future, the compiler will take precedence" >&5
23706
 
echo "$as_me: WARNING: lcms.h: in the future, the compiler will take precedence" >&2;}
 
15272
    { $as_echo "$as_me:$LINENO: WARNING: lcms.h: present but cannot be compiled" >&5
 
15273
$as_echo "$as_me: WARNING: lcms.h: present but cannot be compiled" >&2;}
 
15274
    { $as_echo "$as_me:$LINENO: WARNING: lcms.h:     check for missing prerequisite headers?" >&5
 
15275
$as_echo "$as_me: WARNING: lcms.h:     check for missing prerequisite headers?" >&2;}
 
15276
    { $as_echo "$as_me:$LINENO: WARNING: lcms.h: see the Autoconf documentation" >&5
 
15277
$as_echo "$as_me: WARNING: lcms.h: see the Autoconf documentation" >&2;}
 
15278
    { $as_echo "$as_me:$LINENO: WARNING: lcms.h:     section \"Present But Cannot Be Compiled\"" >&5
 
15279
$as_echo "$as_me: WARNING: lcms.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
15280
    { $as_echo "$as_me:$LINENO: WARNING: lcms.h: proceeding with the preprocessor's result" >&5
 
15281
$as_echo "$as_me: WARNING: lcms.h: proceeding with the preprocessor's result" >&2;}
 
15282
    { $as_echo "$as_me:$LINENO: WARNING: lcms.h: in the future, the compiler will take precedence" >&5
 
15283
$as_echo "$as_me: WARNING: lcms.h: in the future, the compiler will take precedence" >&2;}
23707
15284
 
23708
15285
    ;;
23709
15286
esac
23710
 
{ echo "$as_me:$LINENO: checking for lcms.h" >&5
23711
 
echo $ECHO_N "checking for lcms.h... $ECHO_C" >&6; }
 
15287
{ $as_echo "$as_me:$LINENO: checking for lcms.h" >&5
 
15288
$as_echo_n "checking for lcms.h... " >&6; }
23712
15289
if test "${ac_cv_header_lcms_h+set}" = set; then
23713
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15290
  $as_echo_n "(cached) " >&6
23714
15291
else
23715
15292
  ac_cv_header_lcms_h=$ac_header_preproc
23716
15293
fi
23717
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_lcms_h" >&5
23718
 
echo "${ECHO_T}$ac_cv_header_lcms_h" >&6; }
 
15294
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_lcms_h" >&5
 
15295
$as_echo "$ac_cv_header_lcms_h" >&6; }
23719
15296
 
23720
15297
fi
23721
 
if test $ac_cv_header_lcms_h = yes; then
 
15298
if test "x$ac_cv_header_lcms_h" = x""yes; then
23722
15299
  :
23723
15300
else
23724
 
  { { echo "$as_me:$LINENO: error: liblcms not found" >&5
23725
 
echo "$as_me: error: liblcms not found" >&2;}
 
15301
  { { $as_echo "$as_me:$LINENO: error: liblcms not found" >&5
 
15302
$as_echo "$as_me: error: liblcms not found" >&2;}
23726
15303
   { (exit 1); exit 1; }; }
23727
15304
fi
23728
15305
 
23732
15309
else
23733
15310
        LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
23734
15311
        LCMS_LIBS=$pkg_cv_LCMS_LIBS
23735
 
        { echo "$as_me:$LINENO: result: yes" >&5
23736
 
echo "${ECHO_T}yes" >&6; }
 
15312
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15313
$as_echo "yes" >&6; }
23737
15314
        :
23738
15315
fi
23739
15316
 
23741
15318
 
23742
15319
 
23743
15320
pkg_failed=no
23744
 
{ echo "$as_me:$LINENO: checking for LIBGPHOTO2" >&5
23745
 
echo $ECHO_N "checking for LIBGPHOTO2... $ECHO_C" >&6; }
 
15321
{ $as_echo "$as_me:$LINENO: checking for LIBGPHOTO2" >&5
 
15322
$as_echo_n "checking for LIBGPHOTO2... " >&6; }
23746
15323
 
23747
 
if test -n "$PKG_CONFIG"; then
23748
 
    if test -n "$LIBGPHOTO2_CFLAGS"; then
23749
 
        pkg_cv_LIBGPHOTO2_CFLAGS="$LIBGPHOTO2_CFLAGS"
23750
 
    else
23751
 
        if test -n "$PKG_CONFIG" && \
23752
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgphoto2 >= 2.1.4\"") >&5
 
15324
if test -n "$LIBGPHOTO2_CFLAGS"; then
 
15325
    pkg_cv_LIBGPHOTO2_CFLAGS="$LIBGPHOTO2_CFLAGS"
 
15326
 elif test -n "$PKG_CONFIG"; then
 
15327
    if test -n "$PKG_CONFIG" && \
 
15328
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgphoto2 >= 2.1.4\"") >&5
23753
15329
  ($PKG_CONFIG --exists --print-errors "libgphoto2 >= 2.1.4") 2>&5
23754
15330
  ac_status=$?
23755
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15331
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756
15332
  (exit $ac_status); }; then
23757
15333
  pkg_cv_LIBGPHOTO2_CFLAGS=`$PKG_CONFIG --cflags "libgphoto2 >= 2.1.4" 2>/dev/null`
23758
15334
else
23759
15335
  pkg_failed=yes
23760
15336
fi
23761
 
    fi
23762
 
else
23763
 
        pkg_failed=untried
 
15337
 else
 
15338
    pkg_failed=untried
23764
15339
fi
23765
 
if test -n "$PKG_CONFIG"; then
23766
 
    if test -n "$LIBGPHOTO2_LIBS"; then
23767
 
        pkg_cv_LIBGPHOTO2_LIBS="$LIBGPHOTO2_LIBS"
23768
 
    else
23769
 
        if test -n "$PKG_CONFIG" && \
23770
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgphoto2 >= 2.1.4\"") >&5
 
15340
if test -n "$LIBGPHOTO2_LIBS"; then
 
15341
    pkg_cv_LIBGPHOTO2_LIBS="$LIBGPHOTO2_LIBS"
 
15342
 elif test -n "$PKG_CONFIG"; then
 
15343
    if test -n "$PKG_CONFIG" && \
 
15344
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgphoto2 >= 2.1.4\"") >&5
23771
15345
  ($PKG_CONFIG --exists --print-errors "libgphoto2 >= 2.1.4") 2>&5
23772
15346
  ac_status=$?
23773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15347
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774
15348
  (exit $ac_status); }; then
23775
15349
  pkg_cv_LIBGPHOTO2_LIBS=`$PKG_CONFIG --libs "libgphoto2 >= 2.1.4" 2>/dev/null`
23776
15350
else
23777
15351
  pkg_failed=yes
23778
15352
fi
23779
 
    fi
23780
 
else
23781
 
        pkg_failed=untried
 
15353
 else
 
15354
    pkg_failed=untried
23782
15355
fi
23783
15356
 
23784
15357
 
23791
15364
        _pkg_short_errors_supported=no
23792
15365
fi
23793
15366
        if test $_pkg_short_errors_supported = yes; then
23794
 
                LIBGPHOTO2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgphoto2 >= 2.1.4"`
 
15367
                LIBGPHOTO2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgphoto2 >= 2.1.4" 2>&1`
23795
15368
        else
23796
 
                LIBGPHOTO2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgphoto2 >= 2.1.4"`
 
15369
                LIBGPHOTO2_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgphoto2 >= 2.1.4" 2>&1`
23797
15370
        fi
23798
15371
        # Put the nasty error message in config.log where it belongs
23799
15372
        echo "$LIBGPHOTO2_PKG_ERRORS" >&5
23800
15373
 
23801
 
        { { echo "$as_me:$LINENO: error: Package requirements (libgphoto2 >= 2.1.4) were not met:
 
15374
        { { $as_echo "$as_me:$LINENO: error: Package requirements (libgphoto2 >= 2.1.4) were not met:
23802
15375
 
23803
15376
$LIBGPHOTO2_PKG_ERRORS
23804
15377
 
23809
15382
and LIBGPHOTO2_LIBS to avoid the need to call pkg-config.
23810
15383
See the pkg-config man page for more details.
23811
15384
" >&5
23812
 
echo "$as_me: error: Package requirements (libgphoto2 >= 2.1.4) were not met:
 
15385
$as_echo "$as_me: error: Package requirements (libgphoto2 >= 2.1.4) were not met:
23813
15386
 
23814
15387
$LIBGPHOTO2_PKG_ERRORS
23815
15388
 
23822
15395
" >&2;}
23823
15396
   { (exit 1); exit 1; }; }
23824
15397
elif test $pkg_failed = untried; then
23825
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
15398
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
15399
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15400
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
23826
15401
is in your PATH or set the PKG_CONFIG environment variable to the full
23827
15402
path to pkg-config.
23828
15403
 
23830
15405
and LIBGPHOTO2_LIBS to avoid the need to call pkg-config.
23831
15406
See the pkg-config man page for more details.
23832
15407
 
23833
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
15408
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23834
15409
See \`config.log' for more details." >&5
23835
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
15410
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23836
15411
is in your PATH or set the PKG_CONFIG environment variable to the full
23837
15412
path to pkg-config.
23838
15413
 
23840
15415
and LIBGPHOTO2_LIBS to avoid the need to call pkg-config.
23841
15416
See the pkg-config man page for more details.
23842
15417
 
23843
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
15418
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23844
15419
See \`config.log' for more details." >&2;}
23845
 
   { (exit 1); exit 1; }; }
 
15420
   { (exit 1); exit 1; }; }; }
23846
15421
else
23847
15422
        LIBGPHOTO2_CFLAGS=$pkg_cv_LIBGPHOTO2_CFLAGS
23848
15423
        LIBGPHOTO2_LIBS=$pkg_cv_LIBGPHOTO2_LIBS
23849
 
        { echo "$as_me:$LINENO: result: yes" >&5
23850
 
echo "${ECHO_T}yes" >&6; }
 
15424
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15425
$as_echo "yes" >&6; }
23851
15426
        :
23852
15427
fi
23853
15428
 
23855
15430
LIBEXIF_API_CHANGE=0.6.0
23856
15431
 
23857
15432
pkg_failed=no
23858
 
{ echo "$as_me:$LINENO: checking for EXIF" >&5
23859
 
echo $ECHO_N "checking for EXIF... $ECHO_C" >&6; }
 
15433
{ $as_echo "$as_me:$LINENO: checking for EXIF" >&5
 
15434
$as_echo_n "checking for EXIF... " >&6; }
23860
15435
 
23861
 
if test -n "$PKG_CONFIG"; then
23862
 
    if test -n "$EXIF_CFLAGS"; then
23863
 
        pkg_cv_EXIF_CFLAGS="$EXIF_CFLAGS"
23864
 
    else
23865
 
        if test -n "$PKG_CONFIG" && \
23866
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libexif >= \$LIBEXIF_API_CHANGE\"") >&5
 
15436
if test -n "$EXIF_CFLAGS"; then
 
15437
    pkg_cv_EXIF_CFLAGS="$EXIF_CFLAGS"
 
15438
 elif test -n "$PKG_CONFIG"; then
 
15439
    if test -n "$PKG_CONFIG" && \
 
15440
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libexif >= \$LIBEXIF_API_CHANGE\"") >&5
23867
15441
  ($PKG_CONFIG --exists --print-errors "libexif >= $LIBEXIF_API_CHANGE") 2>&5
23868
15442
  ac_status=$?
23869
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15443
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23870
15444
  (exit $ac_status); }; then
23871
15445
  pkg_cv_EXIF_CFLAGS=`$PKG_CONFIG --cflags "libexif >= $LIBEXIF_API_CHANGE" 2>/dev/null`
23872
15446
else
23873
15447
  pkg_failed=yes
23874
15448
fi
23875
 
    fi
23876
 
else
23877
 
        pkg_failed=untried
 
15449
 else
 
15450
    pkg_failed=untried
23878
15451
fi
23879
 
if test -n "$PKG_CONFIG"; then
23880
 
    if test -n "$EXIF_LIBS"; then
23881
 
        pkg_cv_EXIF_LIBS="$EXIF_LIBS"
23882
 
    else
23883
 
        if test -n "$PKG_CONFIG" && \
23884
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libexif >= \$LIBEXIF_API_CHANGE\"") >&5
 
15452
if test -n "$EXIF_LIBS"; then
 
15453
    pkg_cv_EXIF_LIBS="$EXIF_LIBS"
 
15454
 elif test -n "$PKG_CONFIG"; then
 
15455
    if test -n "$PKG_CONFIG" && \
 
15456
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libexif >= \$LIBEXIF_API_CHANGE\"") >&5
23885
15457
  ($PKG_CONFIG --exists --print-errors "libexif >= $LIBEXIF_API_CHANGE") 2>&5
23886
15458
  ac_status=$?
23887
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15459
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23888
15460
  (exit $ac_status); }; then
23889
15461
  pkg_cv_EXIF_LIBS=`$PKG_CONFIG --libs "libexif >= $LIBEXIF_API_CHANGE" 2>/dev/null`
23890
15462
else
23891
15463
  pkg_failed=yes
23892
15464
fi
23893
 
    fi
23894
 
else
23895
 
        pkg_failed=untried
 
15465
 else
 
15466
    pkg_failed=untried
23896
15467
fi
23897
15468
 
23898
15469
 
23905
15476
        _pkg_short_errors_supported=no
23906
15477
fi
23907
15478
        if test $_pkg_short_errors_supported = yes; then
23908
 
                EXIF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libexif >= $LIBEXIF_API_CHANGE"`
 
15479
                EXIF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libexif >= $LIBEXIF_API_CHANGE" 2>&1`
23909
15480
        else
23910
 
                EXIF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libexif >= $LIBEXIF_API_CHANGE"`
 
15481
                EXIF_PKG_ERRORS=`$PKG_CONFIG --print-errors "libexif >= $LIBEXIF_API_CHANGE" 2>&1`
23911
15482
        fi
23912
15483
        # Put the nasty error message in config.log where it belongs
23913
15484
        echo "$EXIF_PKG_ERRORS" >&5
23914
15485
 
23915
 
        { { echo "$as_me:$LINENO: error: Package requirements (libexif >= $LIBEXIF_API_CHANGE) were not met:
 
15486
        { { $as_echo "$as_me:$LINENO: error: Package requirements (libexif >= $LIBEXIF_API_CHANGE) were not met:
23916
15487
 
23917
15488
$EXIF_PKG_ERRORS
23918
15489
 
23923
15494
and EXIF_LIBS to avoid the need to call pkg-config.
23924
15495
See the pkg-config man page for more details.
23925
15496
" >&5
23926
 
echo "$as_me: error: Package requirements (libexif >= $LIBEXIF_API_CHANGE) were not met:
 
15497
$as_echo "$as_me: error: Package requirements (libexif >= $LIBEXIF_API_CHANGE) were not met:
23927
15498
 
23928
15499
$EXIF_PKG_ERRORS
23929
15500
 
23936
15507
" >&2;}
23937
15508
   { (exit 1); exit 1; }; }
23938
15509
elif test $pkg_failed = untried; then
23939
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
15510
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
15511
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15512
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
23940
15513
is in your PATH or set the PKG_CONFIG environment variable to the full
23941
15514
path to pkg-config.
23942
15515
 
23944
15517
and EXIF_LIBS to avoid the need to call pkg-config.
23945
15518
See the pkg-config man page for more details.
23946
15519
 
23947
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
15520
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23948
15521
See \`config.log' for more details." >&5
23949
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
15522
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23950
15523
is in your PATH or set the PKG_CONFIG environment variable to the full
23951
15524
path to pkg-config.
23952
15525
 
23954
15527
and EXIF_LIBS to avoid the need to call pkg-config.
23955
15528
See the pkg-config man page for more details.
23956
15529
 
23957
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
15530
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23958
15531
See \`config.log' for more details." >&2;}
23959
 
   { (exit 1); exit 1; }; }
 
15532
   { (exit 1); exit 1; }; }; }
23960
15533
else
23961
15534
        EXIF_CFLAGS=$pkg_cv_EXIF_CFLAGS
23962
15535
        EXIF_LIBS=$pkg_cv_EXIF_LIBS
23963
 
        { echo "$as_me:$LINENO: result: yes" >&5
23964
 
echo "${ECHO_T}yes" >&6; }
 
15536
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15537
$as_echo "yes" >&6; }
23965
15538
        :
23966
15539
fi
23967
15540
 
23970
15543
 
23971
15544
 
23972
15545
pkg_failed=no
23973
 
{ echo "$as_me:$LINENO: checking for LIBEXIF_VERSION_CHECK" >&5
23974
 
echo $ECHO_N "checking for LIBEXIF_VERSION_CHECK... $ECHO_C" >&6; }
 
15546
{ $as_echo "$as_me:$LINENO: checking for LIBEXIF_VERSION_CHECK" >&5
 
15547
$as_echo_n "checking for LIBEXIF_VERSION_CHECK... " >&6; }
23975
15548
 
23976
 
if test -n "$PKG_CONFIG"; then
23977
 
    if test -n "$LIBEXIF_VERSION_CHECK_CFLAGS"; then
23978
 
        pkg_cv_LIBEXIF_VERSION_CHECK_CFLAGS="$LIBEXIF_VERSION_CHECK_CFLAGS"
23979
 
    else
23980
 
        if test -n "$PKG_CONFIG" && \
23981
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libexif >= 0.6.12\"") >&5
 
15549
if test -n "$LIBEXIF_VERSION_CHECK_CFLAGS"; then
 
15550
    pkg_cv_LIBEXIF_VERSION_CHECK_CFLAGS="$LIBEXIF_VERSION_CHECK_CFLAGS"
 
15551
 elif test -n "$PKG_CONFIG"; then
 
15552
    if test -n "$PKG_CONFIG" && \
 
15553
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libexif >= 0.6.12\"") >&5
23982
15554
  ($PKG_CONFIG --exists --print-errors "libexif >= 0.6.12") 2>&5
23983
15555
  ac_status=$?
23984
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15556
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985
15557
  (exit $ac_status); }; then
23986
15558
  pkg_cv_LIBEXIF_VERSION_CHECK_CFLAGS=`$PKG_CONFIG --cflags "libexif >= 0.6.12" 2>/dev/null`
23987
15559
else
23988
15560
  pkg_failed=yes
23989
15561
fi
23990
 
    fi
23991
 
else
23992
 
        pkg_failed=untried
 
15562
 else
 
15563
    pkg_failed=untried
23993
15564
fi
23994
 
if test -n "$PKG_CONFIG"; then
23995
 
    if test -n "$LIBEXIF_VERSION_CHECK_LIBS"; then
23996
 
        pkg_cv_LIBEXIF_VERSION_CHECK_LIBS="$LIBEXIF_VERSION_CHECK_LIBS"
23997
 
    else
23998
 
        if test -n "$PKG_CONFIG" && \
23999
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libexif >= 0.6.12\"") >&5
 
15565
if test -n "$LIBEXIF_VERSION_CHECK_LIBS"; then
 
15566
    pkg_cv_LIBEXIF_VERSION_CHECK_LIBS="$LIBEXIF_VERSION_CHECK_LIBS"
 
15567
 elif test -n "$PKG_CONFIG"; then
 
15568
    if test -n "$PKG_CONFIG" && \
 
15569
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libexif >= 0.6.12\"") >&5
24000
15570
  ($PKG_CONFIG --exists --print-errors "libexif >= 0.6.12") 2>&5
24001
15571
  ac_status=$?
24002
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15572
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003
15573
  (exit $ac_status); }; then
24004
15574
  pkg_cv_LIBEXIF_VERSION_CHECK_LIBS=`$PKG_CONFIG --libs "libexif >= 0.6.12" 2>/dev/null`
24005
15575
else
24006
15576
  pkg_failed=yes
24007
15577
fi
24008
 
    fi
24009
 
else
24010
 
        pkg_failed=untried
 
15578
 else
 
15579
    pkg_failed=untried
24011
15580
fi
24012
15581
 
24013
15582
 
24020
15589
        _pkg_short_errors_supported=no
24021
15590
fi
24022
15591
        if test $_pkg_short_errors_supported = yes; then
24023
 
                LIBEXIF_VERSION_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libexif >= 0.6.12"`
 
15592
                LIBEXIF_VERSION_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libexif >= 0.6.12" 2>&1`
24024
15593
        else
24025
 
                LIBEXIF_VERSION_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libexif >= 0.6.12"`
 
15594
                LIBEXIF_VERSION_CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "libexif >= 0.6.12" 2>&1`
24026
15595
        fi
24027
15596
        # Put the nasty error message in config.log where it belongs
24028
15597
        echo "$LIBEXIF_VERSION_CHECK_PKG_ERRORS" >&5
24029
15598
 
24030
 
        { echo "$as_me:$LINENO: result: no" >&5
24031
 
echo "${ECHO_T}no" >&6; }
 
15599
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
15600
$as_echo "no" >&6; }
24032
15601
                EXIF_SOVERSION=10
24033
15602
elif test $pkg_failed = untried; then
24034
15603
        EXIF_SOVERSION=10
24035
15604
else
24036
15605
        LIBEXIF_VERSION_CHECK_CFLAGS=$pkg_cv_LIBEXIF_VERSION_CHECK_CFLAGS
24037
15606
        LIBEXIF_VERSION_CHECK_LIBS=$pkg_cv_LIBEXIF_VERSION_CHECK_LIBS
24038
 
        { echo "$as_me:$LINENO: result: yes" >&5
24039
 
echo "${ECHO_T}yes" >&6; }
 
15607
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15608
$as_echo "yes" >&6; }
24040
15609
        EXIF_SOVERSION=12
24041
15610
fi
24042
15611
 
24076
15645
fi
24077
15646
 
24078
15647
if test -n "$PKG_CONFIG" && \
24079
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-screensaver\"") >&5
 
15648
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-screensaver\"") >&5
24080
15649
  ($PKG_CONFIG --exists --print-errors "gnome-screensaver") 2>&5
24081
15650
  ac_status=$?
24082
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15651
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24083
15652
  (exit $ac_status); }; then
24084
15653
  have_gs_pkgconfig=yes
24085
15654
else
24124
15693
 
24125
15694
for ac_header in locale.h
24126
15695
do
24127
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24128
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24129
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24130
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24131
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24132
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15696
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
15697
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
15698
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
15699
$as_echo_n "checking for $ac_header... " >&6; }
 
15700
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
15701
  $as_echo_n "(cached) " >&6
24133
15702
fi
24134
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24135
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24136
 
echo "${ECHO_T}$ac_res" >&6; }
 
15703
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
15704
                 $as_echo "$as_val"'`
 
15705
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
15706
$as_echo "$ac_res" >&6; }
24137
15707
else
24138
15708
  # Is the header compilable?
24139
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24140
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
15709
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
15710
$as_echo_n "checking $ac_header usability... " >&6; }
24141
15711
cat >conftest.$ac_ext <<_ACEOF
24142
15712
/* confdefs.h.  */
24143
15713
_ACEOF
24153
15723
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24154
15724
  *) ac_try_echo=$ac_try;;
24155
15725
esac
24156
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15726
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15727
$as_echo "$ac_try_echo") >&5
24157
15728
  (eval "$ac_compile") 2>conftest.er1
24158
15729
  ac_status=$?
24159
15730
  grep -v '^ *+' conftest.er1 >conftest.err
24160
15731
  rm -f conftest.er1
24161
15732
  cat conftest.err >&5
24162
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15733
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163
15734
  (exit $ac_status); } && {
24164
15735
         test -z "$ac_c_werror_flag" ||
24165
15736
         test ! -s conftest.err
24166
15737
       } && test -s conftest.$ac_objext; then
24167
15738
  ac_header_compiler=yes
24168
15739
else
24169
 
  echo "$as_me: failed program was:" >&5
 
15740
  $as_echo "$as_me: failed program was:" >&5
24170
15741
sed 's/^/| /' conftest.$ac_ext >&5
24171
15742
 
24172
15743
        ac_header_compiler=no
24173
15744
fi
24174
15745
 
24175
15746
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24176
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24177
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
15747
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
15748
$as_echo "$ac_header_compiler" >&6; }
24178
15749
 
24179
15750
# Is the header present?
24180
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24181
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
15751
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
15752
$as_echo_n "checking $ac_header presence... " >&6; }
24182
15753
cat >conftest.$ac_ext <<_ACEOF
24183
15754
/* confdefs.h.  */
24184
15755
_ACEOF
24192
15763
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24193
15764
  *) ac_try_echo=$ac_try;;
24194
15765
esac
24195
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15766
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15767
$as_echo "$ac_try_echo") >&5
24196
15768
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24197
15769
  ac_status=$?
24198
15770
  grep -v '^ *+' conftest.er1 >conftest.err
24199
15771
  rm -f conftest.er1
24200
15772
  cat conftest.err >&5
24201
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15773
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24202
15774
  (exit $ac_status); } >/dev/null && {
24203
15775
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24204
15776
         test ! -s conftest.err
24205
15777
       }; then
24206
15778
  ac_header_preproc=yes
24207
15779
else
24208
 
  echo "$as_me: failed program was:" >&5
 
15780
  $as_echo "$as_me: failed program was:" >&5
24209
15781
sed 's/^/| /' conftest.$ac_ext >&5
24210
15782
 
24211
15783
  ac_header_preproc=no
24212
15784
fi
24213
15785
 
24214
15786
rm -f conftest.err conftest.$ac_ext
24215
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24216
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
15787
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
15788
$as_echo "$ac_header_preproc" >&6; }
24217
15789
 
24218
15790
# So?  What about this header?
24219
15791
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24220
15792
  yes:no: )
24221
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24222
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24223
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24224
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
15793
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
15794
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
15795
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
15796
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24225
15797
    ac_header_preproc=yes
24226
15798
    ;;
24227
15799
  no:yes:* )
24228
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24229
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24230
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24231
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24232
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24233
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24234
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24235
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24236
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24237
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24238
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24239
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
15800
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
15801
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
15802
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
15803
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
15804
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
15805
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
15806
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
15807
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
15808
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
15809
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
15810
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
15811
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24240
15812
 
24241
15813
    ;;
24242
15814
esac
24243
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24244
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
15815
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
15816
$as_echo_n "checking for $ac_header... " >&6; }
24245
15817
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24246
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15818
  $as_echo_n "(cached) " >&6
24247
15819
else
24248
15820
  eval "$as_ac_Header=\$ac_header_preproc"
24249
15821
fi
24250
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24251
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24252
 
echo "${ECHO_T}$ac_res" >&6; }
 
15822
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
15823
                 $as_echo "$as_val"'`
 
15824
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
15825
$as_echo "$ac_res" >&6; }
24253
15826
 
24254
15827
fi
24255
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
15828
as_val=`eval 'as_val=${'$as_ac_Header'}
 
15829
                 $as_echo "$as_val"'`
 
15830
   if test "x$as_val" = x""yes; then
24256
15831
  cat >>confdefs.h <<_ACEOF
24257
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
15832
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24258
15833
_ACEOF
24259
15834
 
24260
15835
fi
24262
15837
done
24263
15838
 
24264
15839
    if test $ac_cv_header_locale_h = yes; then
24265
 
    { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
24266
 
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
 
15840
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
15841
$as_echo_n "checking for LC_MESSAGES... " >&6; }
24267
15842
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
24268
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15843
  $as_echo_n "(cached) " >&6
24269
15844
else
24270
15845
  cat >conftest.$ac_ext <<_ACEOF
24271
15846
/* confdefs.h.  */
24288
15863
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24289
15864
  *) ac_try_echo=$ac_try;;
24290
15865
esac
24291
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15866
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15867
$as_echo "$ac_try_echo") >&5
24292
15868
  (eval "$ac_link") 2>conftest.er1
24293
15869
  ac_status=$?
24294
15870
  grep -v '^ *+' conftest.er1 >conftest.err
24295
15871
  rm -f conftest.er1
24296
15872
  cat conftest.err >&5
24297
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15873
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24298
15874
  (exit $ac_status); } && {
24299
15875
         test -z "$ac_c_werror_flag" ||
24300
15876
         test ! -s conftest.err
24301
 
       } && test -s conftest$ac_exeext &&
24302
 
       $as_test_x conftest$ac_exeext; then
 
15877
       } && test -s conftest$ac_exeext && {
 
15878
         test "$cross_compiling" = yes ||
 
15879
         $as_test_x conftest$ac_exeext
 
15880
       }; then
24303
15881
  am_cv_val_LC_MESSAGES=yes
24304
15882
else
24305
 
  echo "$as_me: failed program was:" >&5
 
15883
  $as_echo "$as_me: failed program was:" >&5
24306
15884
sed 's/^/| /' conftest.$ac_ext >&5
24307
15885
 
24308
15886
        am_cv_val_LC_MESSAGES=no
24309
15887
fi
24310
15888
 
 
15889
rm -rf conftest.dSYM
24311
15890
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24312
15891
      conftest$ac_exeext conftest.$ac_ext
24313
15892
fi
24314
 
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
24315
 
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
 
15893
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
15894
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
24316
15895
    if test $am_cv_val_LC_MESSAGES = yes; then
24317
15896
 
24318
15897
cat >>confdefs.h <<\_ACEOF
24321
15900
 
24322
15901
    fi
24323
15902
  fi
24324
 
         USE_NLS=yes
 
15903
     USE_NLS=yes
24325
15904
 
24326
15905
 
24327
15906
    gt_cv_have_gettext=no
24331
15910
    INTLLIBS=
24332
15911
 
24333
15912
    if test "${ac_cv_header_libintl_h+set}" = set; then
24334
 
  { echo "$as_me:$LINENO: checking for libintl.h" >&5
24335
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
 
15913
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 
15914
$as_echo_n "checking for libintl.h... " >&6; }
24336
15915
if test "${ac_cv_header_libintl_h+set}" = set; then
24337
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15916
  $as_echo_n "(cached) " >&6
24338
15917
fi
24339
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
24340
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
 
15918
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
15919
$as_echo "$ac_cv_header_libintl_h" >&6; }
24341
15920
else
24342
15921
  # Is the header compilable?
24343
 
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
24344
 
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
 
15922
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
 
15923
$as_echo_n "checking libintl.h usability... " >&6; }
24345
15924
cat >conftest.$ac_ext <<_ACEOF
24346
15925
/* confdefs.h.  */
24347
15926
_ACEOF
24357
15936
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24358
15937
  *) ac_try_echo=$ac_try;;
24359
15938
esac
24360
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15939
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15940
$as_echo "$ac_try_echo") >&5
24361
15941
  (eval "$ac_compile") 2>conftest.er1
24362
15942
  ac_status=$?
24363
15943
  grep -v '^ *+' conftest.er1 >conftest.err
24364
15944
  rm -f conftest.er1
24365
15945
  cat conftest.err >&5
24366
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15946
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24367
15947
  (exit $ac_status); } && {
24368
15948
         test -z "$ac_c_werror_flag" ||
24369
15949
         test ! -s conftest.err
24370
15950
       } && test -s conftest.$ac_objext; then
24371
15951
  ac_header_compiler=yes
24372
15952
else
24373
 
  echo "$as_me: failed program was:" >&5
 
15953
  $as_echo "$as_me: failed program was:" >&5
24374
15954
sed 's/^/| /' conftest.$ac_ext >&5
24375
15955
 
24376
15956
        ac_header_compiler=no
24377
15957
fi
24378
15958
 
24379
15959
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24380
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24381
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
15960
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
15961
$as_echo "$ac_header_compiler" >&6; }
24382
15962
 
24383
15963
# Is the header present?
24384
 
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
24385
 
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
 
15964
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
 
15965
$as_echo_n "checking libintl.h presence... " >&6; }
24386
15966
cat >conftest.$ac_ext <<_ACEOF
24387
15967
/* confdefs.h.  */
24388
15968
_ACEOF
24396
15976
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24397
15977
  *) ac_try_echo=$ac_try;;
24398
15978
esac
24399
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15979
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15980
$as_echo "$ac_try_echo") >&5
24400
15981
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24401
15982
  ac_status=$?
24402
15983
  grep -v '^ *+' conftest.er1 >conftest.err
24403
15984
  rm -f conftest.er1
24404
15985
  cat conftest.err >&5
24405
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15986
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24406
15987
  (exit $ac_status); } >/dev/null && {
24407
15988
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24408
15989
         test ! -s conftest.err
24409
15990
       }; then
24410
15991
  ac_header_preproc=yes
24411
15992
else
24412
 
  echo "$as_me: failed program was:" >&5
 
15993
  $as_echo "$as_me: failed program was:" >&5
24413
15994
sed 's/^/| /' conftest.$ac_ext >&5
24414
15995
 
24415
15996
  ac_header_preproc=no
24416
15997
fi
24417
15998
 
24418
15999
rm -f conftest.err conftest.$ac_ext
24419
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24420
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
16000
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
16001
$as_echo "$ac_header_preproc" >&6; }
24421
16002
 
24422
16003
# So?  What about this header?
24423
16004
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24424
16005
  yes:no: )
24425
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24426
 
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24427
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
24428
 
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
 
16006
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
16007
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
16008
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
 
16009
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
24429
16010
    ac_header_preproc=yes
24430
16011
    ;;
24431
16012
  no:yes:* )
24432
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
24433
 
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
24434
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
24435
 
echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
24436
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
24437
 
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
24438
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
24439
 
echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
24440
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
24441
 
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
24442
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
24443
 
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
 
16013
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
 
16014
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
 
16015
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
 
16016
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
 
16017
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
 
16018
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
 
16019
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
 
16020
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
16021
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
 
16022
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
 
16023
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
 
16024
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
24444
16025
 
24445
16026
    ;;
24446
16027
esac
24447
 
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
24448
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
 
16028
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 
16029
$as_echo_n "checking for libintl.h... " >&6; }
24449
16030
if test "${ac_cv_header_libintl_h+set}" = set; then
24450
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16031
  $as_echo_n "(cached) " >&6
24451
16032
else
24452
16033
  ac_cv_header_libintl_h=$ac_header_preproc
24453
16034
fi
24454
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
24455
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
 
16035
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
16036
$as_echo "$ac_cv_header_libintl_h" >&6; }
24456
16037
 
24457
16038
fi
24458
 
if test $ac_cv_header_libintl_h = yes; then
 
16039
if test "x$ac_cv_header_libintl_h" = x""yes; then
24459
16040
  gt_cv_func_dgettext_libintl="no"
24460
16041
      libintl_extra_libs=""
24461
16042
 
24462
16043
      #
24463
16044
      # First check in libc
24464
16045
      #
24465
 
      { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
24466
 
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
 
16046
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
16047
$as_echo_n "checking for ngettext in libc... " >&6; }
24467
16048
if test "${gt_cv_func_ngettext_libc+set}" = set; then
24468
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16049
  $as_echo_n "(cached) " >&6
24469
16050
else
24470
16051
  cat >conftest.$ac_ext <<_ACEOF
24471
16052
/* confdefs.h.  */
24490
16071
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24491
16072
  *) ac_try_echo=$ac_try;;
24492
16073
esac
24493
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16074
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16075
$as_echo "$ac_try_echo") >&5
24494
16076
  (eval "$ac_link") 2>conftest.er1
24495
16077
  ac_status=$?
24496
16078
  grep -v '^ *+' conftest.er1 >conftest.err
24497
16079
  rm -f conftest.er1
24498
16080
  cat conftest.err >&5
24499
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16081
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500
16082
  (exit $ac_status); } && {
24501
16083
         test -z "$ac_c_werror_flag" ||
24502
16084
         test ! -s conftest.err
24503
 
       } && test -s conftest$ac_exeext &&
24504
 
       $as_test_x conftest$ac_exeext; then
 
16085
       } && test -s conftest$ac_exeext && {
 
16086
         test "$cross_compiling" = yes ||
 
16087
         $as_test_x conftest$ac_exeext
 
16088
       }; then
24505
16089
  gt_cv_func_ngettext_libc=yes
24506
16090
else
24507
 
  echo "$as_me: failed program was:" >&5
 
16091
  $as_echo "$as_me: failed program was:" >&5
24508
16092
sed 's/^/| /' conftest.$ac_ext >&5
24509
16093
 
24510
16094
        gt_cv_func_ngettext_libc=no
24511
16095
fi
24512
16096
 
 
16097
rm -rf conftest.dSYM
24513
16098
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24514
16099
      conftest$ac_exeext conftest.$ac_ext
24515
16100
 
24516
16101
fi
24517
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
24518
 
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
 
16102
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
16103
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
24519
16104
 
24520
16105
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
24521
 
              { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
24522
 
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
 
16106
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
16107
$as_echo_n "checking for dgettext in libc... " >&6; }
24523
16108
if test "${gt_cv_func_dgettext_libc+set}" = set; then
24524
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16109
  $as_echo_n "(cached) " >&6
24525
16110
else
24526
16111
  cat >conftest.$ac_ext <<_ACEOF
24527
16112
/* confdefs.h.  */
24546
16131
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24547
16132
  *) ac_try_echo=$ac_try;;
24548
16133
esac
24549
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16134
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16135
$as_echo "$ac_try_echo") >&5
24550
16136
  (eval "$ac_link") 2>conftest.er1
24551
16137
  ac_status=$?
24552
16138
  grep -v '^ *+' conftest.er1 >conftest.err
24553
16139
  rm -f conftest.er1
24554
16140
  cat conftest.err >&5
24555
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16141
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556
16142
  (exit $ac_status); } && {
24557
16143
         test -z "$ac_c_werror_flag" ||
24558
16144
         test ! -s conftest.err
24559
 
       } && test -s conftest$ac_exeext &&
24560
 
       $as_test_x conftest$ac_exeext; then
 
16145
       } && test -s conftest$ac_exeext && {
 
16146
         test "$cross_compiling" = yes ||
 
16147
         $as_test_x conftest$ac_exeext
 
16148
       }; then
24561
16149
  gt_cv_func_dgettext_libc=yes
24562
16150
else
24563
 
  echo "$as_me: failed program was:" >&5
 
16151
  $as_echo "$as_me: failed program was:" >&5
24564
16152
sed 's/^/| /' conftest.$ac_ext >&5
24565
16153
 
24566
16154
        gt_cv_func_dgettext_libc=no
24567
16155
fi
24568
16156
 
 
16157
rm -rf conftest.dSYM
24569
16158
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24570
16159
      conftest$ac_exeext conftest.$ac_ext
24571
16160
 
24572
16161
fi
24573
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
24574
 
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
 
16162
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
16163
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
24575
16164
      fi
24576
16165
 
24577
16166
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
24578
16167
 
24579
16168
for ac_func in bind_textdomain_codeset
24580
16169
do
24581
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24582
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
24583
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
16170
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
16171
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
16172
$as_echo_n "checking for $ac_func... " >&6; }
24584
16173
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24585
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16174
  $as_echo_n "(cached) " >&6
24586
16175
else
24587
16176
  cat >conftest.$ac_ext <<_ACEOF
24588
16177
/* confdefs.h.  */
24635
16224
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24636
16225
  *) ac_try_echo=$ac_try;;
24637
16226
esac
24638
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16227
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16228
$as_echo "$ac_try_echo") >&5
24639
16229
  (eval "$ac_link") 2>conftest.er1
24640
16230
  ac_status=$?
24641
16231
  grep -v '^ *+' conftest.er1 >conftest.err
24642
16232
  rm -f conftest.er1
24643
16233
  cat conftest.err >&5
24644
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16234
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645
16235
  (exit $ac_status); } && {
24646
16236
         test -z "$ac_c_werror_flag" ||
24647
16237
         test ! -s conftest.err
24648
 
       } && test -s conftest$ac_exeext &&
24649
 
       $as_test_x conftest$ac_exeext; then
 
16238
       } && test -s conftest$ac_exeext && {
 
16239
         test "$cross_compiling" = yes ||
 
16240
         $as_test_x conftest$ac_exeext
 
16241
       }; then
24650
16242
  eval "$as_ac_var=yes"
24651
16243
else
24652
 
  echo "$as_me: failed program was:" >&5
 
16244
  $as_echo "$as_me: failed program was:" >&5
24653
16245
sed 's/^/| /' conftest.$ac_ext >&5
24654
16246
 
24655
16247
        eval "$as_ac_var=no"
24656
16248
fi
24657
16249
 
 
16250
rm -rf conftest.dSYM
24658
16251
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24659
16252
      conftest$ac_exeext conftest.$ac_ext
24660
16253
fi
24661
 
ac_res=`eval echo '${'$as_ac_var'}'`
24662
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24663
 
echo "${ECHO_T}$ac_res" >&6; }
24664
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
16254
ac_res=`eval 'as_val=${'$as_ac_var'}
 
16255
                 $as_echo "$as_val"'`
 
16256
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
16257
$as_echo "$ac_res" >&6; }
 
16258
as_val=`eval 'as_val=${'$as_ac_var'}
 
16259
                 $as_echo "$as_val"'`
 
16260
   if test "x$as_val" = x""yes; then
24665
16261
  cat >>confdefs.h <<_ACEOF
24666
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
16262
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24667
16263
_ACEOF
24668
16264
 
24669
16265
fi
24678
16274
         || test "$gt_cv_func_ngettext_libc" != "yes" \
24679
16275
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
24680
16276
 
24681
 
        { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
24682
 
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
 
16277
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
16278
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
24683
16279
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
24684
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16280
  $as_echo_n "(cached) " >&6
24685
16281
else
24686
16282
  ac_check_lib_save_LIBS=$LIBS
24687
16283
LIBS="-lintl  $LIBS"
24713
16309
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24714
16310
  *) ac_try_echo=$ac_try;;
24715
16311
esac
24716
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16312
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16313
$as_echo "$ac_try_echo") >&5
24717
16314
  (eval "$ac_link") 2>conftest.er1
24718
16315
  ac_status=$?
24719
16316
  grep -v '^ *+' conftest.er1 >conftest.err
24720
16317
  rm -f conftest.er1
24721
16318
  cat conftest.err >&5
24722
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16319
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24723
16320
  (exit $ac_status); } && {
24724
16321
         test -z "$ac_c_werror_flag" ||
24725
16322
         test ! -s conftest.err
24726
 
       } && test -s conftest$ac_exeext &&
24727
 
       $as_test_x conftest$ac_exeext; then
 
16323
       } && test -s conftest$ac_exeext && {
 
16324
         test "$cross_compiling" = yes ||
 
16325
         $as_test_x conftest$ac_exeext
 
16326
       }; then
24728
16327
  ac_cv_lib_intl_bindtextdomain=yes
24729
16328
else
24730
 
  echo "$as_me: failed program was:" >&5
 
16329
  $as_echo "$as_me: failed program was:" >&5
24731
16330
sed 's/^/| /' conftest.$ac_ext >&5
24732
16331
 
24733
16332
        ac_cv_lib_intl_bindtextdomain=no
24734
16333
fi
24735
16334
 
 
16335
rm -rf conftest.dSYM
24736
16336
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24737
16337
      conftest$ac_exeext conftest.$ac_ext
24738
16338
LIBS=$ac_check_lib_save_LIBS
24739
16339
fi
24740
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
24741
 
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
24742
 
if test $ac_cv_lib_intl_bindtextdomain = yes; then
24743
 
  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
24744
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
 
16340
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
16341
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 
16342
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
 
16343
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
16344
$as_echo_n "checking for ngettext in -lintl... " >&6; }
24745
16345
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
24746
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16346
  $as_echo_n "(cached) " >&6
24747
16347
else
24748
16348
  ac_check_lib_save_LIBS=$LIBS
24749
16349
LIBS="-lintl  $LIBS"
24775
16375
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24776
16376
  *) ac_try_echo=$ac_try;;
24777
16377
esac
24778
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16378
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16379
$as_echo "$ac_try_echo") >&5
24779
16380
  (eval "$ac_link") 2>conftest.er1
24780
16381
  ac_status=$?
24781
16382
  grep -v '^ *+' conftest.er1 >conftest.err
24782
16383
  rm -f conftest.er1
24783
16384
  cat conftest.err >&5
24784
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16385
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24785
16386
  (exit $ac_status); } && {
24786
16387
         test -z "$ac_c_werror_flag" ||
24787
16388
         test ! -s conftest.err
24788
 
       } && test -s conftest$ac_exeext &&
24789
 
       $as_test_x conftest$ac_exeext; then
 
16389
       } && test -s conftest$ac_exeext && {
 
16390
         test "$cross_compiling" = yes ||
 
16391
         $as_test_x conftest$ac_exeext
 
16392
       }; then
24790
16393
  ac_cv_lib_intl_ngettext=yes
24791
16394
else
24792
 
  echo "$as_me: failed program was:" >&5
 
16395
  $as_echo "$as_me: failed program was:" >&5
24793
16396
sed 's/^/| /' conftest.$ac_ext >&5
24794
16397
 
24795
16398
        ac_cv_lib_intl_ngettext=no
24796
16399
fi
24797
16400
 
 
16401
rm -rf conftest.dSYM
24798
16402
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24799
16403
      conftest$ac_exeext conftest.$ac_ext
24800
16404
LIBS=$ac_check_lib_save_LIBS
24801
16405
fi
24802
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
24803
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
24804
 
if test $ac_cv_lib_intl_ngettext = yes; then
24805
 
  { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
24806
 
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
 
16406
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
16407
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
16408
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
 
16409
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
16410
$as_echo_n "checking for dgettext in -lintl... " >&6; }
24807
16411
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
24808
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16412
  $as_echo_n "(cached) " >&6
24809
16413
else
24810
16414
  ac_check_lib_save_LIBS=$LIBS
24811
16415
LIBS="-lintl  $LIBS"
24837
16441
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24838
16442
  *) ac_try_echo=$ac_try;;
24839
16443
esac
24840
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16444
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16445
$as_echo "$ac_try_echo") >&5
24841
16446
  (eval "$ac_link") 2>conftest.er1
24842
16447
  ac_status=$?
24843
16448
  grep -v '^ *+' conftest.er1 >conftest.err
24844
16449
  rm -f conftest.er1
24845
16450
  cat conftest.err >&5
24846
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16451
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24847
16452
  (exit $ac_status); } && {
24848
16453
         test -z "$ac_c_werror_flag" ||
24849
16454
         test ! -s conftest.err
24850
 
       } && test -s conftest$ac_exeext &&
24851
 
       $as_test_x conftest$ac_exeext; then
 
16455
       } && test -s conftest$ac_exeext && {
 
16456
         test "$cross_compiling" = yes ||
 
16457
         $as_test_x conftest$ac_exeext
 
16458
       }; then
24852
16459
  ac_cv_lib_intl_dgettext=yes
24853
16460
else
24854
 
  echo "$as_me: failed program was:" >&5
 
16461
  $as_echo "$as_me: failed program was:" >&5
24855
16462
sed 's/^/| /' conftest.$ac_ext >&5
24856
16463
 
24857
16464
        ac_cv_lib_intl_dgettext=no
24858
16465
fi
24859
16466
 
 
16467
rm -rf conftest.dSYM
24860
16468
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24861
16469
      conftest$ac_exeext conftest.$ac_ext
24862
16470
LIBS=$ac_check_lib_save_LIBS
24863
16471
fi
24864
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
24865
 
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
24866
 
if test $ac_cv_lib_intl_dgettext = yes; then
 
16472
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
16473
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 
16474
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
24867
16475
  gt_cv_func_dgettext_libintl=yes
24868
16476
fi
24869
16477
 
24873
16481
 
24874
16482
 
24875
16483
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
24876
 
          { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
24877
 
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
24878
 
          { echo "$as_me:$LINENO: result: " >&5
24879
 
echo "${ECHO_T}" >&6; }
24880
 
          { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
24881
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
 
16484
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
16485
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 
16486
          { $as_echo "$as_me:$LINENO: result: " >&5
 
16487
$as_echo "" >&6; }
 
16488
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
16489
$as_echo_n "checking for ngettext in -lintl... " >&6; }
24882
16490
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
24883
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16491
  $as_echo_n "(cached) " >&6
24884
16492
else
24885
16493
  ac_check_lib_save_LIBS=$LIBS
24886
16494
LIBS="-lintl -liconv $LIBS"
24912
16520
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24913
16521
  *) ac_try_echo=$ac_try;;
24914
16522
esac
24915
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16523
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16524
$as_echo "$ac_try_echo") >&5
24916
16525
  (eval "$ac_link") 2>conftest.er1
24917
16526
  ac_status=$?
24918
16527
  grep -v '^ *+' conftest.er1 >conftest.err
24919
16528
  rm -f conftest.er1
24920
16529
  cat conftest.err >&5
24921
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16530
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24922
16531
  (exit $ac_status); } && {
24923
16532
         test -z "$ac_c_werror_flag" ||
24924
16533
         test ! -s conftest.err
24925
 
       } && test -s conftest$ac_exeext &&
24926
 
       $as_test_x conftest$ac_exeext; then
 
16534
       } && test -s conftest$ac_exeext && {
 
16535
         test "$cross_compiling" = yes ||
 
16536
         $as_test_x conftest$ac_exeext
 
16537
       }; then
24927
16538
  ac_cv_lib_intl_ngettext=yes
24928
16539
else
24929
 
  echo "$as_me: failed program was:" >&5
 
16540
  $as_echo "$as_me: failed program was:" >&5
24930
16541
sed 's/^/| /' conftest.$ac_ext >&5
24931
16542
 
24932
16543
        ac_cv_lib_intl_ngettext=no
24933
16544
fi
24934
16545
 
 
16546
rm -rf conftest.dSYM
24935
16547
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24936
16548
      conftest$ac_exeext conftest.$ac_ext
24937
16549
LIBS=$ac_check_lib_save_LIBS
24938
16550
fi
24939
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
24940
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
24941
 
if test $ac_cv_lib_intl_ngettext = yes; then
24942
 
  { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
24943
 
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
 
16551
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
16552
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
16553
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
 
16554
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
16555
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
24944
16556
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
24945
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16557
  $as_echo_n "(cached) " >&6
24946
16558
else
24947
16559
  ac_check_lib_save_LIBS=$LIBS
24948
16560
LIBS="-lintl -liconv $LIBS"
24974
16586
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24975
16587
  *) ac_try_echo=$ac_try;;
24976
16588
esac
24977
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16589
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16590
$as_echo "$ac_try_echo") >&5
24978
16591
  (eval "$ac_link") 2>conftest.er1
24979
16592
  ac_status=$?
24980
16593
  grep -v '^ *+' conftest.er1 >conftest.err
24981
16594
  rm -f conftest.er1
24982
16595
  cat conftest.err >&5
24983
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16596
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24984
16597
  (exit $ac_status); } && {
24985
16598
         test -z "$ac_c_werror_flag" ||
24986
16599
         test ! -s conftest.err
24987
 
       } && test -s conftest$ac_exeext &&
24988
 
       $as_test_x conftest$ac_exeext; then
 
16600
       } && test -s conftest$ac_exeext && {
 
16601
         test "$cross_compiling" = yes ||
 
16602
         $as_test_x conftest$ac_exeext
 
16603
       }; then
24989
16604
  ac_cv_lib_intl_dcgettext=yes
24990
16605
else
24991
 
  echo "$as_me: failed program was:" >&5
 
16606
  $as_echo "$as_me: failed program was:" >&5
24992
16607
sed 's/^/| /' conftest.$ac_ext >&5
24993
16608
 
24994
16609
        ac_cv_lib_intl_dcgettext=no
24995
16610
fi
24996
16611
 
 
16612
rm -rf conftest.dSYM
24997
16613
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24998
16614
      conftest$ac_exeext conftest.$ac_ext
24999
16615
LIBS=$ac_check_lib_save_LIBS
25000
16616
fi
25001
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
25002
 
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
25003
 
if test $ac_cv_lib_intl_dcgettext = yes; then
 
16617
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
16618
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 
16619
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
25004
16620
  gt_cv_func_dgettext_libintl=yes
25005
16621
                        libintl_extra_libs=-liconv
25006
16622
else
25025
16641
 
25026
16642
for ac_func in bind_textdomain_codeset
25027
16643
do
25028
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25029
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
25030
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
16644
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
16645
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
16646
$as_echo_n "checking for $ac_func... " >&6; }
25031
16647
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25032
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16648
  $as_echo_n "(cached) " >&6
25033
16649
else
25034
16650
  cat >conftest.$ac_ext <<_ACEOF
25035
16651
/* confdefs.h.  */
25082
16698
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25083
16699
  *) ac_try_echo=$ac_try;;
25084
16700
esac
25085
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16701
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16702
$as_echo "$ac_try_echo") >&5
25086
16703
  (eval "$ac_link") 2>conftest.er1
25087
16704
  ac_status=$?
25088
16705
  grep -v '^ *+' conftest.er1 >conftest.err
25089
16706
  rm -f conftest.er1
25090
16707
  cat conftest.err >&5
25091
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16708
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25092
16709
  (exit $ac_status); } && {
25093
16710
         test -z "$ac_c_werror_flag" ||
25094
16711
         test ! -s conftest.err
25095
 
       } && test -s conftest$ac_exeext &&
25096
 
       $as_test_x conftest$ac_exeext; then
 
16712
       } && test -s conftest$ac_exeext && {
 
16713
         test "$cross_compiling" = yes ||
 
16714
         $as_test_x conftest$ac_exeext
 
16715
       }; then
25097
16716
  eval "$as_ac_var=yes"
25098
16717
else
25099
 
  echo "$as_me: failed program was:" >&5
 
16718
  $as_echo "$as_me: failed program was:" >&5
25100
16719
sed 's/^/| /' conftest.$ac_ext >&5
25101
16720
 
25102
16721
        eval "$as_ac_var=no"
25103
16722
fi
25104
16723
 
 
16724
rm -rf conftest.dSYM
25105
16725
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25106
16726
      conftest$ac_exeext conftest.$ac_ext
25107
16727
fi
25108
 
ac_res=`eval echo '${'$as_ac_var'}'`
25109
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
25110
 
echo "${ECHO_T}$ac_res" >&6; }
25111
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
16728
ac_res=`eval 'as_val=${'$as_ac_var'}
 
16729
                 $as_echo "$as_val"'`
 
16730
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
16731
$as_echo "$ac_res" >&6; }
 
16732
as_val=`eval 'as_val=${'$as_ac_var'}
 
16733
                 $as_echo "$as_val"'`
 
16734
   if test "x$as_val" = x""yes; then
25112
16735
  cat >>confdefs.h <<_ACEOF
25113
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
16736
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25114
16737
_ACEOF
25115
16738
 
25116
16739
fi
25146
16769
 
25147
16770
        # Extract the first word of "msgfmt", so it can be a program name with args.
25148
16771
set dummy msgfmt; ac_word=$2
25149
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25150
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
16772
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16773
$as_echo_n "checking for $ac_word... " >&6; }
25151
16774
if test "${ac_cv_path_MSGFMT+set}" = set; then
25152
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16775
  $as_echo_n "(cached) " >&6
25153
16776
else
25154
16777
  case "$MSGFMT" in
25155
16778
  /*)
25173
16796
fi
25174
16797
MSGFMT="$ac_cv_path_MSGFMT"
25175
16798
if test "$MSGFMT" != "no"; then
25176
 
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
25177
 
echo "${ECHO_T}$MSGFMT" >&6; }
 
16799
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
16800
$as_echo "$MSGFMT" >&6; }
25178
16801
else
25179
 
  { echo "$as_me:$LINENO: result: no" >&5
25180
 
echo "${ECHO_T}no" >&6; }
 
16802
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16803
$as_echo "no" >&6; }
25181
16804
fi
25182
16805
        if test "$MSGFMT" != "no"; then
25183
16806
          glib_save_LIBS="$LIBS"
25185
16808
 
25186
16809
for ac_func in dcgettext
25187
16810
do
25188
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25189
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
25190
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
16811
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
16812
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
16813
$as_echo_n "checking for $ac_func... " >&6; }
25191
16814
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25192
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16815
  $as_echo_n "(cached) " >&6
25193
16816
else
25194
16817
  cat >conftest.$ac_ext <<_ACEOF
25195
16818
/* confdefs.h.  */
25242
16865
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25243
16866
  *) ac_try_echo=$ac_try;;
25244
16867
esac
25245
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16868
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16869
$as_echo "$ac_try_echo") >&5
25246
16870
  (eval "$ac_link") 2>conftest.er1
25247
16871
  ac_status=$?
25248
16872
  grep -v '^ *+' conftest.er1 >conftest.err
25249
16873
  rm -f conftest.er1
25250
16874
  cat conftest.err >&5
25251
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16875
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25252
16876
  (exit $ac_status); } && {
25253
16877
         test -z "$ac_c_werror_flag" ||
25254
16878
         test ! -s conftest.err
25255
 
       } && test -s conftest$ac_exeext &&
25256
 
       $as_test_x conftest$ac_exeext; then
 
16879
       } && test -s conftest$ac_exeext && {
 
16880
         test "$cross_compiling" = yes ||
 
16881
         $as_test_x conftest$ac_exeext
 
16882
       }; then
25257
16883
  eval "$as_ac_var=yes"
25258
16884
else
25259
 
  echo "$as_me: failed program was:" >&5
 
16885
  $as_echo "$as_me: failed program was:" >&5
25260
16886
sed 's/^/| /' conftest.$ac_ext >&5
25261
16887
 
25262
16888
        eval "$as_ac_var=no"
25263
16889
fi
25264
16890
 
 
16891
rm -rf conftest.dSYM
25265
16892
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25266
16893
      conftest$ac_exeext conftest.$ac_ext
25267
16894
fi
25268
 
ac_res=`eval echo '${'$as_ac_var'}'`
25269
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
25270
 
echo "${ECHO_T}$ac_res" >&6; }
25271
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
16895
ac_res=`eval 'as_val=${'$as_ac_var'}
 
16896
                 $as_echo "$as_val"'`
 
16897
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
16898
$as_echo "$ac_res" >&6; }
 
16899
as_val=`eval 'as_val=${'$as_ac_var'}
 
16900
                 $as_echo "$as_val"'`
 
16901
   if test "x$as_val" = x""yes; then
25272
16902
  cat >>confdefs.h <<_ACEOF
25273
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
16903
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25274
16904
_ACEOF
25275
16905
 
25276
16906
fi
25277
16907
done
25278
16908
 
25279
16909
          MSGFMT_OPTS=
25280
 
          { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
25281
 
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
 
16910
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
16911
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
25282
16912
          cat >conftest.foo <<_ACEOF
25283
16913
 
25284
16914
msgid ""
25292
16922
"Content-Transfer-Encoding: 8bit\n"
25293
16923
 
25294
16924
_ACEOF
25295
 
if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
16925
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
25296
16926
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
25297
16927
  ac_status=$?
25298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16928
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25299
16929
  (exit $ac_status); }; then
25300
 
  MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
25301
 
echo "${ECHO_T}yes" >&6; }
25302
 
else { echo "$as_me:$LINENO: result: no" >&5
25303
 
echo "${ECHO_T}no" >&6; }
 
16930
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
16931
$as_echo "yes" >&6; }
 
16932
else { $as_echo "$as_me:$LINENO: result: no" >&5
 
16933
$as_echo "no" >&6; }
25304
16934
echo "$as_me: failed input was:" >&5
25305
16935
sed 's/^/| /' conftest.foo >&5
25306
16936
fi
25307
16937
 
25308
16938
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
25309
16939
set dummy gmsgfmt; ac_word=$2
25310
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25311
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
16940
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16941
$as_echo_n "checking for $ac_word... " >&6; }
25312
16942
if test "${ac_cv_path_GMSGFMT+set}" = set; then
25313
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16943
  $as_echo_n "(cached) " >&6
25314
16944
else
25315
16945
  case $GMSGFMT in
25316
16946
  [\\/]* | ?:[\\/]*)
25325
16955
  for ac_exec_ext in '' $ac_executable_extensions; do
25326
16956
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25327
16957
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
25328
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16958
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25329
16959
    break 2
25330
16960
  fi
25331
16961
done
25338
16968
fi
25339
16969
GMSGFMT=$ac_cv_path_GMSGFMT
25340
16970
if test -n "$GMSGFMT"; then
25341
 
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
25342
 
echo "${ECHO_T}$GMSGFMT" >&6; }
 
16971
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
16972
$as_echo "$GMSGFMT" >&6; }
25343
16973
else
25344
 
  { echo "$as_me:$LINENO: result: no" >&5
25345
 
echo "${ECHO_T}no" >&6; }
 
16974
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16975
$as_echo "no" >&6; }
25346
16976
fi
25347
16977
 
25348
16978
 
25349
16979
          # Extract the first word of "xgettext", so it can be a program name with args.
25350
16980
set dummy xgettext; ac_word=$2
25351
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25352
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
16981
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16982
$as_echo_n "checking for $ac_word... " >&6; }
25353
16983
if test "${ac_cv_path_XGETTEXT+set}" = set; then
25354
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16984
  $as_echo_n "(cached) " >&6
25355
16985
else
25356
16986
  case "$XGETTEXT" in
25357
16987
  /*)
25375
17005
fi
25376
17006
XGETTEXT="$ac_cv_path_XGETTEXT"
25377
17007
if test "$XGETTEXT" != ":"; then
25378
 
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
25379
 
echo "${ECHO_T}$XGETTEXT" >&6; }
 
17008
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
17009
$as_echo "$XGETTEXT" >&6; }
25380
17010
else
25381
 
  { echo "$as_me:$LINENO: result: no" >&5
25382
 
echo "${ECHO_T}no" >&6; }
 
17011
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17012
$as_echo "no" >&6; }
25383
17013
fi
25384
17014
 
25385
17015
          cat >conftest.$ac_ext <<_ACEOF
25404
17034
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25405
17035
  *) ac_try_echo=$ac_try;;
25406
17036
esac
25407
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17037
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17038
$as_echo "$ac_try_echo") >&5
25408
17039
  (eval "$ac_link") 2>conftest.er1
25409
17040
  ac_status=$?
25410
17041
  grep -v '^ *+' conftest.er1 >conftest.err
25411
17042
  rm -f conftest.er1
25412
17043
  cat conftest.err >&5
25413
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17044
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414
17045
  (exit $ac_status); } && {
25415
17046
         test -z "$ac_c_werror_flag" ||
25416
17047
         test ! -s conftest.err
25417
 
       } && test -s conftest$ac_exeext &&
25418
 
       $as_test_x conftest$ac_exeext; then
 
17048
       } && test -s conftest$ac_exeext && {
 
17049
         test "$cross_compiling" = yes ||
 
17050
         $as_test_x conftest$ac_exeext
 
17051
       }; then
25419
17052
  CATOBJEXT=.gmo
25420
17053
             DATADIRNAME=share
25421
17054
else
25422
 
  echo "$as_me: failed program was:" >&5
 
17055
  $as_echo "$as_me: failed program was:" >&5
25423
17056
sed 's/^/| /' conftest.$ac_ext >&5
25424
17057
 
25425
17058
        case $host in
25426
17059
            *-*-solaris*)
25427
 
                                                                { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
25428
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
 
17060
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
17061
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
25429
17062
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
25430
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17063
  $as_echo_n "(cached) " >&6
25431
17064
else
25432
17065
  cat >conftest.$ac_ext <<_ACEOF
25433
17066
/* confdefs.h.  */
25480
17113
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25481
17114
  *) ac_try_echo=$ac_try;;
25482
17115
esac
25483
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17116
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17117
$as_echo "$ac_try_echo") >&5
25484
17118
  (eval "$ac_link") 2>conftest.er1
25485
17119
  ac_status=$?
25486
17120
  grep -v '^ *+' conftest.er1 >conftest.err
25487
17121
  rm -f conftest.er1
25488
17122
  cat conftest.err >&5
25489
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17123
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490
17124
  (exit $ac_status); } && {
25491
17125
         test -z "$ac_c_werror_flag" ||
25492
17126
         test ! -s conftest.err
25493
 
       } && test -s conftest$ac_exeext &&
25494
 
       $as_test_x conftest$ac_exeext; then
 
17127
       } && test -s conftest$ac_exeext && {
 
17128
         test "$cross_compiling" = yes ||
 
17129
         $as_test_x conftest$ac_exeext
 
17130
       }; then
25495
17131
  ac_cv_func_bind_textdomain_codeset=yes
25496
17132
else
25497
 
  echo "$as_me: failed program was:" >&5
 
17133
  $as_echo "$as_me: failed program was:" >&5
25498
17134
sed 's/^/| /' conftest.$ac_ext >&5
25499
17135
 
25500
17136
        ac_cv_func_bind_textdomain_codeset=no
25501
17137
fi
25502
17138
 
 
17139
rm -rf conftest.dSYM
25503
17140
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25504
17141
      conftest$ac_exeext conftest.$ac_ext
25505
17142
fi
25506
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
25507
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
25508
 
if test $ac_cv_func_bind_textdomain_codeset = yes; then
 
17143
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
17144
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
 
17145
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
25509
17146
  CATOBJEXT=.gmo
25510
17147
               DATADIRNAME=share
25511
17148
else
25521
17158
            esac
25522
17159
fi
25523
17160
 
 
17161
rm -rf conftest.dSYM
25524
17162
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25525
17163
      conftest$ac_exeext conftest.$ac_ext
25526
17164
          LIBS="$glib_save_LIBS"
25546
17184
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
25547
17185
        : ;
25548
17186
      else
25549
 
        { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
25550
 
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
 
17187
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
17188
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
25551
17189
        XGETTEXT=":"
25552
17190
      fi
25553
17191
    fi
25579
17217
     if test "x$ALL_LINGUAS" = "x"; then
25580
17218
       LINGUAS=
25581
17219
     else
25582
 
       { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
25583
 
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
 
17220
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
17221
$as_echo_n "checking for catalogs to be installed... " >&6; }
25584
17222
       NEW_LINGUAS=
25585
17223
       for presentlang in $ALL_LINGUAS; do
25586
17224
         useit=no
25604
17242
         fi
25605
17243
       done
25606
17244
       LINGUAS=$NEW_LINGUAS
25607
 
       { echo "$as_me:$LINENO: result: $LINGUAS" >&5
25608
 
echo "${ECHO_T}$LINGUAS" >&6; }
 
17245
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
17246
$as_echo "$LINGUAS" >&6; }
25609
17247
     fi
25610
17248
 
25611
17249
          if test -n "$LINGUAS"; then
25650
17288
GNOME_ICON_THEME_PREFIX=`$PKG_CONFIG --variable=prefix gnome-icon-theme`
25651
17289
 
25652
17290
 
25653
 
ac_config_files="$ac_config_files Makefile dbus-sharp/Makefile dbus-sharp-glib/Makefile docs/Makefile gnome-keyring-sharp/Makefile icons/Makefile libeog/Makefile libeog/cursors/Makefile libjpegtran/Makefile libfspot/Makefile libgphoto2-sharp/Makefile mono-addins/Makefile mono-addins/Mono.Addins/Makefile mono-addins/Mono.Addins.Gui/Makefile mono-addins/Mono.Addins.Setup/Makefile semweb/Makefile tools/Makefile po/Makefile.in src/Core/Defines.cs src/AssemblyInfo.cs src/f-spot.exe.config src/Cms.dll.config src/Makefile glitz-sharp/Makefile glitz-sharp/src/Makefile Tao/Makefile Tao/Tao.OpenGl/Makefile Tao/Tao.OpenGl.Glu/Makefile Tao/Tao.GlPostProcess/Makefile Tao/Tao.OpenGl.ExtensionLoader/Makefile extensions/Makefile extensions/CDExport/Makefile extensions/DefaultExporters/Makefile extensions/FlickrExport/Makefile extensions/FlickrExport/FlickrNet/Makefile extensions/GalleryExport/Makefile extensions/FolderExport/Makefile extensions/SmugMugExport/SmugMugNet/Makefile extensions/SmugMugExport/Makefile extensions/PicasaWebExport/Makefile extensions/PicasaWebExport/google-sharp/Makefile f-spot.pc f-spot.spec f-spot.desktop.in f-spot-view.desktop.in f-spot-import.desktop.in"
 
17291
ac_config_files="$ac_config_files Makefile dbus-sharp/Makefile dbus-sharp-glib/Makefile dpap-sharp/Makefile dpap-sharp/lib/Makefile dpap-sharp/dpap-client/Makefile dpap-sharp/dpap-server/Makefile dpap-sharp/DPAPService/Makefile dpap-sharp/DPAPBrowser/Makefile docs/Makefile gnome-keyring-sharp/Makefile icons/Makefile libeog/Makefile libeog/cursors/Makefile libjpegtran/Makefile libfspot/Makefile libgphoto2-sharp/Makefile mono-addins/Makefile mono-addins/Mono.Addins/Makefile mono-addins/Mono.Addins.Gui/Makefile mono-addins/Mono.Addins.Setup/Makefile semweb/Makefile tools/Makefile po/Makefile.in src/Core/Defines.cs src/AssemblyInfo.cs src/f-spot.exe.config src/Cms.dll.config src/Makefile glitz-sharp/Makefile glitz-sharp/src/Makefile Tao/Makefile Tao/Tao.OpenGl/Makefile Tao/Tao.OpenGl.Glu/Makefile Tao/Tao.GlPostProcess/Makefile Tao/Tao.OpenGl.ExtensionLoader/Makefile extensions/Makefile extensions/Exporters/Makefile extensions/Exporters/CDExport/Makefile extensions/Exporters/DefaultExporters/Makefile extensions/Exporters/FlickrExport/Makefile extensions/Exporters/FlickrExport/FlickrNet/Makefile extensions/Exporters/GalleryExport/Makefile extensions/Exporters/FacebookExport/Makefile extensions/Exporters/FolderExport/Makefile extensions/Exporters/SmugMugExport/SmugMugNet/Makefile extensions/Exporters/SmugMugExport/Makefile extensions/Exporters/TabbloExport/Makefile extensions/Exporters/TabbloExport/Tabblo/Makefile extensions/Exporters/PicasaWebExport/Makefile extensions/Exporters/PicasaWebExport/google-sharp/Makefile extensions/Exporters/ZipExport/Makefile extensions/Services/Makefile extensions/Services/BeagleService/Makefile extensions/Services/DBusService/Makefile extensions/Tools/Makefile extensions/Tools/RawPlusJpeg/Makefile extensions/Tools/ChangePhotoPath/Makefile extensions/Tools/HashJob/Makefile extensions/Tools/DevelopInUFraw/Makefile extensions/Tools/MergeDb/Makefile f-spot.pc f-spot.spec f-spot.desktop.in f-spot-view.desktop.in f-spot-import.desktop.in"
25654
17292
 
25655
17293
cat >confcache <<\_ACEOF
25656
17294
# This file is a shell script that caches the results of configure
25679
17317
    case $ac_val in #(
25680
17318
    *${as_nl}*)
25681
17319
      case $ac_var in #(
25682
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25683
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
17320
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
17321
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25684
17322
      esac
25685
17323
      case $ac_var in #(
25686
17324
      _ | IFS | as_nl) ;; #(
 
17325
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25687
17326
      *) $as_unset $ac_var ;;
25688
17327
      esac ;;
25689
17328
    esac
25716
17355
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25717
17356
  if test -w "$cache_file"; then
25718
17357
    test "x$cache_file" != "x/dev/null" &&
25719
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25720
 
echo "$as_me: updating cache $cache_file" >&6;}
 
17358
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
17359
$as_echo "$as_me: updating cache $cache_file" >&6;}
25721
17360
    cat confcache >$cache_file
25722
17361
  else
25723
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25724
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
17362
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
17363
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25725
17364
  fi
25726
17365
fi
25727
17366
rm -f confcache
25737
17376
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25738
17377
  # 1. Remove the extension, and $U if already installed.
25739
17378
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25740
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
17379
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25741
17380
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
25742
17381
  #    will be set to the directory where LIBOBJS objects are built.
25743
17382
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25749
17388
 
25750
17389
 
25751
17390
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25752
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 
17391
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
25753
17392
Usually this means the macro was only invoked conditionally." >&5
25754
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 
17393
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
25755
17394
Usually this means the macro was only invoked conditionally." >&2;}
25756
17395
   { (exit 1); exit 1; }; }
25757
17396
fi
25758
17397
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25759
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
17398
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
25760
17399
Usually this means the macro was only invoked conditionally." >&5
25761
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
17400
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
25762
17401
Usually this means the macro was only invoked conditionally." >&2;}
25763
17402
   { (exit 1); exit 1; }; }
25764
17403
fi
25765
17404
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25766
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
17405
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25767
17406
Usually this means the macro was only invoked conditionally." >&5
25768
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
17407
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25769
17408
Usually this means the macro was only invoked conditionally." >&2;}
25770
17409
   { (exit 1); exit 1; }; }
25771
17410
fi
25774
17413
 
25775
17414
 
25776
17415
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25777
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25778
 
Usually this means the macro was only invoked conditionally." >&5
25779
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25780
 
Usually this means the macro was only invoked conditionally." >&2;}
25781
 
   { (exit 1); exit 1; }; }
25782
 
fi
25783
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25784
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
25785
 
Usually this means the macro was only invoked conditionally." >&5
25786
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
17416
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
17417
Usually this means the macro was only invoked conditionally." >&5
 
17418
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25787
17419
Usually this means the macro was only invoked conditionally." >&2;}
25788
17420
   { (exit 1); exit 1; }; }
25789
17421
fi
25790
17422
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
25791
 
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
 
17423
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
25792
17424
Usually this means the macro was only invoked conditionally." >&5
25793
 
echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
 
17425
$as_echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
25794
17426
Usually this means the macro was only invoked conditionally." >&2;}
25795
17427
   { (exit 1); exit 1; }; }
25796
17428
fi
25797
17429
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
25798
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
 
17430
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
25799
17431
Usually this means the macro was only invoked conditionally." >&5
25800
 
echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
 
17432
$as_echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
25801
17433
Usually this means the macro was only invoked conditionally." >&2;}
25802
17434
   { (exit 1); exit 1; }; }
25803
17435
fi
25804
17436
if test -z "${NOGCONF_TRUE}" && test -z "${NOGCONF_FALSE}"; then
25805
 
  { { echo "$as_me:$LINENO: error: conditional \"NOGCONF\" was never defined.
25806
 
Usually this means the macro was only invoked conditionally." >&5
25807
 
echo "$as_me: error: conditional \"NOGCONF\" was never defined.
 
17437
  { { $as_echo "$as_me:$LINENO: error: conditional \"NOGCONF\" was never defined.
 
17438
Usually this means the macro was only invoked conditionally." >&5
 
17439
$as_echo "$as_me: error: conditional \"NOGCONF\" was never defined.
 
17440
Usually this means the macro was only invoked conditionally." >&2;}
 
17441
   { (exit 1); exit 1; }; }
 
17442
fi
 
17443
if test -z "${DISABLE_NUNIT_TRUE}" && test -z "${DISABLE_NUNIT_FALSE}"; then
 
17444
  { { $as_echo "$as_me:$LINENO: error: conditional \"DISABLE_NUNIT\" was never defined.
 
17445
Usually this means the macro was only invoked conditionally." >&5
 
17446
$as_echo "$as_me: error: conditional \"DISABLE_NUNIT\" was never defined.
25808
17447
Usually this means the macro was only invoked conditionally." >&2;}
25809
17448
   { (exit 1); exit 1; }; }
25810
17449
fi
25811
17450
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
25812
 
  { { echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
 
17451
  { { $as_echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
25813
17452
Usually this means the macro was only invoked conditionally." >&5
25814
 
echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
 
17453
$as_echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
25815
17454
Usually this means the macro was only invoked conditionally." >&2;}
25816
17455
   { (exit 1); exit 1; }; }
25817
17456
fi
25818
17457
if test -z "${WITH_TURTLE_TRUE}" && test -z "${WITH_TURTLE_FALSE}"; then
25819
 
  { { echo "$as_me:$LINENO: error: conditional \"WITH_TURTLE\" was never defined.
 
17458
  { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_TURTLE\" was never defined.
25820
17459
Usually this means the macro was only invoked conditionally." >&5
25821
 
echo "$as_me: error: conditional \"WITH_TURTLE\" was never defined.
 
17460
$as_echo "$as_me: error: conditional \"WITH_TURTLE\" was never defined.
25822
17461
Usually this means the macro was only invoked conditionally." >&2;}
25823
17462
   { (exit 1); exit 1; }; }
25824
17463
fi
25825
17464
 
25826
17465
: ${CONFIG_STATUS=./config.status}
 
17466
ac_write_fail=0
25827
17467
ac_clean_files_save=$ac_clean_files
25828
17468
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25829
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25830
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
25831
 
cat >$CONFIG_STATUS <<_ACEOF
 
17469
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
17470
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
17471
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25832
17472
#! $SHELL
25833
17473
# Generated by $as_me.
25834
17474
# Run this file to recreate the current configuration.
25841
17481
SHELL=\${CONFIG_SHELL-$SHELL}
25842
17482
_ACEOF
25843
17483
 
25844
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17484
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25845
17485
## --------------------- ##
25846
17486
## M4sh Initialization.  ##
25847
17487
## --------------------- ##
25851
17491
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25852
17492
  emulate sh
25853
17493
  NULLCMD=:
25854
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
17494
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25855
17495
  # is contrary to our usage.  Disable this feature.
25856
17496
  alias -g '${1+"$@"}'='"$@"'
25857
17497
  setopt NO_GLOB_SUBST
25873
17513
as_cr_digits='0123456789'
25874
17514
as_cr_alnum=$as_cr_Letters$as_cr_digits
25875
17515
 
 
17516
as_nl='
 
17517
'
 
17518
export as_nl
 
17519
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
17520
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
17521
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
17522
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
17523
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
17524
  as_echo='printf %s\n'
 
17525
  as_echo_n='printf %s'
 
17526
else
 
17527
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
17528
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
17529
    as_echo_n='/usr/ucb/echo -n'
 
17530
  else
 
17531
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
17532
    as_echo_n_body='eval
 
17533
      arg=$1;
 
17534
      case $arg in
 
17535
      *"$as_nl"*)
 
17536
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
17537
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
17538
      esac;
 
17539
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
17540
    '
 
17541
    export as_echo_n_body
 
17542
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
17543
  fi
 
17544
  export as_echo_body
 
17545
  as_echo='sh -c $as_echo_body as_echo'
 
17546
fi
 
17547
 
25876
17548
# The user is always right.
25877
17549
if test "${PATH_SEPARATOR+set}" != set; then
25878
 
  echo "#! /bin/sh" >conf$$.sh
25879
 
  echo  "exit 0"   >>conf$$.sh
25880
 
  chmod +x conf$$.sh
25881
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25882
 
    PATH_SEPARATOR=';'
25883
 
  else
25884
 
    PATH_SEPARATOR=:
25885
 
  fi
25886
 
  rm -f conf$$.sh
 
17550
  PATH_SEPARATOR=:
 
17551
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
17552
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
17553
      PATH_SEPARATOR=';'
 
17554
  }
25887
17555
fi
25888
17556
 
25889
17557
# Support unset when possible.
25899
17567
# there to prevent editors from complaining about space-tab.
25900
17568
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
25901
17569
# splitting by setting IFS to empty value.)
25902
 
as_nl='
25903
 
'
25904
17570
IFS=" ""        $as_nl"
25905
17571
 
25906
17572
# Find who we are.  Look in the path if we contain no directory separator.
25923
17589
  as_myself=$0
25924
17590
fi
25925
17591
if test ! -f "$as_myself"; then
25926
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
17592
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25927
17593
  { (exit 1); exit 1; }
25928
17594
fi
25929
17595
 
25936
17602
PS4='+ '
25937
17603
 
25938
17604
# NLS nuisances.
25939
 
for as_var in \
25940
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
25941
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
25942
 
  LC_TELEPHONE LC_TIME
25943
 
do
25944
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
25945
 
    eval $as_var=C; export $as_var
25946
 
  else
25947
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
25948
 
  fi
25949
 
done
 
17605
LC_ALL=C
 
17606
export LC_ALL
 
17607
LANGUAGE=C
 
17608
export LANGUAGE
25950
17609
 
25951
17610
# Required to use basename.
25952
17611
if expr a : '\(a\)' >/dev/null 2>&1 &&
25968
17627
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25969
17628
         X"$0" : 'X\(//\)$' \| \
25970
17629
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25971
 
echo X/"$0" |
 
17630
$as_echo X/"$0" |
25972
17631
    sed '/^.*\/\([^/][^/]*\)\/*$/{
25973
17632
            s//\1/
25974
17633
            q
26019
17678
      s/-\n.*//
26020
17679
    ' >$as_me.lineno &&
26021
17680
  chmod +x "$as_me.lineno" ||
26022
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
17681
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26023
17682
   { (exit 1); exit 1; }; }
26024
17683
 
26025
17684
  # Don't try to exec as it changes $[0], causing all sort of problems
26047
17706
*)
26048
17707
  ECHO_N='-n';;
26049
17708
esac
26050
 
 
26051
17709
if expr a : '\(a\)' >/dev/null 2>&1 &&
26052
17710
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
26053
17711
  as_expr=expr
26060
17718
  rm -f conf$$.dir/conf$$.file
26061
17719
else
26062
17720
  rm -f conf$$.dir
26063
 
  mkdir conf$$.dir
 
17721
  mkdir conf$$.dir 2>/dev/null
26064
17722
fi
26065
 
echo >conf$$.file
26066
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
26067
 
  as_ln_s='ln -s'
26068
 
  # ... but there are two gotchas:
26069
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26070
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26071
 
  # In both cases, we have to default to `cp -p'.
26072
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
17723
if (echo >conf$$.file) 2>/dev/null; then
 
17724
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
17725
    as_ln_s='ln -s'
 
17726
    # ... but there are two gotchas:
 
17727
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
17728
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
17729
    # In both cases, we have to default to `cp -p'.
 
17730
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
17731
      as_ln_s='cp -p'
 
17732
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
17733
    as_ln_s=ln
 
17734
  else
26073
17735
    as_ln_s='cp -p'
26074
 
elif ln conf$$.file conf$$ 2>/dev/null; then
26075
 
  as_ln_s=ln
 
17736
  fi
26076
17737
else
26077
17738
  as_ln_s='cp -p'
26078
17739
fi
26097
17758
  as_test_x='
26098
17759
    eval sh -c '\''
26099
17760
      if test -d "$1"; then
26100
 
        test -d "$1/.";
 
17761
        test -d "$1/.";
26101
17762
      else
26102
17763
        case $1 in
26103
 
        -*)set "./$1";;
 
17764
        -*)set "./$1";;
26104
17765
        esac;
26105
17766
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26106
17767
        ???[sx]*):;;*)false;;esac;fi
26122
17783
# report actual input values of CONFIG_FILES etc. instead of their
26123
17784
# values after options handling.
26124
17785
ac_log="
26125
 
This file was extended by F-Spot $as_me 0.4.4, which was
26126
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
17786
This file was extended by F-Spot $as_me 0.5.0.3, which was
 
17787
generated by GNU Autoconf 2.63.  Invocation command line was
26127
17788
 
26128
17789
  CONFIG_FILES    = $CONFIG_FILES
26129
17790
  CONFIG_HEADERS  = $CONFIG_HEADERS
26136
17797
 
26137
17798
_ACEOF
26138
17799
 
26139
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17800
case $ac_config_files in *"
 
17801
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
17802
esac
 
17803
 
 
17804
case $ac_config_headers in *"
 
17805
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
17806
esac
 
17807
 
 
17808
 
 
17809
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26140
17810
# Files that config.status was made for.
26141
17811
config_files="$ac_config_files"
26142
17812
config_headers="$ac_config_headers"
26144
17814
 
26145
17815
_ACEOF
26146
17816
 
26147
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17817
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26148
17818
ac_cs_usage="\
26149
17819
\`$as_me' instantiates files from templates according to the
26150
17820
current configuration.
26151
17821
 
26152
 
Usage: $0 [OPTIONS] [FILE]...
 
17822
Usage: $0 [OPTION]... [FILE]...
26153
17823
 
26154
17824
  -h, --help       print this help, then exit
26155
17825
  -V, --version    print version number and configuration settings, then exit
26156
 
  -q, --quiet      do not print progress messages
 
17826
  -q, --quiet, --silent
 
17827
                   do not print progress messages
26157
17828
  -d, --debug      don't remove temporary files
26158
17829
      --recheck    update $as_me by reconfiguring in the same conditions
26159
 
  --file=FILE[:TEMPLATE]
26160
 
                   instantiate the configuration file FILE
26161
 
  --header=FILE[:TEMPLATE]
26162
 
                   instantiate the configuration header FILE
 
17830
      --file=FILE[:TEMPLATE]
 
17831
                   instantiate the configuration file FILE
 
17832
      --header=FILE[:TEMPLATE]
 
17833
                   instantiate the configuration header FILE
26163
17834
 
26164
17835
Configuration files:
26165
17836
$config_files
26173
17844
Report bugs to <bug-autoconf@gnu.org>."
26174
17845
 
26175
17846
_ACEOF
26176
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17847
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26177
17848
ac_cs_version="\\
26178
 
F-Spot config.status 0.4.4
26179
 
configured by $0, generated by GNU Autoconf 2.61,
26180
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
17849
F-Spot config.status 0.5.0.3
 
17850
configured by $0, generated by GNU Autoconf 2.63,
 
17851
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26181
17852
 
26182
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
17853
Copyright (C) 2008 Free Software Foundation, Inc.
26183
17854
This config.status script is free software; the Free Software Foundation
26184
17855
gives unlimited permission to copy, distribute and modify it."
26185
17856
 
26187
17858
srcdir='$srcdir'
26188
17859
INSTALL='$INSTALL'
26189
17860
MKDIR_P='$MKDIR_P'
 
17861
AWK='$AWK'
 
17862
test -n "\$AWK" || AWK=awk
26190
17863
_ACEOF
26191
17864
 
26192
 
cat >>$CONFIG_STATUS <<\_ACEOF
26193
 
# If no file are specified by the user, then we need to provide default
26194
 
# value.  By we need to know if files were specified by the user.
 
17865
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17866
# The default lists apply if the user does not specify any file.
26195
17867
ac_need_defaults=:
26196
17868
while test $# != 0
26197
17869
do
26213
17885
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26214
17886
    ac_cs_recheck=: ;;
26215
17887
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26216
 
    echo "$ac_cs_version"; exit ;;
 
17888
    $as_echo "$ac_cs_version"; exit ;;
26217
17889
  --debug | --debu | --deb | --de | --d | -d )
26218
17890
    debug=: ;;
26219
17891
  --file | --fil | --fi | --f )
26220
17892
    $ac_shift
26221
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
17893
    case $ac_optarg in
 
17894
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
17895
    esac
 
17896
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
26222
17897
    ac_need_defaults=false;;
26223
17898
  --header | --heade | --head | --hea )
26224
17899
    $ac_shift
26225
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
17900
    case $ac_optarg in
 
17901
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
17902
    esac
 
17903
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
26226
17904
    ac_need_defaults=false;;
26227
17905
  --he | --h)
26228
17906
    # Conflict between --help and --header
26229
 
    { echo "$as_me: error: ambiguous option: $1
 
17907
    { $as_echo "$as_me: error: ambiguous option: $1
26230
17908
Try \`$0 --help' for more information." >&2
26231
17909
   { (exit 1); exit 1; }; };;
26232
17910
  --help | --hel | -h )
26233
 
    echo "$ac_cs_usage"; exit ;;
 
17911
    $as_echo "$ac_cs_usage"; exit ;;
26234
17912
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26235
17913
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
26236
17914
    ac_cs_silent=: ;;
26237
17915
 
26238
17916
  # This is an error.
26239
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
17917
  -*) { $as_echo "$as_me: error: unrecognized option: $1
26240
17918
Try \`$0 --help' for more information." >&2
26241
17919
   { (exit 1); exit 1; }; } ;;
26242
17920
 
26255
17933
fi
26256
17934
 
26257
17935
_ACEOF
26258
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17936
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26259
17937
if \$ac_cs_recheck; then
26260
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26261
 
  CONFIG_SHELL=$SHELL
 
17938
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
17939
  shift
 
17940
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
17941
  CONFIG_SHELL='$SHELL'
26262
17942
  export CONFIG_SHELL
26263
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
17943
  exec "\$@"
26264
17944
fi
26265
17945
 
26266
17946
_ACEOF
26267
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17947
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26268
17948
exec 5>>config.log
26269
17949
{
26270
17950
  echo
26271
17951
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26272
17952
## Running $as_me. ##
26273
17953
_ASBOX
26274
 
  echo "$ac_log"
 
17954
  $as_echo "$ac_log"
26275
17955
} >&5
26276
17956
 
26277
17957
_ACEOF
26278
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17958
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26279
17959
#
26280
17960
# INIT-COMMANDS
26281
17961
#
26282
17962
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26283
 
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
26284
 
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
26285
 
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}'
26286
 
INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}'
26287
 
INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}'
 
17963
 
 
17964
 
 
17965
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
17966
# if CDPATH is set.
 
17967
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
17968
 
 
17969
sed_quote_subst='$sed_quote_subst'
 
17970
double_quote_subst='$double_quote_subst'
 
17971
delay_variable_subst='$delay_variable_subst'
 
17972
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
17973
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
17974
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
17975
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
17976
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
17977
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
17978
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
17979
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
17980
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
17981
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
17982
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
17983
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
17984
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
17985
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
17986
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
17987
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
17988
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
17989
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
17990
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
17991
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
17992
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
17993
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
17994
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
17995
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
17996
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
17997
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
17998
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
17999
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18000
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
18001
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
18002
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
18003
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
18004
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
18005
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
18006
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
18007
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18008
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18009
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18010
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
18011
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
18012
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
18013
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
18014
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
18015
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
18016
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"`'
 
18017
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"`'
 
18018
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
18019
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
18020
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
18021
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
18022
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18023
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
18024
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
18025
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
18026
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
18027
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
18028
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
18029
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
18030
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
18031
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
18032
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
18033
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
18034
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18035
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18036
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
18037
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
18038
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18039
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18040
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
18041
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18042
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18043
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18044
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18045
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18046
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18047
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
18048
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18049
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18050
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18051
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
18052
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
18053
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
18054
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
18055
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
18056
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18057
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
18058
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
18059
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
18060
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
18061
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
18062
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18063
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
18064
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
18065
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18066
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18067
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
18068
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
18069
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
18070
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
18071
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18072
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18073
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
18074
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18075
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18076
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18077
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18078
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18079
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18080
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
18081
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
18082
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18083
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18084
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
18085
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
18086
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
18087
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
18088
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
18089
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
18090
 
 
18091
LTCC='$LTCC'
 
18092
LTCFLAGS='$LTCFLAGS'
 
18093
compiler='$compiler_DEFAULT'
 
18094
 
 
18095
# Quote evaled strings.
 
18096
for var in SED \
 
18097
GREP \
 
18098
EGREP \
 
18099
FGREP \
 
18100
LD \
 
18101
NM \
 
18102
LN_S \
 
18103
lt_SP2NL \
 
18104
lt_NL2SP \
 
18105
reload_flag \
 
18106
OBJDUMP \
 
18107
deplibs_check_method \
 
18108
file_magic_cmd \
 
18109
AR \
 
18110
AR_FLAGS \
 
18111
STRIP \
 
18112
RANLIB \
 
18113
CC \
 
18114
CFLAGS \
 
18115
compiler \
 
18116
lt_cv_sys_global_symbol_pipe \
 
18117
lt_cv_sys_global_symbol_to_cdecl \
 
18118
lt_cv_sys_global_symbol_to_c_name_address \
 
18119
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
18120
SHELL \
 
18121
ECHO \
 
18122
lt_prog_compiler_no_builtin_flag \
 
18123
lt_prog_compiler_wl \
 
18124
lt_prog_compiler_pic \
 
18125
lt_prog_compiler_static \
 
18126
lt_cv_prog_compiler_c_o \
 
18127
need_locks \
 
18128
DSYMUTIL \
 
18129
NMEDIT \
 
18130
LIPO \
 
18131
OTOOL \
 
18132
OTOOL64 \
 
18133
shrext_cmds \
 
18134
export_dynamic_flag_spec \
 
18135
whole_archive_flag_spec \
 
18136
compiler_needs_object \
 
18137
with_gnu_ld \
 
18138
allow_undefined_flag \
 
18139
no_undefined_flag \
 
18140
hardcode_libdir_flag_spec \
 
18141
hardcode_libdir_flag_spec_ld \
 
18142
hardcode_libdir_separator \
 
18143
fix_srcfile_path \
 
18144
exclude_expsyms \
 
18145
include_expsyms \
 
18146
file_list_spec \
 
18147
variables_saved_for_relink \
 
18148
libname_spec \
 
18149
library_names_spec \
 
18150
soname_spec \
 
18151
finish_eval \
 
18152
old_striplib \
 
18153
striplib; do
 
18154
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
18155
    *[\\\\\\\`\\"\\\$]*)
 
18156
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
18157
      ;;
 
18158
    *)
 
18159
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
18160
      ;;
 
18161
    esac
 
18162
done
 
18163
 
 
18164
# Double-quote double-evaled strings.
 
18165
for var in reload_cmds \
 
18166
old_postinstall_cmds \
 
18167
old_postuninstall_cmds \
 
18168
old_archive_cmds \
 
18169
extract_expsyms_cmds \
 
18170
old_archive_from_new_cmds \
 
18171
old_archive_from_expsyms_cmds \
 
18172
archive_cmds \
 
18173
archive_expsym_cmds \
 
18174
module_cmds \
 
18175
module_expsym_cmds \
 
18176
export_symbols_cmds \
 
18177
prelink_cmds \
 
18178
postinstall_cmds \
 
18179
postuninstall_cmds \
 
18180
finish_cmds \
 
18181
sys_lib_search_path_spec \
 
18182
sys_lib_dlsearch_path_spec; do
 
18183
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
18184
    *[\\\\\\\`\\"\\\$]*)
 
18185
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
18186
      ;;
 
18187
    *)
 
18188
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
18189
      ;;
 
18190
    esac
 
18191
done
 
18192
 
 
18193
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
18194
case \$lt_ECHO in
 
18195
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
18196
  ;;
 
18197
esac
 
18198
 
 
18199
ac_aux_dir='$ac_aux_dir'
 
18200
xsi_shell='$xsi_shell'
 
18201
lt_shell_append='$lt_shell_append'
 
18202
 
 
18203
# See if we are running on zsh, and set the options which allow our
 
18204
# commands through without removal of \ escapes INIT.
 
18205
if test -n "\${ZSH_VERSION+set}" ; then
 
18206
   setopt NO_GLOB_SUBST
 
18207
fi
 
18208
 
 
18209
 
 
18210
    PACKAGE='$PACKAGE'
 
18211
    VERSION='$VERSION'
 
18212
    TIMESTAMP='$TIMESTAMP'
 
18213
    RM='$RM'
 
18214
    ofile='$ofile'
 
18215
 
 
18216
 
 
18217
 
26288
18218
 
26289
18219
 
26290
18220
_ACEOF
26291
18221
 
26292
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
18222
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26293
18223
 
26294
18224
# Handling of arguments.
26295
18225
for ac_config_target in $ac_config_targets
26297
18227
  case $ac_config_target in
26298
18228
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26299
18229
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26300
 
    "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
 
18230
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26301
18231
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26302
18232
    "src/f-spot") CONFIG_FILES="$CONFIG_FILES src/f-spot" ;;
26303
18233
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26304
18234
    "dbus-sharp/Makefile") CONFIG_FILES="$CONFIG_FILES dbus-sharp/Makefile" ;;
26305
18235
    "dbus-sharp-glib/Makefile") CONFIG_FILES="$CONFIG_FILES dbus-sharp-glib/Makefile" ;;
 
18236
    "dpap-sharp/Makefile") CONFIG_FILES="$CONFIG_FILES dpap-sharp/Makefile" ;;
 
18237
    "dpap-sharp/lib/Makefile") CONFIG_FILES="$CONFIG_FILES dpap-sharp/lib/Makefile" ;;
 
18238
    "dpap-sharp/dpap-client/Makefile") CONFIG_FILES="$CONFIG_FILES dpap-sharp/dpap-client/Makefile" ;;
 
18239
    "dpap-sharp/dpap-server/Makefile") CONFIG_FILES="$CONFIG_FILES dpap-sharp/dpap-server/Makefile" ;;
 
18240
    "dpap-sharp/DPAPService/Makefile") CONFIG_FILES="$CONFIG_FILES dpap-sharp/DPAPService/Makefile" ;;
 
18241
    "dpap-sharp/DPAPBrowser/Makefile") CONFIG_FILES="$CONFIG_FILES dpap-sharp/DPAPBrowser/Makefile" ;;
26306
18242
    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
26307
18243
    "gnome-keyring-sharp/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-keyring-sharp/Makefile" ;;
26308
18244
    "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
26331
18267
    "Tao/Tao.GlPostProcess/Makefile") CONFIG_FILES="$CONFIG_FILES Tao/Tao.GlPostProcess/Makefile" ;;
26332
18268
    "Tao/Tao.OpenGl.ExtensionLoader/Makefile") CONFIG_FILES="$CONFIG_FILES Tao/Tao.OpenGl.ExtensionLoader/Makefile" ;;
26333
18269
    "extensions/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Makefile" ;;
26334
 
    "extensions/CDExport/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/CDExport/Makefile" ;;
26335
 
    "extensions/DefaultExporters/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/DefaultExporters/Makefile" ;;
26336
 
    "extensions/FlickrExport/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/FlickrExport/Makefile" ;;
26337
 
    "extensions/FlickrExport/FlickrNet/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/FlickrExport/FlickrNet/Makefile" ;;
26338
 
    "extensions/GalleryExport/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/GalleryExport/Makefile" ;;
26339
 
    "extensions/FolderExport/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/FolderExport/Makefile" ;;
26340
 
    "extensions/SmugMugExport/SmugMugNet/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/SmugMugExport/SmugMugNet/Makefile" ;;
26341
 
    "extensions/SmugMugExport/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/SmugMugExport/Makefile" ;;
26342
 
    "extensions/PicasaWebExport/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/PicasaWebExport/Makefile" ;;
26343
 
    "extensions/PicasaWebExport/google-sharp/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/PicasaWebExport/google-sharp/Makefile" ;;
 
18270
    "extensions/Exporters/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Exporters/Makefile" ;;
 
18271
    "extensions/Exporters/CDExport/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Exporters/CDExport/Makefile" ;;
 
18272
    "extensions/Exporters/DefaultExporters/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Exporters/DefaultExporters/Makefile" ;;
 
18273
    "extensions/Exporters/FlickrExport/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Exporters/FlickrExport/Makefile" ;;
 
18274
    "extensions/Exporters/FlickrExport/FlickrNet/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Exporters/FlickrExport/FlickrNet/Makefile" ;;
 
18275
    "extensions/Exporters/GalleryExport/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Exporters/GalleryExport/Makefile" ;;
 
18276
    "extensions/Exporters/FacebookExport/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Exporters/FacebookExport/Makefile" ;;
 
18277
    "extensions/Exporters/FolderExport/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Exporters/FolderExport/Makefile" ;;
 
18278
    "extensions/Exporters/SmugMugExport/SmugMugNet/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Exporters/SmugMugExport/SmugMugNet/Makefile" ;;
 
18279
    "extensions/Exporters/SmugMugExport/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Exporters/SmugMugExport/Makefile" ;;
 
18280
    "extensions/Exporters/TabbloExport/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Exporters/TabbloExport/Makefile" ;;
 
18281
    "extensions/Exporters/TabbloExport/Tabblo/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Exporters/TabbloExport/Tabblo/Makefile" ;;
 
18282
    "extensions/Exporters/PicasaWebExport/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Exporters/PicasaWebExport/Makefile" ;;
 
18283
    "extensions/Exporters/PicasaWebExport/google-sharp/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Exporters/PicasaWebExport/google-sharp/Makefile" ;;
 
18284
    "extensions/Exporters/ZipExport/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Exporters/ZipExport/Makefile" ;;
 
18285
    "extensions/Services/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Services/Makefile" ;;
 
18286
    "extensions/Services/BeagleService/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Services/BeagleService/Makefile" ;;
 
18287
    "extensions/Services/DBusService/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Services/DBusService/Makefile" ;;
 
18288
    "extensions/Tools/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Tools/Makefile" ;;
 
18289
    "extensions/Tools/RawPlusJpeg/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Tools/RawPlusJpeg/Makefile" ;;
 
18290
    "extensions/Tools/ChangePhotoPath/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Tools/ChangePhotoPath/Makefile" ;;
 
18291
    "extensions/Tools/HashJob/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Tools/HashJob/Makefile" ;;
 
18292
    "extensions/Tools/DevelopInUFraw/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Tools/DevelopInUFraw/Makefile" ;;
 
18293
    "extensions/Tools/MergeDb/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Tools/MergeDb/Makefile" ;;
26344
18294
    "f-spot.pc") CONFIG_FILES="$CONFIG_FILES f-spot.pc" ;;
26345
18295
    "f-spot.spec") CONFIG_FILES="$CONFIG_FILES f-spot.spec" ;;
26346
18296
    "f-spot.desktop.in") CONFIG_FILES="$CONFIG_FILES f-spot.desktop.in" ;;
26348
18298
    "f-spot-import.desktop.in") CONFIG_FILES="$CONFIG_FILES f-spot-import.desktop.in" ;;
26349
18299
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
26350
18300
 
26351
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26352
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
18301
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
18302
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26353
18303
   { (exit 1); exit 1; }; };;
26354
18304
  esac
26355
18305
done
26390
18340
  (umask 077 && mkdir "$tmp")
26391
18341
} ||
26392
18342
{
26393
 
   echo "$me: cannot create a temporary directory in ." >&2
 
18343
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
26394
18344
   { (exit 1); exit 1; }
26395
18345
}
26396
18346
 
26397
 
#
26398
 
# Set up the sed scripts for CONFIG_FILES section.
26399
 
#
26400
 
 
26401
 
# No need to generate the scripts if there are no CONFIG_FILES.
26402
 
# This happens for instance when ./config.status config.h
 
18347
# Set up the scripts for CONFIG_FILES section.
 
18348
# No need to generate them if there are no CONFIG_FILES.
 
18349
# This happens for instance with `./config.status config.h'.
26403
18350
if test -n "$CONFIG_FILES"; then
26404
18351
 
26405
 
_ACEOF
26406
 
 
26407
 
 
26408
 
 
26409
 
ac_delim='%!_!# '
26410
 
for ac_last_try in false false false false false :; do
26411
 
  cat >conf$$subs.sed <<_ACEOF
26412
 
SHELL!$SHELL$ac_delim
26413
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26414
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26415
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26416
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
26417
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
26418
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
26419
 
exec_prefix!$exec_prefix$ac_delim
26420
 
prefix!$prefix$ac_delim
26421
 
program_transform_name!$program_transform_name$ac_delim
26422
 
bindir!$bindir$ac_delim
26423
 
sbindir!$sbindir$ac_delim
26424
 
libexecdir!$libexecdir$ac_delim
26425
 
datarootdir!$datarootdir$ac_delim
26426
 
datadir!$datadir$ac_delim
26427
 
sysconfdir!$sysconfdir$ac_delim
26428
 
sharedstatedir!$sharedstatedir$ac_delim
26429
 
localstatedir!$localstatedir$ac_delim
26430
 
includedir!$includedir$ac_delim
26431
 
oldincludedir!$oldincludedir$ac_delim
26432
 
docdir!$docdir$ac_delim
26433
 
infodir!$infodir$ac_delim
26434
 
htmldir!$htmldir$ac_delim
26435
 
dvidir!$dvidir$ac_delim
26436
 
pdfdir!$pdfdir$ac_delim
26437
 
psdir!$psdir$ac_delim
26438
 
libdir!$libdir$ac_delim
26439
 
localedir!$localedir$ac_delim
26440
 
mandir!$mandir$ac_delim
26441
 
DEFS!$DEFS$ac_delim
26442
 
ECHO_C!$ECHO_C$ac_delim
26443
 
ECHO_N!$ECHO_N$ac_delim
26444
 
ECHO_T!$ECHO_T$ac_delim
26445
 
LIBS!$LIBS$ac_delim
26446
 
build_alias!$build_alias$ac_delim
26447
 
host_alias!$host_alias$ac_delim
26448
 
target_alias!$target_alias$ac_delim
26449
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
26450
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
26451
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
26452
 
am__isrc!$am__isrc$ac_delim
26453
 
CYGPATH_W!$CYGPATH_W$ac_delim
26454
 
PACKAGE!$PACKAGE$ac_delim
26455
 
VERSION!$VERSION$ac_delim
26456
 
ACLOCAL!$ACLOCAL$ac_delim
26457
 
AUTOCONF!$AUTOCONF$ac_delim
26458
 
AUTOMAKE!$AUTOMAKE$ac_delim
26459
 
AUTOHEADER!$AUTOHEADER$ac_delim
26460
 
MAKEINFO!$MAKEINFO$ac_delim
26461
 
install_sh!$install_sh$ac_delim
26462
 
STRIP!$STRIP$ac_delim
26463
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
26464
 
mkdir_p!$mkdir_p$ac_delim
26465
 
AWK!$AWK$ac_delim
26466
 
SET_MAKE!$SET_MAKE$ac_delim
26467
 
am__leading_dot!$am__leading_dot$ac_delim
26468
 
AMTAR!$AMTAR$ac_delim
26469
 
am__tar!$am__tar$ac_delim
26470
 
am__untar!$am__untar$ac_delim
26471
 
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
26472
 
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
26473
 
MAINT!$MAINT$ac_delim
26474
 
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
26475
 
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
26476
 
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
26477
 
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
26478
 
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
26479
 
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
26480
 
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
26481
 
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
26482
 
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
26483
 
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
26484
 
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
26485
 
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
26486
 
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
26487
 
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
26488
 
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
26489
 
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
26490
 
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
26491
 
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
26492
 
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
26493
 
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
26494
 
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
26495
 
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
26496
 
INTLTOOL_ICONV!$INTLTOOL_ICONV$ac_delim
26497
 
INTLTOOL_MSGFMT!$INTLTOOL_MSGFMT$ac_delim
26498
 
INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim
26499
 
INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim
26500
 
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
26501
 
CC!$CC$ac_delim
26502
 
CFLAGS!$CFLAGS$ac_delim
26503
 
LDFLAGS!$LDFLAGS$ac_delim
26504
 
CPPFLAGS!$CPPFLAGS$ac_delim
26505
 
ac_ct_CC!$ac_ct_CC$ac_delim
26506
 
EXEEXT!$EXEEXT$ac_delim
26507
 
OBJEXT!$OBJEXT$ac_delim
26508
 
DEPDIR!$DEPDIR$ac_delim
26509
 
_ACEOF
26510
 
 
26511
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26512
 
    break
26513
 
  elif $ac_last_try; then
26514
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26515
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26516
 
   { (exit 1); exit 1; }; }
26517
 
  else
26518
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26519
 
  fi
26520
 
done
26521
 
 
26522
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26523
 
if test -n "$ac_eof"; then
26524
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26525
 
  ac_eof=`expr $ac_eof + 1`
26526
 
fi
26527
 
 
26528
 
cat >>$CONFIG_STATUS <<_ACEOF
26529
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
26530
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26531
 
_ACEOF
26532
 
sed '
26533
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26534
 
s/^/s,@/; s/!/@,|#_!!_#|/
26535
 
:n
26536
 
t n
26537
 
s/'"$ac_delim"'$/,g/; t
26538
 
s/$/\\/; p
26539
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26540
 
' >>$CONFIG_STATUS <conf$$subs.sed
26541
 
rm -f conf$$subs.sed
26542
 
cat >>$CONFIG_STATUS <<_ACEOF
26543
 
CEOF$ac_eof
26544
 
_ACEOF
26545
 
 
26546
 
 
26547
 
ac_delim='%!_!# '
26548
 
for ac_last_try in false false false false false :; do
26549
 
  cat >conf$$subs.sed <<_ACEOF
26550
 
am__include!$am__include$ac_delim
26551
 
am__quote!$am__quote$ac_delim
26552
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
26553
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
26554
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
26555
 
CCDEPMODE!$CCDEPMODE$ac_delim
26556
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
26557
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
26558
 
DATADIRNAME!$DATADIRNAME$ac_delim
26559
 
CPP!$CPP$ac_delim
26560
 
GREP!$GREP$ac_delim
26561
 
EGREP!$EGREP$ac_delim
26562
 
build!$build$ac_delim
26563
 
build_cpu!$build_cpu$ac_delim
26564
 
build_vendor!$build_vendor$ac_delim
26565
 
build_os!$build_os$ac_delim
26566
 
host!$host$ac_delim
26567
 
host_cpu!$host_cpu$ac_delim
26568
 
host_vendor!$host_vendor$ac_delim
26569
 
host_os!$host_os$ac_delim
26570
 
SED!$SED$ac_delim
26571
 
LN_S!$LN_S$ac_delim
26572
 
ECHO!$ECHO$ac_delim
26573
 
AR!$AR$ac_delim
26574
 
RANLIB!$RANLIB$ac_delim
26575
 
CXX!$CXX$ac_delim
26576
 
CXXFLAGS!$CXXFLAGS$ac_delim
26577
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
26578
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
26579
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
26580
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
26581
 
CXXCPP!$CXXCPP$ac_delim
26582
 
F77!$F77$ac_delim
26583
 
FFLAGS!$FFLAGS$ac_delim
26584
 
ac_ct_F77!$ac_ct_F77$ac_delim
26585
 
LIBTOOL!$LIBTOOL$ac_delim
26586
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
26587
 
GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
26588
 
GLIB_LIBS!$GLIB_LIBS$ac_delim
26589
 
GLIB_GENMARSHAL!$GLIB_GENMARSHAL$ac_delim
26590
 
GOBJECT_QUERY!$GOBJECT_QUERY$ac_delim
26591
 
GLIB_MKENUMS!$GLIB_MKENUMS$ac_delim
26592
 
MONO!$MONO$ac_delim
26593
 
MCS!$MCS$ac_delim
26594
 
HELP_DIR!$HELP_DIR$ac_delim
26595
 
OMF_DIR!$OMF_DIR$ac_delim
26596
 
DOC_USER_FORMATS!$DOC_USER_FORMATS$ac_delim
26597
 
ENABLE_SK_TRUE!$ENABLE_SK_TRUE$ac_delim
26598
 
ENABLE_SK_FALSE!$ENABLE_SK_FALSE$ac_delim
26599
 
HAVE_GNOME_DOC_UTILS_TRUE!$HAVE_GNOME_DOC_UTILS_TRUE$ac_delim
26600
 
HAVE_GNOME_DOC_UTILS_FALSE!$HAVE_GNOME_DOC_UTILS_FALSE$ac_delim
26601
 
F_CFLAGS!$F_CFLAGS$ac_delim
26602
 
F_LIBS!$F_LIBS$ac_delim
26603
 
GNOME_SHARP_CFLAGS!$GNOME_SHARP_CFLAGS$ac_delim
26604
 
GNOME_SHARP_LIBS!$GNOME_SHARP_LIBS$ac_delim
26605
 
GTKHTML_SHARP_CFLAGS!$GTKHTML_SHARP_CFLAGS$ac_delim
26606
 
GTKHTML_SHARP_LIBS!$GTKHTML_SHARP_LIBS$ac_delim
26607
 
GTKHTML_SHARP_PKG!$GTKHTML_SHARP_PKG$ac_delim
26608
 
subdirs!$subdirs$ac_delim
26609
 
LINK_GIO!$LINK_GIO$ac_delim
26610
 
DIR_GIO!$DIR_GIO$ac_delim
26611
 
PATH_GIO!$PATH_GIO$ac_delim
26612
 
NOGCONF_TRUE!$NOGCONF_TRUE$ac_delim
26613
 
NOGCONF_FALSE!$NOGCONF_FALSE$ac_delim
26614
 
GCONF_SHARP_CFLAGS!$GCONF_SHARP_CFLAGS$ac_delim
26615
 
GCONF_SHARP_LIBS!$GCONF_SHARP_LIBS$ac_delim
26616
 
CSC_DEFINES!$CSC_DEFINES$ac_delim
26617
 
BEAGLE_CFLAGS!$BEAGLE_CFLAGS$ac_delim
26618
 
BEAGLE_LIBS!$BEAGLE_LIBS$ac_delim
26619
 
BEAGLE_DIR!$BEAGLE_DIR$ac_delim
26620
 
BEAGLE_DEFINES!$BEAGLE_DEFINES$ac_delim
26621
 
LINK_BEAGLE!$LINK_BEAGLE$ac_delim
26622
 
NDESK_DBUS_CFLAGS!$NDESK_DBUS_CFLAGS$ac_delim
26623
 
NDESK_DBUS_LIBS!$NDESK_DBUS_LIBS$ac_delim
26624
 
DIR_DBUS!$DIR_DBUS$ac_delim
26625
 
DIR_DBUS_GLIB!$DIR_DBUS_GLIB$ac_delim
26626
 
LINK_DBUS!$LINK_DBUS$ac_delim
26627
 
PATH_DBUS!$PATH_DBUS$ac_delim
26628
 
MONO_NUNIT_CFLAGS!$MONO_NUNIT_CFLAGS$ac_delim
26629
 
MONO_NUNIT_LIBS!$MONO_NUNIT_LIBS$ac_delim
26630
 
NUNIT22_CFLAGS!$NUNIT22_CFLAGS$ac_delim
26631
 
NUNIT22_LIBS!$NUNIT22_LIBS$ac_delim
26632
 
NUNIT_CFLAGS!$NUNIT_CFLAGS$ac_delim
26633
 
NUNIT_LIBS!$NUNIT_LIBS$ac_delim
26634
 
NUNIT_PKG!$NUNIT_PKG$ac_delim
26635
 
NUNIT_DEFINES!$NUNIT_DEFINES$ac_delim
26636
 
GCONFTOOL!$GCONFTOOL$ac_delim
26637
 
GCONF_SCHEMA_CONFIG_SOURCE!$GCONF_SCHEMA_CONFIG_SOURCE$ac_delim
26638
 
GCONF_SCHEMA_FILE_DIR!$GCONF_SCHEMA_FILE_DIR$ac_delim
26639
 
GCONF_SCHEMAS_INSTALL_TRUE!$GCONF_SCHEMAS_INSTALL_TRUE$ac_delim
26640
 
GCONF_SCHEMAS_INSTALL_FALSE!$GCONF_SCHEMAS_INSTALL_FALSE$ac_delim
26641
 
LCMS_CFLAGS!$LCMS_CFLAGS$ac_delim
26642
 
LCMS_LIBS!$LCMS_LIBS$ac_delim
26643
 
LIBGPHOTO2_CFLAGS!$LIBGPHOTO2_CFLAGS$ac_delim
26644
 
LIBGPHOTO2_LIBS!$LIBGPHOTO2_LIBS$ac_delim
26645
 
EXIF_CFLAGS!$EXIF_CFLAGS$ac_delim
26646
 
EXIF_LIBS!$EXIF_LIBS$ac_delim
26647
 
_ACEOF
26648
 
 
26649
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26650
 
    break
26651
 
  elif $ac_last_try; then
26652
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26653
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26654
 
   { (exit 1); exit 1; }; }
26655
 
  else
26656
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26657
 
  fi
26658
 
done
26659
 
 
26660
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26661
 
if test -n "$ac_eof"; then
26662
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26663
 
  ac_eof=`expr $ac_eof + 1`
26664
 
fi
26665
 
 
26666
 
cat >>$CONFIG_STATUS <<_ACEOF
26667
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
26668
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26669
 
_ACEOF
26670
 
sed '
26671
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26672
 
s/^/s,@/; s/!/@,|#_!!_#|/
26673
 
:n
26674
 
t n
26675
 
s/'"$ac_delim"'$/,g/; t
26676
 
s/$/\\/; p
26677
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26678
 
' >>$CONFIG_STATUS <conf$$subs.sed
26679
 
rm -f conf$$subs.sed
26680
 
cat >>$CONFIG_STATUS <<_ACEOF
26681
 
CEOF$ac_eof
26682
 
_ACEOF
26683
 
 
26684
 
 
26685
 
ac_delim='%!_!# '
26686
 
for ac_last_try in false false false false false :; do
26687
 
  cat >conf$$subs.sed <<_ACEOF
26688
 
LIBEXIF_VERSION_CHECK_CFLAGS!$LIBEXIF_VERSION_CHECK_CFLAGS$ac_delim
26689
 
LIBEXIF_VERSION_CHECK_LIBS!$LIBEXIF_VERSION_CHECK_LIBS$ac_delim
26690
 
EXIF_SOVERSION!$EXIF_SOVERSION$ac_delim
26691
 
WITH_TURTLE_TRUE!$WITH_TURTLE_TRUE$ac_delim
26692
 
WITH_TURTLE_FALSE!$WITH_TURTLE_FALSE$ac_delim
26693
 
TURTLEDIR!$TURTLEDIR$ac_delim
26694
 
GNOME_SCREENSAVER_SAVERDIR!$GNOME_SCREENSAVER_SAVERDIR$ac_delim
26695
 
GNOME_SCREENSAVER_THEMESDIR!$GNOME_SCREENSAVER_THEMESDIR$ac_delim
26696
 
ICONS_DIRECTORY!$ICONS_DIRECTORY$ac_delim
26697
 
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
26698
 
USE_NLS!$USE_NLS$ac_delim
26699
 
MSGFMT!$MSGFMT$ac_delim
26700
 
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
26701
 
GMSGFMT!$GMSGFMT$ac_delim
26702
 
XGETTEXT!$XGETTEXT$ac_delim
26703
 
CATALOGS!$CATALOGS$ac_delim
26704
 
CATOBJEXT!$CATOBJEXT$ac_delim
26705
 
GMOFILES!$GMOFILES$ac_delim
26706
 
INSTOBJEXT!$INSTOBJEXT$ac_delim
26707
 
INTLLIBS!$INTLLIBS$ac_delim
26708
 
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
26709
 
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
26710
 
POFILES!$POFILES$ac_delim
26711
 
POSUB!$POSUB$ac_delim
26712
 
LIBJPEG!$LIBJPEG$ac_delim
26713
 
CSC!$CSC$ac_delim
26714
 
expanded_libdir!$expanded_libdir$ac_delim
26715
 
GNOME_ICON_THEME_PREFIX!$GNOME_ICON_THEME_PREFIX$ac_delim
26716
 
LIBOBJS!$LIBOBJS$ac_delim
26717
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
26718
 
_ACEOF
26719
 
 
26720
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 30; then
26721
 
    break
26722
 
  elif $ac_last_try; then
26723
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26724
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26725
 
   { (exit 1); exit 1; }; }
26726
 
  else
26727
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26728
 
  fi
26729
 
done
26730
 
 
26731
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26732
 
if test -n "$ac_eof"; then
26733
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26734
 
  ac_eof=`expr $ac_eof + 1`
26735
 
fi
26736
 
 
26737
 
cat >>$CONFIG_STATUS <<_ACEOF
26738
 
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
26739
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
26740
 
_ACEOF
26741
 
sed '
26742
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26743
 
s/^/s,@/; s/!/@,|#_!!_#|/
26744
 
:n
26745
 
t n
26746
 
s/'"$ac_delim"'$/,g/; t
26747
 
s/$/\\/; p
26748
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26749
 
' >>$CONFIG_STATUS <conf$$subs.sed
26750
 
rm -f conf$$subs.sed
26751
 
cat >>$CONFIG_STATUS <<_ACEOF
26752
 
:end
26753
 
s/|#_!!_#|//g
26754
 
CEOF$ac_eof
26755
 
_ACEOF
26756
 
 
 
18352
 
 
18353
ac_cr='
 
 
b"'"
 
18354
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
18355
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
18356
  ac_cs_awk_cr='\\r'
 
18357
else
 
18358
  ac_cs_awk_cr=$ac_cr
 
18359
fi
 
18360
 
 
18361
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
18362
_ACEOF
 
18363
 
 
18364
 
 
18365
{
 
18366
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
18367
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
18368
  echo "_ACEOF"
 
18369
} >conf$$subs.sh ||
 
18370
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
18371
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
18372
   { (exit 1); exit 1; }; }
 
18373
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
18374
ac_delim='%!_!# '
 
18375
for ac_last_try in false false false false false :; do
 
18376
  . ./conf$$subs.sh ||
 
18377
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
18378
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
18379
   { (exit 1); exit 1; }; }
 
18380
 
 
18381
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
18382
  if test $ac_delim_n = $ac_delim_num; then
 
18383
    break
 
18384
  elif $ac_last_try; then
 
18385
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
18386
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
18387
   { (exit 1); exit 1; }; }
 
18388
  else
 
18389
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
18390
  fi
 
18391
done
 
18392
rm -f conf$$subs.sh
 
18393
 
 
18394
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18395
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
18396
_ACEOF
 
18397
sed -n '
 
18398
h
 
18399
s/^/S["/; s/!.*/"]=/
 
18400
p
 
18401
g
 
18402
s/^[^!]*!//
 
18403
:repl
 
18404
t repl
 
18405
s/'"$ac_delim"'$//
 
18406
t delim
 
18407
:nl
 
18408
h
 
18409
s/\(.\{148\}\).*/\1/
 
18410
t more1
 
18411
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
18412
p
 
18413
n
 
18414
b repl
 
18415
:more1
 
18416
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
18417
p
 
18418
g
 
18419
s/.\{148\}//
 
18420
t nl
 
18421
:delim
 
18422
h
 
18423
s/\(.\{148\}\).*/\1/
 
18424
t more2
 
18425
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
18426
p
 
18427
b
 
18428
:more2
 
18429
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
18430
p
 
18431
g
 
18432
s/.\{148\}//
 
18433
t delim
 
18434
' <conf$$subs.awk | sed '
 
18435
/^[^""]/{
 
18436
  N
 
18437
  s/\n//
 
18438
}
 
18439
' >>$CONFIG_STATUS || ac_write_fail=1
 
18440
rm -f conf$$subs.awk
 
18441
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18442
_ACAWK
 
18443
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
18444
  for (key in S) S_is_set[key] = 1
 
18445
  FS = ""
 
18446
 
 
18447
}
 
18448
{
 
18449
  line = $ 0
 
18450
  nfields = split(line, field, "@")
 
18451
  substed = 0
 
18452
  len = length(field[1])
 
18453
  for (i = 2; i < nfields; i++) {
 
18454
    key = field[i]
 
18455
    keylen = length(key)
 
18456
    if (S_is_set[key]) {
 
18457
      value = S[key]
 
18458
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
18459
      len += length(value) + length(field[++i])
 
18460
      substed = 1
 
18461
    } else
 
18462
      len += 1 + keylen
 
18463
  }
 
18464
 
 
18465
  print line
 
18466
}
 
18467
 
 
18468
_ACAWK
 
18469
_ACEOF
 
18470
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18471
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
18472
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
18473
else
 
18474
  cat
 
18475
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
18476
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
18477
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
18478
   { (exit 1); exit 1; }; }
 
18479
_ACEOF
26757
18480
 
26758
18481
# VPATH may cause trouble with some makes, so we remove $(srcdir),
26759
18482
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26770
18493
}'
26771
18494
fi
26772
18495
 
26773
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
18496
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26774
18497
fi # test -n "$CONFIG_FILES"
26775
18498
 
26776
 
 
26777
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
18499
# Set up the scripts for CONFIG_HEADERS section.
 
18500
# No need to generate them if there are no CONFIG_HEADERS.
 
18501
# This happens for instance with `./config.status Makefile'.
 
18502
if test -n "$CONFIG_HEADERS"; then
 
18503
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
18504
BEGIN {
 
18505
_ACEOF
 
18506
 
 
18507
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
18508
# here-document in config.status, that substitutes the proper values into
 
18509
# config.h.in to produce config.h.
 
18510
 
 
18511
# Create a delimiter string that does not exist in confdefs.h, to ease
 
18512
# handling of long lines.
 
18513
ac_delim='%!_!# '
 
18514
for ac_last_try in false false :; do
 
18515
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
18516
  if test -z "$ac_t"; then
 
18517
    break
 
18518
  elif $ac_last_try; then
 
18519
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
18520
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
18521
   { (exit 1); exit 1; }; }
 
18522
  else
 
18523
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
18524
  fi
 
18525
done
 
18526
 
 
18527
# For the awk script, D is an array of macro values keyed by name,
 
18528
# likewise P contains macro parameters if any.  Preserve backslash
 
18529
# newline sequences.
 
18530
 
 
18531
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
18532
sed -n '
 
18533
s/.\{148\}/&'"$ac_delim"'/g
 
18534
t rset
 
18535
:rset
 
18536
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
18537
t def
 
18538
d
 
18539
:def
 
18540
s/\\$//
 
18541
t bsnl
 
18542
s/["\\]/\\&/g
 
18543
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
18544
D["\1"]=" \3"/p
 
18545
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
18546
d
 
18547
:bsnl
 
18548
s/["\\]/\\&/g
 
18549
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
18550
D["\1"]=" \3\\\\\\n"\\/p
 
18551
t cont
 
18552
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
18553
t cont
 
18554
d
 
18555
:cont
 
18556
n
 
18557
s/.\{148\}/&'"$ac_delim"'/g
 
18558
t clear
 
18559
:clear
 
18560
s/\\$//
 
18561
t bsnlc
 
18562
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
18563
d
 
18564
:bsnlc
 
18565
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
18566
b cont
 
18567
' <confdefs.h | sed '
 
18568
s/'"$ac_delim"'/"\\\
 
18569
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
18570
 
 
18571
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18572
  for (key in D) D_is_set[key] = 1
 
18573
  FS = ""
 
18574
}
 
18575
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
18576
  line = \$ 0
 
18577
  split(line, arg, " ")
 
18578
  if (arg[1] == "#") {
 
18579
    defundef = arg[2]
 
18580
    mac1 = arg[3]
 
18581
  } else {
 
18582
    defundef = substr(arg[1], 2)
 
18583
    mac1 = arg[2]
 
18584
  }
 
18585
  split(mac1, mac2, "(") #)
 
18586
  macro = mac2[1]
 
18587
  prefix = substr(line, 1, index(line, defundef) - 1)
 
18588
  if (D_is_set[macro]) {
 
18589
    # Preserve the white space surrounding the "#".
 
18590
    print prefix "define", macro P[macro] D[macro]
 
18591
    next
 
18592
  } else {
 
18593
    # Replace #undef with comments.  This is necessary, for example,
 
18594
    # in the case of _POSIX_SOURCE, which is predefined and required
 
18595
    # on some systems where configure will not decide to define it.
 
18596
    if (defundef == "undef") {
 
18597
      print "/*", prefix defundef, macro, "*/"
 
18598
      next
 
18599
    }
 
18600
  }
 
18601
}
 
18602
{ print }
 
18603
_ACAWK
 
18604
_ACEOF
 
18605
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18606
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
18607
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
18608
   { (exit 1); exit 1; }; }
 
18609
fi # test -n "$CONFIG_HEADERS"
 
18610
 
 
18611
 
 
18612
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
18613
shift
 
18614
for ac_tag
26778
18615
do
26779
18616
  case $ac_tag in
26780
18617
  :[FHLC]) ac_mode=$ac_tag; continue;;
26781
18618
  esac
26782
18619
  case $ac_mode$ac_tag in
26783
18620
  :[FHL]*:*);;
26784
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
26785
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
18621
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
18622
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
26786
18623
   { (exit 1); exit 1; }; };;
26787
18624
  :[FH]-) ac_tag=-:-;;
26788
18625
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26811
18648
           [\\/$]*) false;;
26812
18649
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26813
18650
           esac ||
26814
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
26815
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
18651
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
18652
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
26816
18653
   { (exit 1); exit 1; }; };;
26817
18654
      esac
26818
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
18655
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
18656
      ac_file_inputs="$ac_file_inputs '$ac_f'"
26819
18657
    done
26820
18658
 
26821
18659
    # Let's still pretend it is `configure' which instantiates (i.e., don't
26822
18660
    # use $as_me), people would be surprised to read:
26823
18661
    #    /* config.h.  Generated by config.status.  */
26824
 
    configure_input="Generated from "`IFS=:
26825
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
18662
    configure_input='Generated from '`
 
18663
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
18664
        `' by configure.'
26826
18665
    if test x"$ac_file" != x-; then
26827
18666
      configure_input="$ac_file.  $configure_input"
26828
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
26829
 
echo "$as_me: creating $ac_file" >&6;}
 
18667
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
18668
$as_echo "$as_me: creating $ac_file" >&6;}
26830
18669
    fi
 
18670
    # Neutralize special characters interpreted by sed in replacement strings.
 
18671
    case $configure_input in #(
 
18672
    *\&* | *\|* | *\\* )
 
18673
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
18674
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
18675
    *) ac_sed_conf_input=$configure_input;;
 
18676
    esac
26831
18677
 
26832
18678
    case $ac_tag in
26833
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
18679
    *:-:* | *:-) cat >"$tmp/stdin" \
 
18680
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18681
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18682
   { (exit 1); exit 1; }; } ;;
26834
18683
    esac
26835
18684
    ;;
26836
18685
  esac
26840
18689
         X"$ac_file" : 'X\(//\)[^/]' \| \
26841
18690
         X"$ac_file" : 'X\(//\)$' \| \
26842
18691
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26843
 
echo X"$ac_file" |
 
18692
$as_echo X"$ac_file" |
26844
18693
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26845
18694
            s//\1/
26846
18695
            q
26866
18715
    as_dirs=
26867
18716
    while :; do
26868
18717
      case $as_dir in #(
26869
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
18718
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26870
18719
      *) as_qdir=$as_dir;;
26871
18720
      esac
26872
18721
      as_dirs="'$as_qdir' $as_dirs"
26875
18724
         X"$as_dir" : 'X\(//\)[^/]' \| \
26876
18725
         X"$as_dir" : 'X\(//\)$' \| \
26877
18726
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26878
 
echo X"$as_dir" |
 
18727
$as_echo X"$as_dir" |
26879
18728
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26880
18729
            s//\1/
26881
18730
            q
26896
18745
      test -d "$as_dir" && break
26897
18746
    done
26898
18747
    test -z "$as_dirs" || eval "mkdir $as_dirs"
26899
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26900
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
18748
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
18749
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
26901
18750
   { (exit 1); exit 1; }; }; }
26902
18751
  ac_builddir=.
26903
18752
 
26904
18753
case "$ac_dir" in
26905
18754
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26906
18755
*)
26907
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
18756
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26908
18757
  # A ".." for each directory in $ac_dir_suffix.
26909
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
18758
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26910
18759
  case $ac_top_builddir_sub in
26911
18760
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26912
18761
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26951
18800
  esac
26952
18801
_ACEOF
26953
18802
 
26954
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
18803
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26955
18804
# If the template does not know about datarootdir, expand it.
26956
18805
# FIXME: This hack should be removed a few years after 2.60.
26957
18806
ac_datarootdir_hack=; ac_datarootdir_seen=
26958
18807
 
26959
 
case `sed -n '/datarootdir/ {
 
18808
ac_sed_dataroot='
 
18809
/datarootdir/ {
26960
18810
  p
26961
18811
  q
26962
18812
}
26965
18815
/@infodir@/p
26966
18816
/@localedir@/p
26967
18817
/@mandir@/p
26968
 
' $ac_file_inputs` in
 
18818
'
 
18819
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26969
18820
*datarootdir*) ac_datarootdir_seen=yes;;
26970
18821
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26971
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26972
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
18822
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
18823
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26973
18824
_ACEOF
26974
 
cat >>$CONFIG_STATUS <<_ACEOF
 
18825
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26975
18826
  ac_datarootdir_hack='
26976
18827
  s&@datadir@&$datadir&g
26977
18828
  s&@docdir@&$docdir&g
26985
18836
# Neutralize VPATH when `$srcdir' = `.'.
26986
18837
# Shell code in configure.ac might set extrasub.
26987
18838
# FIXME: do we really want to maintain this feature?
26988
 
cat >>$CONFIG_STATUS <<_ACEOF
26989
 
  sed "$ac_vpsub
 
18839
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18840
ac_sed_extra="$ac_vpsub
26990
18841
$extrasub
26991
18842
_ACEOF
26992
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
18843
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26993
18844
:t
26994
18845
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26995
 
s&@configure_input@&$configure_input&;t t
 
18846
s|@configure_input@|$ac_sed_conf_input|;t t
26996
18847
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
18848
s&@top_build_prefix@&$ac_top_build_prefix&;t t
26997
18849
s&@srcdir@&$ac_srcdir&;t t
26998
18850
s&@abs_srcdir@&$ac_abs_srcdir&;t t
26999
18851
s&@top_srcdir@&$ac_top_srcdir&;t t
27004
18856
s&@INSTALL@&$ac_INSTALL&;t t
27005
18857
s&@MKDIR_P@&$ac_MKDIR_P&;t t
27006
18858
$ac_datarootdir_hack
27007
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
 
18859
"
 
18860
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
18861
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18862
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18863
   { (exit 1); exit 1; }; }
27008
18864
 
27009
18865
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27010
18866
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27011
18867
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27012
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
18868
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27013
18869
which seems to be undefined.  Please make sure it is defined." >&5
27014
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
18870
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27015
18871
which seems to be undefined.  Please make sure it is defined." >&2;}
27016
18872
 
27017
18873
  rm -f "$tmp/stdin"
27018
18874
  case $ac_file in
27019
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
27020
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
27021
 
  esac
 
18875
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
18876
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
18877
  esac \
 
18878
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18879
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18880
   { (exit 1); exit 1; }; }
27022
18881
 ;;
27023
18882
  :H)
27024
18883
  #
27025
18884
  # CONFIG_HEADER
27026
18885
  #
27027
 
_ACEOF
27028
 
 
27029
 
# Transform confdefs.h into a sed script `conftest.defines', that
27030
 
# substitutes the proper values into config.h.in to produce config.h.
27031
 
rm -f conftest.defines conftest.tail
27032
 
# First, append a space to every undef/define line, to ease matching.
27033
 
echo 's/$/ /' >conftest.defines
27034
 
# Then, protect against being on the right side of a sed subst, or in
27035
 
# an unquoted here document, in config.status.  If some macros were
27036
 
# called several times there might be several #defines for the same
27037
 
# symbol, which is useless.  But do not sort them, since the last
27038
 
# AC_DEFINE must be honored.
27039
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27040
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
27041
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
27042
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
27043
 
# just an empty string.
27044
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
27045
 
ac_dB='\\)[      (].*,\\1define\\2'
27046
 
ac_dC=' '
27047
 
ac_dD=' ,'
27048
 
 
27049
 
uniq confdefs.h |
27050
 
  sed -n '
27051
 
        t rset
27052
 
        :rset
27053
 
        s/^[     ]*#[    ]*define[       ][      ]*//
27054
 
        t ok
27055
 
        d
27056
 
        :ok
27057
 
        s/[\\&,]/\\&/g
27058
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
27059
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
27060
 
  ' >>conftest.defines
27061
 
 
27062
 
# Remove the space that was appended to ease matching.
27063
 
# Then replace #undef with comments.  This is necessary, for
27064
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
27065
 
# on some systems where configure will not decide to define it.
27066
 
# (The regexp can be short, since the line contains either #define or #undef.)
27067
 
echo 's/ $//
27068
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
27069
 
 
27070
 
# Break up conftest.defines:
27071
 
ac_max_sed_lines=50
27072
 
 
27073
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
27074
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
27075
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
27076
 
# et cetera.
27077
 
ac_in='$ac_file_inputs'
27078
 
ac_out='"$tmp/out1"'
27079
 
ac_nxt='"$tmp/out2"'
27080
 
 
27081
 
while :
27082
 
do
27083
 
  # Write a here document:
27084
 
    cat >>$CONFIG_STATUS <<_ACEOF
27085
 
    # First, check the format of the line:
27086
 
    cat >"\$tmp/defines.sed" <<\\CEOF
27087
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
27088
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
27089
 
b
27090
 
:def
27091
 
_ACEOF
27092
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
27093
 
  echo 'CEOF
27094
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
27095
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
27096
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
27097
 
  grep . conftest.tail >/dev/null || break
27098
 
  rm -f conftest.defines
27099
 
  mv conftest.tail conftest.defines
27100
 
done
27101
 
rm -f conftest.defines conftest.tail
27102
 
 
27103
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
27104
 
cat >>$CONFIG_STATUS <<\_ACEOF
27105
18886
  if test x"$ac_file" != x-; then
27106
 
    echo "/* $configure_input  */" >"$tmp/config.h"
27107
 
    cat "$ac_result" >>"$tmp/config.h"
27108
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
27109
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27110
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
18887
    {
 
18888
      $as_echo "/* $configure_input  */" \
 
18889
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
18890
    } >"$tmp/config.h" \
 
18891
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18892
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18893
   { (exit 1); exit 1; }; }
 
18894
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
18895
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
18896
$as_echo "$as_me: $ac_file is unchanged" >&6;}
27111
18897
    else
27112
 
      rm -f $ac_file
27113
 
      mv "$tmp/config.h" $ac_file
 
18898
      rm -f "$ac_file"
 
18899
      mv "$tmp/config.h" "$ac_file" \
 
18900
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
18901
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
18902
   { (exit 1); exit 1; }; }
27114
18903
    fi
27115
18904
  else
27116
 
    echo "/* $configure_input  */"
27117
 
    cat "$ac_result"
 
18905
    $as_echo "/* $configure_input  */" \
 
18906
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
18907
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
18908
$as_echo "$as_me: error: could not create -" >&2;}
 
18909
   { (exit 1); exit 1; }; }
27118
18910
  fi
27119
 
  rm -f "$tmp/out12"
27120
 
# Compute $ac_file's index in $config_headers.
 
18911
# Compute "$ac_file"'s index in $config_headers.
 
18912
_am_arg="$ac_file"
27121
18913
_am_stamp_count=1
27122
18914
for _am_header in $config_headers :; do
27123
18915
  case $_am_header in
27124
 
    $ac_file | $ac_file:* )
 
18916
    $_am_arg | $_am_arg:* )
27125
18917
      break ;;
27126
18918
    * )
27127
18919
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27128
18920
  esac
27129
18921
done
27130
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
27131
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27132
 
         X$ac_file : 'X\(//\)[^/]' \| \
27133
 
         X$ac_file : 'X\(//\)$' \| \
27134
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
27135
 
echo X$ac_file |
 
18922
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
18923
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18924
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
18925
         X"$_am_arg" : 'X\(//\)$' \| \
 
18926
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
18927
$as_echo X"$_am_arg" |
27136
18928
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27137
18929
            s//\1/
27138
18930
            q
27152
18944
          s/.*/./; q'`/stamp-h$_am_stamp_count
27153
18945
 ;;
27154
18946
 
27155
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
27156
 
echo "$as_me: executing $ac_file commands" >&6;}
 
18947
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
18948
$as_echo "$as_me: executing $ac_file commands" >&6;}
27157
18949
 ;;
27158
18950
  esac
27159
18951
 
27169
18961
  # each Makefile.in and add a new line on top of each file to say so.
27170
18962
  # Grep'ing the whole file is not good either: AIX grep has a line
27171
18963
  # limit of 2048, but all sed's we know have understand at least 4000.
27172
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
18964
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
27173
18965
    dirpart=`$as_dirname -- "$mf" ||
27174
18966
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27175
18967
         X"$mf" : 'X\(//\)[^/]' \| \
27176
18968
         X"$mf" : 'X\(//\)$' \| \
27177
18969
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27178
 
echo X"$mf" |
 
18970
$as_echo X"$mf" |
27179
18971
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27180
18972
            s//\1/
27181
18973
            q
27219
19011
         X"$file" : 'X\(//\)[^/]' \| \
27220
19012
         X"$file" : 'X\(//\)$' \| \
27221
19013
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27222
 
echo X"$file" |
 
19014
$as_echo X"$file" |
27223
19015
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27224
19016
            s//\1/
27225
19017
            q
27245
19037
    as_dirs=
27246
19038
    while :; do
27247
19039
      case $as_dir in #(
27248
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
19040
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27249
19041
      *) as_qdir=$as_dir;;
27250
19042
      esac
27251
19043
      as_dirs="'$as_qdir' $as_dirs"
27254
19046
         X"$as_dir" : 'X\(//\)[^/]' \| \
27255
19047
         X"$as_dir" : 'X\(//\)$' \| \
27256
19048
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27257
 
echo X"$as_dir" |
 
19049
$as_echo X"$as_dir" |
27258
19050
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27259
19051
            s//\1/
27260
19052
            q
27275
19067
      test -d "$as_dir" && break
27276
19068
    done
27277
19069
    test -z "$as_dirs" || eval "mkdir $as_dirs"
27278
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27279
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
19070
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
19071
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
27280
19072
   { (exit 1); exit 1; }; }; }
27281
19073
    # echo "creating $dirpart/$file"
27282
19074
    echo '# dummy' > "$dirpart/$file"
27283
19075
  done
27284
19076
done
27285
19077
 ;;
27286
 
    "intltool":C)
27287
 
 
27288
 
for file in intltool-extract intltool-merge intltool-update; do
27289
 
  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
27290
 
      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
27291
 
      -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
27292
 
      -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
27293
 
      -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
27294
 
      -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
27295
 
      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
27296
 
        < ${ac_aux_dir}/${file}.in > ${file}.out
27297
 
  if cmp -s ${file} ${file}.out 2>/dev/null; then
27298
 
    rm -f ${file}.out
 
19078
    "libtool":C)
 
19079
 
 
19080
    # See if we are running on zsh, and set the options which allow our
 
19081
    # commands through without removal of \ escapes.
 
19082
    if test -n "${ZSH_VERSION+set}" ; then
 
19083
      setopt NO_GLOB_SUBST
 
19084
    fi
 
19085
 
 
19086
    cfgfile="${ofile}T"
 
19087
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
19088
    $RM "$cfgfile"
 
19089
 
 
19090
    cat <<_LT_EOF >> "$cfgfile"
 
19091
#! $SHELL
 
19092
 
 
19093
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
19094
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
19095
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
19096
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
19097
#
 
19098
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
19099
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
19100
#   Written by Gordon Matzigkeit, 1996
 
19101
#
 
19102
#   This file is part of GNU Libtool.
 
19103
#
 
19104
# GNU Libtool is free software; you can redistribute it and/or
 
19105
# modify it under the terms of the GNU General Public License as
 
19106
# published by the Free Software Foundation; either version 2 of
 
19107
# the License, or (at your option) any later version.
 
19108
#
 
19109
# As a special exception to the GNU General Public License,
 
19110
# if you distribute this file as part of a program or library that
 
19111
# is built using GNU Libtool, you may include this file under the
 
19112
# same distribution terms that you use for the rest of that program.
 
19113
#
 
19114
# GNU Libtool is distributed in the hope that it will be useful,
 
19115
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
19116
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19117
# GNU General Public License for more details.
 
19118
#
 
19119
# You should have received a copy of the GNU General Public License
 
19120
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
19121
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
19122
# obtained by writing to the Free Software Foundation, Inc.,
 
19123
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
19124
 
 
19125
 
 
19126
# The names of the tagged configurations supported by this script.
 
19127
available_tags=""
 
19128
 
 
19129
# ### BEGIN LIBTOOL CONFIG
 
19130
 
 
19131
# Which release of libtool.m4 was used?
 
19132
macro_version=$macro_version
 
19133
macro_revision=$macro_revision
 
19134
 
 
19135
# Whether or not to build shared libraries.
 
19136
build_libtool_libs=$enable_shared
 
19137
 
 
19138
# Whether or not to build static libraries.
 
19139
build_old_libs=$enable_static
 
19140
 
 
19141
# What type of objects to build.
 
19142
pic_mode=$pic_mode
 
19143
 
 
19144
# Whether or not to optimize for fast installation.
 
19145
fast_install=$enable_fast_install
 
19146
 
 
19147
# The host system.
 
19148
host_alias=$host_alias
 
19149
host=$host
 
19150
host_os=$host_os
 
19151
 
 
19152
# The build system.
 
19153
build_alias=$build_alias
 
19154
build=$build
 
19155
build_os=$build_os
 
19156
 
 
19157
# A sed program that does not truncate output.
 
19158
SED=$lt_SED
 
19159
 
 
19160
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
19161
Xsed="\$SED -e 1s/^X//"
 
19162
 
 
19163
# A grep program that handles long lines.
 
19164
GREP=$lt_GREP
 
19165
 
 
19166
# An ERE matcher.
 
19167
EGREP=$lt_EGREP
 
19168
 
 
19169
# A literal string matcher.
 
19170
FGREP=$lt_FGREP
 
19171
 
 
19172
# A BSD- or MS-compatible name lister.
 
19173
NM=$lt_NM
 
19174
 
 
19175
# Whether we need soft or hard links.
 
19176
LN_S=$lt_LN_S
 
19177
 
 
19178
# What is the maximum length of a command?
 
19179
max_cmd_len=$max_cmd_len
 
19180
 
 
19181
# Object file suffix (normally "o").
 
19182
objext=$ac_objext
 
19183
 
 
19184
# Executable file suffix (normally "").
 
19185
exeext=$exeext
 
19186
 
 
19187
# whether the shell understands "unset".
 
19188
lt_unset=$lt_unset
 
19189
 
 
19190
# turn spaces into newlines.
 
19191
SP2NL=$lt_lt_SP2NL
 
19192
 
 
19193
# turn newlines into spaces.
 
19194
NL2SP=$lt_lt_NL2SP
 
19195
 
 
19196
# How to create reloadable object files.
 
19197
reload_flag=$lt_reload_flag
 
19198
reload_cmds=$lt_reload_cmds
 
19199
 
 
19200
# An object symbol dumper.
 
19201
OBJDUMP=$lt_OBJDUMP
 
19202
 
 
19203
# Method to check whether dependent libraries are shared objects.
 
19204
deplibs_check_method=$lt_deplibs_check_method
 
19205
 
 
19206
# Command to use when deplibs_check_method == "file_magic".
 
19207
file_magic_cmd=$lt_file_magic_cmd
 
19208
 
 
19209
# The archiver.
 
19210
AR=$lt_AR
 
19211
AR_FLAGS=$lt_AR_FLAGS
 
19212
 
 
19213
# A symbol stripping program.
 
19214
STRIP=$lt_STRIP
 
19215
 
 
19216
# Commands used to install an old-style archive.
 
19217
RANLIB=$lt_RANLIB
 
19218
old_postinstall_cmds=$lt_old_postinstall_cmds
 
19219
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
19220
 
 
19221
# A C compiler.
 
19222
LTCC=$lt_CC
 
19223
 
 
19224
# LTCC compiler flags.
 
19225
LTCFLAGS=$lt_CFLAGS
 
19226
 
 
19227
# Take the output of nm and produce a listing of raw symbols and C names.
 
19228
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
19229
 
 
19230
# Transform the output of nm in a proper C declaration.
 
19231
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
19232
 
 
19233
# Transform the output of nm in a C name address pair.
 
19234
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
19235
 
 
19236
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
19237
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
19238
 
 
19239
# The name of the directory that contains temporary libtool files.
 
19240
objdir=$objdir
 
19241
 
 
19242
# Shell to use when invoking shell scripts.
 
19243
SHELL=$lt_SHELL
 
19244
 
 
19245
# An echo program that does not interpret backslashes.
 
19246
ECHO=$lt_ECHO
 
19247
 
 
19248
# Used to examine libraries when file_magic_cmd begins with "file".
 
19249
MAGIC_CMD=$MAGIC_CMD
 
19250
 
 
19251
# Must we lock files when doing compilation?
 
19252
need_locks=$lt_need_locks
 
19253
 
 
19254
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
19255
DSYMUTIL=$lt_DSYMUTIL
 
19256
 
 
19257
# Tool to change global to local symbols on Mac OS X.
 
19258
NMEDIT=$lt_NMEDIT
 
19259
 
 
19260
# Tool to manipulate fat objects and archives on Mac OS X.
 
19261
LIPO=$lt_LIPO
 
19262
 
 
19263
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
19264
OTOOL=$lt_OTOOL
 
19265
 
 
19266
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
19267
OTOOL64=$lt_OTOOL64
 
19268
 
 
19269
# Old archive suffix (normally "a").
 
19270
libext=$libext
 
19271
 
 
19272
# Shared library suffix (normally ".so").
 
19273
shrext_cmds=$lt_shrext_cmds
 
19274
 
 
19275
# The commands to extract the exported symbol list from a shared archive.
 
19276
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
19277
 
 
19278
# Variables whose values should be saved in libtool wrapper scripts and
 
19279
# restored at link time.
 
19280
variables_saved_for_relink=$lt_variables_saved_for_relink
 
19281
 
 
19282
# Do we need the "lib" prefix for modules?
 
19283
need_lib_prefix=$need_lib_prefix
 
19284
 
 
19285
# Do we need a version for libraries?
 
19286
need_version=$need_version
 
19287
 
 
19288
# Library versioning type.
 
19289
version_type=$version_type
 
19290
 
 
19291
# Shared library runtime path variable.
 
19292
runpath_var=$runpath_var
 
19293
 
 
19294
# Shared library path variable.
 
19295
shlibpath_var=$shlibpath_var
 
19296
 
 
19297
# Is shlibpath searched before the hard-coded library search path?
 
19298
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
19299
 
 
19300
# Format of library name prefix.
 
19301
libname_spec=$lt_libname_spec
 
19302
 
 
19303
# List of archive names.  First name is the real one, the rest are links.
 
19304
# The last name is the one that the linker finds with -lNAME
 
19305
library_names_spec=$lt_library_names_spec
 
19306
 
 
19307
# The coded name of the library, if different from the real name.
 
19308
soname_spec=$lt_soname_spec
 
19309
 
 
19310
# Command to use after installation of a shared archive.
 
19311
postinstall_cmds=$lt_postinstall_cmds
 
19312
 
 
19313
# Command to use after uninstallation of a shared archive.
 
19314
postuninstall_cmds=$lt_postuninstall_cmds
 
19315
 
 
19316
# Commands used to finish a libtool library installation in a directory.
 
19317
finish_cmds=$lt_finish_cmds
 
19318
 
 
19319
# As "finish_cmds", except a single script fragment to be evaled but
 
19320
# not shown.
 
19321
finish_eval=$lt_finish_eval
 
19322
 
 
19323
# Whether we should hardcode library paths into libraries.
 
19324
hardcode_into_libs=$hardcode_into_libs
 
19325
 
 
19326
# Compile-time system search path for libraries.
 
19327
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
19328
 
 
19329
# Run-time system search path for libraries.
 
19330
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
19331
 
 
19332
# Whether dlopen is supported.
 
19333
dlopen_support=$enable_dlopen
 
19334
 
 
19335
# Whether dlopen of programs is supported.
 
19336
dlopen_self=$enable_dlopen_self
 
19337
 
 
19338
# Whether dlopen of statically linked programs is supported.
 
19339
dlopen_self_static=$enable_dlopen_self_static
 
19340
 
 
19341
# Commands to strip libraries.
 
19342
old_striplib=$lt_old_striplib
 
19343
striplib=$lt_striplib
 
19344
 
 
19345
 
 
19346
# The linker used to build libraries.
 
19347
LD=$lt_LD
 
19348
 
 
19349
# Commands used to build an old-style archive.
 
19350
old_archive_cmds=$lt_old_archive_cmds
 
19351
 
 
19352
# A language specific compiler.
 
19353
CC=$lt_compiler
 
19354
 
 
19355
# Is the compiler the GNU compiler?
 
19356
with_gcc=$GCC
 
19357
 
 
19358
# Compiler flag to turn off builtin functions.
 
19359
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
19360
 
 
19361
# How to pass a linker flag through the compiler.
 
19362
wl=$lt_lt_prog_compiler_wl
 
19363
 
 
19364
# Additional compiler flags for building library objects.
 
19365
pic_flag=$lt_lt_prog_compiler_pic
 
19366
 
 
19367
# Compiler flag to prevent dynamic linking.
 
19368
link_static_flag=$lt_lt_prog_compiler_static
 
19369
 
 
19370
# Does compiler simultaneously support -c and -o options?
 
19371
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
19372
 
 
19373
# Whether or not to add -lc for building shared libraries.
 
19374
build_libtool_need_lc=$archive_cmds_need_lc
 
19375
 
 
19376
# Whether or not to disallow shared libs when runtime libs are static.
 
19377
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
19378
 
 
19379
# Compiler flag to allow reflexive dlopens.
 
19380
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
19381
 
 
19382
# Compiler flag to generate shared objects directly from archives.
 
19383
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
19384
 
 
19385
# Whether the compiler copes with passing no objects directly.
 
19386
compiler_needs_object=$lt_compiler_needs_object
 
19387
 
 
19388
# Create an old-style archive from a shared archive.
 
19389
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
19390
 
 
19391
# Create a temporary old-style archive to link instead of a shared archive.
 
19392
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
19393
 
 
19394
# Commands used to build a shared archive.
 
19395
archive_cmds=$lt_archive_cmds
 
19396
archive_expsym_cmds=$lt_archive_expsym_cmds
 
19397
 
 
19398
# Commands used to build a loadable module if different from building
 
19399
# a shared archive.
 
19400
module_cmds=$lt_module_cmds
 
19401
module_expsym_cmds=$lt_module_expsym_cmds
 
19402
 
 
19403
# Whether we are building with GNU ld or not.
 
19404
with_gnu_ld=$lt_with_gnu_ld
 
19405
 
 
19406
# Flag that allows shared libraries with undefined symbols to be built.
 
19407
allow_undefined_flag=$lt_allow_undefined_flag
 
19408
 
 
19409
# Flag that enforces no undefined symbols.
 
19410
no_undefined_flag=$lt_no_undefined_flag
 
19411
 
 
19412
# Flag to hardcode \$libdir into a binary during linking.
 
19413
# This must work even if \$libdir does not exist
 
19414
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
19415
 
 
19416
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
19417
# during linking.  This must work even if \$libdir does not exist.
 
19418
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
19419
 
 
19420
# Whether we need a single "-rpath" flag with a separated argument.
 
19421
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
19422
 
 
19423
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
19424
# DIR into the resulting binary.
 
19425
hardcode_direct=$hardcode_direct
 
19426
 
 
19427
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
19428
# DIR into the resulting binary and the resulting library dependency is
 
19429
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
19430
# library is relocated.
 
19431
hardcode_direct_absolute=$hardcode_direct_absolute
 
19432
 
 
19433
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
19434
# into the resulting binary.
 
19435
hardcode_minus_L=$hardcode_minus_L
 
19436
 
 
19437
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
19438
# into the resulting binary.
 
19439
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
19440
 
 
19441
# Set to "yes" if building a shared library automatically hardcodes DIR
 
19442
# into the library and all subsequent libraries and executables linked
 
19443
# against it.
 
19444
hardcode_automatic=$hardcode_automatic
 
19445
 
 
19446
# Set to yes if linker adds runtime paths of dependent libraries
 
19447
# to runtime path list.
 
19448
inherit_rpath=$inherit_rpath
 
19449
 
 
19450
# Whether libtool must link a program against all its dependency libraries.
 
19451
link_all_deplibs=$link_all_deplibs
 
19452
 
 
19453
# Fix the shell variable \$srcfile for the compiler.
 
19454
fix_srcfile_path=$lt_fix_srcfile_path
 
19455
 
 
19456
# Set to "yes" if exported symbols are required.
 
19457
always_export_symbols=$always_export_symbols
 
19458
 
 
19459
# The commands to list exported symbols.
 
19460
export_symbols_cmds=$lt_export_symbols_cmds
 
19461
 
 
19462
# Symbols that should not be listed in the preloaded symbols.
 
19463
exclude_expsyms=$lt_exclude_expsyms
 
19464
 
 
19465
# Symbols that must always be exported.
 
19466
include_expsyms=$lt_include_expsyms
 
19467
 
 
19468
# Commands necessary for linking programs (against libraries) with templates.
 
19469
prelink_cmds=$lt_prelink_cmds
 
19470
 
 
19471
# Specify filename containing input files.
 
19472
file_list_spec=$lt_file_list_spec
 
19473
 
 
19474
# How to hardcode a shared library path into an executable.
 
19475
hardcode_action=$hardcode_action
 
19476
 
 
19477
# ### END LIBTOOL CONFIG
 
19478
 
 
19479
_LT_EOF
 
19480
 
 
19481
  case $host_os in
 
19482
  aix3*)
 
19483
    cat <<\_LT_EOF >> "$cfgfile"
 
19484
# AIX sometimes has problems with the GCC collect2 program.  For some
 
19485
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
19486
# vanish in a puff of smoke.
 
19487
if test "X${COLLECT_NAMES+set}" != Xset; then
 
19488
  COLLECT_NAMES=
 
19489
  export COLLECT_NAMES
 
19490
fi
 
19491
_LT_EOF
 
19492
    ;;
 
19493
  esac
 
19494
 
 
19495
 
 
19496
ltmain="$ac_aux_dir/ltmain.sh"
 
19497
 
 
19498
 
 
19499
  # We use sed instead of cat because bash on DJGPP gets confused if
 
19500
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
19501
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
19502
  # is reportedly fixed, but why not run on old versions too?
 
19503
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
19504
    || (rm -f "$cfgfile"; exit 1)
 
19505
 
 
19506
  case $xsi_shell in
 
19507
  yes)
 
19508
    cat << \_LT_EOF >> "$cfgfile"
 
19509
 
 
19510
# func_dirname file append nondir_replacement
 
19511
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
19512
# otherwise set result to NONDIR_REPLACEMENT.
 
19513
func_dirname ()
 
19514
{
 
19515
  case ${1} in
 
19516
    */*) func_dirname_result="${1%/*}${2}" ;;
 
19517
    *  ) func_dirname_result="${3}" ;;
 
19518
  esac
 
19519
}
 
19520
 
 
19521
# func_basename file
 
19522
func_basename ()
 
19523
{
 
19524
  func_basename_result="${1##*/}"
 
19525
}
 
19526
 
 
19527
# func_dirname_and_basename file append nondir_replacement
 
19528
# perform func_basename and func_dirname in a single function
 
19529
# call:
 
19530
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
19531
#             add APPEND to the result, otherwise set result
 
19532
#             to NONDIR_REPLACEMENT.
 
19533
#             value returned in "$func_dirname_result"
 
19534
#   basename: Compute filename of FILE.
 
19535
#             value retuned in "$func_basename_result"
 
19536
# Implementation must be kept synchronized with func_dirname
 
19537
# and func_basename. For efficiency, we do not delegate to
 
19538
# those functions but instead duplicate the functionality here.
 
19539
func_dirname_and_basename ()
 
19540
{
 
19541
  case ${1} in
 
19542
    */*) func_dirname_result="${1%/*}${2}" ;;
 
19543
    *  ) func_dirname_result="${3}" ;;
 
19544
  esac
 
19545
  func_basename_result="${1##*/}"
 
19546
}
 
19547
 
 
19548
# func_stripname prefix suffix name
 
19549
# strip PREFIX and SUFFIX off of NAME.
 
19550
# PREFIX and SUFFIX must not contain globbing or regex special
 
19551
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
19552
# dot (in which case that matches only a dot).
 
19553
func_stripname ()
 
19554
{
 
19555
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
19556
  # positional parameters, so assign one to ordinary parameter first.
 
19557
  func_stripname_result=${3}
 
19558
  func_stripname_result=${func_stripname_result#"${1}"}
 
19559
  func_stripname_result=${func_stripname_result%"${2}"}
 
19560
}
 
19561
 
 
19562
# func_opt_split
 
19563
func_opt_split ()
 
19564
{
 
19565
  func_opt_split_opt=${1%%=*}
 
19566
  func_opt_split_arg=${1#*=}
 
19567
}
 
19568
 
 
19569
# func_lo2o object
 
19570
func_lo2o ()
 
19571
{
 
19572
  case ${1} in
 
19573
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
19574
    *)    func_lo2o_result=${1} ;;
 
19575
  esac
 
19576
}
 
19577
 
 
19578
# func_xform libobj-or-source
 
19579
func_xform ()
 
19580
{
 
19581
  func_xform_result=${1%.*}.lo
 
19582
}
 
19583
 
 
19584
# func_arith arithmetic-term...
 
19585
func_arith ()
 
19586
{
 
19587
  func_arith_result=$(( $* ))
 
19588
}
 
19589
 
 
19590
# func_len string
 
19591
# STRING may not start with a hyphen.
 
19592
func_len ()
 
19593
{
 
19594
  func_len_result=${#1}
 
19595
}
 
19596
 
 
19597
_LT_EOF
 
19598
    ;;
 
19599
  *) # Bourne compatible functions.
 
19600
    cat << \_LT_EOF >> "$cfgfile"
 
19601
 
 
19602
# func_dirname file append nondir_replacement
 
19603
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
19604
# otherwise set result to NONDIR_REPLACEMENT.
 
19605
func_dirname ()
 
19606
{
 
19607
  # Extract subdirectory from the argument.
 
19608
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
19609
  if test "X$func_dirname_result" = "X${1}"; then
 
19610
    func_dirname_result="${3}"
27299
19611
  else
27300
 
    mv -f ${file}.out ${file}
 
19612
    func_dirname_result="$func_dirname_result${2}"
27301
19613
  fi
27302
 
  chmod ugo+x ${file}
27303
 
  chmod u+w ${file}
27304
 
done
 
19614
}
 
19615
 
 
19616
# func_basename file
 
19617
func_basename ()
 
19618
{
 
19619
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
19620
}
 
19621
 
 
19622
 
 
19623
# func_stripname prefix suffix name
 
19624
# strip PREFIX and SUFFIX off of NAME.
 
19625
# PREFIX and SUFFIX must not contain globbing or regex special
 
19626
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
19627
# dot (in which case that matches only a dot).
 
19628
# func_strip_suffix prefix name
 
19629
func_stripname ()
 
19630
{
 
19631
  case ${2} in
 
19632
    .*) func_stripname_result=`$ECHO "X${3}" \
 
19633
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
19634
    *)  func_stripname_result=`$ECHO "X${3}" \
 
19635
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
19636
  esac
 
19637
}
 
19638
 
 
19639
# sed scripts:
 
19640
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
19641
my_sed_long_arg='1s/^-[^=]*=//'
 
19642
 
 
19643
# func_opt_split
 
19644
func_opt_split ()
 
19645
{
 
19646
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
19647
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
19648
}
 
19649
 
 
19650
# func_lo2o object
 
19651
func_lo2o ()
 
19652
{
 
19653
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
19654
}
 
19655
 
 
19656
# func_xform libobj-or-source
 
19657
func_xform ()
 
19658
{
 
19659
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
19660
}
 
19661
 
 
19662
# func_arith arithmetic-term...
 
19663
func_arith ()
 
19664
{
 
19665
  func_arith_result=`expr "$@"`
 
19666
}
 
19667
 
 
19668
# func_len string
 
19669
# STRING may not start with a hyphen.
 
19670
func_len ()
 
19671
{
 
19672
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
19673
}
 
19674
 
 
19675
_LT_EOF
 
19676
esac
 
19677
 
 
19678
case $lt_shell_append in
 
19679
  yes)
 
19680
    cat << \_LT_EOF >> "$cfgfile"
 
19681
 
 
19682
# func_append var value
 
19683
# Append VALUE to the end of shell variable VAR.
 
19684
func_append ()
 
19685
{
 
19686
  eval "$1+=\$2"
 
19687
}
 
19688
_LT_EOF
 
19689
    ;;
 
19690
  *)
 
19691
    cat << \_LT_EOF >> "$cfgfile"
 
19692
 
 
19693
# func_append var value
 
19694
# Append VALUE to the end of shell variable VAR.
 
19695
func_append ()
 
19696
{
 
19697
  eval "$1=\$$1\$2"
 
19698
}
 
19699
 
 
19700
_LT_EOF
 
19701
    ;;
 
19702
  esac
 
19703
 
 
19704
 
 
19705
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
19706
    || (rm -f "$cfgfile"; exit 1)
 
19707
 
 
19708
  mv -f "$cfgfile" "$ofile" ||
 
19709
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
19710
  chmod +x "$ofile"
27305
19711
 
27306
19712
 ;;
27307
19713
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
27318
19724
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
27319
19725
 
27320
19726
    if test ! -f "po/Makefile"; then
27321
 
      { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
27322
 
echo "$as_me: error: po/Makefile is not ready." >&2;}
 
19727
      { { $as_echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
 
19728
$as_echo "$as_me: error: po/Makefile is not ready." >&2;}
27323
19729
   { (exit 1); exit 1; }; }
27324
19730
    fi
27325
19731
    mv "po/Makefile" "po/Makefile.tmp"
27341
19747
chmod +x $CONFIG_STATUS
27342
19748
ac_clean_files=$ac_clean_files_save
27343
19749
 
 
19750
test $ac_write_fail = 0 ||
 
19751
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
19752
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
19753
   { (exit 1); exit 1; }; }
 
19754
 
27344
19755
 
27345
19756
# configure is writing to config.log, and then calls config.status.
27346
19757
# config.status does its own redirection, appending to config.log.
27368
19779
#
27369
19780
if test "$no_recursion" != yes; then
27370
19781
 
27371
 
  # Remove --cache-file and --srcdir arguments so they do not pile up.
 
19782
  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
 
19783
  # so they do not pile up.
27372
19784
  ac_sub_configure_args=
27373
19785
  ac_prev=
27374
19786
  eval "set x $ac_configure_args"
27397
19809
      ac_prev=prefix ;;
27398
19810
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
27399
19811
      ;;
 
19812
    --disable-option-checking)
 
19813
      ;;
27400
19814
    *)
27401
19815
      case $ac_arg in
27402
 
      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
19816
      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27403
19817
      esac
27404
19818
      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
27405
19819
    esac
27409
19823
  # in subdir configurations.
27410
19824
  ac_arg="--prefix=$prefix"
27411
19825
  case $ac_arg in
27412
 
  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
19826
  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27413
19827
  esac
27414
19828
  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
27415
19829
 
27418
19832
    ac_sub_configure_args="--silent $ac_sub_configure_args"
27419
19833
  fi
27420
19834
 
 
19835
  # Always prepend --disable-option-checking to silence warnings, since
 
19836
  # different subdirs can have different --enable and --with options.
 
19837
  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
 
19838
 
27421
19839
  ac_popdir=`pwd`
27422
19840
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
27423
19841
 
27426
19844
    test -d "$srcdir/$ac_dir" || continue
27427
19845
 
27428
19846
    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
27429
 
    echo "$as_me:$LINENO: $ac_msg" >&5
27430
 
    echo "$ac_msg" >&6
 
19847
    $as_echo "$as_me:$LINENO: $ac_msg" >&5
 
19848
    $as_echo "$ac_msg" >&6
27431
19849
    { as_dir="$ac_dir"
27432
19850
  case $as_dir in #(
27433
19851
  -*) as_dir=./$as_dir;;
27436
19854
    as_dirs=
27437
19855
    while :; do
27438
19856
      case $as_dir in #(
27439
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
19857
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27440
19858
      *) as_qdir=$as_dir;;
27441
19859
      esac
27442
19860
      as_dirs="'$as_qdir' $as_dirs"
27445
19863
         X"$as_dir" : 'X\(//\)[^/]' \| \
27446
19864
         X"$as_dir" : 'X\(//\)$' \| \
27447
19865
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27448
 
echo X"$as_dir" |
 
19866
$as_echo X"$as_dir" |
27449
19867
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27450
19868
            s//\1/
27451
19869
            q
27466
19884
      test -d "$as_dir" && break
27467
19885
    done
27468
19886
    test -z "$as_dirs" || eval "mkdir $as_dirs"
27469
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27470
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
19887
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
19888
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
27471
19889
   { (exit 1); exit 1; }; }; }
27472
19890
    ac_builddir=.
27473
19891
 
27474
19892
case "$ac_dir" in
27475
19893
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27476
19894
*)
27477
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
19895
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27478
19896
  # A ".." for each directory in $ac_dir_suffix.
27479
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
19897
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27480
19898
  case $ac_top_builddir_sub in
27481
19899
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27482
19900
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27515
19933
      # This should be Cygnus configure.
27516
19934
      ac_sub_configure=$ac_aux_dir/configure
27517
19935
    else
27518
 
      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
27519
 
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
 
19936
      { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
 
19937
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
27520
19938
      ac_sub_configure=
27521
19939
    fi
27522
19940
 
27529
19947
        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
27530
19948
      esac
27531
19949
 
27532
 
      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
27533
 
echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
 
19950
      { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
 
19951
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
27534
19952
      # The eval makes quoting arguments work.
27535
19953
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
27536
19954
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
27537
 
        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
27538
 
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
 
19955
        { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
 
19956
$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
27539
19957
   { (exit 1); exit 1; }; }
27540
19958
    fi
27541
19959
 
27542
19960
    cd "$ac_popdir"
27543
19961
  done
27544
19962
fi
 
19963
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
19964
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
19965
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
19966
fi
27545
19967