~ubuntu-branches/ubuntu/lucid/libpqxx3/lucid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Eugene V. Lyubimkin
  • Date: 2009-09-28 01:13:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090928011316-sqyruofmj5j1y7kz
Tags: 3.0.2-1
* New upstream bugfix-only release.
* debian/control:
  - Bumped Standards-Version to 3.8.3, no changes needed.
  - Added {misc:Depends} to dependencies of binary packages.
  - Updated my mail address.
* debian/libpqxx3-doc.install:
  - Added test headers to allow compiling examples. (Closes: 539814)

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 libpqxx 3.0.
 
3
# Generated by GNU Autoconf 2.63 for libpqxx 3.0.2.
4
4
#
5
5
# Report bugs to <Jeroen T. Vermeulen <jtv@xs4all.nl>>.
6
6
#
7
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9
9
# This configure script is free software; the Free Software Foundation
10
10
# gives unlimited permission to copy, distribute and modify it.
11
11
## --------------------- ##
17
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
18
  emulate sh
19
19
  NULLCMD=:
20
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
21
  # is contrary to our usage.  Disable this feature.
22
22
  alias -g '${1+"$@"}'='"$@"'
23
23
  setopt NO_GLOB_SUBST
39
39
as_cr_digits='0123456789'
40
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
41
 
 
42
as_nl='
 
43
'
 
44
export as_nl
 
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
42
74
# The user is always right.
43
75
if test "${PATH_SEPARATOR+set}" != set; then
44
 
  echo "#! /bin/sh" >conf$$.sh
45
 
  echo  "exit 0"   >>conf$$.sh
46
 
  chmod +x conf$$.sh
47
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48
 
    PATH_SEPARATOR=';'
49
 
  else
50
 
    PATH_SEPARATOR=:
51
 
  fi
52
 
  rm -f conf$$.sh
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
53
81
fi
54
82
 
55
83
# Support unset when possible.
65
93
# there to prevent editors from complaining about space-tab.
66
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
95
# splitting by setting IFS to empty value.)
68
 
as_nl='
69
 
'
70
96
IFS=" ""        $as_nl"
71
97
 
72
98
# Find who we are.  Look in the path if we contain no directory separator.
89
115
  as_myself=$0
90
116
fi
91
117
if test ! -f "$as_myself"; then
92
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
118
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
119
  { (exit 1); exit 1; }
94
120
fi
95
121
 
102
128
PS4='+ '
103
129
 
104
130
# NLS nuisances.
105
 
for as_var in \
106
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
 
  LC_TELEPHONE LC_TIME
109
 
do
110
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
 
    eval $as_var=C; export $as_var
112
 
  else
113
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114
 
  fi
115
 
done
 
131
LC_ALL=C
 
132
export LC_ALL
 
133
LANGUAGE=C
 
134
export LANGUAGE
116
135
 
117
136
# Required to use basename.
118
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
134
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
154
         X"$0" : 'X\(//\)$' \| \
136
155
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137
 
echo X/"$0" |
 
156
$as_echo X/"$0" |
138
157
    sed '/^.*\/\([^/][^/]*\)\/*$/{
139
158
            s//\1/
140
159
            q
160
179
  as_have_required=no
161
180
fi
162
181
 
163
 
  if test $as_have_required = yes &&     (eval ":
 
182
  if test $as_have_required = yes &&     (eval ":
164
183
(as_func_return () {
165
184
  (exit \$1)
166
185
}
242
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
262
  emulate sh
244
263
  NULLCMD=:
245
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
264
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
246
265
  # is contrary to our usage.  Disable this feature.
247
266
  alias -g '${1+"$@"}'='"$@"'
248
267
  setopt NO_GLOB_SUBST
263
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
283
  emulate sh
265
284
  NULLCMD=:
266
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
285
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
267
286
  # is contrary to our usage.  Disable this feature.
268
287
  alias -g '${1+"$@"}'='"$@"'
269
288
  setopt NO_GLOB_SUBST
343
362
 
344
363
      if test "x$CONFIG_SHELL" != x; then
345
364
  for as_var in BASH_ENV ENV
346
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
 
        done
348
 
        export CONFIG_SHELL
349
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
365
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
366
        done
 
367
        export CONFIG_SHELL
 
368
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350
369
fi
351
370
 
352
371
 
415
434
 
416
435
test \$exitcode = 0") || {
417
436
  echo No shell found that supports shell functions.
418
 
  echo Please tell autoconf@gnu.org about your system,
419
 
  echo including any error possibly output before this
420
 
  echo message
 
437
  echo Please tell bug-autoconf@gnu.org about your system,
 
438
  echo including any error possibly output before this message.
 
439
  echo This can help us improve future autoconf versions.
 
440
  echo Configuration will now proceed without shell functions.
421
441
}
422
442
 
423
443
 
453
473
      s/-\n.*//
454
474
    ' >$as_me.lineno &&
455
475
  chmod +x "$as_me.lineno" ||
456
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
476
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
477
   { (exit 1); exit 1; }; }
458
478
 
459
479
  # Don't try to exec as it changes $[0], causing all sort of problems
481
501
*)
482
502
  ECHO_N='-n';;
483
503
esac
484
 
 
485
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
505
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487
506
  as_expr=expr
494
513
  rm -f conf$$.dir/conf$$.file
495
514
else
496
515
  rm -f conf$$.dir
497
 
  mkdir conf$$.dir
 
516
  mkdir conf$$.dir 2>/dev/null
498
517
fi
499
 
echo >conf$$.file
500
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
501
 
  as_ln_s='ln -s'
502
 
  # ... but there are two gotchas:
503
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
 
  # In both cases, we have to default to `cp -p'.
506
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
518
if (echo >conf$$.file) 2>/dev/null; then
 
519
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
520
    as_ln_s='ln -s'
 
521
    # ... but there are two gotchas:
 
522
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
523
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
524
    # In both cases, we have to default to `cp -p'.
 
525
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
526
      as_ln_s='cp -p'
 
527
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
528
    as_ln_s=ln
 
529
  else
507
530
    as_ln_s='cp -p'
508
 
elif ln conf$$.file conf$$ 2>/dev/null; then
509
 
  as_ln_s=ln
 
531
  fi
510
532
else
511
533
  as_ln_s='cp -p'
512
534
fi
531
553
  as_test_x='
532
554
    eval sh -c '\''
533
555
      if test -d "$1"; then
534
 
        test -d "$1/.";
 
556
        test -d "$1/.";
535
557
      else
536
558
        case $1 in
537
 
        -*)set "./$1";;
 
559
        -*)set "./$1";;
538
560
        esac;
539
561
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
562
        ???[sx]*):;;*)false;;esac;fi
555
577
# Check that we are running under the correct shell.
556
578
SHELL=${CONFIG_SHELL-/bin/sh}
557
579
 
558
 
case X$ECHO in
 
580
case X$lt_ECHO in
559
581
X*--fallback-echo)
560
582
  # Remove one level of quotation (which was required for Make).
561
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
583
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
562
584
  ;;
563
585
esac
564
586
 
565
 
echo=${ECHO-echo}
 
587
ECHO=${lt_ECHO-echo}
566
588
if test "X$1" = X--no-reexec; then
567
589
  # Discard the --no-reexec flag, and continue.
568
590
  shift
569
591
elif test "X$1" = X--fallback-echo; then
570
592
  # Avoid inline document here, it may be left over
571
593
  :
572
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573
 
  # Yippee, $echo works!
 
594
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
595
  # Yippee, $ECHO works!
574
596
  :
575
597
else
576
598
  # Restart under the correct shell.
580
602
if test "X$1" = X--fallback-echo; then
581
603
  # used as fallback echo
582
604
  shift
583
 
  cat <<EOF
 
605
  cat <<_LT_EOF
584
606
$*
585
 
EOF
 
607
_LT_EOF
586
608
  exit 0
587
609
fi
588
610
 
590
612
# if CDPATH is set.
591
613
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
592
614
 
593
 
if test -z "$ECHO"; then
594
 
if test "X${echo_test_string+set}" != Xset; then
595
 
# find a string as large as possible, as long as the shell can cope with it
596
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
599
 
       echo_test_string=`eval $cmd` &&
600
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
601
 
    then
602
 
      break
603
 
    fi
604
 
  done
605
 
fi
606
 
 
607
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
609
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
610
 
  :
611
 
else
612
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
613
 
  # backslashes.  This makes it impossible to quote backslashes using
614
 
  #   echo "$something" | sed 's/\\/\\\\/g'
615
 
  #
616
 
  # So, first we look for a working echo in the user's PATH.
617
 
 
618
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
619
 
  for dir in $PATH /usr/ucb; do
 
615
if test -z "$lt_ECHO"; then
 
616
  if test "X${echo_test_string+set}" != Xset; then
 
617
    # find a string as large as possible, as long as the shell can cope with it
 
618
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
619
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
620
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
621
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
622
      then
 
623
        break
 
624
      fi
 
625
    done
 
626
  fi
 
627
 
 
628
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
629
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
630
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
631
    :
 
632
  else
 
633
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
634
    # backslashes.  This makes it impossible to quote backslashes using
 
635
    #   echo "$something" | sed 's/\\/\\\\/g'
 
636
    #
 
637
    # So, first we look for a working echo in the user's PATH.
 
638
 
 
639
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
640
    for dir in $PATH /usr/ucb; do
 
641
      IFS="$lt_save_ifs"
 
642
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
643
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
644
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
645
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
646
        ECHO="$dir/echo"
 
647
        break
 
648
      fi
 
649
    done
620
650
    IFS="$lt_save_ifs"
621
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
622
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
625
 
      echo="$dir/echo"
626
 
      break
627
 
    fi
628
 
  done
629
 
  IFS="$lt_save_ifs"
630
651
 
631
 
  if test "X$echo" = Xecho; then
632
 
    # We didn't find a better echo, so look for alternatives.
633
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
635
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
636
 
      # This shell has a builtin print -r that does the trick.
637
 
      echo='print -r'
638
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
639
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
640
 
      # If we have ksh, try running configure again with it.
641
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
642
 
      export ORIGINAL_CONFIG_SHELL
643
 
      CONFIG_SHELL=/bin/ksh
644
 
      export CONFIG_SHELL
645
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
646
 
    else
647
 
      # Try using printf.
648
 
      echo='printf %s\n'
649
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
651
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
652
 
        # Cool, printf works
653
 
        :
654
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = 'X\t' &&
656
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
658
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
659
 
        export CONFIG_SHELL
660
 
        SHELL="$CONFIG_SHELL"
661
 
        export SHELL
662
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
663
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = 'X\t' &&
665
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
667
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
652
    if test "X$ECHO" = Xecho; then
 
653
      # We didn't find a better echo, so look for alternatives.
 
654
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
655
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
656
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
657
        # This shell has a builtin print -r that does the trick.
 
658
        ECHO='print -r'
 
659
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
660
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
661
        # If we have ksh, try running configure again with it.
 
662
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
663
        export ORIGINAL_CONFIG_SHELL
 
664
        CONFIG_SHELL=/bin/ksh
 
665
        export CONFIG_SHELL
 
666
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668
667
      else
669
 
        # maybe with a smaller string...
670
 
        prev=:
671
 
 
672
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
674
 
          then
675
 
            break
 
668
        # Try using printf.
 
669
        ECHO='printf %s\n'
 
670
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
671
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
672
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
673
          # Cool, printf works
 
674
          :
 
675
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
676
             test "X$echo_testing_string" = 'X\t' &&
 
677
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
678
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
679
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
680
          export CONFIG_SHELL
 
681
          SHELL="$CONFIG_SHELL"
 
682
          export SHELL
 
683
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
684
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
685
             test "X$echo_testing_string" = 'X\t' &&
 
686
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
687
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
688
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
689
        else
 
690
          # maybe with a smaller string...
 
691
          prev=:
 
692
 
 
693
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
694
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
695
            then
 
696
              break
 
697
            fi
 
698
            prev="$cmd"
 
699
          done
 
700
 
 
701
          if test "$prev" != 'sed 50q "$0"'; then
 
702
            echo_test_string=`eval $prev`
 
703
            export echo_test_string
 
704
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
705
          else
 
706
            # Oops.  We lost completely, so just stick with echo.
 
707
            ECHO=echo
676
708
          fi
677
 
          prev="$cmd"
678
 
        done
679
 
 
680
 
        if test "$prev" != 'sed 50q "$0"'; then
681
 
          echo_test_string=`eval $prev`
682
 
          export echo_test_string
683
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684
 
        else
685
 
          # Oops.  We lost completely, so just stick with echo.
686
 
          echo=echo
687
 
        fi
 
709
        fi
688
710
      fi
689
711
    fi
690
712
  fi
691
713
fi
692
 
fi
693
714
 
694
715
# Copy echo and quote the copy suitably for passing to libtool from
695
716
# the Makefile, instead of quoting the original, which is used later.
696
 
ECHO=$echo
697
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
717
lt_ECHO=$ECHO
 
718
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
719
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
699
720
fi
700
721
 
701
722
 
702
723
 
703
724
 
704
 
tagnames=${tagnames+${tagnames},}CXX
705
 
 
706
 
tagnames=${tagnames+${tagnames},}F77
707
 
 
708
725
exec 7<&0 </dev/null 6>&1
709
726
 
710
727
# Name of the host.
728
745
# Identity of this package.
729
746
PACKAGE_NAME='libpqxx'
730
747
PACKAGE_TARNAME='libpqxx'
731
 
PACKAGE_VERSION='3.0'
732
 
PACKAGE_STRING='libpqxx 3.0'
 
748
PACKAGE_VERSION='3.0.2'
 
749
PACKAGE_STRING='libpqxx 3.0.2'
733
750
PACKAGE_BUGREPORT='Jeroen T. Vermeulen <jtv@xs4all.nl>'
734
751
 
735
752
ac_unique_file="src/connection.cxx"
770
787
# include <unistd.h>
771
788
#endif"
772
789
 
773
 
ac_subst_vars='SHELL
774
 
PATH_SEPARATOR
775
 
PACKAGE_NAME
776
 
PACKAGE_TARNAME
777
 
PACKAGE_VERSION
778
 
PACKAGE_STRING
779
 
PACKAGE_BUGREPORT
780
 
exec_prefix
781
 
prefix
782
 
program_transform_name
783
 
bindir
784
 
sbindir
785
 
libexecdir
786
 
datarootdir
787
 
datadir
788
 
sysconfdir
789
 
sharedstatedir
790
 
localstatedir
791
 
includedir
792
 
oldincludedir
793
 
docdir
794
 
infodir
795
 
htmldir
796
 
dvidir
797
 
pdfdir
798
 
psdir
799
 
libdir
800
 
localedir
801
 
mandir
802
 
DEFS
803
 
ECHO_C
804
 
ECHO_N
805
 
ECHO_T
806
 
LIBS
807
 
build_alias
808
 
host_alias
809
 
target_alias
810
 
INSTALL_PROGRAM
811
 
INSTALL_SCRIPT
812
 
INSTALL_DATA
813
 
am__isrc
814
 
CYGPATH_W
815
 
PACKAGE
816
 
VERSION
817
 
ACLOCAL
818
 
AUTOCONF
819
 
AUTOMAKE
820
 
AUTOHEADER
821
 
MAKEINFO
822
 
install_sh
823
 
STRIP
824
 
INSTALL_STRIP_PROGRAM
825
 
mkdir_p
826
 
AWK
827
 
SET_MAKE
828
 
am__leading_dot
829
 
AMTAR
830
 
am__tar
831
 
am__untar
832
 
PQXXVERSION
833
 
CXX
834
 
CXXFLAGS
835
 
LDFLAGS
836
 
CPPFLAGS
837
 
ac_ct_CXX
838
 
EXEEXT
839
 
OBJEXT
840
 
DEPDIR
841
 
am__include
842
 
am__quote
843
 
AMDEP_TRUE
844
 
AMDEP_FALSE
845
 
AMDEPBACKSLASH
846
 
CXXDEPMODE
847
 
am__fastdepCXX_TRUE
848
 
am__fastdepCXX_FALSE
849
 
CC
850
 
CFLAGS
851
 
ac_ct_CC
852
 
CCDEPMODE
853
 
am__fastdepCC_TRUE
854
 
am__fastdepCC_FALSE
 
790
ac_subst_vars='LTLIBOBJS
 
791
LIBOBJS
 
792
POSTGRES_INCLUDE
 
793
POSTGRES_LIB
 
794
with_postgres_include
 
795
with_postgres_lib
 
796
PG_CONFIG
 
797
MAINT
 
798
MAINTAINER_MODE_FALSE
 
799
MAINTAINER_MODE_TRUE
 
800
BUILD_TUTORIAL_FALSE
 
801
BUILD_TUTORIAL_TRUE
 
802
PKG_CONFIG
 
803
XMLTO
 
804
HAVE_DOT
 
805
BUILD_REFERENCE_FALSE
 
806
BUILD_REFERENCE_TRUE
 
807
DOXYGEN
 
808
MKDIR
 
809
CXXCPP
 
810
CPP
 
811
OTOOL64
 
812
OTOOL
 
813
LIPO
 
814
NMEDIT
 
815
DSYMUTIL
 
816
lt_ECHO
 
817
RANLIB
 
818
AR
 
819
OBJDUMP
 
820
LN_S
 
821
NM
 
822
ac_ct_DUMPBIN
 
823
DUMPBIN
 
824
LD
 
825
FGREP
 
826
EGREP
 
827
GREP
 
828
SED
 
829
host_os
 
830
host_vendor
 
831
host_cpu
 
832
host
 
833
build_os
 
834
build_vendor
 
835
build_cpu
855
836
build
856
 
build_cpu
857
 
build_vendor
858
 
build_os
859
 
host
860
 
host_cpu
861
 
host_vendor
862
 
host_os
863
 
SED
864
 
GREP
865
 
EGREP
866
 
LN_S
867
 
ECHO
868
 
AR
869
 
RANLIB
870
 
DSYMUTIL
871
 
NMEDIT
872
 
CPP
873
 
CXXCPP
874
 
F77
875
 
FFLAGS
876
 
ac_ct_F77
877
837
LIBTOOL
878
 
MKDIR
879
 
DOXYGEN
880
 
BUILD_REFERENCE_TRUE
881
 
BUILD_REFERENCE_FALSE
882
 
HAVE_DOT
883
 
XMLTO
884
 
PKG_CONFIG
885
 
BUILD_TUTORIAL_TRUE
886
 
BUILD_TUTORIAL_FALSE
887
 
MAINTAINER_MODE_TRUE
888
 
MAINTAINER_MODE_FALSE
889
 
MAINT
890
 
PG_CONFIG
891
 
with_postgres_lib
892
 
with_postgres_include
893
 
POSTGRES_LIB
894
 
POSTGRES_INCLUDE
895
 
LIBOBJS
896
 
LTLIBOBJS'
 
838
am__fastdepCC_FALSE
 
839
am__fastdepCC_TRUE
 
840
CCDEPMODE
 
841
ac_ct_CC
 
842
CFLAGS
 
843
CC
 
844
am__fastdepCXX_FALSE
 
845
am__fastdepCXX_TRUE
 
846
CXXDEPMODE
 
847
AMDEPBACKSLASH
 
848
AMDEP_FALSE
 
849
AMDEP_TRUE
 
850
am__quote
 
851
am__include
 
852
DEPDIR
 
853
OBJEXT
 
854
EXEEXT
 
855
ac_ct_CXX
 
856
CPPFLAGS
 
857
LDFLAGS
 
858
CXXFLAGS
 
859
CXX
 
860
PQXX_MINOR
 
861
PQXX_MAJOR
 
862
PQXX_ABI
 
863
PQXXVERSION
 
864
am__untar
 
865
am__tar
 
866
AMTAR
 
867
am__leading_dot
 
868
SET_MAKE
 
869
AWK
 
870
mkdir_p
 
871
MKDIR_P
 
872
INSTALL_STRIP_PROGRAM
 
873
STRIP
 
874
install_sh
 
875
MAKEINFO
 
876
AUTOHEADER
 
877
AUTOMAKE
 
878
AUTOCONF
 
879
ACLOCAL
 
880
VERSION
 
881
PACKAGE
 
882
CYGPATH_W
 
883
am__isrc
 
884
INSTALL_DATA
 
885
INSTALL_SCRIPT
 
886
INSTALL_PROGRAM
 
887
target_alias
 
888
host_alias
 
889
build_alias
 
890
LIBS
 
891
ECHO_T
 
892
ECHO_N
 
893
ECHO_C
 
894
DEFS
 
895
mandir
 
896
localedir
 
897
libdir
 
898
psdir
 
899
pdfdir
 
900
dvidir
 
901
htmldir
 
902
infodir
 
903
docdir
 
904
oldincludedir
 
905
includedir
 
906
localstatedir
 
907
sharedstatedir
 
908
sysconfdir
 
909
datadir
 
910
datarootdir
 
911
libexecdir
 
912
sbindir
 
913
bindir
 
914
program_transform_name
 
915
prefix
 
916
exec_prefix
 
917
PACKAGE_BUGREPORT
 
918
PACKAGE_STRING
 
919
PACKAGE_VERSION
 
920
PACKAGE_TARNAME
 
921
PACKAGE_NAME
 
922
PATH_SEPARATOR
 
923
SHELL'
897
924
ac_subst_files=''
 
925
ac_user_opts='
 
926
enable_option_checking
 
927
enable_dependency_tracking
 
928
enable_shared
 
929
enable_static
 
930
with_pic
 
931
enable_fast_install
 
932
with_gnu_ld
 
933
enable_libtool_lock
 
934
enable_maintainer_mode
 
935
with_std
 
936
'
898
937
      ac_precious_vars='build_alias
899
938
host_alias
900
939
target_alias
907
946
CC
908
947
CFLAGS
909
948
CPP
910
 
CXXCPP
911
 
F77
912
 
FFLAGS'
 
949
CXXCPP'
913
950
 
914
951
 
915
952
# Initialize some variables set by options.
916
953
ac_init_help=
917
954
ac_init_version=false
 
955
ac_unrecognized_opts=
 
956
ac_unrecognized_sep=
918
957
# The variables have the same names as the options, with
919
958
# dashes changed to underlines.
920
959
cache_file=/dev/null
1013
1052
    datarootdir=$ac_optarg ;;
1014
1053
 
1015
1054
  -disable-* | --disable-*)
1016
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1055
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1017
1056
    # Reject names that are not valid shell variable names.
1018
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1019
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1057
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1058
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1020
1059
   { (exit 1); exit 1; }; }
1021
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1022
 
    eval enable_$ac_feature=no ;;
 
1060
    ac_useropt_orig=$ac_useropt
 
1061
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1062
    case $ac_user_opts in
 
1063
      *"
 
1064
"enable_$ac_useropt"
 
1065
"*) ;;
 
1066
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1067
         ac_unrecognized_sep=', ';;
 
1068
    esac
 
1069
    eval enable_$ac_useropt=no ;;
1023
1070
 
1024
1071
  -docdir | --docdir | --docdi | --doc | --do)
1025
1072
    ac_prev=docdir ;;
1032
1079
    dvidir=$ac_optarg ;;
1033
1080
 
1034
1081
  -enable-* | --enable-*)
1035
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1082
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1036
1083
    # Reject names that are not valid shell variable names.
1037
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1038
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1084
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1085
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1039
1086
   { (exit 1); exit 1; }; }
1040
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1041
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1087
    ac_useropt_orig=$ac_useropt
 
1088
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1089
    case $ac_user_opts in
 
1090
      *"
 
1091
"enable_$ac_useropt"
 
1092
"*) ;;
 
1093
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1094
         ac_unrecognized_sep=', ';;
 
1095
    esac
 
1096
    eval enable_$ac_useropt=\$ac_optarg ;;
1042
1097
 
1043
1098
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1044
1099
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229
1284
    ac_init_version=: ;;
1230
1285
 
1231
1286
  -with-* | --with-*)
1232
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1287
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1233
1288
    # Reject names that are not valid shell variable names.
1234
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1235
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1289
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1290
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1236
1291
   { (exit 1); exit 1; }; }
1237
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1238
 
    eval with_$ac_package=\$ac_optarg ;;
 
1292
    ac_useropt_orig=$ac_useropt
 
1293
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1294
    case $ac_user_opts in
 
1295
      *"
 
1296
"with_$ac_useropt"
 
1297
"*) ;;
 
1298
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1299
         ac_unrecognized_sep=', ';;
 
1300
    esac
 
1301
    eval with_$ac_useropt=\$ac_optarg ;;
1239
1302
 
1240
1303
  -without-* | --without-*)
1241
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1304
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1242
1305
    # Reject names that are not valid shell variable names.
1243
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1244
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1306
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1307
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1245
1308
   { (exit 1); exit 1; }; }
1246
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1247
 
    eval with_$ac_package=no ;;
 
1309
    ac_useropt_orig=$ac_useropt
 
1310
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1311
    case $ac_user_opts in
 
1312
      *"
 
1313
"with_$ac_useropt"
 
1314
"*) ;;
 
1315
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1316
         ac_unrecognized_sep=', ';;
 
1317
    esac
 
1318
    eval with_$ac_useropt=no ;;
1248
1319
 
1249
1320
  --x)
1250
1321
    # Obsolete; use --with-x.
1264
1335
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1265
1336
    x_libraries=$ac_optarg ;;
1266
1337
 
1267
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1338
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1268
1339
Try \`$0 --help' for more information." >&2
1269
1340
   { (exit 1); exit 1; }; }
1270
1341
    ;;
1273
1344
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1274
1345
    # Reject names that are not valid shell variable names.
1275
1346
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1276
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1347
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1277
1348
   { (exit 1); exit 1; }; }
1278
1349
    eval $ac_envvar=\$ac_optarg
1279
1350
    export $ac_envvar ;;
1280
1351
 
1281
1352
  *)
1282
1353
    # FIXME: should be removed in autoconf 3.0.
1283
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1354
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1284
1355
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1285
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1356
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1286
1357
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1287
1358
    ;;
1288
1359
 
1291
1362
 
1292
1363
if test -n "$ac_prev"; then
1293
1364
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1294
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1365
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1295
1366
   { (exit 1); exit 1; }; }
1296
1367
fi
1297
1368
 
1298
 
# Be sure to have absolute directory names.
 
1369
if test -n "$ac_unrecognized_opts"; then
 
1370
  case $enable_option_checking in
 
1371
    no) ;;
 
1372
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1373
   { (exit 1); exit 1; }; } ;;
 
1374
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1375
  esac
 
1376
fi
 
1377
 
 
1378
# Check all directory arguments for consistency.
1299
1379
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1300
1380
                datadir sysconfdir sharedstatedir localstatedir includedir \
1301
1381
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1302
1382
                libdir localedir mandir
1303
1383
do
1304
1384
  eval ac_val=\$$ac_var
 
1385
  # Remove trailing slashes.
 
1386
  case $ac_val in
 
1387
    */ )
 
1388
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1389
      eval $ac_var=\$ac_val;;
 
1390
  esac
 
1391
  # Be sure to have absolute directory names.
1305
1392
  case $ac_val in
1306
1393
    [\\/$]* | ?:[\\/]* )  continue;;
1307
1394
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1308
1395
  esac
1309
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1396
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1310
1397
   { (exit 1); exit 1; }; }
1311
1398
done
1312
1399
 
1321
1408
if test "x$host_alias" != x; then
1322
1409
  if test "x$build_alias" = x; then
1323
1410
    cross_compiling=maybe
1324
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1411
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1325
1412
    If a cross compiler is detected then cross compile mode will be used." >&2
1326
1413
  elif test "x$build_alias" != "x$host_alias"; then
1327
1414
    cross_compiling=yes
1337
1424
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1338
1425
ac_ls_di=`ls -di .` &&
1339
1426
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1340
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1427
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1341
1428
   { (exit 1); exit 1; }; }
1342
1429
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1343
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1430
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1344
1431
   { (exit 1); exit 1; }; }
1345
1432
 
1346
1433
 
1348
1435
if test -z "$srcdir"; then
1349
1436
  ac_srcdir_defaulted=yes
1350
1437
  # Try the directory containing this script, then the parent directory.
1351
 
  ac_confdir=`$as_dirname -- "$0" ||
1352
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1353
 
         X"$0" : 'X\(//\)[^/]' \| \
1354
 
         X"$0" : 'X\(//\)$' \| \
1355
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1356
 
echo X"$0" |
 
1438
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1439
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1440
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1441
         X"$as_myself" : 'X\(//\)$' \| \
 
1442
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1443
$as_echo X"$as_myself" |
1357
1444
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1358
1445
            s//\1/
1359
1446
            q
1380
1467
fi
1381
1468
if test ! -r "$srcdir/$ac_unique_file"; then
1382
1469
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1383
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1470
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1384
1471
   { (exit 1); exit 1; }; }
1385
1472
fi
1386
1473
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1387
1474
ac_abs_confdir=`(
1388
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1475
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1389
1476
   { (exit 1); exit 1; }; }
1390
1477
        pwd)`
1391
1478
# When building in place, set srcdir=.
1412
1499
  # Omit some internal or obsolete options to make the list less imposing.
1413
1500
  # This message is too long to be a string in the A/UX 3.1 sh.
1414
1501
  cat <<_ACEOF
1415
 
\`configure' configures libpqxx 3.0 to adapt to many kinds of systems.
 
1502
\`configure' configures libpqxx 3.0.2 to adapt to many kinds of systems.
1416
1503
 
1417
1504
Usage: $0 [OPTION]... [VAR=VALUE]...
1418
1505
 
1434
1521
 
1435
1522
Installation directories:
1436
1523
  --prefix=PREFIX         install architecture-independent files in PREFIX
1437
 
                          [$ac_default_prefix]
 
1524
                          [$ac_default_prefix]
1438
1525
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1439
 
                          [PREFIX]
 
1526
                          [PREFIX]
1440
1527
 
1441
1528
By default, \`make install' will install all the files in
1442
1529
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1446
1533
For better control, use the options below.
1447
1534
 
1448
1535
Fine tuning of the installation directories:
1449
 
  --bindir=DIR           user executables [EPREFIX/bin]
1450
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1451
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1452
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1453
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1454
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1455
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1456
 
  --includedir=DIR       C header files [PREFIX/include]
1457
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1458
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1459
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1460
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1461
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1462
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1463
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/libpqxx]
1464
 
  --htmldir=DIR          html documentation [DOCDIR]
1465
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1466
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1467
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1536
  --bindir=DIR            user executables [EPREFIX/bin]
 
1537
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1538
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1539
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1540
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1541
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1542
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1543
  --includedir=DIR        C header files [PREFIX/include]
 
1544
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1545
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1546
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1547
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1548
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1549
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1550
  --docdir=DIR            documentation root [DATAROOTDIR/doc/libpqxx]
 
1551
  --htmldir=DIR           html documentation [DOCDIR]
 
1552
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1553
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1554
  --psdir=DIR             ps documentation [DOCDIR]
1468
1555
_ACEOF
1469
1556
 
1470
1557
  cat <<\_ACEOF
1482
1569
 
1483
1570
if test -n "$ac_init_help"; then
1484
1571
  case $ac_init_help in
1485
 
     short | recursive ) echo "Configuration of libpqxx 3.0:";;
 
1572
     short | recursive ) echo "Configuration of libpqxx 3.0.2:";;
1486
1573
   esac
1487
1574
  cat <<\_ACEOF
1488
1575
 
1489
1576
Optional Features:
 
1577
  --disable-option-checking  ignore unrecognized --enable/--with options
1490
1578
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1491
1579
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1492
1580
  --disable-dependency-tracking  speeds up one-time build
1503
1591
Optional Packages:
1504
1592
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1505
1593
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1506
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1507
1594
  --with-pic              try to use only PIC/non-PIC objects [default=use
1508
1595
                          both]
1509
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1596
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1510
1597
  --with-std              name of standard library namespace (normally "std")
1511
1598
 
1512
1599
Some influential environment variables:
1521
1608
  CFLAGS      C compiler flags
1522
1609
  CPP         C preprocessor
1523
1610
  CXXCPP      C++ preprocessor
1524
 
  F77         Fortran 77 compiler command
1525
 
  FFLAGS      Fortran 77 compiler flags
1526
1611
 
1527
1612
Use these variables to override the choices made by `configure' or to help
1528
1613
it to find libraries and programs with nonstandard names/locations.
1535
1620
if test "$ac_init_help" = "recursive"; then
1536
1621
  # If there are subdirs, report their specific --help.
1537
1622
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1538
 
    test -d "$ac_dir" || continue
 
1623
    test -d "$ac_dir" ||
 
1624
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1625
      continue
1539
1626
    ac_builddir=.
1540
1627
 
1541
1628
case "$ac_dir" in
1542
1629
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1543
1630
*)
1544
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1631
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1545
1632
  # A ".." for each directory in $ac_dir_suffix.
1546
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1633
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1547
1634
  case $ac_top_builddir_sub in
1548
1635
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1549
1636
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1579
1666
      echo &&
1580
1667
      $SHELL "$ac_srcdir/configure" --help=recursive
1581
1668
    else
1582
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1669
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1583
1670
    fi || ac_status=$?
1584
1671
    cd "$ac_pwd" || { ac_status=$?; break; }
1585
1672
  done
1588
1675
test -n "$ac_init_help" && exit $ac_status
1589
1676
if $ac_init_version; then
1590
1677
  cat <<\_ACEOF
1591
 
libpqxx configure 3.0
1592
 
generated by GNU Autoconf 2.61
 
1678
libpqxx configure 3.0.2
 
1679
generated by GNU Autoconf 2.63
1593
1680
 
1594
1681
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1595
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1682
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1596
1683
This configure script is free software; the Free Software Foundation
1597
1684
gives unlimited permission to copy, distribute and modify it.
1598
1685
_ACEOF
1602
1689
This file contains any messages produced by compilers while
1603
1690
running configure, to aid debugging if configure makes a mistake.
1604
1691
 
1605
 
It was created by libpqxx $as_me 3.0, which was
1606
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1692
It was created by libpqxx $as_me 3.0.2, which was
 
1693
generated by GNU Autoconf 2.63.  Invocation command line was
1607
1694
 
1608
1695
  $ $0 $@
1609
1696
 
1639
1726
do
1640
1727
  IFS=$as_save_IFS
1641
1728
  test -z "$as_dir" && as_dir=.
1642
 
  echo "PATH: $as_dir"
 
1729
  $as_echo "PATH: $as_dir"
1643
1730
done
1644
1731
IFS=$as_save_IFS
1645
1732
 
1674
1761
    | -silent | --silent | --silen | --sile | --sil)
1675
1762
      continue ;;
1676
1763
    *\'*)
1677
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1764
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1678
1765
    esac
1679
1766
    case $ac_pass in
1680
1767
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1726
1813
    case $ac_val in #(
1727
1814
    *${as_nl}*)
1728
1815
      case $ac_var in #(
1729
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1730
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1816
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1817
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1731
1818
      esac
1732
1819
      case $ac_var in #(
1733
1820
      _ | IFS | as_nl) ;; #(
 
1821
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1734
1822
      *) $as_unset $ac_var ;;
1735
1823
      esac ;;
1736
1824
    esac
1760
1848
    do
1761
1849
      eval ac_val=\$$ac_var
1762
1850
      case $ac_val in
1763
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1851
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1764
1852
      esac
1765
 
      echo "$ac_var='\''$ac_val'\''"
 
1853
      $as_echo "$ac_var='\''$ac_val'\''"
1766
1854
    done | sort
1767
1855
    echo
1768
1856
 
1777
1865
      do
1778
1866
        eval ac_val=\$$ac_var
1779
1867
        case $ac_val in
1780
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1868
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1781
1869
        esac
1782
 
        echo "$ac_var='\''$ac_val'\''"
 
1870
        $as_echo "$ac_var='\''$ac_val'\''"
1783
1871
      done | sort
1784
1872
      echo
1785
1873
    fi
1795
1883
      echo
1796
1884
    fi
1797
1885
    test "$ac_signal" != 0 &&
1798
 
      echo "$as_me: caught signal $ac_signal"
1799
 
    echo "$as_me: exit $exit_status"
 
1886
      $as_echo "$as_me: caught signal $ac_signal"
 
1887
    $as_echo "$as_me: exit $exit_status"
1800
1888
  } >&5
1801
1889
  rm -f core *.core core.conftest.* &&
1802
1890
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1838
1926
 
1839
1927
 
1840
1928
# Let the site file select an alternate cache file if it wants to.
1841
 
# Prefer explicitly selected file to automatically selected ones.
 
1929
# Prefer an explicitly selected file to automatically selected ones.
 
1930
ac_site_file1=NONE
 
1931
ac_site_file2=NONE
1842
1932
if test -n "$CONFIG_SITE"; then
1843
 
  set x "$CONFIG_SITE"
 
1933
  ac_site_file1=$CONFIG_SITE
1844
1934
elif test "x$prefix" != xNONE; then
1845
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1935
  ac_site_file1=$prefix/share/config.site
 
1936
  ac_site_file2=$prefix/etc/config.site
1846
1937
else
1847
 
  set x "$ac_default_prefix/share/config.site" \
1848
 
        "$ac_default_prefix/etc/config.site"
 
1938
  ac_site_file1=$ac_default_prefix/share/config.site
 
1939
  ac_site_file2=$ac_default_prefix/etc/config.site
1849
1940
fi
1850
 
shift
1851
 
for ac_site_file
 
1941
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1852
1942
do
 
1943
  test "x$ac_site_file" = xNONE && continue
1853
1944
  if test -r "$ac_site_file"; then
1854
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1855
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1945
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1946
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1856
1947
    sed 's/^/| /' "$ac_site_file" >&5
1857
1948
    . "$ac_site_file"
1858
1949
  fi
1862
1953
  # Some versions of bash will fail to source /dev/null (special
1863
1954
  # files actually), so we avoid doing that.
1864
1955
  if test -f "$cache_file"; then
1865
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1866
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1956
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1957
$as_echo "$as_me: loading cache $cache_file" >&6;}
1867
1958
    case $cache_file in
1868
1959
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1869
1960
      *)                      . "./$cache_file";;
1870
1961
    esac
1871
1962
  fi
1872
1963
else
1873
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1874
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1964
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1965
$as_echo "$as_me: creating cache $cache_file" >&6;}
1875
1966
  >$cache_file
1876
1967
fi
1877
1968
 
1885
1976
  eval ac_new_val=\$ac_env_${ac_var}_value
1886
1977
  case $ac_old_set,$ac_new_set in
1887
1978
    set,)
1888
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1889
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1979
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1980
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1890
1981
      ac_cache_corrupted=: ;;
1891
1982
    ,set)
1892
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1893
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1983
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1984
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1894
1985
      ac_cache_corrupted=: ;;
1895
1986
    ,);;
1896
1987
    *)
1897
1988
      if test "x$ac_old_val" != "x$ac_new_val"; then
1898
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1899
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1900
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1901
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1902
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1903
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1904
 
        ac_cache_corrupted=:
 
1989
        # differences in whitespace do not lead to failure.
 
1990
        ac_old_val_w=`echo x $ac_old_val`
 
1991
        ac_new_val_w=`echo x $ac_new_val`
 
1992
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1993
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1994
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1995
          ac_cache_corrupted=:
 
1996
        else
 
1997
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1998
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1999
          eval $ac_var=\$ac_old_val
 
2000
        fi
 
2001
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2002
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2003
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2004
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1905
2005
      fi;;
1906
2006
  esac
1907
2007
  # Pass precious variables to config.status.
1908
2008
  if test "$ac_new_set" = set; then
1909
2009
    case $ac_new_val in
1910
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2010
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1911
2011
    *) ac_arg=$ac_var=$ac_new_val ;;
1912
2012
    esac
1913
2013
    case " $ac_configure_args " in
1917
2017
  fi
1918
2018
done
1919
2019
if $ac_cache_corrupted; then
1920
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1921
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1922
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1923
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2020
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2021
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2022
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2023
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2024
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2025
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1924
2026
   { (exit 1); exit 1; }; }
1925
2027
fi
1926
2028
 
1978
2080
  fi
1979
2081
done
1980
2082
if test -z "$ac_aux_dir"; then
1981
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1982
 
echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
 
2083
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
 
2084
$as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1983
2085
   { (exit 1); exit 1; }; }
1984
2086
fi
1985
2087
 
2008
2110
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2009
2111
# OS/2's system install, which has a completely different semantic
2010
2112
# ./install, which can be erroneously created by make from ./install.sh.
2011
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2012
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2113
# Reject install programs that cannot install multiple files.
 
2114
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2115
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2013
2116
if test -z "$INSTALL"; then
2014
2117
if test "${ac_cv_path_install+set}" = set; then
2015
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2118
  $as_echo_n "(cached) " >&6
2016
2119
else
2017
2120
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2018
2121
for as_dir in $PATH
2041
2144
            # program-specific install script used by HP pwplus--don't use.
2042
2145
            :
2043
2146
          else
2044
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2045
 
            break 3
 
2147
            rm -rf conftest.one conftest.two conftest.dir
 
2148
            echo one > conftest.one
 
2149
            echo two > conftest.two
 
2150
            mkdir conftest.dir
 
2151
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2152
              test -s conftest.one && test -s conftest.two &&
 
2153
              test -s conftest.dir/conftest.one &&
 
2154
              test -s conftest.dir/conftest.two
 
2155
            then
 
2156
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2157
              break 3
 
2158
            fi
2046
2159
          fi
2047
2160
        fi
2048
2161
      done
2049
2162
    done
2050
2163
    ;;
2051
2164
esac
 
2165
 
2052
2166
done
2053
2167
IFS=$as_save_IFS
2054
2168
 
 
2169
rm -rf conftest.one conftest.two conftest.dir
2055
2170
 
2056
2171
fi
2057
2172
  if test "${ac_cv_path_install+set}" = set; then
2064
2179
    INSTALL=$ac_install_sh
2065
2180
  fi
2066
2181
fi
2067
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2068
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2182
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2183
$as_echo "$INSTALL" >&6; }
2069
2184
 
2070
2185
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2071
2186
# It thinks the first close brace ends the variable substitution.
2075
2190
 
2076
2191
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2077
2192
 
2078
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2079
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2193
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2194
$as_echo_n "checking whether build environment is sane... " >&6; }
2080
2195
# Just in case
2081
2196
sleep 1
2082
2197
echo timestamp > conftest.file
2099
2214
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2100
2215
      # broken ls alias from the environment.  This has actually
2101
2216
      # happened.  Such a system could not be considered "sane".
2102
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2217
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2103
2218
alias in your environment" >&5
2104
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2219
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2105
2220
alias in your environment" >&2;}
2106
2221
   { (exit 1); exit 1; }; }
2107
2222
   fi
2112
2227
   # Ok.
2113
2228
   :
2114
2229
else
2115
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2230
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2116
2231
Check your system clock" >&5
2117
 
echo "$as_me: error: newly created file is older than distributed files!
 
2232
$as_echo "$as_me: error: newly created file is older than distributed files!
2118
2233
Check your system clock" >&2;}
2119
2234
   { (exit 1); exit 1; }; }
2120
2235
fi
2121
 
{ echo "$as_me:$LINENO: result: yes" >&5
2122
 
echo "${ECHO_T}yes" >&6; }
 
2236
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2237
$as_echo "yes" >&6; }
2123
2238
test "$program_prefix" != NONE &&
2124
2239
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2125
2240
# Use a double $ so make ignores it.
2126
2241
test "$program_suffix" != NONE &&
2127
2242
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2128
 
# Double any \ or $.  echo might interpret backslashes.
 
2243
# Double any \ or $.
2129
2244
# By default was `s,x,x', remove it if useless.
2130
 
cat <<\_ACEOF >conftest.sed
2131
 
s/[\\$]/&&/g;s/;s,x,x,$//
2132
 
_ACEOF
2133
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2134
 
rm -f conftest.sed
 
2245
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2246
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2135
2247
 
2136
2248
# expand $ac_aux_dir to an absolute path
2137
2249
am_aux_dir=`cd $ac_aux_dir && pwd`
2142
2254
  am_missing_run="$MISSING --run "
2143
2255
else
2144
2256
  am_missing_run=
2145
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2146
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2257
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2258
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2147
2259
fi
2148
2260
 
2149
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2150
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2261
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2262
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2151
2263
if test -z "$MKDIR_P"; then
2152
2264
  if test "${ac_cv_path_mkdir+set}" = set; then
2153
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2265
  $as_echo_n "(cached) " >&6
2154
2266
else
2155
2267
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2156
2268
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2185
2297
    MKDIR_P="$ac_install_sh -d"
2186
2298
  fi
2187
2299
fi
2188
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2189
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2300
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2301
$as_echo "$MKDIR_P" >&6; }
2190
2302
 
2191
2303
mkdir_p="$MKDIR_P"
2192
2304
case $mkdir_p in
2198
2310
do
2199
2311
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2200
2312
set dummy $ac_prog; ac_word=$2
2201
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2202
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2313
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2314
$as_echo_n "checking for $ac_word... " >&6; }
2203
2315
if test "${ac_cv_prog_AWK+set}" = set; then
2204
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2316
  $as_echo_n "(cached) " >&6
2205
2317
else
2206
2318
  if test -n "$AWK"; then
2207
2319
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2214
2326
  for ac_exec_ext in '' $ac_executable_extensions; do
2215
2327
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2216
2328
    ac_cv_prog_AWK="$ac_prog"
2217
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2329
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2218
2330
    break 2
2219
2331
  fi
2220
2332
done
2225
2337
fi
2226
2338
AWK=$ac_cv_prog_AWK
2227
2339
if test -n "$AWK"; then
2228
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2229
 
echo "${ECHO_T}$AWK" >&6; }
 
2340
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2341
$as_echo "$AWK" >&6; }
2230
2342
else
2231
 
  { echo "$as_me:$LINENO: result: no" >&5
2232
 
echo "${ECHO_T}no" >&6; }
 
2343
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2344
$as_echo "no" >&6; }
2233
2345
fi
2234
2346
 
2235
2347
 
2236
2348
  test -n "$AWK" && break
2237
2349
done
2238
2350
 
2239
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2240
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2241
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2351
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2352
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2353
set x ${MAKE-make}
 
2354
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2242
2355
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2243
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2356
  $as_echo_n "(cached) " >&6
2244
2357
else
2245
2358
  cat >conftest.make <<\_ACEOF
2246
2359
SHELL = /bin/sh
2257
2370
rm -f conftest.make
2258
2371
fi
2259
2372
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2260
 
  { echo "$as_me:$LINENO: result: yes" >&5
2261
 
echo "${ECHO_T}yes" >&6; }
 
2373
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2374
$as_echo "yes" >&6; }
2262
2375
  SET_MAKE=
2263
2376
else
2264
 
  { echo "$as_me:$LINENO: result: no" >&5
2265
 
echo "${ECHO_T}no" >&6; }
 
2377
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2378
$as_echo "no" >&6; }
2266
2379
  SET_MAKE="MAKE=${MAKE-make}"
2267
2380
fi
2268
2381
 
2281
2394
  am__isrc=' -I$(srcdir)'
2282
2395
  # test to see if srcdir already configured
2283
2396
  if test -f $srcdir/config.status; then
2284
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2285
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2397
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2398
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2286
2399
   { (exit 1); exit 1; }; }
2287
2400
  fi
2288
2401
fi
2299
2412
 
2300
2413
# Define the identity of the package.
2301
2414
 PACKAGE=libpqxx
2302
 
 VERSION=3.0
 
2415
 VERSION=3.0.2
2303
2416
 
2304
2417
 
2305
2418
cat >>confdefs.h <<_ACEOF
2337
2450
  if test -n "$ac_tool_prefix"; then
2338
2451
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2339
2452
set dummy ${ac_tool_prefix}strip; ac_word=$2
2340
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2341
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2453
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2454
$as_echo_n "checking for $ac_word... " >&6; }
2342
2455
if test "${ac_cv_prog_STRIP+set}" = set; then
2343
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2456
  $as_echo_n "(cached) " >&6
2344
2457
else
2345
2458
  if test -n "$STRIP"; then
2346
2459
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2353
2466
  for ac_exec_ext in '' $ac_executable_extensions; do
2354
2467
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2355
2468
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2356
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2469
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2357
2470
    break 2
2358
2471
  fi
2359
2472
done
2364
2477
fi
2365
2478
STRIP=$ac_cv_prog_STRIP
2366
2479
if test -n "$STRIP"; then
2367
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2368
 
echo "${ECHO_T}$STRIP" >&6; }
 
2480
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2481
$as_echo "$STRIP" >&6; }
2369
2482
else
2370
 
  { echo "$as_me:$LINENO: result: no" >&5
2371
 
echo "${ECHO_T}no" >&6; }
 
2483
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2484
$as_echo "no" >&6; }
2372
2485
fi
2373
2486
 
2374
2487
 
2377
2490
  ac_ct_STRIP=$STRIP
2378
2491
  # Extract the first word of "strip", so it can be a program name with args.
2379
2492
set dummy strip; ac_word=$2
2380
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2381
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2493
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2494
$as_echo_n "checking for $ac_word... " >&6; }
2382
2495
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2383
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2496
  $as_echo_n "(cached) " >&6
2384
2497
else
2385
2498
  if test -n "$ac_ct_STRIP"; then
2386
2499
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2393
2506
  for ac_exec_ext in '' $ac_executable_extensions; do
2394
2507
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2395
2508
    ac_cv_prog_ac_ct_STRIP="strip"
2396
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2509
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2397
2510
    break 2
2398
2511
  fi
2399
2512
done
2404
2517
fi
2405
2518
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2406
2519
if test -n "$ac_ct_STRIP"; then
2407
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2408
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2520
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2521
$as_echo "$ac_ct_STRIP" >&6; }
2409
2522
else
2410
 
  { echo "$as_me:$LINENO: result: no" >&5
2411
 
echo "${ECHO_T}no" >&6; }
 
2523
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2524
$as_echo "no" >&6; }
2412
2525
fi
2413
2526
 
2414
2527
  if test "x$ac_ct_STRIP" = x; then
2416
2529
  else
2417
2530
    case $cross_compiling:$ac_tool_warned in
2418
2531
yes:)
2419
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2420
 
whose name does not start with the host triplet.  If you think this
2421
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2422
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2423
 
whose name does not start with the host triplet.  If you think this
2424
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2532
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2533
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2425
2534
ac_tool_warned=yes ;;
2426
2535
esac
2427
2536
    STRIP=$ac_ct_STRIP
2446
2555
 
2447
2556
 
2448
2557
 
2449
 
PQXXVERSION=3.0
 
2558
PQXXVERSION=3.0.2
 
2559
PQXX_ABI=3.0
 
2560
PQXX_MAJOR=3
 
2561
PQXX_MINOR=0
 
2562
 
 
2563
 
 
2564
 
2450
2565
 
2451
2566
 
2452
2567
 
2471
2586
  do
2472
2587
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2473
2588
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2474
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2475
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2589
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2590
$as_echo_n "checking for $ac_word... " >&6; }
2476
2591
if test "${ac_cv_prog_CXX+set}" = set; then
2477
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2592
  $as_echo_n "(cached) " >&6
2478
2593
else
2479
2594
  if test -n "$CXX"; then
2480
2595
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2487
2602
  for ac_exec_ext in '' $ac_executable_extensions; do
2488
2603
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2489
2604
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2490
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2605
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2491
2606
    break 2
2492
2607
  fi
2493
2608
done
2498
2613
fi
2499
2614
CXX=$ac_cv_prog_CXX
2500
2615
if test -n "$CXX"; then
2501
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
2502
 
echo "${ECHO_T}$CXX" >&6; }
 
2616
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
2617
$as_echo "$CXX" >&6; }
2503
2618
else
2504
 
  { echo "$as_me:$LINENO: result: no" >&5
2505
 
echo "${ECHO_T}no" >&6; }
 
2619
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2620
$as_echo "no" >&6; }
2506
2621
fi
2507
2622
 
2508
2623
 
2515
2630
do
2516
2631
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2517
2632
set dummy $ac_prog; ac_word=$2
2518
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2519
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2633
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2634
$as_echo_n "checking for $ac_word... " >&6; }
2520
2635
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2521
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2636
  $as_echo_n "(cached) " >&6
2522
2637
else
2523
2638
  if test -n "$ac_ct_CXX"; then
2524
2639
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2531
2646
  for ac_exec_ext in '' $ac_executable_extensions; do
2532
2647
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2533
2648
    ac_cv_prog_ac_ct_CXX="$ac_prog"
2534
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2649
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2535
2650
    break 2
2536
2651
  fi
2537
2652
done
2542
2657
fi
2543
2658
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2544
2659
if test -n "$ac_ct_CXX"; then
2545
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2546
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
2660
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
2661
$as_echo "$ac_ct_CXX" >&6; }
2547
2662
else
2548
 
  { echo "$as_me:$LINENO: result: no" >&5
2549
 
echo "${ECHO_T}no" >&6; }
 
2663
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2664
$as_echo "no" >&6; }
2550
2665
fi
2551
2666
 
2552
2667
 
2558
2673
  else
2559
2674
    case $cross_compiling:$ac_tool_warned in
2560
2675
yes:)
2561
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2562
 
whose name does not start with the host triplet.  If you think this
2563
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2564
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2565
 
whose name does not start with the host triplet.  If you think this
2566
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2676
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2677
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2567
2678
ac_tool_warned=yes ;;
2568
2679
esac
2569
2680
    CXX=$ac_ct_CXX
2573
2684
  fi
2574
2685
fi
2575
2686
# Provide some information about the compiler.
2576
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2577
 
ac_compiler=`set X $ac_compile; echo $2`
 
2687
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
2688
set X $ac_compile
 
2689
ac_compiler=$2
2578
2690
{ (ac_try="$ac_compiler --version >&5"
2579
2691
case "(($ac_try" in
2580
2692
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581
2693
  *) ac_try_echo=$ac_try;;
2582
2694
esac
2583
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2695
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2696
$as_echo "$ac_try_echo") >&5
2584
2697
  (eval "$ac_compiler --version >&5") 2>&5
2585
2698
  ac_status=$?
2586
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2699
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587
2700
  (exit $ac_status); }
2588
2701
{ (ac_try="$ac_compiler -v >&5"
2589
2702
case "(($ac_try" in
2590
2703
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2591
2704
  *) ac_try_echo=$ac_try;;
2592
2705
esac
2593
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2706
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2707
$as_echo "$ac_try_echo") >&5
2594
2708
  (eval "$ac_compiler -v >&5") 2>&5
2595
2709
  ac_status=$?
2596
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2710
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597
2711
  (exit $ac_status); }
2598
2712
{ (ac_try="$ac_compiler -V >&5"
2599
2713
case "(($ac_try" in
2600
2714
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2601
2715
  *) ac_try_echo=$ac_try;;
2602
2716
esac
2603
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2717
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2718
$as_echo "$ac_try_echo") >&5
2604
2719
  (eval "$ac_compiler -V >&5") 2>&5
2605
2720
  ac_status=$?
2606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2721
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607
2722
  (exit $ac_status); }
2608
2723
 
2609
2724
cat >conftest.$ac_ext <<_ACEOF
2622
2737
}
2623
2738
_ACEOF
2624
2739
ac_clean_files_save=$ac_clean_files
2625
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2740
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2626
2741
# Try to create an executable without -o first, disregard a.out.
2627
2742
# It will help us diagnose broken compilers, and finding out an intuition
2628
2743
# of exeext.
2629
 
{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2630
 
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2631
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2632
 
#
2633
 
# List of possible output files, starting from the most likely.
2634
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2635
 
# only as a last resort.  b.out is created by i960 compilers.
2636
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2637
 
#
2638
 
# The IRIX 6 linker writes into existing files which may not be
2639
 
# executable, retaining their permissions.  Remove them first so a
2640
 
# subsequent execution test works.
 
2744
{ $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
 
2745
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
 
2746
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2747
 
 
2748
# The possible output files:
 
2749
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2750
 
2641
2751
ac_rmfiles=
2642
2752
for ac_file in $ac_files
2643
2753
do
2644
2754
  case $ac_file in
2645
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2755
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2646
2756
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2647
2757
  esac
2648
2758
done
2653
2763
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654
2764
  *) ac_try_echo=$ac_try;;
2655
2765
esac
2656
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2766
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2767
$as_echo "$ac_try_echo") >&5
2657
2768
  (eval "$ac_link_default") 2>&5
2658
2769
  ac_status=$?
2659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2770
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660
2771
  (exit $ac_status); }; then
2661
2772
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2662
2773
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2667
2778
do
2668
2779
  test -f "$ac_file" || continue
2669
2780
  case $ac_file in
2670
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2781
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2671
2782
        ;;
2672
2783
    [ab].out )
2673
2784
        # We found the default executable, but exeext='' is most
2694
2805
  ac_file=''
2695
2806
fi
2696
2807
 
2697
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2698
 
echo "${ECHO_T}$ac_file" >&6; }
 
2808
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
2809
$as_echo "$ac_file" >&6; }
2699
2810
if test -z "$ac_file"; then
2700
 
  echo "$as_me: failed program was:" >&5
 
2811
  $as_echo "$as_me: failed program was:" >&5
2701
2812
sed 's/^/| /' conftest.$ac_ext >&5
2702
2813
 
2703
 
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
 
2814
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2815
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2816
{ { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2704
2817
See \`config.log' for more details." >&5
2705
 
echo "$as_me: error: C++ compiler cannot create executables
 
2818
$as_echo "$as_me: error: C++ compiler cannot create executables
2706
2819
See \`config.log' for more details." >&2;}
2707
 
   { (exit 77); exit 77; }; }
 
2820
   { (exit 77); exit 77; }; }; }
2708
2821
fi
2709
2822
 
2710
2823
ac_exeext=$ac_cv_exeext
2711
2824
 
2712
2825
# Check that the compiler produces executables we can run.  If not, either
2713
2826
# the compiler is broken, or we cross compile.
2714
 
{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2715
 
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
 
2827
{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
 
2828
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2716
2829
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2717
2830
# If not cross compiling, check that we can run a simple program.
2718
2831
if test "$cross_compiling" != yes; then
2721
2834
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2722
2835
  *) ac_try_echo=$ac_try;;
2723
2836
esac
2724
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2837
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2838
$as_echo "$ac_try_echo") >&5
2725
2839
  (eval "$ac_try") 2>&5
2726
2840
  ac_status=$?
2727
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2841
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728
2842
  (exit $ac_status); }; }; then
2729
2843
    cross_compiling=no
2730
2844
  else
2731
2845
    if test "$cross_compiling" = maybe; then
2732
2846
        cross_compiling=yes
2733
2847
    else
2734
 
        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
 
2848
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2849
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2850
{ { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2735
2851
If you meant to cross compile, use \`--host'.
2736
2852
See \`config.log' for more details." >&5
2737
 
echo "$as_me: error: cannot run C++ compiled programs.
 
2853
$as_echo "$as_me: error: cannot run C++ compiled programs.
2738
2854
If you meant to cross compile, use \`--host'.
2739
2855
See \`config.log' for more details." >&2;}
2740
 
   { (exit 1); exit 1; }; }
 
2856
   { (exit 1); exit 1; }; }; }
2741
2857
    fi
2742
2858
  fi
2743
2859
fi
2744
 
{ echo "$as_me:$LINENO: result: yes" >&5
2745
 
echo "${ECHO_T}yes" >&6; }
 
2860
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2861
$as_echo "yes" >&6; }
2746
2862
 
2747
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
2863
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2748
2864
ac_clean_files=$ac_clean_files_save
2749
2865
# Check that the compiler produces executables we can run.  If not, either
2750
2866
# the compiler is broken, or we cross compile.
2751
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2752
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2753
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2754
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
2867
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2868
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
2869
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2870
$as_echo "$cross_compiling" >&6; }
2755
2871
 
2756
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2757
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2872
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2873
$as_echo_n "checking for suffix of executables... " >&6; }
2758
2874
if { (ac_try="$ac_link"
2759
2875
case "(($ac_try" in
2760
2876
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761
2877
  *) ac_try_echo=$ac_try;;
2762
2878
esac
2763
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2879
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2880
$as_echo "$ac_try_echo") >&5
2764
2881
  (eval "$ac_link") 2>&5
2765
2882
  ac_status=$?
2766
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2883
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767
2884
  (exit $ac_status); }; then
2768
2885
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2769
2886
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2772
2889
for ac_file in conftest.exe conftest conftest.*; do
2773
2890
  test -f "$ac_file" || continue
2774
2891
  case $ac_file in
2775
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2892
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2776
2893
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2777
2894
          break;;
2778
2895
    * ) break;;
2779
2896
  esac
2780
2897
done
2781
2898
else
2782
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
2899
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2900
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2901
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2783
2902
See \`config.log' for more details." >&5
2784
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
2903
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2785
2904
See \`config.log' for more details." >&2;}
2786
 
   { (exit 1); exit 1; }; }
 
2905
   { (exit 1); exit 1; }; }; }
2787
2906
fi
2788
2907
 
2789
2908
rm -f conftest$ac_cv_exeext
2790
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2791
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
2909
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2910
$as_echo "$ac_cv_exeext" >&6; }
2792
2911
 
2793
2912
rm -f conftest.$ac_ext
2794
2913
EXEEXT=$ac_cv_exeext
2795
2914
ac_exeext=$EXEEXT
2796
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2797
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
2915
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2916
$as_echo_n "checking for suffix of object files... " >&6; }
2798
2917
if test "${ac_cv_objext+set}" = set; then
2799
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2918
  $as_echo_n "(cached) " >&6
2800
2919
else
2801
2920
  cat >conftest.$ac_ext <<_ACEOF
2802
2921
/* confdefs.h.  */
2819
2938
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820
2939
  *) ac_try_echo=$ac_try;;
2821
2940
esac
2822
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2941
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2942
$as_echo "$ac_try_echo") >&5
2823
2943
  (eval "$ac_compile") 2>&5
2824
2944
  ac_status=$?
2825
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2945
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826
2946
  (exit $ac_status); }; then
2827
2947
  for ac_file in conftest.o conftest.obj conftest.*; do
2828
2948
  test -f "$ac_file" || continue;
2829
2949
  case $ac_file in
2830
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
2950
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2831
2951
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2832
2952
       break;;
2833
2953
  esac
2834
2954
done
2835
2955
else
2836
 
  echo "$as_me: failed program was:" >&5
 
2956
  $as_echo "$as_me: failed program was:" >&5
2837
2957
sed 's/^/| /' conftest.$ac_ext >&5
2838
2958
 
2839
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
2959
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2960
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2961
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2840
2962
See \`config.log' for more details." >&5
2841
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
2963
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2842
2964
See \`config.log' for more details." >&2;}
2843
 
   { (exit 1); exit 1; }; }
 
2965
   { (exit 1); exit 1; }; }; }
2844
2966
fi
2845
2967
 
2846
2968
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2847
2969
fi
2848
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2849
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
2970
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2971
$as_echo "$ac_cv_objext" >&6; }
2850
2972
OBJEXT=$ac_cv_objext
2851
2973
ac_objext=$OBJEXT
2852
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2853
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
 
2974
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
2975
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2854
2976
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2855
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2977
  $as_echo_n "(cached) " >&6
2856
2978
else
2857
2979
  cat >conftest.$ac_ext <<_ACEOF
2858
2980
/* confdefs.h.  */
2878
3000
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2879
3001
  *) ac_try_echo=$ac_try;;
2880
3002
esac
2881
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3003
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3004
$as_echo "$ac_try_echo") >&5
2882
3005
  (eval "$ac_compile") 2>conftest.er1
2883
3006
  ac_status=$?
2884
3007
  grep -v '^ *+' conftest.er1 >conftest.err
2885
3008
  rm -f conftest.er1
2886
3009
  cat conftest.err >&5
2887
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3010
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888
3011
  (exit $ac_status); } && {
2889
3012
         test -z "$ac_cxx_werror_flag" ||
2890
3013
         test ! -s conftest.err
2891
3014
       } && test -s conftest.$ac_objext; then
2892
3015
  ac_compiler_gnu=yes
2893
3016
else
2894
 
  echo "$as_me: failed program was:" >&5
 
3017
  $as_echo "$as_me: failed program was:" >&5
2895
3018
sed 's/^/| /' conftest.$ac_ext >&5
2896
3019
 
2897
3020
        ac_compiler_gnu=no
2901
3024
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2902
3025
 
2903
3026
fi
2904
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2905
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2906
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
3027
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
3028
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
3029
if test $ac_compiler_gnu = yes; then
 
3030
  GXX=yes
 
3031
else
 
3032
  GXX=
 
3033
fi
2907
3034
ac_test_CXXFLAGS=${CXXFLAGS+set}
2908
3035
ac_save_CXXFLAGS=$CXXFLAGS
2909
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2910
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
 
3036
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
3037
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2911
3038
if test "${ac_cv_prog_cxx_g+set}" = set; then
2912
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3039
  $as_echo_n "(cached) " >&6
2913
3040
else
2914
3041
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2915
3042
   ac_cxx_werror_flag=yes
2936
3063
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937
3064
  *) ac_try_echo=$ac_try;;
2938
3065
esac
2939
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3066
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3067
$as_echo "$ac_try_echo") >&5
2940
3068
  (eval "$ac_compile") 2>conftest.er1
2941
3069
  ac_status=$?
2942
3070
  grep -v '^ *+' conftest.er1 >conftest.err
2943
3071
  rm -f conftest.er1
2944
3072
  cat conftest.err >&5
2945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3073
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946
3074
  (exit $ac_status); } && {
2947
3075
         test -z "$ac_cxx_werror_flag" ||
2948
3076
         test ! -s conftest.err
2949
3077
       } && test -s conftest.$ac_objext; then
2950
3078
  ac_cv_prog_cxx_g=yes
2951
3079
else
2952
 
  echo "$as_me: failed program was:" >&5
 
3080
  $as_echo "$as_me: failed program was:" >&5
2953
3081
sed 's/^/| /' conftest.$ac_ext >&5
2954
3082
 
2955
3083
        CXXFLAGS=""
2974
3102
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975
3103
  *) ac_try_echo=$ac_try;;
2976
3104
esac
2977
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3105
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3106
$as_echo "$ac_try_echo") >&5
2978
3107
  (eval "$ac_compile") 2>conftest.er1
2979
3108
  ac_status=$?
2980
3109
  grep -v '^ *+' conftest.er1 >conftest.err
2981
3110
  rm -f conftest.er1
2982
3111
  cat conftest.err >&5
2983
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3112
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984
3113
  (exit $ac_status); } && {
2985
3114
         test -z "$ac_cxx_werror_flag" ||
2986
3115
         test ! -s conftest.err
2987
3116
       } && test -s conftest.$ac_objext; then
2988
3117
  :
2989
3118
else
2990
 
  echo "$as_me: failed program was:" >&5
 
3119
  $as_echo "$as_me: failed program was:" >&5
2991
3120
sed 's/^/| /' conftest.$ac_ext >&5
2992
3121
 
2993
3122
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3013
3142
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014
3143
  *) ac_try_echo=$ac_try;;
3015
3144
esac
3016
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3145
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3146
$as_echo "$ac_try_echo") >&5
3017
3147
  (eval "$ac_compile") 2>conftest.er1
3018
3148
  ac_status=$?
3019
3149
  grep -v '^ *+' conftest.er1 >conftest.err
3020
3150
  rm -f conftest.er1
3021
3151
  cat conftest.err >&5
3022
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3152
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023
3153
  (exit $ac_status); } && {
3024
3154
         test -z "$ac_cxx_werror_flag" ||
3025
3155
         test ! -s conftest.err
3026
3156
       } && test -s conftest.$ac_objext; then
3027
3157
  ac_cv_prog_cxx_g=yes
3028
3158
else
3029
 
  echo "$as_me: failed program was:" >&5
 
3159
  $as_echo "$as_me: failed program was:" >&5
3030
3160
sed 's/^/| /' conftest.$ac_ext >&5
3031
3161
 
3032
3162
 
3041
3171
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3042
3172
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3043
3173
fi
3044
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3045
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
3174
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
3175
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3046
3176
if test "$ac_test_CXXFLAGS" = set; then
3047
3177
  CXXFLAGS=$ac_save_CXXFLAGS
3048
3178
elif test $ac_cv_prog_cxx_g = yes; then
3075
3205
.PHONY: am__doit
3076
3206
END
3077
3207
# If we don't find an include directive, just comment out the code.
3078
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3079
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3208
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3209
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3080
3210
am__include="#"
3081
3211
am__quote=
3082
3212
_am_result=none
3103
3233
fi
3104
3234
 
3105
3235
 
3106
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3107
 
echo "${ECHO_T}$_am_result" >&6; }
 
3236
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3237
$as_echo "$_am_result" >&6; }
3108
3238
rm -f confinc confmf
3109
3239
 
3110
3240
# Check whether --enable-dependency-tracking was given.
3128
3258
 
3129
3259
depcc="$CXX"  am_compiler_list=
3130
3260
 
3131
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3132
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3261
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3262
$as_echo_n "checking dependency style of $depcc... " >&6; }
3133
3263
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3134
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3264
  $as_echo_n "(cached) " >&6
3135
3265
else
3136
3266
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3137
3267
  # We make a subdir and do the tests there.  Otherwise we can end up
3219
3349
fi
3220
3350
 
3221
3351
fi
3222
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3223
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
3352
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
3353
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3224
3354
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3225
3355
 
3226
3356
 if
3242
3372
if test -n "$ac_tool_prefix"; then
3243
3373
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3244
3374
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3245
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3246
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3375
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3376
$as_echo_n "checking for $ac_word... " >&6; }
3247
3377
if test "${ac_cv_prog_CC+set}" = set; then
3248
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3378
  $as_echo_n "(cached) " >&6
3249
3379
else
3250
3380
  if test -n "$CC"; then
3251
3381
  ac_cv_prog_CC="$CC" # Let the user override the test.
3258
3388
  for ac_exec_ext in '' $ac_executable_extensions; do
3259
3389
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3260
3390
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3261
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3391
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3262
3392
    break 2
3263
3393
  fi
3264
3394
done
3269
3399
fi
3270
3400
CC=$ac_cv_prog_CC
3271
3401
if test -n "$CC"; then
3272
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3273
 
echo "${ECHO_T}$CC" >&6; }
 
3402
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3403
$as_echo "$CC" >&6; }
3274
3404
else
3275
 
  { echo "$as_me:$LINENO: result: no" >&5
3276
 
echo "${ECHO_T}no" >&6; }
 
3405
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3406
$as_echo "no" >&6; }
3277
3407
fi
3278
3408
 
3279
3409
 
3282
3412
  ac_ct_CC=$CC
3283
3413
  # Extract the first word of "gcc", so it can be a program name with args.
3284
3414
set dummy gcc; ac_word=$2
3285
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3286
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3415
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3416
$as_echo_n "checking for $ac_word... " >&6; }
3287
3417
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3288
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3418
  $as_echo_n "(cached) " >&6
3289
3419
else
3290
3420
  if test -n "$ac_ct_CC"; then
3291
3421
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3298
3428
  for ac_exec_ext in '' $ac_executable_extensions; do
3299
3429
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3300
3430
    ac_cv_prog_ac_ct_CC="gcc"
3301
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3431
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3302
3432
    break 2
3303
3433
  fi
3304
3434
done
3309
3439
fi
3310
3440
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3311
3441
if test -n "$ac_ct_CC"; then
3312
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3313
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3442
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3443
$as_echo "$ac_ct_CC" >&6; }
3314
3444
else
3315
 
  { echo "$as_me:$LINENO: result: no" >&5
3316
 
echo "${ECHO_T}no" >&6; }
 
3445
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3446
$as_echo "no" >&6; }
3317
3447
fi
3318
3448
 
3319
3449
  if test "x$ac_ct_CC" = x; then
3321
3451
  else
3322
3452
    case $cross_compiling:$ac_tool_warned in
3323
3453
yes:)
3324
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3325
 
whose name does not start with the host triplet.  If you think this
3326
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3327
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3328
 
whose name does not start with the host triplet.  If you think this
3329
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3454
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3455
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3330
3456
ac_tool_warned=yes ;;
3331
3457
esac
3332
3458
    CC=$ac_ct_CC
3339
3465
          if test -n "$ac_tool_prefix"; then
3340
3466
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3341
3467
set dummy ${ac_tool_prefix}cc; ac_word=$2
3342
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3343
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3468
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3469
$as_echo_n "checking for $ac_word... " >&6; }
3344
3470
if test "${ac_cv_prog_CC+set}" = set; then
3345
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3471
  $as_echo_n "(cached) " >&6
3346
3472
else
3347
3473
  if test -n "$CC"; then
3348
3474
  ac_cv_prog_CC="$CC" # Let the user override the test.
3355
3481
  for ac_exec_ext in '' $ac_executable_extensions; do
3356
3482
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3357
3483
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3358
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3484
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3359
3485
    break 2
3360
3486
  fi
3361
3487
done
3366
3492
fi
3367
3493
CC=$ac_cv_prog_CC
3368
3494
if test -n "$CC"; then
3369
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3370
 
echo "${ECHO_T}$CC" >&6; }
 
3495
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3496
$as_echo "$CC" >&6; }
3371
3497
else
3372
 
  { echo "$as_me:$LINENO: result: no" >&5
3373
 
echo "${ECHO_T}no" >&6; }
 
3498
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3499
$as_echo "no" >&6; }
3374
3500
fi
3375
3501
 
3376
3502
 
3379
3505
if test -z "$CC"; then
3380
3506
  # Extract the first word of "cc", so it can be a program name with args.
3381
3507
set dummy cc; ac_word=$2
3382
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3383
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3508
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3509
$as_echo_n "checking for $ac_word... " >&6; }
3384
3510
if test "${ac_cv_prog_CC+set}" = set; then
3385
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3511
  $as_echo_n "(cached) " >&6
3386
3512
else
3387
3513
  if test -n "$CC"; then
3388
3514
  ac_cv_prog_CC="$CC" # Let the user override the test.
3400
3526
       continue
3401
3527
     fi
3402
3528
    ac_cv_prog_CC="cc"
3403
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3529
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3404
3530
    break 2
3405
3531
  fi
3406
3532
done
3423
3549
fi
3424
3550
CC=$ac_cv_prog_CC
3425
3551
if test -n "$CC"; then
3426
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3427
 
echo "${ECHO_T}$CC" >&6; }
 
3552
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3553
$as_echo "$CC" >&6; }
3428
3554
else
3429
 
  { echo "$as_me:$LINENO: result: no" >&5
3430
 
echo "${ECHO_T}no" >&6; }
 
3555
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3556
$as_echo "no" >&6; }
3431
3557
fi
3432
3558
 
3433
3559
 
3438
3564
  do
3439
3565
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3440
3566
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3441
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3442
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3567
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3568
$as_echo_n "checking for $ac_word... " >&6; }
3443
3569
if test "${ac_cv_prog_CC+set}" = set; then
3444
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3570
  $as_echo_n "(cached) " >&6
3445
3571
else
3446
3572
  if test -n "$CC"; then
3447
3573
  ac_cv_prog_CC="$CC" # Let the user override the test.
3454
3580
  for ac_exec_ext in '' $ac_executable_extensions; do
3455
3581
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3456
3582
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3457
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3583
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3458
3584
    break 2
3459
3585
  fi
3460
3586
done
3465
3591
fi
3466
3592
CC=$ac_cv_prog_CC
3467
3593
if test -n "$CC"; then
3468
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3469
 
echo "${ECHO_T}$CC" >&6; }
 
3594
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3595
$as_echo "$CC" >&6; }
3470
3596
else
3471
 
  { echo "$as_me:$LINENO: result: no" >&5
3472
 
echo "${ECHO_T}no" >&6; }
 
3597
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3598
$as_echo "no" >&6; }
3473
3599
fi
3474
3600
 
3475
3601
 
3482
3608
do
3483
3609
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3484
3610
set dummy $ac_prog; ac_word=$2
3485
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3486
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3611
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3612
$as_echo_n "checking for $ac_word... " >&6; }
3487
3613
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3488
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3614
  $as_echo_n "(cached) " >&6
3489
3615
else
3490
3616
  if test -n "$ac_ct_CC"; then
3491
3617
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3498
3624
  for ac_exec_ext in '' $ac_executable_extensions; do
3499
3625
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3500
3626
    ac_cv_prog_ac_ct_CC="$ac_prog"
3501
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3627
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3502
3628
    break 2
3503
3629
  fi
3504
3630
done
3509
3635
fi
3510
3636
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3511
3637
if test -n "$ac_ct_CC"; then
3512
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3513
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3638
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3639
$as_echo "$ac_ct_CC" >&6; }
3514
3640
else
3515
 
  { echo "$as_me:$LINENO: result: no" >&5
3516
 
echo "${ECHO_T}no" >&6; }
 
3641
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3642
$as_echo "no" >&6; }
3517
3643
fi
3518
3644
 
3519
3645
 
3525
3651
  else
3526
3652
    case $cross_compiling:$ac_tool_warned in
3527
3653
yes:)
3528
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3529
 
whose name does not start with the host triplet.  If you think this
3530
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3531
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3532
 
whose name does not start with the host triplet.  If you think this
3533
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3654
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3655
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3534
3656
ac_tool_warned=yes ;;
3535
3657
esac
3536
3658
    CC=$ac_ct_CC
3540
3662
fi
3541
3663
 
3542
3664
 
3543
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3665
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3666
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3667
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3544
3668
See \`config.log' for more details." >&5
3545
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
3669
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3546
3670
See \`config.log' for more details." >&2;}
3547
 
   { (exit 1); exit 1; }; }
 
3671
   { (exit 1); exit 1; }; }; }
3548
3672
 
3549
3673
# Provide some information about the compiler.
3550
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
3551
 
ac_compiler=`set X $ac_compile; echo $2`
 
3674
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3675
set X $ac_compile
 
3676
ac_compiler=$2
3552
3677
{ (ac_try="$ac_compiler --version >&5"
3553
3678
case "(($ac_try" in
3554
3679
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3555
3680
  *) ac_try_echo=$ac_try;;
3556
3681
esac
3557
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3682
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3683
$as_echo "$ac_try_echo") >&5
3558
3684
  (eval "$ac_compiler --version >&5") 2>&5
3559
3685
  ac_status=$?
3560
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3686
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561
3687
  (exit $ac_status); }
3562
3688
{ (ac_try="$ac_compiler -v >&5"
3563
3689
case "(($ac_try" in
3564
3690
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3565
3691
  *) ac_try_echo=$ac_try;;
3566
3692
esac
3567
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3693
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3694
$as_echo "$ac_try_echo") >&5
3568
3695
  (eval "$ac_compiler -v >&5") 2>&5
3569
3696
  ac_status=$?
3570
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3697
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571
3698
  (exit $ac_status); }
3572
3699
{ (ac_try="$ac_compiler -V >&5"
3573
3700
case "(($ac_try" in
3574
3701
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3575
3702
  *) ac_try_echo=$ac_try;;
3576
3703
esac
3577
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3704
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3705
$as_echo "$ac_try_echo") >&5
3578
3706
  (eval "$ac_compiler -V >&5") 2>&5
3579
3707
  ac_status=$?
3580
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3708
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581
3709
  (exit $ac_status); }
3582
3710
 
3583
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3584
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
3711
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3712
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3585
3713
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3586
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3714
  $as_echo_n "(cached) " >&6
3587
3715
else
3588
3716
  cat >conftest.$ac_ext <<_ACEOF
3589
3717
/* confdefs.h.  */
3609
3737
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3610
3738
  *) ac_try_echo=$ac_try;;
3611
3739
esac
3612
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3740
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3741
$as_echo "$ac_try_echo") >&5
3613
3742
  (eval "$ac_compile") 2>conftest.er1
3614
3743
  ac_status=$?
3615
3744
  grep -v '^ *+' conftest.er1 >conftest.err
3616
3745
  rm -f conftest.er1
3617
3746
  cat conftest.err >&5
3618
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3747
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619
3748
  (exit $ac_status); } && {
3620
3749
         test -z "$ac_c_werror_flag" ||
3621
3750
         test ! -s conftest.err
3622
3751
       } && test -s conftest.$ac_objext; then
3623
3752
  ac_compiler_gnu=yes
3624
3753
else
3625
 
  echo "$as_me: failed program was:" >&5
 
3754
  $as_echo "$as_me: failed program was:" >&5
3626
3755
sed 's/^/| /' conftest.$ac_ext >&5
3627
3756
 
3628
3757
        ac_compiler_gnu=no
3632
3761
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3633
3762
 
3634
3763
fi
3635
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3636
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3637
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3764
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3765
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3766
if test $ac_compiler_gnu = yes; then
 
3767
  GCC=yes
 
3768
else
 
3769
  GCC=
 
3770
fi
3638
3771
ac_test_CFLAGS=${CFLAGS+set}
3639
3772
ac_save_CFLAGS=$CFLAGS
3640
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3641
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3773
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3774
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3642
3775
if test "${ac_cv_prog_cc_g+set}" = set; then
3643
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3776
  $as_echo_n "(cached) " >&6
3644
3777
else
3645
3778
  ac_save_c_werror_flag=$ac_c_werror_flag
3646
3779
   ac_c_werror_flag=yes
3667
3800
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3668
3801
  *) ac_try_echo=$ac_try;;
3669
3802
esac
3670
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3803
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3804
$as_echo "$ac_try_echo") >&5
3671
3805
  (eval "$ac_compile") 2>conftest.er1
3672
3806
  ac_status=$?
3673
3807
  grep -v '^ *+' conftest.er1 >conftest.err
3674
3808
  rm -f conftest.er1
3675
3809
  cat conftest.err >&5
3676
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3810
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677
3811
  (exit $ac_status); } && {
3678
3812
         test -z "$ac_c_werror_flag" ||
3679
3813
         test ! -s conftest.err
3680
3814
       } && test -s conftest.$ac_objext; then
3681
3815
  ac_cv_prog_cc_g=yes
3682
3816
else
3683
 
  echo "$as_me: failed program was:" >&5
 
3817
  $as_echo "$as_me: failed program was:" >&5
3684
3818
sed 's/^/| /' conftest.$ac_ext >&5
3685
3819
 
3686
3820
        CFLAGS=""
3705
3839
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3706
3840
  *) ac_try_echo=$ac_try;;
3707
3841
esac
3708
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3842
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3843
$as_echo "$ac_try_echo") >&5
3709
3844
  (eval "$ac_compile") 2>conftest.er1
3710
3845
  ac_status=$?
3711
3846
  grep -v '^ *+' conftest.er1 >conftest.err
3712
3847
  rm -f conftest.er1
3713
3848
  cat conftest.err >&5
3714
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3849
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3715
3850
  (exit $ac_status); } && {
3716
3851
         test -z "$ac_c_werror_flag" ||
3717
3852
         test ! -s conftest.err
3718
3853
       } && test -s conftest.$ac_objext; then
3719
3854
  :
3720
3855
else
3721
 
  echo "$as_me: failed program was:" >&5
 
3856
  $as_echo "$as_me: failed program was:" >&5
3722
3857
sed 's/^/| /' conftest.$ac_ext >&5
3723
3858
 
3724
3859
        ac_c_werror_flag=$ac_save_c_werror_flag
3744
3879
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3745
3880
  *) ac_try_echo=$ac_try;;
3746
3881
esac
3747
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3882
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3883
$as_echo "$ac_try_echo") >&5
3748
3884
  (eval "$ac_compile") 2>conftest.er1
3749
3885
  ac_status=$?
3750
3886
  grep -v '^ *+' conftest.er1 >conftest.err
3751
3887
  rm -f conftest.er1
3752
3888
  cat conftest.err >&5
3753
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3889
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754
3890
  (exit $ac_status); } && {
3755
3891
         test -z "$ac_c_werror_flag" ||
3756
3892
         test ! -s conftest.err
3757
3893
       } && test -s conftest.$ac_objext; then
3758
3894
  ac_cv_prog_cc_g=yes
3759
3895
else
3760
 
  echo "$as_me: failed program was:" >&5
 
3896
  $as_echo "$as_me: failed program was:" >&5
3761
3897
sed 's/^/| /' conftest.$ac_ext >&5
3762
3898
 
3763
3899
 
3772
3908
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3773
3909
   ac_c_werror_flag=$ac_save_c_werror_flag
3774
3910
fi
3775
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3776
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3911
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3912
$as_echo "$ac_cv_prog_cc_g" >&6; }
3777
3913
if test "$ac_test_CFLAGS" = set; then
3778
3914
  CFLAGS=$ac_save_CFLAGS
3779
3915
elif test $ac_cv_prog_cc_g = yes; then
3789
3925
    CFLAGS=
3790
3926
  fi
3791
3927
fi
3792
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3793
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3928
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3929
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3794
3930
if test "${ac_cv_prog_cc_c89+set}" = set; then
3795
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3931
  $as_echo_n "(cached) " >&6
3796
3932
else
3797
3933
  ac_cv_prog_cc_c89=no
3798
3934
ac_save_CC=$CC
3863
3999
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3864
4000
  *) ac_try_echo=$ac_try;;
3865
4001
esac
3866
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4002
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4003
$as_echo "$ac_try_echo") >&5
3867
4004
  (eval "$ac_compile") 2>conftest.er1
3868
4005
  ac_status=$?
3869
4006
  grep -v '^ *+' conftest.er1 >conftest.err
3870
4007
  rm -f conftest.er1
3871
4008
  cat conftest.err >&5
3872
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4009
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873
4010
  (exit $ac_status); } && {
3874
4011
         test -z "$ac_c_werror_flag" ||
3875
4012
         test ! -s conftest.err
3876
4013
       } && test -s conftest.$ac_objext; then
3877
4014
  ac_cv_prog_cc_c89=$ac_arg
3878
4015
else
3879
 
  echo "$as_me: failed program was:" >&5
 
4016
  $as_echo "$as_me: failed program was:" >&5
3880
4017
sed 's/^/| /' conftest.$ac_ext >&5
3881
4018
 
3882
4019
 
3892
4029
# AC_CACHE_VAL
3893
4030
case "x$ac_cv_prog_cc_c89" in
3894
4031
  x)
3895
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3896
 
echo "${ECHO_T}none needed" >&6; } ;;
 
4032
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4033
$as_echo "none needed" >&6; } ;;
3897
4034
  xno)
3898
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3899
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
4035
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4036
$as_echo "unsupported" >&6; } ;;
3900
4037
  *)
3901
4038
    CC="$CC $ac_cv_prog_cc_c89"
3902
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3903
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
4039
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4040
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3904
4041
esac
3905
4042
 
3906
4043
 
3912
4049
 
3913
4050
depcc="$CC"   am_compiler_list=
3914
4051
 
3915
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3916
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
4052
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4053
$as_echo_n "checking dependency style of $depcc... " >&6; }
3917
4054
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3918
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4055
  $as_echo_n "(cached) " >&6
3919
4056
else
3920
4057
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3921
4058
  # We make a subdir and do the tests there.  Otherwise we can end up
4003
4140
fi
4004
4141
 
4005
4142
fi
4006
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4007
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
4143
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4144
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4008
4145
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4009
4146
 
4010
4147
 if
4031
4168
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4032
4169
# OS/2's system install, which has a completely different semantic
4033
4170
# ./install, which can be erroneously created by make from ./install.sh.
4034
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4035
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
4171
# Reject install programs that cannot install multiple files.
 
4172
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
4173
$as_echo_n "checking for a BSD-compatible install... " >&6; }
4036
4174
if test -z "$INSTALL"; then
4037
4175
if test "${ac_cv_path_install+set}" = set; then
4038
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4176
  $as_echo_n "(cached) " >&6
4039
4177
else
4040
4178
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4041
4179
for as_dir in $PATH
4064
4202
            # program-specific install script used by HP pwplus--don't use.
4065
4203
            :
4066
4204
          else
4067
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4068
 
            break 3
 
4205
            rm -rf conftest.one conftest.two conftest.dir
 
4206
            echo one > conftest.one
 
4207
            echo two > conftest.two
 
4208
            mkdir conftest.dir
 
4209
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
4210
              test -s conftest.one && test -s conftest.two &&
 
4211
              test -s conftest.dir/conftest.one &&
 
4212
              test -s conftest.dir/conftest.two
 
4213
            then
 
4214
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
4215
              break 3
 
4216
            fi
4069
4217
          fi
4070
4218
        fi
4071
4219
      done
4072
4220
    done
4073
4221
    ;;
4074
4222
esac
 
4223
 
4075
4224
done
4076
4225
IFS=$as_save_IFS
4077
4226
 
 
4227
rm -rf conftest.one conftest.two conftest.dir
4078
4228
 
4079
4229
fi
4080
4230
  if test "${ac_cv_path_install+set}" = set; then
4087
4237
    INSTALL=$ac_install_sh
4088
4238
  fi
4089
4239
fi
4090
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4091
 
echo "${ECHO_T}$INSTALL" >&6; }
 
4240
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
4241
$as_echo "$INSTALL" >&6; }
4092
4242
 
4093
4243
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4094
4244
# It thinks the first close brace ends the variable substitution.
4123
4273
 
4124
4274
 
4125
4275
 
4126
 
# Check whether --enable-static was given.
4127
 
if test "${enable_static+set}" = set; then
4128
 
  enableval=$enable_static; p=${PACKAGE-default}
4129
 
    case $enableval in
4130
 
    yes) enable_static=yes ;;
4131
 
    no) enable_static=no ;;
4132
 
    *)
4133
 
     enable_static=no
4134
 
      # Look at the argument we got.  We use all the common list separators.
4135
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4136
 
      for pkg in $enableval; do
4137
 
        IFS="$lt_save_ifs"
4138
 
        if test "X$pkg" = "X$p"; then
4139
 
          enable_static=yes
4140
 
        fi
4141
 
      done
4142
 
      IFS="$lt_save_ifs"
4143
 
      ;;
4144
 
    esac
4145
 
else
4146
 
  enable_static=yes
4147
 
fi
4148
 
 
4149
 
 
4150
 
# Check whether --enable-fast-install was given.
4151
 
if test "${enable_fast_install+set}" = set; then
4152
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
4153
 
    case $enableval in
4154
 
    yes) enable_fast_install=yes ;;
4155
 
    no) enable_fast_install=no ;;
4156
 
    *)
4157
 
      enable_fast_install=no
4158
 
      # Look at the argument we got.  We use all the common list separators.
4159
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4160
 
      for pkg in $enableval; do
4161
 
        IFS="$lt_save_ifs"
4162
 
        if test "X$pkg" = "X$p"; then
4163
 
          enable_fast_install=yes
4164
 
        fi
4165
 
      done
4166
 
      IFS="$lt_save_ifs"
4167
 
      ;;
4168
 
    esac
4169
 
else
4170
 
  enable_fast_install=yes
4171
 
fi
4172
 
 
 
4276
 
 
4277
 
 
4278
 
 
4279
 
 
4280
 
 
4281
 
 
4282
case `pwd` in
 
4283
  *\ * | *\     *)
 
4284
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4285
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
4286
esac
 
4287
 
 
4288
 
 
4289
 
 
4290
macro_version='2.2.6'
 
4291
macro_revision='1.3012'
 
4292
 
 
4293
 
 
4294
 
 
4295
 
 
4296
 
 
4297
 
 
4298
 
 
4299
 
 
4300
 
 
4301
 
 
4302
 
 
4303
 
 
4304
 
 
4305
ltmain="$ac_aux_dir/ltmain.sh"
4173
4306
 
4174
4307
# Make sure we can run config.sub.
4175
4308
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4176
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4177
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
4309
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
4310
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4178
4311
   { (exit 1); exit 1; }; }
4179
4312
 
4180
 
{ echo "$as_me:$LINENO: checking build system type" >&5
4181
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
4313
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4314
$as_echo_n "checking build system type... " >&6; }
4182
4315
if test "${ac_cv_build+set}" = set; then
4183
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4316
  $as_echo_n "(cached) " >&6
4184
4317
else
4185
4318
  ac_build_alias=$build_alias
4186
4319
test "x$ac_build_alias" = x &&
4187
4320
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4188
4321
test "x$ac_build_alias" = x &&
4189
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4190
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
4322
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
4323
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4191
4324
   { (exit 1); exit 1; }; }
4192
4325
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4193
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4194
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
4326
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
4327
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4195
4328
   { (exit 1); exit 1; }; }
4196
4329
 
4197
4330
fi
4198
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4199
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
4331
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4332
$as_echo "$ac_cv_build" >&6; }
4200
4333
case $ac_cv_build in
4201
4334
*-*-*) ;;
4202
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4203
 
echo "$as_me: error: invalid value of canonical build" >&2;}
 
4335
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
4336
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4204
4337
   { (exit 1); exit 1; }; };;
4205
4338
esac
4206
4339
build=$ac_cv_build
4217
4350
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4218
4351
 
4219
4352
 
4220
 
{ echo "$as_me:$LINENO: checking host system type" >&5
4221
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
4353
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4354
$as_echo_n "checking host system type... " >&6; }
4222
4355
if test "${ac_cv_host+set}" = set; then
4223
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4356
  $as_echo_n "(cached) " >&6
4224
4357
else
4225
4358
  if test "x$host_alias" = x; then
4226
4359
  ac_cv_host=$ac_cv_build
4227
4360
else
4228
4361
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4229
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4230
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
4362
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
4363
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4231
4364
   { (exit 1); exit 1; }; }
4232
4365
fi
4233
4366
 
4234
4367
fi
4235
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4236
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
4368
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4369
$as_echo "$ac_cv_host" >&6; }
4237
4370
case $ac_cv_host in
4238
4371
*-*-*) ;;
4239
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4240
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
4372
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
4373
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4241
4374
   { (exit 1); exit 1; }; };;
4242
4375
esac
4243
4376
host=$ac_cv_host
4254
4387
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4255
4388
 
4256
4389
 
4257
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4258
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4259
 
if test "${lt_cv_path_SED+set}" = set; then
4260
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4390
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4391
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4392
if test "${ac_cv_path_SED+set}" = set; then
 
4393
  $as_echo_n "(cached) " >&6
4261
4394
else
4262
 
  # Loop through the user's path and test for sed and gsed.
4263
 
# Then use that list of sed's as ones to test for truncation.
4264
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4395
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4396
     for ac_i in 1 2 3 4 5 6 7; do
 
4397
       ac_script="$ac_script$as_nl$ac_script"
 
4398
     done
 
4399
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4400
     $as_unset ac_script || ac_script=
 
4401
     if test -z "$SED"; then
 
4402
  ac_path_SED_found=false
 
4403
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4404
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4265
4405
for as_dir in $PATH
4266
4406
do
4267
4407
  IFS=$as_save_IFS
4268
4408
  test -z "$as_dir" && as_dir=.
4269
 
  for lt_ac_prog in sed gsed; do
 
4409
  for ac_prog in sed gsed; do
4270
4410
    for ac_exec_ext in '' $ac_executable_extensions; do
4271
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4272
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4273
 
      fi
 
4411
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4412
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4413
# Check for GNU ac_path_SED and select it if it is found.
 
4414
  # Check for GNU $ac_path_SED
 
4415
case `"$ac_path_SED" --version 2>&1` in
 
4416
*GNU*)
 
4417
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4418
*)
 
4419
  ac_count=0
 
4420
  $as_echo_n 0123456789 >"conftest.in"
 
4421
  while :
 
4422
  do
 
4423
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4424
    mv "conftest.tmp" "conftest.in"
 
4425
    cp "conftest.in" "conftest.nl"
 
4426
    $as_echo '' >> "conftest.nl"
 
4427
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4428
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4429
    ac_count=`expr $ac_count + 1`
 
4430
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4431
      # Best one so far, save it but keep looking for a better one
 
4432
      ac_cv_path_SED="$ac_path_SED"
 
4433
      ac_path_SED_max=$ac_count
 
4434
    fi
 
4435
    # 10*(2^10) chars as input seems more than enough
 
4436
    test $ac_count -gt 10 && break
 
4437
  done
 
4438
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4439
esac
 
4440
 
 
4441
      $ac_path_SED_found && break 3
4274
4442
    done
4275
4443
  done
4276
4444
done
4277
4445
IFS=$as_save_IFS
4278
 
lt_ac_max=0
4279
 
lt_ac_count=0
4280
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4281
 
# along with /bin/sed that truncates output.
4282
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4283
 
  test ! -f $lt_ac_sed && continue
4284
 
  cat /dev/null > conftest.in
4285
 
  lt_ac_count=0
4286
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4287
 
  # Check for GNU sed and select it if it is found.
4288
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4289
 
    lt_cv_path_SED=$lt_ac_sed
4290
 
    break
 
4446
  if test -z "$ac_cv_path_SED"; then
 
4447
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
4448
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
4449
   { (exit 1); exit 1; }; }
4291
4450
  fi
4292
 
  while true; do
4293
 
    cat conftest.in conftest.in >conftest.tmp
4294
 
    mv conftest.tmp conftest.in
4295
 
    cp conftest.in conftest.nl
4296
 
    echo >>conftest.nl
4297
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4298
 
    cmp -s conftest.out conftest.nl || break
4299
 
    # 10000 chars as input seems more than enough
4300
 
    test $lt_ac_count -gt 10 && break
4301
 
    lt_ac_count=`expr $lt_ac_count + 1`
4302
 
    if test $lt_ac_count -gt $lt_ac_max; then
4303
 
      lt_ac_max=$lt_ac_count
4304
 
      lt_cv_path_SED=$lt_ac_sed
4305
 
    fi
4306
 
  done
4307
 
done
4308
 
 
4309
 
fi
4310
 
 
4311
 
SED=$lt_cv_path_SED
4312
 
 
4313
 
{ echo "$as_me:$LINENO: result: $SED" >&5
4314
 
echo "${ECHO_T}$SED" >&6; }
4315
 
 
4316
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4317
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4318
 
if test "${ac_cv_path_GREP+set}" = set; then
4319
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4320
 
else
4321
 
  # Extract the first word of "grep ggrep" to use in msg output
4322
 
if test -z "$GREP"; then
4323
 
set dummy grep ggrep; ac_prog_name=$2
4324
 
if test "${ac_cv_path_GREP+set}" = set; then
4325
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4326
 
else
 
4451
else
 
4452
  ac_cv_path_SED=$SED
 
4453
fi
 
4454
 
 
4455
fi
 
4456
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4457
$as_echo "$ac_cv_path_SED" >&6; }
 
4458
 SED="$ac_cv_path_SED"
 
4459
  rm -f conftest.sed
 
4460
 
 
4461
test -z "$SED" && SED=sed
 
4462
Xsed="$SED -e 1s/^X//"
 
4463
 
 
4464
 
 
4465
 
 
4466
 
 
4467
 
 
4468
 
 
4469
 
 
4470
 
 
4471
 
 
4472
 
 
4473
 
 
4474
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4475
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4476
if test "${ac_cv_path_GREP+set}" = set; then
 
4477
  $as_echo_n "(cached) " >&6
 
4478
else
 
4479
  if test -z "$GREP"; then
4327
4480
  ac_path_GREP_found=false
4328
 
# Loop through the user's path and test for each of PROGNAME-LIST
4329
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4481
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4482
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4330
4483
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4331
4484
do
4332
4485
  IFS=$as_save_IFS
4333
4486
  test -z "$as_dir" && as_dir=.
4334
4487
  for ac_prog in grep ggrep; do
4335
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4336
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4337
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4338
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
4488
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4489
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4490
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4491
# Check for GNU ac_path_GREP and select it if it is found.
4339
4492
  # Check for GNU $ac_path_GREP
4340
4493
case `"$ac_path_GREP" --version 2>&1` in
4341
4494
*GNU*)
4342
4495
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4343
4496
*)
4344
4497
  ac_count=0
4345
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4498
  $as_echo_n 0123456789 >"conftest.in"
4346
4499
  while :
4347
4500
  do
4348
4501
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4349
4502
    mv "conftest.tmp" "conftest.in"
4350
4503
    cp "conftest.in" "conftest.nl"
4351
 
    echo 'GREP' >> "conftest.nl"
 
4504
    $as_echo 'GREP' >> "conftest.nl"
4352
4505
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4353
4506
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4354
4507
    ac_count=`expr $ac_count + 1`
4363
4516
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4364
4517
esac
4365
4518
 
4366
 
 
4367
 
    $ac_path_GREP_found && break 3
 
4519
      $ac_path_GREP_found && break 3
 
4520
    done
4368
4521
  done
4369
4522
done
4370
 
 
4371
 
done
4372
4523
IFS=$as_save_IFS
4373
 
 
4374
 
 
4375
 
fi
4376
 
 
4377
 
GREP="$ac_cv_path_GREP"
4378
 
if test -z "$GREP"; then
4379
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4380
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4524
  if test -z "$ac_cv_path_GREP"; then
 
4525
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4526
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4381
4527
   { (exit 1); exit 1; }; }
4382
 
fi
4383
 
 
 
4528
  fi
4384
4529
else
4385
4530
  ac_cv_path_GREP=$GREP
4386
4531
fi
4387
4532
 
4388
 
 
4389
4533
fi
4390
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4391
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4534
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4535
$as_echo "$ac_cv_path_GREP" >&6; }
4392
4536
 GREP="$ac_cv_path_GREP"
4393
4537
 
4394
4538
 
4395
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4396
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4539
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4540
$as_echo_n "checking for egrep... " >&6; }
4397
4541
if test "${ac_cv_path_EGREP+set}" = set; then
4398
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4542
  $as_echo_n "(cached) " >&6
4399
4543
else
4400
4544
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4401
4545
   then ac_cv_path_EGREP="$GREP -E"
4402
4546
   else
4403
 
     # Extract the first word of "egrep" to use in msg output
4404
 
if test -z "$EGREP"; then
4405
 
set dummy egrep; ac_prog_name=$2
4406
 
if test "${ac_cv_path_EGREP+set}" = set; then
4407
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4408
 
else
 
4547
     if test -z "$EGREP"; then
4409
4548
  ac_path_EGREP_found=false
4410
 
# Loop through the user's path and test for each of PROGNAME-LIST
4411
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4549
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4550
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412
4551
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4413
4552
do
4414
4553
  IFS=$as_save_IFS
4415
4554
  test -z "$as_dir" && as_dir=.
4416
4555
  for ac_prog in egrep; do
4417
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4418
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4419
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4420
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4556
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4557
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4558
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4559
# Check for GNU ac_path_EGREP and select it if it is found.
4421
4560
  # Check for GNU $ac_path_EGREP
4422
4561
case `"$ac_path_EGREP" --version 2>&1` in
4423
4562
*GNU*)
4424
4563
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4425
4564
*)
4426
4565
  ac_count=0
4427
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4566
  $as_echo_n 0123456789 >"conftest.in"
4428
4567
  while :
4429
4568
  do
4430
4569
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4431
4570
    mv "conftest.tmp" "conftest.in"
4432
4571
    cp "conftest.in" "conftest.nl"
4433
 
    echo 'EGREP' >> "conftest.nl"
 
4572
    $as_echo 'EGREP' >> "conftest.nl"
4434
4573
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4435
4574
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4436
4575
    ac_count=`expr $ac_count + 1`
4445
4584
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4446
4585
esac
4447
4586
 
4448
 
 
4449
 
    $ac_path_EGREP_found && break 3
 
4587
      $ac_path_EGREP_found && break 3
 
4588
    done
4450
4589
  done
4451
4590
done
4452
 
 
4453
 
done
4454
4591
IFS=$as_save_IFS
4455
 
 
4456
 
 
4457
 
fi
4458
 
 
4459
 
EGREP="$ac_cv_path_EGREP"
4460
 
if test -z "$EGREP"; then
4461
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4462
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4592
  if test -z "$ac_cv_path_EGREP"; then
 
4593
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4594
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4463
4595
   { (exit 1); exit 1; }; }
4464
 
fi
4465
 
 
 
4596
  fi
4466
4597
else
4467
4598
  ac_cv_path_EGREP=$EGREP
4468
4599
fi
4469
4600
 
4470
 
 
4471
4601
   fi
4472
4602
fi
4473
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4474
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4603
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4604
$as_echo "$ac_cv_path_EGREP" >&6; }
4475
4605
 EGREP="$ac_cv_path_EGREP"
4476
4606
 
4477
4607
 
 
4608
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4609
$as_echo_n "checking for fgrep... " >&6; }
 
4610
if test "${ac_cv_path_FGREP+set}" = set; then
 
4611
  $as_echo_n "(cached) " >&6
 
4612
else
 
4613
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4614
   then ac_cv_path_FGREP="$GREP -F"
 
4615
   else
 
4616
     if test -z "$FGREP"; then
 
4617
  ac_path_FGREP_found=false
 
4618
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4619
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4620
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4621
do
 
4622
  IFS=$as_save_IFS
 
4623
  test -z "$as_dir" && as_dir=.
 
4624
  for ac_prog in fgrep; do
 
4625
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4626
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4627
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4628
# Check for GNU ac_path_FGREP and select it if it is found.
 
4629
  # Check for GNU $ac_path_FGREP
 
4630
case `"$ac_path_FGREP" --version 2>&1` in
 
4631
*GNU*)
 
4632
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4633
*)
 
4634
  ac_count=0
 
4635
  $as_echo_n 0123456789 >"conftest.in"
 
4636
  while :
 
4637
  do
 
4638
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4639
    mv "conftest.tmp" "conftest.in"
 
4640
    cp "conftest.in" "conftest.nl"
 
4641
    $as_echo 'FGREP' >> "conftest.nl"
 
4642
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4643
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4644
    ac_count=`expr $ac_count + 1`
 
4645
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4646
      # Best one so far, save it but keep looking for a better one
 
4647
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4648
      ac_path_FGREP_max=$ac_count
 
4649
    fi
 
4650
    # 10*(2^10) chars as input seems more than enough
 
4651
    test $ac_count -gt 10 && break
 
4652
  done
 
4653
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4654
esac
 
4655
 
 
4656
      $ac_path_FGREP_found && break 3
 
4657
    done
 
4658
  done
 
4659
done
 
4660
IFS=$as_save_IFS
 
4661
  if test -z "$ac_cv_path_FGREP"; then
 
4662
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4663
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4664
   { (exit 1); exit 1; }; }
 
4665
  fi
 
4666
else
 
4667
  ac_cv_path_FGREP=$FGREP
 
4668
fi
 
4669
 
 
4670
   fi
 
4671
fi
 
4672
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4673
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4674
 FGREP="$ac_cv_path_FGREP"
 
4675
 
 
4676
 
 
4677
test -z "$GREP" && GREP=grep
 
4678
 
 
4679
 
 
4680
 
 
4681
 
 
4682
 
 
4683
 
 
4684
 
 
4685
 
 
4686
 
 
4687
 
 
4688
 
 
4689
 
 
4690
 
 
4691
 
 
4692
 
 
4693
 
 
4694
 
 
4695
 
4478
4696
 
4479
4697
# Check whether --with-gnu-ld was given.
4480
4698
if test "${with_gnu_ld+set}" = set; then
4486
4704
ac_prog=ld
4487
4705
if test "$GCC" = yes; then
4488
4706
  # Check if gcc -print-prog-name=ld gives a path.
4489
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4490
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
4707
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4708
$as_echo_n "checking for ld used by $CC... " >&6; }
4491
4709
  case $host in
4492
4710
  *-*-mingw*)
4493
4711
    # gcc leaves a trailing carriage return which upsets mingw
4500
4718
    [\\/]* | ?:[\\/]*)
4501
4719
      re_direlt='/[^/][^/]*/\.\./'
4502
4720
      # Canonicalize the pathname of ld
4503
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4504
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4505
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
4721
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4722
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4723
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4506
4724
      done
4507
4725
      test -z "$LD" && LD="$ac_prog"
4508
4726
      ;;
4516
4734
    ;;
4517
4735
  esac
4518
4736
elif test "$with_gnu_ld" = yes; then
4519
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
4520
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
4737
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4738
$as_echo_n "checking for GNU ld... " >&6; }
4521
4739
else
4522
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4523
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
4740
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4741
$as_echo_n "checking for non-GNU ld... " >&6; }
4524
4742
fi
4525
4743
if test "${lt_cv_path_LD+set}" = set; then
4526
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4744
  $as_echo_n "(cached) " >&6
4527
4745
else
4528
4746
  if test -z "$LD"; then
4529
4747
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4553
4771
 
4554
4772
LD="$lt_cv_path_LD"
4555
4773
if test -n "$LD"; then
4556
 
  { echo "$as_me:$LINENO: result: $LD" >&5
4557
 
echo "${ECHO_T}$LD" >&6; }
 
4774
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4775
$as_echo "$LD" >&6; }
4558
4776
else
4559
 
  { echo "$as_me:$LINENO: result: no" >&5
4560
 
echo "${ECHO_T}no" >&6; }
 
4777
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4778
$as_echo "no" >&6; }
4561
4779
fi
4562
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4563
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
4780
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
4781
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4564
4782
   { (exit 1); exit 1; }; }
4565
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4566
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
4783
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4784
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4567
4785
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4568
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4786
  $as_echo_n "(cached) " >&6
4569
4787
else
4570
4788
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4571
4789
case `$LD -v 2>&1 </dev/null` in
4577
4795
  ;;
4578
4796
esac
4579
4797
fi
4580
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4581
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
4798
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4799
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4582
4800
with_gnu_ld=$lt_cv_prog_gnu_ld
4583
4801
 
4584
4802
 
4585
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4586
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4587
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4588
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4589
 
else
4590
 
  lt_cv_ld_reload_flag='-r'
4591
 
fi
4592
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4593
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4594
 
reload_flag=$lt_cv_ld_reload_flag
4595
 
case $reload_flag in
4596
 
"" | " "*) ;;
4597
 
*) reload_flag=" $reload_flag" ;;
4598
 
esac
4599
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4600
 
case $host_os in
4601
 
  darwin*)
4602
 
    if test "$GCC" = yes; then
4603
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4604
 
    else
4605
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4606
 
    fi
4607
 
    ;;
4608
 
esac
4609
 
 
4610
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4611
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
4803
 
 
4804
 
 
4805
 
 
4806
 
 
4807
 
 
4808
 
 
4809
 
 
4810
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4811
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4612
4812
if test "${lt_cv_path_NM+set}" = set; then
4613
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4813
  $as_echo_n "(cached) " >&6
4614
4814
else
4615
4815
  if test -n "$NM"; then
4616
4816
  # Let the user override the test.
4653
4853
    done
4654
4854
    IFS="$lt_save_ifs"
4655
4855
  done
4656
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4657
 
fi
4658
 
fi
4659
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4660
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4661
 
NM="$lt_cv_path_NM"
4662
 
 
4663
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4664
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
4856
  : ${lt_cv_path_NM=no}
 
4857
fi
 
4858
fi
 
4859
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4860
$as_echo "$lt_cv_path_NM" >&6; }
 
4861
if test "$lt_cv_path_NM" != "no"; then
 
4862
  NM="$lt_cv_path_NM"
 
4863
else
 
4864
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
4865
  if test -n "$ac_tool_prefix"; then
 
4866
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4867
  do
 
4868
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4869
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4870
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4871
$as_echo_n "checking for $ac_word... " >&6; }
 
4872
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
4873
  $as_echo_n "(cached) " >&6
 
4874
else
 
4875
  if test -n "$DUMPBIN"; then
 
4876
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
4877
else
 
4878
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4879
for as_dir in $PATH
 
4880
do
 
4881
  IFS=$as_save_IFS
 
4882
  test -z "$as_dir" && as_dir=.
 
4883
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4884
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4885
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
4886
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4887
    break 2
 
4888
  fi
 
4889
done
 
4890
done
 
4891
IFS=$as_save_IFS
 
4892
 
 
4893
fi
 
4894
fi
 
4895
DUMPBIN=$ac_cv_prog_DUMPBIN
 
4896
if test -n "$DUMPBIN"; then
 
4897
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
4898
$as_echo "$DUMPBIN" >&6; }
 
4899
else
 
4900
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4901
$as_echo "no" >&6; }
 
4902
fi
 
4903
 
 
4904
 
 
4905
    test -n "$DUMPBIN" && break
 
4906
  done
 
4907
fi
 
4908
if test -z "$DUMPBIN"; then
 
4909
  ac_ct_DUMPBIN=$DUMPBIN
 
4910
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4911
do
 
4912
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4913
set dummy $ac_prog; ac_word=$2
 
4914
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4915
$as_echo_n "checking for $ac_word... " >&6; }
 
4916
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
4917
  $as_echo_n "(cached) " >&6
 
4918
else
 
4919
  if test -n "$ac_ct_DUMPBIN"; then
 
4920
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
4921
else
 
4922
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4923
for as_dir in $PATH
 
4924
do
 
4925
  IFS=$as_save_IFS
 
4926
  test -z "$as_dir" && as_dir=.
 
4927
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4928
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4929
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
4930
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4931
    break 2
 
4932
  fi
 
4933
done
 
4934
done
 
4935
IFS=$as_save_IFS
 
4936
 
 
4937
fi
 
4938
fi
 
4939
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
4940
if test -n "$ac_ct_DUMPBIN"; then
 
4941
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
4942
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
4943
else
 
4944
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4945
$as_echo "no" >&6; }
 
4946
fi
 
4947
 
 
4948
 
 
4949
  test -n "$ac_ct_DUMPBIN" && break
 
4950
done
 
4951
 
 
4952
  if test "x$ac_ct_DUMPBIN" = x; then
 
4953
    DUMPBIN=":"
 
4954
  else
 
4955
    case $cross_compiling:$ac_tool_warned in
 
4956
yes:)
 
4957
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4958
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4959
ac_tool_warned=yes ;;
 
4960
esac
 
4961
    DUMPBIN=$ac_ct_DUMPBIN
 
4962
  fi
 
4963
fi
 
4964
 
 
4965
 
 
4966
  if test "$DUMPBIN" != ":"; then
 
4967
    NM="$DUMPBIN"
 
4968
  fi
 
4969
fi
 
4970
test -z "$NM" && NM=nm
 
4971
 
 
4972
 
 
4973
 
 
4974
 
 
4975
 
 
4976
 
 
4977
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
4978
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
4979
if test "${lt_cv_nm_interface+set}" = set; then
 
4980
  $as_echo_n "(cached) " >&6
 
4981
else
 
4982
  lt_cv_nm_interface="BSD nm"
 
4983
  echo "int some_variable = 0;" > conftest.$ac_ext
 
4984
  (eval echo "\"\$as_me:4984: $ac_compile\"" >&5)
 
4985
  (eval "$ac_compile" 2>conftest.err)
 
4986
  cat conftest.err >&5
 
4987
  (eval echo "\"\$as_me:4987: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4988
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
4989
  cat conftest.err >&5
 
4990
  (eval echo "\"\$as_me:4990: output\"" >&5)
 
4991
  cat conftest.out >&5
 
4992
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
4993
    lt_cv_nm_interface="MS dumpbin"
 
4994
  fi
 
4995
  rm -f conftest*
 
4996
fi
 
4997
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
4998
$as_echo "$lt_cv_nm_interface" >&6; }
 
4999
 
 
5000
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5001
$as_echo_n "checking whether ln -s works... " >&6; }
4665
5002
LN_S=$as_ln_s
4666
5003
if test "$LN_S" = "ln -s"; then
4667
 
  { echo "$as_me:$LINENO: result: yes" >&5
4668
 
echo "${ECHO_T}yes" >&6; }
4669
 
else
4670
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4671
 
echo "${ECHO_T}no, using $LN_S" >&6; }
4672
 
fi
4673
 
 
4674
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4675
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
 
5004
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5005
$as_echo "yes" >&6; }
 
5006
else
 
5007
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5008
$as_echo "no, using $LN_S" >&6; }
 
5009
fi
 
5010
 
 
5011
# find the maximum length of command line arguments
 
5012
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
5013
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
5014
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
5015
  $as_echo_n "(cached) " >&6
 
5016
else
 
5017
    i=0
 
5018
  teststring="ABCD"
 
5019
 
 
5020
  case $build_os in
 
5021
  msdosdjgpp*)
 
5022
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
5023
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
5024
    # during glob expansion).  Even if it were fixed, the result of this
 
5025
    # check would be larger than it should be.
 
5026
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
5027
    ;;
 
5028
 
 
5029
  gnu*)
 
5030
    # Under GNU Hurd, this test is not required because there is
 
5031
    # no limit to the length of command line arguments.
 
5032
    # Libtool will interpret -1 as no limit whatsoever
 
5033
    lt_cv_sys_max_cmd_len=-1;
 
5034
    ;;
 
5035
 
 
5036
  cygwin* | mingw* | cegcc*)
 
5037
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
5038
    # about 5 minutes as the teststring grows exponentially.
 
5039
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
5040
    # you end up with a "frozen" computer, even though with patience
 
5041
    # the test eventually succeeds (with a max line length of 256k).
 
5042
    # Instead, let's just punt: use the minimum linelength reported by
 
5043
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
5044
    lt_cv_sys_max_cmd_len=8192;
 
5045
    ;;
 
5046
 
 
5047
  amigaos*)
 
5048
    # On AmigaOS with pdksh, this test takes hours, literally.
 
5049
    # So we just punt and use a minimum line length of 8192.
 
5050
    lt_cv_sys_max_cmd_len=8192;
 
5051
    ;;
 
5052
 
 
5053
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
5054
    # This has been around since 386BSD, at least.  Likely further.
 
5055
    if test -x /sbin/sysctl; then
 
5056
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
5057
    elif test -x /usr/sbin/sysctl; then
 
5058
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
5059
    else
 
5060
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
5061
    fi
 
5062
    # And add a safety zone
 
5063
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5064
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5065
    ;;
 
5066
 
 
5067
  interix*)
 
5068
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
5069
    lt_cv_sys_max_cmd_len=196608
 
5070
    ;;
 
5071
 
 
5072
  osf*)
 
5073
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
5074
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
5075
    # nice to cause kernel panics so lets avoid the loop below.
 
5076
    # First set a reasonable default.
 
5077
    lt_cv_sys_max_cmd_len=16384
 
5078
    #
 
5079
    if test -x /sbin/sysconfig; then
 
5080
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
5081
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
5082
      esac
 
5083
    fi
 
5084
    ;;
 
5085
  sco3.2v5*)
 
5086
    lt_cv_sys_max_cmd_len=102400
 
5087
    ;;
 
5088
  sysv5* | sco5v6* | sysv4.2uw2*)
 
5089
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
5090
    if test -n "$kargmax"; then
 
5091
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
5092
    else
 
5093
      lt_cv_sys_max_cmd_len=32768
 
5094
    fi
 
5095
    ;;
 
5096
  *)
 
5097
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
5098
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
5099
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5100
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5101
    else
 
5102
      # Make teststring a little bigger before we do anything with it.
 
5103
      # a 1K string should be a reasonable start.
 
5104
      for i in 1 2 3 4 5 6 7 8 ; do
 
5105
        teststring=$teststring$teststring
 
5106
      done
 
5107
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
5108
      # If test is not a shell built-in, we'll probably end up computing a
 
5109
      # maximum length that is only half of the actual maximum length, but
 
5110
      # we can't tell.
 
5111
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
5112
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5113
              test $i != 17 # 1/2 MB should be enough
 
5114
      do
 
5115
        i=`expr $i + 1`
 
5116
        teststring=$teststring$teststring
 
5117
      done
 
5118
      # Only check the string length outside the loop.
 
5119
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
5120
      teststring=
 
5121
      # Add a significant safety factor because C++ compilers can tack on
 
5122
      # massive amounts of additional arguments before passing them to the
 
5123
      # linker.  It appears as though 1/2 is a usable value.
 
5124
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
5125
    fi
 
5126
    ;;
 
5127
  esac
 
5128
 
 
5129
fi
 
5130
 
 
5131
if test -n $lt_cv_sys_max_cmd_len ; then
 
5132
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
5133
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
5134
else
 
5135
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
5136
$as_echo "none" >&6; }
 
5137
fi
 
5138
max_cmd_len=$lt_cv_sys_max_cmd_len
 
5139
 
 
5140
 
 
5141
 
 
5142
 
 
5143
 
 
5144
 
 
5145
: ${CP="cp -f"}
 
5146
: ${MV="mv -f"}
 
5147
: ${RM="rm -f"}
 
5148
 
 
5149
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
5150
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
5151
# Try some XSI features
 
5152
xsi_shell=no
 
5153
( _lt_dummy="a/b/c"
 
5154
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
5155
      = c,a/b,, \
 
5156
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
5157
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
5158
  && xsi_shell=yes
 
5159
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
5160
$as_echo "$xsi_shell" >&6; }
 
5161
 
 
5162
 
 
5163
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
5164
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
5165
lt_shell_append=no
 
5166
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
5167
    >/dev/null 2>&1 \
 
5168
  && lt_shell_append=yes
 
5169
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
5170
$as_echo "$lt_shell_append" >&6; }
 
5171
 
 
5172
 
 
5173
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
5174
  lt_unset=unset
 
5175
else
 
5176
  lt_unset=false
 
5177
fi
 
5178
 
 
5179
 
 
5180
 
 
5181
 
 
5182
 
 
5183
# test EBCDIC or ASCII
 
5184
case `echo X|tr X '\101'` in
 
5185
 A) # ASCII based system
 
5186
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
5187
  lt_SP2NL='tr \040 \012'
 
5188
  lt_NL2SP='tr \015\012 \040\040'
 
5189
  ;;
 
5190
 *) # EBCDIC based system
 
5191
  lt_SP2NL='tr \100 \n'
 
5192
  lt_NL2SP='tr \r\n \100\100'
 
5193
  ;;
 
5194
esac
 
5195
 
 
5196
 
 
5197
 
 
5198
 
 
5199
 
 
5200
 
 
5201
 
 
5202
 
 
5203
 
 
5204
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5205
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
5206
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
5207
  $as_echo_n "(cached) " >&6
 
5208
else
 
5209
  lt_cv_ld_reload_flag='-r'
 
5210
fi
 
5211
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5212
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
5213
reload_flag=$lt_cv_ld_reload_flag
 
5214
case $reload_flag in
 
5215
"" | " "*) ;;
 
5216
*) reload_flag=" $reload_flag" ;;
 
5217
esac
 
5218
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5219
case $host_os in
 
5220
  darwin*)
 
5221
    if test "$GCC" = yes; then
 
5222
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5223
    else
 
5224
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5225
    fi
 
5226
    ;;
 
5227
esac
 
5228
 
 
5229
 
 
5230
 
 
5231
 
 
5232
 
 
5233
 
 
5234
 
 
5235
 
 
5236
 
 
5237
if test -n "$ac_tool_prefix"; then
 
5238
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5239
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5240
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5241
$as_echo_n "checking for $ac_word... " >&6; }
 
5242
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5243
  $as_echo_n "(cached) " >&6
 
5244
else
 
5245
  if test -n "$OBJDUMP"; then
 
5246
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5247
else
 
5248
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5249
for as_dir in $PATH
 
5250
do
 
5251
  IFS=$as_save_IFS
 
5252
  test -z "$as_dir" && as_dir=.
 
5253
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5254
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5255
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5256
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5257
    break 2
 
5258
  fi
 
5259
done
 
5260
done
 
5261
IFS=$as_save_IFS
 
5262
 
 
5263
fi
 
5264
fi
 
5265
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5266
if test -n "$OBJDUMP"; then
 
5267
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5268
$as_echo "$OBJDUMP" >&6; }
 
5269
else
 
5270
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5271
$as_echo "no" >&6; }
 
5272
fi
 
5273
 
 
5274
 
 
5275
fi
 
5276
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5277
  ac_ct_OBJDUMP=$OBJDUMP
 
5278
  # Extract the first word of "objdump", so it can be a program name with args.
 
5279
set dummy objdump; ac_word=$2
 
5280
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5281
$as_echo_n "checking for $ac_word... " >&6; }
 
5282
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
5283
  $as_echo_n "(cached) " >&6
 
5284
else
 
5285
  if test -n "$ac_ct_OBJDUMP"; then
 
5286
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5287
else
 
5288
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5289
for as_dir in $PATH
 
5290
do
 
5291
  IFS=$as_save_IFS
 
5292
  test -z "$as_dir" && as_dir=.
 
5293
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5294
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5295
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5296
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5297
    break 2
 
5298
  fi
 
5299
done
 
5300
done
 
5301
IFS=$as_save_IFS
 
5302
 
 
5303
fi
 
5304
fi
 
5305
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5306
if test -n "$ac_ct_OBJDUMP"; then
 
5307
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5308
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
5309
else
 
5310
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5311
$as_echo "no" >&6; }
 
5312
fi
 
5313
 
 
5314
  if test "x$ac_ct_OBJDUMP" = x; then
 
5315
    OBJDUMP="false"
 
5316
  else
 
5317
    case $cross_compiling:$ac_tool_warned in
 
5318
yes:)
 
5319
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5320
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5321
ac_tool_warned=yes ;;
 
5322
esac
 
5323
    OBJDUMP=$ac_ct_OBJDUMP
 
5324
  fi
 
5325
else
 
5326
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5327
fi
 
5328
 
 
5329
test -z "$OBJDUMP" && OBJDUMP=objdump
 
5330
 
 
5331
 
 
5332
 
 
5333
 
 
5334
 
 
5335
 
 
5336
 
 
5337
 
 
5338
 
 
5339
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5340
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4676
5341
if test "${lt_cv_deplibs_check_method+set}" = set; then
4677
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5342
  $as_echo_n "(cached) " >&6
4678
5343
else
4679
5344
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4680
5345
lt_cv_file_magic_test_file=
4724
5389
  fi
4725
5390
  ;;
4726
5391
 
 
5392
cegcc)
 
5393
  # use the weaker test based on 'objdump'. See mingw*.
 
5394
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
5395
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5396
  ;;
 
5397
 
4727
5398
darwin* | rhapsody*)
4728
5399
  lt_cv_deplibs_check_method=pass_all
4729
5400
  ;;
4730
5401
 
4731
5402
freebsd* | dragonfly*)
4732
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
5403
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4733
5404
    case $host_cpu in
4734
5405
    i*86 )
4735
5406
      # Not sure whether the presence of OpenBSD here was a mistake.
4787
5458
  ;;
4788
5459
 
4789
5460
netbsd* | netbsdelf*-gnu)
4790
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
5461
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4791
5462
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4792
5463
  else
4793
5464
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4800
5471
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4801
5472
  ;;
4802
5473
 
4803
 
nto-qnx*)
4804
 
  lt_cv_deplibs_check_method=unknown
 
5474
*nto* | *qnx*)
 
5475
  lt_cv_deplibs_check_method=pass_all
4805
5476
  ;;
4806
5477
 
4807
5478
openbsd*)
4808
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5479
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4809
5480
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4810
5481
  else
4811
5482
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4824
5495
  lt_cv_deplibs_check_method=pass_all
4825
5496
  ;;
4826
5497
 
 
5498
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5499
  lt_cv_deplibs_check_method=pass_all
 
5500
  ;;
 
5501
 
4827
5502
sysv4 | sysv4.3*)
4828
5503
  case $host_vendor in
4829
5504
  motorola)
4851
5526
  esac
4852
5527
  ;;
4853
5528
 
4854
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5529
tpf*)
4855
5530
  lt_cv_deplibs_check_method=pass_all
4856
5531
  ;;
4857
5532
esac
4858
5533
 
4859
5534
fi
4860
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4861
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
5535
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5536
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4862
5537
file_magic_cmd=$lt_cv_file_magic_cmd
4863
5538
deplibs_check_method=$lt_cv_deplibs_check_method
4864
5539
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4866
5541
 
4867
5542
 
4868
5543
 
 
5544
 
 
5545
 
 
5546
 
 
5547
 
 
5548
 
 
5549
 
 
5550
 
 
5551
 
 
5552
if test -n "$ac_tool_prefix"; then
 
5553
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
5554
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
5555
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5556
$as_echo_n "checking for $ac_word... " >&6; }
 
5557
if test "${ac_cv_prog_AR+set}" = set; then
 
5558
  $as_echo_n "(cached) " >&6
 
5559
else
 
5560
  if test -n "$AR"; then
 
5561
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5562
else
 
5563
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5564
for as_dir in $PATH
 
5565
do
 
5566
  IFS=$as_save_IFS
 
5567
  test -z "$as_dir" && as_dir=.
 
5568
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5569
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5570
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5571
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5572
    break 2
 
5573
  fi
 
5574
done
 
5575
done
 
5576
IFS=$as_save_IFS
 
5577
 
 
5578
fi
 
5579
fi
 
5580
AR=$ac_cv_prog_AR
 
5581
if test -n "$AR"; then
 
5582
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
5583
$as_echo "$AR" >&6; }
 
5584
else
 
5585
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5586
$as_echo "no" >&6; }
 
5587
fi
 
5588
 
 
5589
 
 
5590
fi
 
5591
if test -z "$ac_cv_prog_AR"; then
 
5592
  ac_ct_AR=$AR
 
5593
  # Extract the first word of "ar", so it can be a program name with args.
 
5594
set dummy ar; ac_word=$2
 
5595
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5596
$as_echo_n "checking for $ac_word... " >&6; }
 
5597
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
5598
  $as_echo_n "(cached) " >&6
 
5599
else
 
5600
  if test -n "$ac_ct_AR"; then
 
5601
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5602
else
 
5603
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5604
for as_dir in $PATH
 
5605
do
 
5606
  IFS=$as_save_IFS
 
5607
  test -z "$as_dir" && as_dir=.
 
5608
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5609
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5610
    ac_cv_prog_ac_ct_AR="ar"
 
5611
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5612
    break 2
 
5613
  fi
 
5614
done
 
5615
done
 
5616
IFS=$as_save_IFS
 
5617
 
 
5618
fi
 
5619
fi
 
5620
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5621
if test -n "$ac_ct_AR"; then
 
5622
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
5623
$as_echo "$ac_ct_AR" >&6; }
 
5624
else
 
5625
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5626
$as_echo "no" >&6; }
 
5627
fi
 
5628
 
 
5629
  if test "x$ac_ct_AR" = x; then
 
5630
    AR="false"
 
5631
  else
 
5632
    case $cross_compiling:$ac_tool_warned in
 
5633
yes:)
 
5634
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5635
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5636
ac_tool_warned=yes ;;
 
5637
esac
 
5638
    AR=$ac_ct_AR
 
5639
  fi
 
5640
else
 
5641
  AR="$ac_cv_prog_AR"
 
5642
fi
 
5643
 
 
5644
test -z "$AR" && AR=ar
 
5645
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
5646
 
 
5647
 
 
5648
 
 
5649
 
 
5650
 
 
5651
 
 
5652
 
 
5653
 
 
5654
 
 
5655
 
 
5656
 
 
5657
if test -n "$ac_tool_prefix"; then
 
5658
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5659
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
5660
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5661
$as_echo_n "checking for $ac_word... " >&6; }
 
5662
if test "${ac_cv_prog_STRIP+set}" = set; then
 
5663
  $as_echo_n "(cached) " >&6
 
5664
else
 
5665
  if test -n "$STRIP"; then
 
5666
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
5667
else
 
5668
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5669
for as_dir in $PATH
 
5670
do
 
5671
  IFS=$as_save_IFS
 
5672
  test -z "$as_dir" && as_dir=.
 
5673
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5674
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5675
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5676
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5677
    break 2
 
5678
  fi
 
5679
done
 
5680
done
 
5681
IFS=$as_save_IFS
 
5682
 
 
5683
fi
 
5684
fi
 
5685
STRIP=$ac_cv_prog_STRIP
 
5686
if test -n "$STRIP"; then
 
5687
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
5688
$as_echo "$STRIP" >&6; }
 
5689
else
 
5690
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5691
$as_echo "no" >&6; }
 
5692
fi
 
5693
 
 
5694
 
 
5695
fi
 
5696
if test -z "$ac_cv_prog_STRIP"; then
 
5697
  ac_ct_STRIP=$STRIP
 
5698
  # Extract the first word of "strip", so it can be a program name with args.
 
5699
set dummy strip; ac_word=$2
 
5700
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5701
$as_echo_n "checking for $ac_word... " >&6; }
 
5702
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
5703
  $as_echo_n "(cached) " >&6
 
5704
else
 
5705
  if test -n "$ac_ct_STRIP"; then
 
5706
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
5707
else
 
5708
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5709
for as_dir in $PATH
 
5710
do
 
5711
  IFS=$as_save_IFS
 
5712
  test -z "$as_dir" && as_dir=.
 
5713
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5714
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5715
    ac_cv_prog_ac_ct_STRIP="strip"
 
5716
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5717
    break 2
 
5718
  fi
 
5719
done
 
5720
done
 
5721
IFS=$as_save_IFS
 
5722
 
 
5723
fi
 
5724
fi
 
5725
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
5726
if test -n "$ac_ct_STRIP"; then
 
5727
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
5728
$as_echo "$ac_ct_STRIP" >&6; }
 
5729
else
 
5730
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5731
$as_echo "no" >&6; }
 
5732
fi
 
5733
 
 
5734
  if test "x$ac_ct_STRIP" = x; then
 
5735
    STRIP=":"
 
5736
  else
 
5737
    case $cross_compiling:$ac_tool_warned in
 
5738
yes:)
 
5739
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5740
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5741
ac_tool_warned=yes ;;
 
5742
esac
 
5743
    STRIP=$ac_ct_STRIP
 
5744
  fi
 
5745
else
 
5746
  STRIP="$ac_cv_prog_STRIP"
 
5747
fi
 
5748
 
 
5749
test -z "$STRIP" && STRIP=:
 
5750
 
 
5751
 
 
5752
 
 
5753
 
 
5754
 
 
5755
 
 
5756
if test -n "$ac_tool_prefix"; then
 
5757
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
5758
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
5759
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5760
$as_echo_n "checking for $ac_word... " >&6; }
 
5761
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
5762
  $as_echo_n "(cached) " >&6
 
5763
else
 
5764
  if test -n "$RANLIB"; then
 
5765
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
5766
else
 
5767
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5768
for as_dir in $PATH
 
5769
do
 
5770
  IFS=$as_save_IFS
 
5771
  test -z "$as_dir" && as_dir=.
 
5772
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5773
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5774
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
5775
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5776
    break 2
 
5777
  fi
 
5778
done
 
5779
done
 
5780
IFS=$as_save_IFS
 
5781
 
 
5782
fi
 
5783
fi
 
5784
RANLIB=$ac_cv_prog_RANLIB
 
5785
if test -n "$RANLIB"; then
 
5786
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
5787
$as_echo "$RANLIB" >&6; }
 
5788
else
 
5789
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5790
$as_echo "no" >&6; }
 
5791
fi
 
5792
 
 
5793
 
 
5794
fi
 
5795
if test -z "$ac_cv_prog_RANLIB"; then
 
5796
  ac_ct_RANLIB=$RANLIB
 
5797
  # Extract the first word of "ranlib", so it can be a program name with args.
 
5798
set dummy ranlib; ac_word=$2
 
5799
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5800
$as_echo_n "checking for $ac_word... " >&6; }
 
5801
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
5802
  $as_echo_n "(cached) " >&6
 
5803
else
 
5804
  if test -n "$ac_ct_RANLIB"; then
 
5805
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
5806
else
 
5807
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5808
for as_dir in $PATH
 
5809
do
 
5810
  IFS=$as_save_IFS
 
5811
  test -z "$as_dir" && as_dir=.
 
5812
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5813
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5814
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
5815
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5816
    break 2
 
5817
  fi
 
5818
done
 
5819
done
 
5820
IFS=$as_save_IFS
 
5821
 
 
5822
fi
 
5823
fi
 
5824
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
5825
if test -n "$ac_ct_RANLIB"; then
 
5826
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
5827
$as_echo "$ac_ct_RANLIB" >&6; }
 
5828
else
 
5829
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5830
$as_echo "no" >&6; }
 
5831
fi
 
5832
 
 
5833
  if test "x$ac_ct_RANLIB" = x; then
 
5834
    RANLIB=":"
 
5835
  else
 
5836
    case $cross_compiling:$ac_tool_warned in
 
5837
yes:)
 
5838
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5839
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5840
ac_tool_warned=yes ;;
 
5841
esac
 
5842
    RANLIB=$ac_ct_RANLIB
 
5843
  fi
 
5844
else
 
5845
  RANLIB="$ac_cv_prog_RANLIB"
 
5846
fi
 
5847
 
 
5848
test -z "$RANLIB" && RANLIB=:
 
5849
 
 
5850
 
 
5851
 
 
5852
 
 
5853
 
 
5854
 
 
5855
# Determine commands to create old-style static archives.
 
5856
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
5857
old_postinstall_cmds='chmod 644 $oldlib'
 
5858
old_postuninstall_cmds=
 
5859
 
 
5860
if test -n "$RANLIB"; then
 
5861
  case $host_os in
 
5862
  openbsd*)
 
5863
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
5864
    ;;
 
5865
  *)
 
5866
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
5867
    ;;
 
5868
  esac
 
5869
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5870
fi
 
5871
 
 
5872
 
 
5873
 
 
5874
 
 
5875
 
 
5876
 
 
5877
 
 
5878
 
 
5879
 
 
5880
 
 
5881
 
 
5882
 
 
5883
 
 
5884
 
 
5885
 
 
5886
 
 
5887
 
 
5888
 
 
5889
 
 
5890
 
 
5891
 
 
5892
 
 
5893
 
 
5894
 
 
5895
 
 
5896
 
 
5897
 
 
5898
 
 
5899
 
 
5900
 
 
5901
 
 
5902
 
 
5903
 
 
5904
 
4869
5905
# If no C compiler was specified, use CC.
4870
5906
LTCC=${LTCC-"$CC"}
4871
5907
 
4876
5912
compiler=$CC
4877
5913
 
4878
5914
 
4879
 
 
4880
 
# Check whether --enable-libtool-lock was given.
4881
 
if test "${enable_libtool_lock+set}" = set; then
4882
 
  enableval=$enable_libtool_lock;
4883
 
fi
4884
 
 
4885
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4886
 
 
4887
 
# Some flags need to be propagated to the compiler or linker for good
4888
 
# libtool support.
4889
 
case $host in
4890
 
ia64-*-hpux*)
4891
 
  # Find out which ABI we are using.
4892
 
  echo 'int i;' > conftest.$ac_ext
4893
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4894
 
  (eval $ac_compile) 2>&5
4895
 
  ac_status=$?
4896
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897
 
  (exit $ac_status); }; then
4898
 
    case `/usr/bin/file conftest.$ac_objext` in
4899
 
    *ELF-32*)
4900
 
      HPUX_IA64_MODE="32"
4901
 
      ;;
4902
 
    *ELF-64*)
4903
 
      HPUX_IA64_MODE="64"
4904
 
      ;;
4905
 
    esac
4906
 
  fi
4907
 
  rm -rf conftest*
4908
 
  ;;
4909
 
*-*-irix6*)
4910
 
  # Find out which ABI we are using.
4911
 
  echo '#line 4911 "configure"' > conftest.$ac_ext
4912
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4913
 
  (eval $ac_compile) 2>&5
4914
 
  ac_status=$?
4915
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916
 
  (exit $ac_status); }; then
4917
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4918
 
    case `/usr/bin/file conftest.$ac_objext` in
4919
 
    *32-bit*)
4920
 
      LD="${LD-ld} -melf32bsmip"
4921
 
      ;;
4922
 
    *N32*)
4923
 
      LD="${LD-ld} -melf32bmipn32"
4924
 
      ;;
4925
 
    *64-bit*)
4926
 
      LD="${LD-ld} -melf64bmip"
4927
 
      ;;
4928
 
    esac
4929
 
   else
4930
 
    case `/usr/bin/file conftest.$ac_objext` in
4931
 
    *32-bit*)
4932
 
      LD="${LD-ld} -32"
4933
 
      ;;
4934
 
    *N32*)
4935
 
      LD="${LD-ld} -n32"
4936
 
      ;;
4937
 
    *64-bit*)
4938
 
      LD="${LD-ld} -64"
4939
 
      ;;
4940
 
    esac
4941
 
   fi
4942
 
  fi
4943
 
  rm -rf conftest*
4944
 
  ;;
4945
 
 
4946
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4947
 
s390*-*linux*|sparc*-*linux*)
4948
 
  # Find out which ABI we are using.
4949
 
  echo 'int i;' > conftest.$ac_ext
4950
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4951
 
  (eval $ac_compile) 2>&5
4952
 
  ac_status=$?
4953
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954
 
  (exit $ac_status); }; then
4955
 
    case `/usr/bin/file conftest.o` in
4956
 
    *32-bit*)
4957
 
      case $host in
4958
 
        x86_64-*kfreebsd*-gnu)
4959
 
          LD="${LD-ld} -m elf_i386_fbsd"
4960
 
          ;;
4961
 
        x86_64-*linux*)
4962
 
          LD="${LD-ld} -m elf_i386"
4963
 
          ;;
4964
 
        ppc64-*linux*|powerpc64-*linux*)
4965
 
          LD="${LD-ld} -m elf32ppclinux"
4966
 
          ;;
4967
 
        s390x-*linux*)
4968
 
          LD="${LD-ld} -m elf_s390"
4969
 
          ;;
4970
 
        sparc64-*linux*)
4971
 
          LD="${LD-ld} -m elf32_sparc"
4972
 
          ;;
4973
 
      esac
4974
 
      ;;
4975
 
    *64-bit*)
4976
 
      case $host in
4977
 
        x86_64-*kfreebsd*-gnu)
4978
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
4979
 
          ;;
4980
 
        x86_64-*linux*)
4981
 
          LD="${LD-ld} -m elf_x86_64"
4982
 
          ;;
4983
 
        ppc*-*linux*|powerpc*-*linux*)
4984
 
          LD="${LD-ld} -m elf64ppc"
4985
 
          ;;
4986
 
        s390*-*linux*)
4987
 
          LD="${LD-ld} -m elf64_s390"
4988
 
          ;;
4989
 
        sparc*-*linux*)
4990
 
          LD="${LD-ld} -m elf64_sparc"
4991
 
          ;;
4992
 
      esac
4993
 
      ;;
4994
 
    esac
4995
 
  fi
4996
 
  rm -rf conftest*
4997
 
  ;;
4998
 
 
4999
 
*-*-sco3.2v5*)
5000
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5001
 
  SAVE_CFLAGS="$CFLAGS"
5002
 
  CFLAGS="$CFLAGS -belf"
5003
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5004
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5005
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
5006
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5007
 
else
5008
 
  ac_ext=c
5009
 
ac_cpp='$CPP $CPPFLAGS'
5010
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5011
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5012
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5013
 
 
5014
 
     cat >conftest.$ac_ext <<_ACEOF
5015
 
/* confdefs.h.  */
5016
 
_ACEOF
5017
 
cat confdefs.h >>conftest.$ac_ext
5018
 
cat >>conftest.$ac_ext <<_ACEOF
5019
 
/* end confdefs.h.  */
5020
 
 
5021
 
int
5022
 
main ()
5023
 
{
5024
 
 
5025
 
  ;
5026
 
  return 0;
5027
 
}
5028
 
_ACEOF
5029
 
rm -f conftest.$ac_objext conftest$ac_exeext
5030
 
if { (ac_try="$ac_link"
5031
 
case "(($ac_try" in
5032
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5033
 
  *) ac_try_echo=$ac_try;;
5034
 
esac
5035
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5036
 
  (eval "$ac_link") 2>conftest.er1
5037
 
  ac_status=$?
5038
 
  grep -v '^ *+' conftest.er1 >conftest.err
5039
 
  rm -f conftest.er1
5040
 
  cat conftest.err >&5
5041
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042
 
  (exit $ac_status); } && {
5043
 
         test -z "$ac_c_werror_flag" ||
5044
 
         test ! -s conftest.err
5045
 
       } && test -s conftest$ac_exeext &&
5046
 
       $as_test_x conftest$ac_exeext; then
5047
 
  lt_cv_cc_needs_belf=yes
5048
 
else
5049
 
  echo "$as_me: failed program was:" >&5
5050
 
sed 's/^/| /' conftest.$ac_ext >&5
5051
 
 
5052
 
        lt_cv_cc_needs_belf=no
5053
 
fi
5054
 
 
5055
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5056
 
      conftest$ac_exeext conftest.$ac_ext
5057
 
     ac_ext=c
5058
 
ac_cpp='$CPP $CPPFLAGS'
5059
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5060
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5061
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5062
 
 
5063
 
fi
5064
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5065
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5066
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5067
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5068
 
    CFLAGS="$SAVE_CFLAGS"
5069
 
  fi
5070
 
  ;;
5071
 
sparc*-*solaris*)
5072
 
  # Find out which ABI we are using.
5073
 
  echo 'int i;' > conftest.$ac_ext
5074
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5075
 
  (eval $ac_compile) 2>&5
5076
 
  ac_status=$?
5077
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078
 
  (exit $ac_status); }; then
5079
 
    case `/usr/bin/file conftest.o` in
5080
 
    *64-bit*)
5081
 
      case $lt_cv_prog_gnu_ld in
5082
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5083
 
      *)
5084
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5085
 
          LD="${LD-ld} -64"
5086
 
        fi
5087
 
        ;;
5088
 
      esac
5089
 
      ;;
5090
 
    esac
5091
 
  fi
5092
 
  rm -rf conftest*
5093
 
  ;;
5094
 
 
5095
 
 
5096
 
esac
5097
 
 
5098
 
need_locks="$enable_libtool_lock"
5099
 
 
5100
 
 
5101
 
ac_ext=c
5102
 
ac_cpp='$CPP $CPPFLAGS'
5103
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5104
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5105
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5106
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5107
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5108
 
# On Suns, sometimes $CPP names a directory.
5109
 
if test -n "$CPP" && test -d "$CPP"; then
5110
 
  CPP=
5111
 
fi
5112
 
if test -z "$CPP"; then
5113
 
  if test "${ac_cv_prog_CPP+set}" = set; then
5114
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5115
 
else
5116
 
      # Double quotes because CPP needs to be expanded
5117
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5118
 
    do
5119
 
      ac_preproc_ok=false
5120
 
for ac_c_preproc_warn_flag in '' yes
5121
 
do
5122
 
  # Use a header file that comes with gcc, so configuring glibc
5123
 
  # with a fresh cross-compiler works.
5124
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5125
 
  # <limits.h> exists even on freestanding compilers.
5126
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5127
 
  # not just through cpp. "Syntax error" is here to catch this case.
5128
 
  cat >conftest.$ac_ext <<_ACEOF
5129
 
/* confdefs.h.  */
5130
 
_ACEOF
5131
 
cat confdefs.h >>conftest.$ac_ext
5132
 
cat >>conftest.$ac_ext <<_ACEOF
5133
 
/* end confdefs.h.  */
5134
 
#ifdef __STDC__
5135
 
# include <limits.h>
5136
 
#else
5137
 
# include <assert.h>
5138
 
#endif
5139
 
                     Syntax error
5140
 
_ACEOF
5141
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5142
 
case "(($ac_try" in
5143
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5144
 
  *) ac_try_echo=$ac_try;;
5145
 
esac
5146
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5147
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5148
 
  ac_status=$?
5149
 
  grep -v '^ *+' conftest.er1 >conftest.err
5150
 
  rm -f conftest.er1
5151
 
  cat conftest.err >&5
5152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153
 
  (exit $ac_status); } >/dev/null && {
5154
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5155
 
         test ! -s conftest.err
5156
 
       }; then
5157
 
  :
5158
 
else
5159
 
  echo "$as_me: failed program was:" >&5
5160
 
sed 's/^/| /' conftest.$ac_ext >&5
5161
 
 
5162
 
  # Broken: fails on valid input.
5163
 
continue
5164
 
fi
5165
 
 
5166
 
rm -f conftest.err conftest.$ac_ext
5167
 
 
5168
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5169
 
  # can be detected and how.
5170
 
  cat >conftest.$ac_ext <<_ACEOF
5171
 
/* confdefs.h.  */
5172
 
_ACEOF
5173
 
cat confdefs.h >>conftest.$ac_ext
5174
 
cat >>conftest.$ac_ext <<_ACEOF
5175
 
/* end confdefs.h.  */
5176
 
#include <ac_nonexistent.h>
5177
 
_ACEOF
5178
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5179
 
case "(($ac_try" in
5180
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5181
 
  *) ac_try_echo=$ac_try;;
5182
 
esac
5183
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5184
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5185
 
  ac_status=$?
5186
 
  grep -v '^ *+' conftest.er1 >conftest.err
5187
 
  rm -f conftest.er1
5188
 
  cat conftest.err >&5
5189
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190
 
  (exit $ac_status); } >/dev/null && {
5191
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5192
 
         test ! -s conftest.err
5193
 
       }; then
5194
 
  # Broken: success on invalid input.
5195
 
continue
5196
 
else
5197
 
  echo "$as_me: failed program was:" >&5
5198
 
sed 's/^/| /' conftest.$ac_ext >&5
5199
 
 
5200
 
  # Passes both tests.
5201
 
ac_preproc_ok=:
5202
 
break
5203
 
fi
5204
 
 
5205
 
rm -f conftest.err conftest.$ac_ext
5206
 
 
5207
 
done
5208
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5209
 
rm -f conftest.err conftest.$ac_ext
5210
 
if $ac_preproc_ok; then
5211
 
  break
5212
 
fi
5213
 
 
5214
 
    done
5215
 
    ac_cv_prog_CPP=$CPP
5216
 
 
5217
 
fi
5218
 
  CPP=$ac_cv_prog_CPP
5219
 
else
5220
 
  ac_cv_prog_CPP=$CPP
5221
 
fi
5222
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
5223
 
echo "${ECHO_T}$CPP" >&6; }
5224
 
ac_preproc_ok=false
5225
 
for ac_c_preproc_warn_flag in '' yes
5226
 
do
5227
 
  # Use a header file that comes with gcc, so configuring glibc
5228
 
  # with a fresh cross-compiler works.
5229
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5230
 
  # <limits.h> exists even on freestanding compilers.
5231
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5232
 
  # not just through cpp. "Syntax error" is here to catch this case.
5233
 
  cat >conftest.$ac_ext <<_ACEOF
5234
 
/* confdefs.h.  */
5235
 
_ACEOF
5236
 
cat confdefs.h >>conftest.$ac_ext
5237
 
cat >>conftest.$ac_ext <<_ACEOF
5238
 
/* end confdefs.h.  */
5239
 
#ifdef __STDC__
5240
 
# include <limits.h>
5241
 
#else
5242
 
# include <assert.h>
5243
 
#endif
5244
 
                     Syntax error
5245
 
_ACEOF
5246
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5247
 
case "(($ac_try" in
5248
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5249
 
  *) ac_try_echo=$ac_try;;
5250
 
esac
5251
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5252
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5253
 
  ac_status=$?
5254
 
  grep -v '^ *+' conftest.er1 >conftest.err
5255
 
  rm -f conftest.er1
5256
 
  cat conftest.err >&5
5257
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258
 
  (exit $ac_status); } >/dev/null && {
5259
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5260
 
         test ! -s conftest.err
5261
 
       }; then
5262
 
  :
5263
 
else
5264
 
  echo "$as_me: failed program was:" >&5
5265
 
sed 's/^/| /' conftest.$ac_ext >&5
5266
 
 
5267
 
  # Broken: fails on valid input.
5268
 
continue
5269
 
fi
5270
 
 
5271
 
rm -f conftest.err conftest.$ac_ext
5272
 
 
5273
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5274
 
  # can be detected and how.
5275
 
  cat >conftest.$ac_ext <<_ACEOF
5276
 
/* confdefs.h.  */
5277
 
_ACEOF
5278
 
cat confdefs.h >>conftest.$ac_ext
5279
 
cat >>conftest.$ac_ext <<_ACEOF
5280
 
/* end confdefs.h.  */
5281
 
#include <ac_nonexistent.h>
5282
 
_ACEOF
5283
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5284
 
case "(($ac_try" in
5285
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5286
 
  *) ac_try_echo=$ac_try;;
5287
 
esac
5288
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5289
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5290
 
  ac_status=$?
5291
 
  grep -v '^ *+' conftest.er1 >conftest.err
5292
 
  rm -f conftest.er1
5293
 
  cat conftest.err >&5
5294
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295
 
  (exit $ac_status); } >/dev/null && {
5296
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5297
 
         test ! -s conftest.err
5298
 
       }; then
5299
 
  # Broken: success on invalid input.
5300
 
continue
5301
 
else
5302
 
  echo "$as_me: failed program was:" >&5
5303
 
sed 's/^/| /' conftest.$ac_ext >&5
5304
 
 
5305
 
  # Passes both tests.
5306
 
ac_preproc_ok=:
5307
 
break
5308
 
fi
5309
 
 
5310
 
rm -f conftest.err conftest.$ac_ext
5311
 
 
5312
 
done
5313
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5314
 
rm -f conftest.err conftest.$ac_ext
5315
 
if $ac_preproc_ok; then
5316
 
  :
5317
 
else
5318
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5319
 
See \`config.log' for more details." >&5
5320
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5321
 
See \`config.log' for more details." >&2;}
5322
 
   { (exit 1); exit 1; }; }
5323
 
fi
5324
 
 
5325
 
ac_ext=c
5326
 
ac_cpp='$CPP $CPPFLAGS'
5327
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5328
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5329
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5330
 
 
5331
 
 
5332
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5333
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5334
 
if test "${ac_cv_header_stdc+set}" = set; then
5335
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5336
 
else
5337
 
  cat >conftest.$ac_ext <<_ACEOF
5338
 
/* confdefs.h.  */
5339
 
_ACEOF
5340
 
cat confdefs.h >>conftest.$ac_ext
5341
 
cat >>conftest.$ac_ext <<_ACEOF
5342
 
/* end confdefs.h.  */
5343
 
#include <stdlib.h>
5344
 
#include <stdarg.h>
5345
 
#include <string.h>
5346
 
#include <float.h>
5347
 
 
5348
 
int
5349
 
main ()
5350
 
{
5351
 
 
5352
 
  ;
5353
 
  return 0;
5354
 
}
5355
 
_ACEOF
5356
 
rm -f conftest.$ac_objext
5357
 
if { (ac_try="$ac_compile"
5358
 
case "(($ac_try" in
5359
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5360
 
  *) ac_try_echo=$ac_try;;
5361
 
esac
5362
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5363
 
  (eval "$ac_compile") 2>conftest.er1
5364
 
  ac_status=$?
5365
 
  grep -v '^ *+' conftest.er1 >conftest.err
5366
 
  rm -f conftest.er1
5367
 
  cat conftest.err >&5
5368
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369
 
  (exit $ac_status); } && {
5370
 
         test -z "$ac_c_werror_flag" ||
5371
 
         test ! -s conftest.err
5372
 
       } && test -s conftest.$ac_objext; then
5373
 
  ac_cv_header_stdc=yes
5374
 
else
5375
 
  echo "$as_me: failed program was:" >&5
5376
 
sed 's/^/| /' conftest.$ac_ext >&5
5377
 
 
5378
 
        ac_cv_header_stdc=no
5379
 
fi
5380
 
 
5381
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5382
 
 
5383
 
if test $ac_cv_header_stdc = yes; then
5384
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5385
 
  cat >conftest.$ac_ext <<_ACEOF
5386
 
/* confdefs.h.  */
5387
 
_ACEOF
5388
 
cat confdefs.h >>conftest.$ac_ext
5389
 
cat >>conftest.$ac_ext <<_ACEOF
5390
 
/* end confdefs.h.  */
5391
 
#include <string.h>
5392
 
 
5393
 
_ACEOF
5394
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5395
 
  $EGREP "memchr" >/dev/null 2>&1; then
5396
 
  :
5397
 
else
5398
 
  ac_cv_header_stdc=no
5399
 
fi
5400
 
rm -f conftest*
5401
 
 
5402
 
fi
5403
 
 
5404
 
if test $ac_cv_header_stdc = yes; then
5405
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5406
 
  cat >conftest.$ac_ext <<_ACEOF
5407
 
/* confdefs.h.  */
5408
 
_ACEOF
5409
 
cat confdefs.h >>conftest.$ac_ext
5410
 
cat >>conftest.$ac_ext <<_ACEOF
5411
 
/* end confdefs.h.  */
5412
 
#include <stdlib.h>
5413
 
 
5414
 
_ACEOF
5415
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5416
 
  $EGREP "free" >/dev/null 2>&1; then
5417
 
  :
5418
 
else
5419
 
  ac_cv_header_stdc=no
5420
 
fi
5421
 
rm -f conftest*
5422
 
 
5423
 
fi
5424
 
 
5425
 
if test $ac_cv_header_stdc = yes; then
5426
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5427
 
  if test "$cross_compiling" = yes; then
5428
 
  :
5429
 
else
5430
 
  cat >conftest.$ac_ext <<_ACEOF
5431
 
/* confdefs.h.  */
5432
 
_ACEOF
5433
 
cat confdefs.h >>conftest.$ac_ext
5434
 
cat >>conftest.$ac_ext <<_ACEOF
5435
 
/* end confdefs.h.  */
5436
 
#include <ctype.h>
5437
 
#include <stdlib.h>
5438
 
#if ((' ' & 0x0FF) == 0x020)
5439
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5440
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5441
 
#else
5442
 
# define ISLOWER(c) \
5443
 
                   (('a' <= (c) && (c) <= 'i') \
5444
 
                     || ('j' <= (c) && (c) <= 'r') \
5445
 
                     || ('s' <= (c) && (c) <= 'z'))
5446
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5447
 
#endif
5448
 
 
5449
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5450
 
int
5451
 
main ()
5452
 
{
5453
 
  int i;
5454
 
  for (i = 0; i < 256; i++)
5455
 
    if (XOR (islower (i), ISLOWER (i))
5456
 
        || toupper (i) != TOUPPER (i))
5457
 
      return 2;
5458
 
  return 0;
5459
 
}
5460
 
_ACEOF
5461
 
rm -f conftest$ac_exeext
5462
 
if { (ac_try="$ac_link"
5463
 
case "(($ac_try" in
5464
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5465
 
  *) ac_try_echo=$ac_try;;
5466
 
esac
5467
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5468
 
  (eval "$ac_link") 2>&5
5469
 
  ac_status=$?
5470
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5471
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5472
 
  { (case "(($ac_try" in
5473
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5474
 
  *) ac_try_echo=$ac_try;;
5475
 
esac
5476
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5477
 
  (eval "$ac_try") 2>&5
5478
 
  ac_status=$?
5479
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5480
 
  (exit $ac_status); }; }; then
5481
 
  :
5482
 
else
5483
 
  echo "$as_me: program exited with status $ac_status" >&5
5484
 
echo "$as_me: failed program was:" >&5
5485
 
sed 's/^/| /' conftest.$ac_ext >&5
5486
 
 
5487
 
( exit $ac_status )
5488
 
ac_cv_header_stdc=no
5489
 
fi
5490
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5491
 
fi
5492
 
 
5493
 
 
5494
 
fi
5495
 
fi
5496
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5497
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5498
 
if test $ac_cv_header_stdc = yes; then
5499
 
 
5500
 
cat >>confdefs.h <<\_ACEOF
5501
 
#define STDC_HEADERS 1
5502
 
_ACEOF
5503
 
 
5504
 
fi
5505
 
 
5506
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5507
 
 
5508
 
 
5509
 
 
5510
 
 
5511
 
 
5512
 
 
5513
 
 
5514
 
 
5515
 
 
5516
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5517
 
                  inttypes.h stdint.h unistd.h
5518
 
do
5519
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5520
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5521
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5522
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5523
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5524
 
else
5525
 
  cat >conftest.$ac_ext <<_ACEOF
5526
 
/* confdefs.h.  */
5527
 
_ACEOF
5528
 
cat confdefs.h >>conftest.$ac_ext
5529
 
cat >>conftest.$ac_ext <<_ACEOF
5530
 
/* end confdefs.h.  */
5531
 
$ac_includes_default
5532
 
 
5533
 
#include <$ac_header>
5534
 
_ACEOF
5535
 
rm -f conftest.$ac_objext
5536
 
if { (ac_try="$ac_compile"
5537
 
case "(($ac_try" in
5538
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5539
 
  *) ac_try_echo=$ac_try;;
5540
 
esac
5541
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5542
 
  (eval "$ac_compile") 2>conftest.er1
5543
 
  ac_status=$?
5544
 
  grep -v '^ *+' conftest.er1 >conftest.err
5545
 
  rm -f conftest.er1
5546
 
  cat conftest.err >&5
5547
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548
 
  (exit $ac_status); } && {
5549
 
         test -z "$ac_c_werror_flag" ||
5550
 
         test ! -s conftest.err
5551
 
       } && test -s conftest.$ac_objext; then
5552
 
  eval "$as_ac_Header=yes"
5553
 
else
5554
 
  echo "$as_me: failed program was:" >&5
5555
 
sed 's/^/| /' conftest.$ac_ext >&5
5556
 
 
5557
 
        eval "$as_ac_Header=no"
5558
 
fi
5559
 
 
5560
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5561
 
fi
5562
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5563
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5564
 
echo "${ECHO_T}$ac_res" >&6; }
5565
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5566
 
  cat >>confdefs.h <<_ACEOF
5567
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5568
 
_ACEOF
5569
 
 
5570
 
fi
5571
 
 
5572
 
done
5573
 
 
5574
 
 
5575
 
 
5576
 
for ac_header in dlfcn.h
5577
 
do
5578
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5579
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5580
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5581
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5582
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5583
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5584
 
fi
5585
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5586
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5587
 
echo "${ECHO_T}$ac_res" >&6; }
5588
 
else
5589
 
  # Is the header compilable?
5590
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5591
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5592
 
cat >conftest.$ac_ext <<_ACEOF
5593
 
/* confdefs.h.  */
5594
 
_ACEOF
5595
 
cat confdefs.h >>conftest.$ac_ext
5596
 
cat >>conftest.$ac_ext <<_ACEOF
5597
 
/* end confdefs.h.  */
5598
 
$ac_includes_default
5599
 
#include <$ac_header>
5600
 
_ACEOF
5601
 
rm -f conftest.$ac_objext
5602
 
if { (ac_try="$ac_compile"
5603
 
case "(($ac_try" in
5604
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5605
 
  *) ac_try_echo=$ac_try;;
5606
 
esac
5607
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5608
 
  (eval "$ac_compile") 2>conftest.er1
5609
 
  ac_status=$?
5610
 
  grep -v '^ *+' conftest.er1 >conftest.err
5611
 
  rm -f conftest.er1
5612
 
  cat conftest.err >&5
5613
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614
 
  (exit $ac_status); } && {
5615
 
         test -z "$ac_c_werror_flag" ||
5616
 
         test ! -s conftest.err
5617
 
       } && test -s conftest.$ac_objext; then
5618
 
  ac_header_compiler=yes
5619
 
else
5620
 
  echo "$as_me: failed program was:" >&5
5621
 
sed 's/^/| /' conftest.$ac_ext >&5
5622
 
 
5623
 
        ac_header_compiler=no
5624
 
fi
5625
 
 
5626
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5627
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5628
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
5629
 
 
5630
 
# Is the header present?
5631
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5632
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5633
 
cat >conftest.$ac_ext <<_ACEOF
5634
 
/* confdefs.h.  */
5635
 
_ACEOF
5636
 
cat confdefs.h >>conftest.$ac_ext
5637
 
cat >>conftest.$ac_ext <<_ACEOF
5638
 
/* end confdefs.h.  */
5639
 
#include <$ac_header>
5640
 
_ACEOF
5641
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5642
 
case "(($ac_try" in
5643
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5644
 
  *) ac_try_echo=$ac_try;;
5645
 
esac
5646
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5647
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5648
 
  ac_status=$?
5649
 
  grep -v '^ *+' conftest.er1 >conftest.err
5650
 
  rm -f conftest.er1
5651
 
  cat conftest.err >&5
5652
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653
 
  (exit $ac_status); } >/dev/null && {
5654
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5655
 
         test ! -s conftest.err
5656
 
       }; then
5657
 
  ac_header_preproc=yes
5658
 
else
5659
 
  echo "$as_me: failed program was:" >&5
5660
 
sed 's/^/| /' conftest.$ac_ext >&5
5661
 
 
5662
 
  ac_header_preproc=no
5663
 
fi
5664
 
 
5665
 
rm -f conftest.err conftest.$ac_ext
5666
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5667
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5668
 
 
5669
 
# So?  What about this header?
5670
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5671
 
  yes:no: )
5672
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5673
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5674
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5675
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5676
 
    ac_header_preproc=yes
5677
 
    ;;
5678
 
  no:yes:* )
5679
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5680
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5681
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5682
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5683
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5684
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5685
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5686
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5687
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5688
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5689
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5690
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5691
 
    ( cat <<\_ASBOX
5692
 
## -------------------------------------------------- ##
5693
 
## Report this to Jeroen T. Vermeulen <jtv@xs4all.nl> ##
5694
 
## -------------------------------------------------- ##
5695
 
_ASBOX
5696
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5697
 
    ;;
5698
 
esac
5699
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5700
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5701
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5702
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5703
 
else
5704
 
  eval "$as_ac_Header=\$ac_header_preproc"
5705
 
fi
5706
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5707
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5708
 
echo "${ECHO_T}$ac_res" >&6; }
5709
 
 
5710
 
fi
5711
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5712
 
  cat >>confdefs.h <<_ACEOF
5713
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5714
 
_ACEOF
5715
 
 
5716
 
fi
5717
 
 
5718
 
done
5719
 
 
5720
 
 
5721
 
 
5722
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5723
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5724
 
    (test "X$CXX" != "Xg++"))) ; then
5725
 
  ac_ext=cpp
5726
 
ac_cpp='$CXXCPP $CPPFLAGS'
5727
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5728
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5729
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5730
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5731
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5732
 
if test -z "$CXXCPP"; then
5733
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5734
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5735
 
else
5736
 
      # Double quotes because CXXCPP needs to be expanded
5737
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
5738
 
    do
5739
 
      ac_preproc_ok=false
5740
 
for ac_cxx_preproc_warn_flag in '' yes
5741
 
do
5742
 
  # Use a header file that comes with gcc, so configuring glibc
5743
 
  # with a fresh cross-compiler works.
5744
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5745
 
  # <limits.h> exists even on freestanding compilers.
5746
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5747
 
  # not just through cpp. "Syntax error" is here to catch this case.
5748
 
  cat >conftest.$ac_ext <<_ACEOF
5749
 
/* confdefs.h.  */
5750
 
_ACEOF
5751
 
cat confdefs.h >>conftest.$ac_ext
5752
 
cat >>conftest.$ac_ext <<_ACEOF
5753
 
/* end confdefs.h.  */
5754
 
#ifdef __STDC__
5755
 
# include <limits.h>
5756
 
#else
5757
 
# include <assert.h>
5758
 
#endif
5759
 
                     Syntax error
5760
 
_ACEOF
5761
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5762
 
case "(($ac_try" in
5763
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5764
 
  *) ac_try_echo=$ac_try;;
5765
 
esac
5766
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5767
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5768
 
  ac_status=$?
5769
 
  grep -v '^ *+' conftest.er1 >conftest.err
5770
 
  rm -f conftest.er1
5771
 
  cat conftest.err >&5
5772
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773
 
  (exit $ac_status); } >/dev/null && {
5774
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5775
 
         test ! -s conftest.err
5776
 
       }; then
5777
 
  :
5778
 
else
5779
 
  echo "$as_me: failed program was:" >&5
5780
 
sed 's/^/| /' conftest.$ac_ext >&5
5781
 
 
5782
 
  # Broken: fails on valid input.
5783
 
continue
5784
 
fi
5785
 
 
5786
 
rm -f conftest.err conftest.$ac_ext
5787
 
 
5788
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5789
 
  # can be detected and how.
5790
 
  cat >conftest.$ac_ext <<_ACEOF
5791
 
/* confdefs.h.  */
5792
 
_ACEOF
5793
 
cat confdefs.h >>conftest.$ac_ext
5794
 
cat >>conftest.$ac_ext <<_ACEOF
5795
 
/* end confdefs.h.  */
5796
 
#include <ac_nonexistent.h>
5797
 
_ACEOF
5798
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5799
 
case "(($ac_try" in
5800
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5801
 
  *) ac_try_echo=$ac_try;;
5802
 
esac
5803
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5804
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5805
 
  ac_status=$?
5806
 
  grep -v '^ *+' conftest.er1 >conftest.err
5807
 
  rm -f conftest.er1
5808
 
  cat conftest.err >&5
5809
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810
 
  (exit $ac_status); } >/dev/null && {
5811
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5812
 
         test ! -s conftest.err
5813
 
       }; then
5814
 
  # Broken: success on invalid input.
5815
 
continue
5816
 
else
5817
 
  echo "$as_me: failed program was:" >&5
5818
 
sed 's/^/| /' conftest.$ac_ext >&5
5819
 
 
5820
 
  # Passes both tests.
5821
 
ac_preproc_ok=:
5822
 
break
5823
 
fi
5824
 
 
5825
 
rm -f conftest.err conftest.$ac_ext
5826
 
 
5827
 
done
5828
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5829
 
rm -f conftest.err conftest.$ac_ext
5830
 
if $ac_preproc_ok; then
5831
 
  break
5832
 
fi
5833
 
 
5834
 
    done
5835
 
    ac_cv_prog_CXXCPP=$CXXCPP
5836
 
 
5837
 
fi
5838
 
  CXXCPP=$ac_cv_prog_CXXCPP
5839
 
else
5840
 
  ac_cv_prog_CXXCPP=$CXXCPP
5841
 
fi
5842
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5843
 
echo "${ECHO_T}$CXXCPP" >&6; }
5844
 
ac_preproc_ok=false
5845
 
for ac_cxx_preproc_warn_flag in '' yes
5846
 
do
5847
 
  # Use a header file that comes with gcc, so configuring glibc
5848
 
  # with a fresh cross-compiler works.
5849
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5850
 
  # <limits.h> exists even on freestanding compilers.
5851
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5852
 
  # not just through cpp. "Syntax error" is here to catch this case.
5853
 
  cat >conftest.$ac_ext <<_ACEOF
5854
 
/* confdefs.h.  */
5855
 
_ACEOF
5856
 
cat confdefs.h >>conftest.$ac_ext
5857
 
cat >>conftest.$ac_ext <<_ACEOF
5858
 
/* end confdefs.h.  */
5859
 
#ifdef __STDC__
5860
 
# include <limits.h>
5861
 
#else
5862
 
# include <assert.h>
5863
 
#endif
5864
 
                     Syntax error
5865
 
_ACEOF
5866
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5867
 
case "(($ac_try" in
5868
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5869
 
  *) ac_try_echo=$ac_try;;
5870
 
esac
5871
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5872
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5873
 
  ac_status=$?
5874
 
  grep -v '^ *+' conftest.er1 >conftest.err
5875
 
  rm -f conftest.er1
5876
 
  cat conftest.err >&5
5877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878
 
  (exit $ac_status); } >/dev/null && {
5879
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5880
 
         test ! -s conftest.err
5881
 
       }; then
5882
 
  :
5883
 
else
5884
 
  echo "$as_me: failed program was:" >&5
5885
 
sed 's/^/| /' conftest.$ac_ext >&5
5886
 
 
5887
 
  # Broken: fails on valid input.
5888
 
continue
5889
 
fi
5890
 
 
5891
 
rm -f conftest.err conftest.$ac_ext
5892
 
 
5893
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5894
 
  # can be detected and how.
5895
 
  cat >conftest.$ac_ext <<_ACEOF
5896
 
/* confdefs.h.  */
5897
 
_ACEOF
5898
 
cat confdefs.h >>conftest.$ac_ext
5899
 
cat >>conftest.$ac_ext <<_ACEOF
5900
 
/* end confdefs.h.  */
5901
 
#include <ac_nonexistent.h>
5902
 
_ACEOF
5903
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5904
 
case "(($ac_try" in
5905
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5906
 
  *) ac_try_echo=$ac_try;;
5907
 
esac
5908
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5909
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5910
 
  ac_status=$?
5911
 
  grep -v '^ *+' conftest.er1 >conftest.err
5912
 
  rm -f conftest.er1
5913
 
  cat conftest.err >&5
5914
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915
 
  (exit $ac_status); } >/dev/null && {
5916
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5917
 
         test ! -s conftest.err
5918
 
       }; then
5919
 
  # Broken: success on invalid input.
5920
 
continue
5921
 
else
5922
 
  echo "$as_me: failed program was:" >&5
5923
 
sed 's/^/| /' conftest.$ac_ext >&5
5924
 
 
5925
 
  # Passes both tests.
5926
 
ac_preproc_ok=:
5927
 
break
5928
 
fi
5929
 
 
5930
 
rm -f conftest.err conftest.$ac_ext
5931
 
 
5932
 
done
5933
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5934
 
rm -f conftest.err conftest.$ac_ext
5935
 
if $ac_preproc_ok; then
5936
 
  :
5937
 
else
5938
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5939
 
See \`config.log' for more details." >&5
5940
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5941
 
See \`config.log' for more details." >&2;}
5942
 
   { (exit 1); exit 1; }; }
5943
 
fi
5944
 
 
5945
 
ac_ext=cpp
5946
 
ac_cpp='$CXXCPP $CPPFLAGS'
5947
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5948
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5949
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5950
 
 
5951
 
fi
5952
 
 
5953
 
ac_ext=f
5954
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5955
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5956
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5957
 
if test -n "$ac_tool_prefix"; then
5958
 
  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
5959
 
  do
5960
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5961
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5962
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5963
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5964
 
if test "${ac_cv_prog_F77+set}" = set; then
5965
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5966
 
else
5967
 
  if test -n "$F77"; then
5968
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
5969
 
else
5970
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971
 
for as_dir in $PATH
5972
 
do
5973
 
  IFS=$as_save_IFS
5974
 
  test -z "$as_dir" && as_dir=.
5975
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5976
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5977
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5978
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5979
 
    break 2
5980
 
  fi
5981
 
done
5982
 
done
5983
 
IFS=$as_save_IFS
5984
 
 
5985
 
fi
5986
 
fi
5987
 
F77=$ac_cv_prog_F77
5988
 
if test -n "$F77"; then
5989
 
  { echo "$as_me:$LINENO: result: $F77" >&5
5990
 
echo "${ECHO_T}$F77" >&6; }
5991
 
else
5992
 
  { echo "$as_me:$LINENO: result: no" >&5
5993
 
echo "${ECHO_T}no" >&6; }
5994
 
fi
5995
 
 
5996
 
 
5997
 
    test -n "$F77" && break
5998
 
  done
5999
 
fi
6000
 
if test -z "$F77"; then
6001
 
  ac_ct_F77=$F77
6002
 
  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
6003
 
do
6004
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6005
 
set dummy $ac_prog; ac_word=$2
6006
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6007
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6008
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6009
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6010
 
else
6011
 
  if test -n "$ac_ct_F77"; then
6012
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6013
 
else
6014
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015
 
for as_dir in $PATH
6016
 
do
6017
 
  IFS=$as_save_IFS
6018
 
  test -z "$as_dir" && as_dir=.
6019
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6020
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6021
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
6022
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6023
 
    break 2
6024
 
  fi
6025
 
done
6026
 
done
6027
 
IFS=$as_save_IFS
6028
 
 
6029
 
fi
6030
 
fi
6031
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6032
 
if test -n "$ac_ct_F77"; then
6033
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6034
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
6035
 
else
6036
 
  { echo "$as_me:$LINENO: result: no" >&5
6037
 
echo "${ECHO_T}no" >&6; }
6038
 
fi
6039
 
 
6040
 
 
6041
 
  test -n "$ac_ct_F77" && break
6042
 
done
6043
 
 
6044
 
  if test "x$ac_ct_F77" = x; then
6045
 
    F77=""
6046
 
  else
6047
 
    case $cross_compiling:$ac_tool_warned in
6048
 
yes:)
6049
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6050
 
whose name does not start with the host triplet.  If you think this
6051
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6052
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6053
 
whose name does not start with the host triplet.  If you think this
6054
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6055
 
ac_tool_warned=yes ;;
6056
 
esac
6057
 
    F77=$ac_ct_F77
6058
 
  fi
6059
 
fi
6060
 
 
6061
 
 
6062
 
# Provide some information about the compiler.
6063
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6064
 
ac_compiler=`set X $ac_compile; echo $2`
6065
 
{ (ac_try="$ac_compiler --version >&5"
6066
 
case "(($ac_try" in
6067
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6068
 
  *) ac_try_echo=$ac_try;;
6069
 
esac
6070
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6071
 
  (eval "$ac_compiler --version >&5") 2>&5
6072
 
  ac_status=$?
6073
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074
 
  (exit $ac_status); }
6075
 
{ (ac_try="$ac_compiler -v >&5"
6076
 
case "(($ac_try" in
6077
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6078
 
  *) ac_try_echo=$ac_try;;
6079
 
esac
6080
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6081
 
  (eval "$ac_compiler -v >&5") 2>&5
6082
 
  ac_status=$?
6083
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084
 
  (exit $ac_status); }
6085
 
{ (ac_try="$ac_compiler -V >&5"
6086
 
case "(($ac_try" in
6087
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6088
 
  *) ac_try_echo=$ac_try;;
6089
 
esac
6090
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6091
 
  (eval "$ac_compiler -V >&5") 2>&5
6092
 
  ac_status=$?
6093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094
 
  (exit $ac_status); }
6095
 
rm -f a.out
6096
 
 
6097
 
# If we don't use `.F' as extension, the preprocessor is not run on the
6098
 
# input file.  (Note that this only needs to work for GNU compilers.)
6099
 
ac_save_ext=$ac_ext
6100
 
ac_ext=F
6101
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6102
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6103
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6104
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6105
 
else
6106
 
  cat >conftest.$ac_ext <<_ACEOF
6107
 
      program main
6108
 
#ifndef __GNUC__
6109
 
       choke me
6110
 
#endif
6111
 
 
6112
 
      end
6113
 
_ACEOF
6114
 
rm -f conftest.$ac_objext
6115
 
if { (ac_try="$ac_compile"
6116
 
case "(($ac_try" in
6117
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6118
 
  *) ac_try_echo=$ac_try;;
6119
 
esac
6120
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6121
 
  (eval "$ac_compile") 2>conftest.er1
6122
 
  ac_status=$?
6123
 
  grep -v '^ *+' conftest.er1 >conftest.err
6124
 
  rm -f conftest.er1
6125
 
  cat conftest.err >&5
6126
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127
 
  (exit $ac_status); } && {
6128
 
         test -z "$ac_f77_werror_flag" ||
6129
 
         test ! -s conftest.err
6130
 
       } && test -s conftest.$ac_objext; then
6131
 
  ac_compiler_gnu=yes
6132
 
else
6133
 
  echo "$as_me: failed program was:" >&5
6134
 
sed 's/^/| /' conftest.$ac_ext >&5
6135
 
 
6136
 
        ac_compiler_gnu=no
6137
 
fi
6138
 
 
6139
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6140
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6141
 
 
6142
 
fi
6143
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6144
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6145
 
ac_ext=$ac_save_ext
6146
 
ac_test_FFLAGS=${FFLAGS+set}
6147
 
ac_save_FFLAGS=$FFLAGS
6148
 
FFLAGS=
6149
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6150
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6151
 
if test "${ac_cv_prog_f77_g+set}" = set; then
6152
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6153
 
else
6154
 
  FFLAGS=-g
6155
 
cat >conftest.$ac_ext <<_ACEOF
6156
 
      program main
6157
 
 
6158
 
      end
6159
 
_ACEOF
6160
 
rm -f conftest.$ac_objext
6161
 
if { (ac_try="$ac_compile"
6162
 
case "(($ac_try" in
6163
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6164
 
  *) ac_try_echo=$ac_try;;
6165
 
esac
6166
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6167
 
  (eval "$ac_compile") 2>conftest.er1
6168
 
  ac_status=$?
6169
 
  grep -v '^ *+' conftest.er1 >conftest.err
6170
 
  rm -f conftest.er1
6171
 
  cat conftest.err >&5
6172
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173
 
  (exit $ac_status); } && {
6174
 
         test -z "$ac_f77_werror_flag" ||
6175
 
         test ! -s conftest.err
6176
 
       } && test -s conftest.$ac_objext; then
6177
 
  ac_cv_prog_f77_g=yes
6178
 
else
6179
 
  echo "$as_me: failed program was:" >&5
6180
 
sed 's/^/| /' conftest.$ac_ext >&5
6181
 
 
6182
 
        ac_cv_prog_f77_g=no
6183
 
fi
6184
 
 
6185
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6186
 
 
6187
 
fi
6188
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6189
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6190
 
if test "$ac_test_FFLAGS" = set; then
6191
 
  FFLAGS=$ac_save_FFLAGS
6192
 
elif test $ac_cv_prog_f77_g = yes; then
6193
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6194
 
    FFLAGS="-g -O2"
6195
 
  else
6196
 
    FFLAGS="-g"
6197
 
  fi
6198
 
else
6199
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6200
 
    FFLAGS="-O2"
6201
 
  else
6202
 
    FFLAGS=
6203
 
  fi
6204
 
fi
6205
 
 
6206
 
G77=`test $ac_compiler_gnu = yes && echo yes`
6207
 
ac_ext=cpp
6208
 
ac_cpp='$CXXCPP $CPPFLAGS'
6209
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6210
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6211
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6212
 
 
6213
 
 
6214
 
 
6215
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6216
 
# find the maximum length of command line arguments
6217
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6218
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6219
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6220
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6221
 
else
6222
 
    i=0
6223
 
  teststring="ABCD"
6224
 
 
6225
 
  case $build_os in
6226
 
  msdosdjgpp*)
6227
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6228
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6229
 
    # during glob expansion).  Even if it were fixed, the result of this
6230
 
    # check would be larger than it should be.
6231
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6232
 
    ;;
6233
 
 
6234
 
  gnu*)
6235
 
    # Under GNU Hurd, this test is not required because there is
6236
 
    # no limit to the length of command line arguments.
6237
 
    # Libtool will interpret -1 as no limit whatsoever
6238
 
    lt_cv_sys_max_cmd_len=-1;
6239
 
    ;;
6240
 
 
6241
 
  cygwin* | mingw*)
6242
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6243
 
    # about 5 minutes as the teststring grows exponentially.
6244
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6245
 
    # you end up with a "frozen" computer, even though with patience
6246
 
    # the test eventually succeeds (with a max line length of 256k).
6247
 
    # Instead, let's just punt: use the minimum linelength reported by
6248
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6249
 
    lt_cv_sys_max_cmd_len=8192;
6250
 
    ;;
6251
 
 
6252
 
  amigaos*)
6253
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6254
 
    # So we just punt and use a minimum line length of 8192.
6255
 
    lt_cv_sys_max_cmd_len=8192;
6256
 
    ;;
6257
 
 
6258
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6259
 
    # This has been around since 386BSD, at least.  Likely further.
6260
 
    if test -x /sbin/sysctl; then
6261
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6262
 
    elif test -x /usr/sbin/sysctl; then
6263
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6264
 
    else
6265
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6266
 
    fi
6267
 
    # And add a safety zone
6268
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6269
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6270
 
    ;;
6271
 
 
6272
 
  interix*)
6273
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6274
 
    lt_cv_sys_max_cmd_len=196608
6275
 
    ;;
6276
 
 
6277
 
  osf*)
6278
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6279
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6280
 
    # nice to cause kernel panics so lets avoid the loop below.
6281
 
    # First set a reasonable default.
6282
 
    lt_cv_sys_max_cmd_len=16384
6283
 
    #
6284
 
    if test -x /sbin/sysconfig; then
6285
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6286
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6287
 
      esac
6288
 
    fi
6289
 
    ;;
6290
 
  sco3.2v5*)
6291
 
    lt_cv_sys_max_cmd_len=102400
6292
 
    ;;
6293
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6294
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6295
 
    if test -n "$kargmax"; then
6296
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
6297
 
    else
6298
 
      lt_cv_sys_max_cmd_len=32768
6299
 
    fi
6300
 
    ;;
6301
 
  *)
6302
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6303
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
6304
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6305
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6306
 
    else
6307
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6308
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6309
 
               = "XX$teststring") >/dev/null 2>&1 &&
6310
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
6311
 
              lt_cv_sys_max_cmd_len=$new_result &&
6312
 
              test $i != 17 # 1/2 MB should be enough
6313
 
      do
6314
 
        i=`expr $i + 1`
6315
 
        teststring=$teststring$teststring
6316
 
      done
6317
 
      teststring=
6318
 
      # Add a significant safety factor because C++ compilers can tack on massive
6319
 
      # amounts of additional arguments before passing them to the linker.
6320
 
      # It appears as though 1/2 is a usable value.
6321
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6322
 
    fi
6323
 
    ;;
6324
 
  esac
6325
 
 
6326
 
fi
6327
 
 
6328
 
if test -n $lt_cv_sys_max_cmd_len ; then
6329
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6330
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6331
 
else
6332
 
  { echo "$as_me:$LINENO: result: none" >&5
6333
 
echo "${ECHO_T}none" >&6; }
6334
 
fi
6335
 
 
6336
 
 
6337
 
 
6338
 
 
6339
 
 
6340
5915
# Check for command to grab the raw symbol name followed by C symbol from nm.
6341
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6342
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
 
5916
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
5917
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6343
5918
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6344
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5919
  $as_echo_n "(cached) " >&6
6345
5920
else
6346
5921
 
6347
5922
# These are sane defaults that work on at least a few old systems.
6353
5928
# Regexp to match symbols that can be accessed directly from C.
6354
5929
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6355
5930
 
6356
 
# Transform an extracted symbol line into a proper C declaration
6357
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6358
 
 
6359
 
# Transform an extracted symbol line into symbol name and symbol address
6360
 
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'"
6361
 
 
6362
5931
# Define system-specific variables.
6363
5932
case $host_os in
6364
5933
aix*)
6365
5934
  symcode='[BCDT]'
6366
5935
  ;;
6367
 
cygwin* | mingw* | pw32*)
 
5936
cygwin* | mingw* | pw32* | cegcc*)
6368
5937
  symcode='[ABCDGISTW]'
6369
5938
  ;;
6370
 
hpux*) # Its linker distinguishes data from code symbols
 
5939
hpux*)
6371
5940
  if test "$host_cpu" = ia64; then
6372
5941
    symcode='[ABCDEGRST]'
6373
5942
  fi
6374
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6375
 
  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'"
6376
 
  ;;
6377
 
linux* | k*bsd*-gnu)
6378
 
  if test "$host_cpu" = ia64; then
6379
 
    symcode='[ABCDGIRSTW]'
6380
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6381
 
    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'"
6382
 
  fi
6383
5943
  ;;
6384
5944
irix* | nonstopux*)
6385
5945
  symcode='[BCDEGRST]'
6404
5964
  ;;
6405
5965
esac
6406
5966
 
 
5967
# If we're using GNU nm, then use its standard symbol codes.
 
5968
case `$NM -V 2>&1` in
 
5969
*GNU* | *'with BFD'*)
 
5970
  symcode='[ABCDGIRSTW]' ;;
 
5971
esac
 
5972
 
 
5973
# Transform an extracted symbol line into a proper C declaration.
 
5974
# Some systems (esp. on ia64) link data and code symbols differently,
 
5975
# so use this general approach.
 
5976
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
5977
 
 
5978
# Transform an extracted symbol line into symbol name and symbol address
 
5979
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5980
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'"
 
5981
 
6407
5982
# Handle CRLF in mingw tool chain
6408
5983
opt_cr=
6409
5984
case $build_os in
6410
5985
mingw*)
6411
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
5986
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6412
5987
  ;;
6413
5988
esac
6414
5989
 
6415
 
# If we're using GNU nm, then use its standard symbol codes.
6416
 
case `$NM -V 2>&1` in
6417
 
*GNU* | *'with BFD'*)
6418
 
  symcode='[ABCDGIRSTW]' ;;
6419
 
esac
6420
 
 
6421
 
# Try without a prefix undercore, then with it.
 
5990
# Try without a prefix underscore, then with it.
6422
5991
for ac_symprfx in "" "_"; do
6423
5992
 
6424
5993
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6425
5994
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6426
5995
 
6427
5996
  # Write the raw and C identifiers.
6428
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5997
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
5998
    # Fake it for dumpbin and say T for any non-static function
 
5999
    # and D for any global variable.
 
6000
    # Also find C++ and __fastcall symbols from MSVC++,
 
6001
    # which start with @ or ?.
 
6002
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
6003
"     {last_section=section; section=\$ 3};"\
 
6004
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
6005
"     \$ 0!~/External *\|/{next};"\
 
6006
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
6007
"     {if(hide[section]) next};"\
 
6008
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
6009
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
6010
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
6011
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
6012
"     ' prfx=^$ac_symprfx"
 
6013
  else
 
6014
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6015
  fi
6429
6016
 
6430
6017
  # Check to see that the pipe works correctly.
6431
6018
  pipe_works=no
6432
6019
 
6433
6020
  rm -f conftest*
6434
 
  cat > conftest.$ac_ext <<EOF
 
6021
  cat > conftest.$ac_ext <<_LT_EOF
6435
6022
#ifdef __cplusplus
6436
6023
extern "C" {
6437
6024
#endif
6438
6025
char nm_test_var;
6439
 
void nm_test_func(){}
 
6026
void nm_test_func(void);
 
6027
void nm_test_func(void){}
6440
6028
#ifdef __cplusplus
6441
6029
}
6442
6030
#endif
6443
6031
int main(){nm_test_var='a';nm_test_func();return(0);}
6444
 
EOF
 
6032
_LT_EOF
6445
6033
 
6446
6034
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6447
6035
  (eval $ac_compile) 2>&5
6448
6036
  ac_status=$?
6449
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6037
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6450
6038
  (exit $ac_status); }; then
6451
6039
    # Now try to grab the symbols.
6452
6040
    nlist=conftest.nm
6453
6041
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6454
6042
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6455
6043
  ac_status=$?
6456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6044
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457
6045
  (exit $ac_status); } && test -s "$nlist"; then
6458
6046
      # Try sorting and uniquifying the output.
6459
6047
      if sort "$nlist" | uniq > "$nlist"T; then
6463
6051
      fi
6464
6052
 
6465
6053
      # Make sure that we snagged all the symbols we need.
6466
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6467
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
6468
 
          cat <<EOF > conftest.$ac_ext
 
6054
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
6055
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
6056
          cat <<_LT_EOF > conftest.$ac_ext
6469
6057
#ifdef __cplusplus
6470
6058
extern "C" {
6471
6059
#endif
6472
6060
 
6473
 
EOF
 
6061
_LT_EOF
6474
6062
          # Now generate the symbol file.
6475
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6476
 
 
6477
 
          cat <<EOF >> conftest.$ac_ext
6478
 
#if defined (__STDC__) && __STDC__
6479
 
# define lt_ptr_t void *
6480
 
#else
6481
 
# define lt_ptr_t char *
6482
 
# define const
6483
 
#endif
6484
 
 
6485
 
/* The mapping between symbol names and symbols. */
 
6063
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
6064
 
 
6065
          cat <<_LT_EOF >> conftest.$ac_ext
 
6066
 
 
6067
/* The mapping between symbol names and symbols.  */
6486
6068
const struct {
6487
6069
  const char *name;
6488
 
  lt_ptr_t address;
 
6070
  void       *address;
6489
6071
}
6490
 
lt_preloaded_symbols[] =
 
6072
lt__PROGRAM__LTX_preloaded_symbols[] =
6491
6073
{
6492
 
EOF
6493
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6494
 
          cat <<\EOF >> conftest.$ac_ext
6495
 
  {0, (lt_ptr_t) 0}
 
6074
  { "@PROGRAM@", (void *) 0 },
 
6075
_LT_EOF
 
6076
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
6077
          cat <<\_LT_EOF >> conftest.$ac_ext
 
6078
  {0, (void *) 0}
6496
6079
};
6497
6080
 
 
6081
/* This works around a problem in FreeBSD linker */
 
6082
#ifdef FREEBSD_WORKAROUND
 
6083
static const void *lt_preloaded_setup() {
 
6084
  return lt__PROGRAM__LTX_preloaded_symbols;
 
6085
}
 
6086
#endif
 
6087
 
6498
6088
#ifdef __cplusplus
6499
6089
}
6500
6090
#endif
6501
 
EOF
 
6091
_LT_EOF
6502
6092
          # Now try linking the two files.
6503
6093
          mv conftest.$ac_objext conftstm.$ac_objext
6504
6094
          lt_save_LIBS="$LIBS"
6508
6098
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6509
6099
  (eval $ac_link) 2>&5
6510
6100
  ac_status=$?
6511
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6101
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512
6102
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6513
6103
            pipe_works=yes
6514
6104
          fi
6543
6133
  lt_cv_sys_global_symbol_to_cdecl=
6544
6134
fi
6545
6135
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6546
 
  { echo "$as_me:$LINENO: result: failed" >&5
6547
 
echo "${ECHO_T}failed" >&6; }
6548
 
else
6549
 
  { echo "$as_me:$LINENO: result: ok" >&5
6550
 
echo "${ECHO_T}ok" >&6; }
6551
 
fi
6552
 
 
6553
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
6554
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6555
 
if test "${lt_cv_objdir+set}" = set; then
6556
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6557
 
else
6558
 
  rm -f .libs 2>/dev/null
6559
 
mkdir .libs 2>/dev/null
6560
 
if test -d .libs; then
6561
 
  lt_cv_objdir=.libs
6562
 
else
6563
 
  # MS-DOS does not allow filenames that begin with a dot.
6564
 
  lt_cv_objdir=_libs
6565
 
fi
6566
 
rmdir .libs 2>/dev/null
6567
 
fi
6568
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6569
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6570
 
objdir=$lt_cv_objdir
6571
 
 
6572
 
 
6573
 
 
6574
 
 
6575
 
 
6576
 
case $host_os in
6577
 
aix3*)
6578
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
6579
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
6580
 
  # vanish in a puff of smoke.
6581
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
6582
 
    COLLECT_NAMES=
6583
 
    export COLLECT_NAMES
6584
 
  fi
6585
 
  ;;
6586
 
esac
6587
 
 
6588
 
# Sed substitution that helps us do robust quoting.  It backslashifies
6589
 
# metacharacters that are still active within double-quoted strings.
6590
 
Xsed='sed -e 1s/^X//'
6591
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6592
 
 
6593
 
# Same as above, but do not quote variable references.
6594
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6595
 
 
6596
 
# Sed substitution to delay expansion of an escaped shell variable in a
6597
 
# double_quote_subst'ed string.
6598
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6599
 
 
6600
 
# Sed substitution to avoid accidental globbing in evaled expressions
6601
 
no_glob_subst='s/\*/\\\*/g'
6602
 
 
6603
 
# Constants:
6604
 
rm="rm -f"
6605
 
 
6606
 
# Global variables:
6607
 
default_ofile=libtool
6608
 
can_build_shared=yes
6609
 
 
6610
 
# All known linkers require a `.a' archive for static linking (except MSVC,
6611
 
# which needs '.lib').
6612
 
libext=a
6613
 
ltmain="$ac_aux_dir/ltmain.sh"
6614
 
ofile="$default_ofile"
6615
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
6616
 
 
6617
 
if test -n "$ac_tool_prefix"; then
6618
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6619
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6620
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6621
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6622
 
if test "${ac_cv_prog_AR+set}" = set; then
6623
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6624
 
else
6625
 
  if test -n "$AR"; then
6626
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6627
 
else
6628
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629
 
for as_dir in $PATH
6630
 
do
6631
 
  IFS=$as_save_IFS
6632
 
  test -z "$as_dir" && as_dir=.
6633
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6634
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6635
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6636
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6637
 
    break 2
6638
 
  fi
6639
 
done
6640
 
done
6641
 
IFS=$as_save_IFS
6642
 
 
6643
 
fi
6644
 
fi
6645
 
AR=$ac_cv_prog_AR
6646
 
if test -n "$AR"; then
6647
 
  { echo "$as_me:$LINENO: result: $AR" >&5
6648
 
echo "${ECHO_T}$AR" >&6; }
6649
 
else
6650
 
  { echo "$as_me:$LINENO: result: no" >&5
6651
 
echo "${ECHO_T}no" >&6; }
6652
 
fi
6653
 
 
6654
 
 
6655
 
fi
6656
 
if test -z "$ac_cv_prog_AR"; then
6657
 
  ac_ct_AR=$AR
6658
 
  # Extract the first word of "ar", so it can be a program name with args.
6659
 
set dummy ar; ac_word=$2
6660
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6661
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6662
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6663
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6664
 
else
6665
 
  if test -n "$ac_ct_AR"; then
6666
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6667
 
else
6668
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669
 
for as_dir in $PATH
6670
 
do
6671
 
  IFS=$as_save_IFS
6672
 
  test -z "$as_dir" && as_dir=.
6673
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6674
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6675
 
    ac_cv_prog_ac_ct_AR="ar"
6676
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6677
 
    break 2
6678
 
  fi
6679
 
done
6680
 
done
6681
 
IFS=$as_save_IFS
6682
 
 
6683
 
fi
6684
 
fi
6685
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6686
 
if test -n "$ac_ct_AR"; then
6687
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6688
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
6689
 
else
6690
 
  { echo "$as_me:$LINENO: result: no" >&5
6691
 
echo "${ECHO_T}no" >&6; }
6692
 
fi
6693
 
 
6694
 
  if test "x$ac_ct_AR" = x; then
6695
 
    AR="false"
6696
 
  else
6697
 
    case $cross_compiling:$ac_tool_warned in
6698
 
yes:)
6699
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6700
 
whose name does not start with the host triplet.  If you think this
6701
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6702
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6703
 
whose name does not start with the host triplet.  If you think this
6704
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6705
 
ac_tool_warned=yes ;;
6706
 
esac
6707
 
    AR=$ac_ct_AR
6708
 
  fi
6709
 
else
6710
 
  AR="$ac_cv_prog_AR"
6711
 
fi
6712
 
 
6713
 
if test -n "$ac_tool_prefix"; then
6714
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6715
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6716
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6717
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6718
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
6719
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6720
 
else
6721
 
  if test -n "$RANLIB"; then
6722
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6723
 
else
6724
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6725
 
for as_dir in $PATH
6726
 
do
6727
 
  IFS=$as_save_IFS
6728
 
  test -z "$as_dir" && as_dir=.
6729
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6730
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6731
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6732
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6733
 
    break 2
6734
 
  fi
6735
 
done
6736
 
done
6737
 
IFS=$as_save_IFS
6738
 
 
6739
 
fi
6740
 
fi
6741
 
RANLIB=$ac_cv_prog_RANLIB
6742
 
if test -n "$RANLIB"; then
6743
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
6744
 
echo "${ECHO_T}$RANLIB" >&6; }
6745
 
else
6746
 
  { echo "$as_me:$LINENO: result: no" >&5
6747
 
echo "${ECHO_T}no" >&6; }
6748
 
fi
6749
 
 
6750
 
 
6751
 
fi
6752
 
if test -z "$ac_cv_prog_RANLIB"; then
6753
 
  ac_ct_RANLIB=$RANLIB
6754
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6755
 
set dummy ranlib; ac_word=$2
6756
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6757
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6758
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6759
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6760
 
else
6761
 
  if test -n "$ac_ct_RANLIB"; then
6762
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6763
 
else
6764
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6765
 
for as_dir in $PATH
6766
 
do
6767
 
  IFS=$as_save_IFS
6768
 
  test -z "$as_dir" && as_dir=.
6769
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6770
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6771
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6772
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6773
 
    break 2
6774
 
  fi
6775
 
done
6776
 
done
6777
 
IFS=$as_save_IFS
6778
 
 
6779
 
fi
6780
 
fi
6781
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6782
 
if test -n "$ac_ct_RANLIB"; then
6783
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6784
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6785
 
else
6786
 
  { echo "$as_me:$LINENO: result: no" >&5
6787
 
echo "${ECHO_T}no" >&6; }
6788
 
fi
6789
 
 
6790
 
  if test "x$ac_ct_RANLIB" = x; then
6791
 
    RANLIB=":"
6792
 
  else
6793
 
    case $cross_compiling:$ac_tool_warned in
6794
 
yes:)
6795
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6796
 
whose name does not start with the host triplet.  If you think this
6797
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6798
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6799
 
whose name does not start with the host triplet.  If you think this
6800
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6801
 
ac_tool_warned=yes ;;
6802
 
esac
6803
 
    RANLIB=$ac_ct_RANLIB
6804
 
  fi
6805
 
else
6806
 
  RANLIB="$ac_cv_prog_RANLIB"
6807
 
fi
6808
 
 
6809
 
if test -n "$ac_tool_prefix"; then
6810
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6811
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6812
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6813
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6814
 
if test "${ac_cv_prog_STRIP+set}" = set; then
6815
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6816
 
else
6817
 
  if test -n "$STRIP"; then
6818
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6819
 
else
6820
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6821
 
for as_dir in $PATH
6822
 
do
6823
 
  IFS=$as_save_IFS
6824
 
  test -z "$as_dir" && as_dir=.
6825
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6826
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6827
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6828
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6829
 
    break 2
6830
 
  fi
6831
 
done
6832
 
done
6833
 
IFS=$as_save_IFS
6834
 
 
6835
 
fi
6836
 
fi
6837
 
STRIP=$ac_cv_prog_STRIP
6838
 
if test -n "$STRIP"; then
6839
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
6840
 
echo "${ECHO_T}$STRIP" >&6; }
6841
 
else
6842
 
  { echo "$as_me:$LINENO: result: no" >&5
6843
 
echo "${ECHO_T}no" >&6; }
6844
 
fi
6845
 
 
6846
 
 
6847
 
fi
6848
 
if test -z "$ac_cv_prog_STRIP"; then
6849
 
  ac_ct_STRIP=$STRIP
6850
 
  # Extract the first word of "strip", so it can be a program name with args.
6851
 
set dummy strip; ac_word=$2
6852
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6853
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6854
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6855
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6856
 
else
6857
 
  if test -n "$ac_ct_STRIP"; then
6858
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6859
 
else
6860
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6861
 
for as_dir in $PATH
6862
 
do
6863
 
  IFS=$as_save_IFS
6864
 
  test -z "$as_dir" && as_dir=.
6865
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6866
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6867
 
    ac_cv_prog_ac_ct_STRIP="strip"
6868
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6869
 
    break 2
6870
 
  fi
6871
 
done
6872
 
done
6873
 
IFS=$as_save_IFS
6874
 
 
6875
 
fi
6876
 
fi
6877
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6878
 
if test -n "$ac_ct_STRIP"; then
6879
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6880
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6881
 
else
6882
 
  { echo "$as_me:$LINENO: result: no" >&5
6883
 
echo "${ECHO_T}no" >&6; }
6884
 
fi
6885
 
 
6886
 
  if test "x$ac_ct_STRIP" = x; then
6887
 
    STRIP=":"
6888
 
  else
6889
 
    case $cross_compiling:$ac_tool_warned in
6890
 
yes:)
6891
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6892
 
whose name does not start with the host triplet.  If you think this
6893
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6894
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6895
 
whose name does not start with the host triplet.  If you think this
6896
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6897
 
ac_tool_warned=yes ;;
6898
 
esac
6899
 
    STRIP=$ac_ct_STRIP
6900
 
  fi
6901
 
else
6902
 
  STRIP="$ac_cv_prog_STRIP"
6903
 
fi
6904
 
 
6905
 
 
6906
 
old_CC="$CC"
6907
 
old_CFLAGS="$CFLAGS"
6908
 
 
6909
 
# Set sane defaults for various variables
6910
 
test -z "$AR" && AR=ar
6911
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6912
 
test -z "$AS" && AS=as
6913
 
test -z "$CC" && CC=cc
6914
 
test -z "$LTCC" && LTCC=$CC
6915
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6916
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
6917
 
test -z "$LD" && LD=ld
6918
 
test -z "$LN_S" && LN_S="ln -s"
6919
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
6920
 
test -z "$NM" && NM=nm
6921
 
test -z "$SED" && SED=sed
6922
 
test -z "$OBJDUMP" && OBJDUMP=objdump
6923
 
test -z "$RANLIB" && RANLIB=:
6924
 
test -z "$STRIP" && STRIP=:
6925
 
test -z "$ac_objext" && ac_objext=o
6926
 
 
6927
 
# Determine commands to create old-style static archives.
6928
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6929
 
old_postinstall_cmds='chmod 644 $oldlib'
6930
 
old_postuninstall_cmds=
6931
 
 
6932
 
if test -n "$RANLIB"; then
6933
 
  case $host_os in
6934
 
  openbsd*)
6935
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6936
 
    ;;
6937
 
  *)
6938
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6939
 
    ;;
6940
 
  esac
6941
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6942
 
fi
6943
 
 
6944
 
for cc_temp in $compiler""; do
6945
 
  case $cc_temp in
6946
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6947
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6948
 
    \-*) ;;
6949
 
    *) break;;
6950
 
  esac
6951
 
done
6952
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6953
 
 
6954
 
 
6955
 
# Only perform the check for file, if the check method requires it
6956
 
case $deplibs_check_method in
6957
 
file_magic*)
6958
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6959
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6960
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6961
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6962
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6963
 
else
6964
 
  case $MAGIC_CMD in
6965
 
[\\/*] |  ?:[\\/]*)
6966
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6967
 
  ;;
6968
 
*)
6969
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
6970
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6971
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6972
 
  for ac_dir in $ac_dummy; do
6973
 
    IFS="$lt_save_ifs"
6974
 
    test -z "$ac_dir" && ac_dir=.
6975
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
6976
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6977
 
      if test -n "$file_magic_test_file"; then
6978
 
        case $deplibs_check_method in
6979
 
        "file_magic "*)
6980
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6981
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6982
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6983
 
            $EGREP "$file_magic_regex" > /dev/null; then
6984
 
            :
6985
 
          else
6986
 
            cat <<EOF 1>&2
6987
 
 
6988
 
*** Warning: the command libtool uses to detect shared libraries,
6989
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
6990
 
*** The result is that libtool may fail to recognize shared libraries
6991
 
*** as such.  This will affect the creation of libtool libraries that
6992
 
*** depend on shared libraries, but programs linked with such libtool
6993
 
*** libraries will work regardless of this problem.  Nevertheless, you
6994
 
*** may want to report the problem to your system manager and/or to
6995
 
*** bug-libtool@gnu.org
6996
 
 
6997
 
EOF
6998
 
          fi ;;
6999
 
        esac
7000
 
      fi
7001
 
      break
7002
 
    fi
7003
 
  done
7004
 
  IFS="$lt_save_ifs"
7005
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7006
 
  ;;
7007
 
esac
7008
 
fi
7009
 
 
7010
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7011
 
if test -n "$MAGIC_CMD"; then
7012
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7013
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7014
 
else
7015
 
  { echo "$as_me:$LINENO: result: no" >&5
7016
 
echo "${ECHO_T}no" >&6; }
7017
 
fi
7018
 
 
7019
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
7020
 
  if test -n "$ac_tool_prefix"; then
7021
 
    { echo "$as_me:$LINENO: checking for file" >&5
7022
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7023
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7024
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7025
 
else
7026
 
  case $MAGIC_CMD in
7027
 
[\\/*] |  ?:[\\/]*)
7028
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7029
 
  ;;
7030
 
*)
7031
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7032
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7033
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7034
 
  for ac_dir in $ac_dummy; do
7035
 
    IFS="$lt_save_ifs"
7036
 
    test -z "$ac_dir" && ac_dir=.
7037
 
    if test -f $ac_dir/file; then
7038
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7039
 
      if test -n "$file_magic_test_file"; then
7040
 
        case $deplibs_check_method in
7041
 
        "file_magic "*)
7042
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7043
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7044
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7045
 
            $EGREP "$file_magic_regex" > /dev/null; then
7046
 
            :
7047
 
          else
7048
 
            cat <<EOF 1>&2
7049
 
 
7050
 
*** Warning: the command libtool uses to detect shared libraries,
7051
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7052
 
*** The result is that libtool may fail to recognize shared libraries
7053
 
*** as such.  This will affect the creation of libtool libraries that
7054
 
*** depend on shared libraries, but programs linked with such libtool
7055
 
*** libraries will work regardless of this problem.  Nevertheless, you
7056
 
*** may want to report the problem to your system manager and/or to
7057
 
*** bug-libtool@gnu.org
7058
 
 
7059
 
EOF
7060
 
          fi ;;
7061
 
        esac
7062
 
      fi
7063
 
      break
7064
 
    fi
7065
 
  done
7066
 
  IFS="$lt_save_ifs"
7067
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7068
 
  ;;
7069
 
esac
7070
 
fi
7071
 
 
7072
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7073
 
if test -n "$MAGIC_CMD"; then
7074
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7075
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7076
 
else
7077
 
  { echo "$as_me:$LINENO: result: no" >&5
7078
 
echo "${ECHO_T}no" >&6; }
7079
 
fi
7080
 
 
7081
 
  else
7082
 
    MAGIC_CMD=:
7083
 
  fi
7084
 
fi
7085
 
 
7086
 
  fi
7087
 
  ;;
7088
 
esac
 
6136
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6137
$as_echo "failed" >&6; }
 
6138
else
 
6139
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6140
$as_echo "ok" >&6; }
 
6141
fi
 
6142
 
 
6143
 
 
6144
 
 
6145
 
 
6146
 
 
6147
 
 
6148
 
 
6149
 
 
6150
 
 
6151
 
 
6152
 
 
6153
 
 
6154
 
 
6155
 
 
6156
 
 
6157
 
 
6158
 
 
6159
 
 
6160
 
 
6161
 
 
6162
 
 
6163
 
 
6164
 
 
6165
# Check whether --enable-libtool-lock was given.
 
6166
if test "${enable_libtool_lock+set}" = set; then
 
6167
  enableval=$enable_libtool_lock;
 
6168
fi
 
6169
 
 
6170
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6171
 
 
6172
# Some flags need to be propagated to the compiler or linker for good
 
6173
# libtool support.
 
6174
case $host in
 
6175
ia64-*-hpux*)
 
6176
  # Find out which ABI we are using.
 
6177
  echo 'int i;' > conftest.$ac_ext
 
6178
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6179
  (eval $ac_compile) 2>&5
 
6180
  ac_status=$?
 
6181
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6182
  (exit $ac_status); }; then
 
6183
    case `/usr/bin/file conftest.$ac_objext` in
 
6184
      *ELF-32*)
 
6185
        HPUX_IA64_MODE="32"
 
6186
        ;;
 
6187
      *ELF-64*)
 
6188
        HPUX_IA64_MODE="64"
 
6189
        ;;
 
6190
    esac
 
6191
  fi
 
6192
  rm -rf conftest*
 
6193
  ;;
 
6194
*-*-irix6*)
 
6195
  # Find out which ABI we are using.
 
6196
  echo '#line 6196 "configure"' > conftest.$ac_ext
 
6197
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6198
  (eval $ac_compile) 2>&5
 
6199
  ac_status=$?
 
6200
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6201
  (exit $ac_status); }; then
 
6202
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
6203
      case `/usr/bin/file conftest.$ac_objext` in
 
6204
        *32-bit*)
 
6205
          LD="${LD-ld} -melf32bsmip"
 
6206
          ;;
 
6207
        *N32*)
 
6208
          LD="${LD-ld} -melf32bmipn32"
 
6209
          ;;
 
6210
        *64-bit*)
 
6211
          LD="${LD-ld} -melf64bmip"
 
6212
        ;;
 
6213
      esac
 
6214
    else
 
6215
      case `/usr/bin/file conftest.$ac_objext` in
 
6216
        *32-bit*)
 
6217
          LD="${LD-ld} -32"
 
6218
          ;;
 
6219
        *N32*)
 
6220
          LD="${LD-ld} -n32"
 
6221
          ;;
 
6222
        *64-bit*)
 
6223
          LD="${LD-ld} -64"
 
6224
          ;;
 
6225
      esac
 
6226
    fi
 
6227
  fi
 
6228
  rm -rf conftest*
 
6229
  ;;
 
6230
 
 
6231
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6232
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6233
  # Find out which ABI we are using.
 
6234
  echo 'int i;' > conftest.$ac_ext
 
6235
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6236
  (eval $ac_compile) 2>&5
 
6237
  ac_status=$?
 
6238
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6239
  (exit $ac_status); }; then
 
6240
    case `/usr/bin/file conftest.o` in
 
6241
      *32-bit*)
 
6242
        case $host in
 
6243
          x86_64-*kfreebsd*-gnu)
 
6244
            LD="${LD-ld} -m elf_i386_fbsd"
 
6245
            ;;
 
6246
          x86_64-*linux*)
 
6247
            LD="${LD-ld} -m elf_i386"
 
6248
            ;;
 
6249
          ppc64-*linux*|powerpc64-*linux*)
 
6250
            LD="${LD-ld} -m elf32ppclinux"
 
6251
            ;;
 
6252
          s390x-*linux*)
 
6253
            LD="${LD-ld} -m elf_s390"
 
6254
            ;;
 
6255
          sparc64-*linux*)
 
6256
            LD="${LD-ld} -m elf32_sparc"
 
6257
            ;;
 
6258
        esac
 
6259
        ;;
 
6260
      *64-bit*)
 
6261
        case $host in
 
6262
          x86_64-*kfreebsd*-gnu)
 
6263
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6264
            ;;
 
6265
          x86_64-*linux*)
 
6266
            LD="${LD-ld} -m elf_x86_64"
 
6267
            ;;
 
6268
          ppc*-*linux*|powerpc*-*linux*)
 
6269
            LD="${LD-ld} -m elf64ppc"
 
6270
            ;;
 
6271
          s390*-*linux*|s390*-*tpf*)
 
6272
            LD="${LD-ld} -m elf64_s390"
 
6273
            ;;
 
6274
          sparc*-*linux*)
 
6275
            LD="${LD-ld} -m elf64_sparc"
 
6276
            ;;
 
6277
        esac
 
6278
        ;;
 
6279
    esac
 
6280
  fi
 
6281
  rm -rf conftest*
 
6282
  ;;
 
6283
 
 
6284
*-*-sco3.2v5*)
 
6285
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6286
  SAVE_CFLAGS="$CFLAGS"
 
6287
  CFLAGS="$CFLAGS -belf"
 
6288
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6289
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6290
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6291
  $as_echo_n "(cached) " >&6
 
6292
else
 
6293
  ac_ext=c
 
6294
ac_cpp='$CPP $CPPFLAGS'
 
6295
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6296
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6297
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6298
 
 
6299
     cat >conftest.$ac_ext <<_ACEOF
 
6300
/* confdefs.h.  */
 
6301
_ACEOF
 
6302
cat confdefs.h >>conftest.$ac_ext
 
6303
cat >>conftest.$ac_ext <<_ACEOF
 
6304
/* end confdefs.h.  */
 
6305
 
 
6306
int
 
6307
main ()
 
6308
{
 
6309
 
 
6310
  ;
 
6311
  return 0;
 
6312
}
 
6313
_ACEOF
 
6314
rm -f conftest.$ac_objext conftest$ac_exeext
 
6315
if { (ac_try="$ac_link"
 
6316
case "(($ac_try" in
 
6317
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6318
  *) ac_try_echo=$ac_try;;
 
6319
esac
 
6320
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6321
$as_echo "$ac_try_echo") >&5
 
6322
  (eval "$ac_link") 2>conftest.er1
 
6323
  ac_status=$?
 
6324
  grep -v '^ *+' conftest.er1 >conftest.err
 
6325
  rm -f conftest.er1
 
6326
  cat conftest.err >&5
 
6327
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6328
  (exit $ac_status); } && {
 
6329
         test -z "$ac_c_werror_flag" ||
 
6330
         test ! -s conftest.err
 
6331
       } && test -s conftest$ac_exeext && {
 
6332
         test "$cross_compiling" = yes ||
 
6333
         $as_test_x conftest$ac_exeext
 
6334
       }; then
 
6335
  lt_cv_cc_needs_belf=yes
 
6336
else
 
6337
  $as_echo "$as_me: failed program was:" >&5
 
6338
sed 's/^/| /' conftest.$ac_ext >&5
 
6339
 
 
6340
        lt_cv_cc_needs_belf=no
 
6341
fi
 
6342
 
 
6343
rm -rf conftest.dSYM
 
6344
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6345
      conftest$ac_exeext conftest.$ac_ext
 
6346
     ac_ext=c
 
6347
ac_cpp='$CPP $CPPFLAGS'
 
6348
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6349
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6350
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6351
 
 
6352
fi
 
6353
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6354
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6355
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6356
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6357
    CFLAGS="$SAVE_CFLAGS"
 
6358
  fi
 
6359
  ;;
 
6360
sparc*-*solaris*)
 
6361
  # Find out which ABI we are using.
 
6362
  echo 'int i;' > conftest.$ac_ext
 
6363
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6364
  (eval $ac_compile) 2>&5
 
6365
  ac_status=$?
 
6366
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6367
  (exit $ac_status); }; then
 
6368
    case `/usr/bin/file conftest.o` in
 
6369
    *64-bit*)
 
6370
      case $lt_cv_prog_gnu_ld in
 
6371
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6372
      *)
 
6373
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6374
          LD="${LD-ld} -64"
 
6375
        fi
 
6376
        ;;
 
6377
      esac
 
6378
      ;;
 
6379
    esac
 
6380
  fi
 
6381
  rm -rf conftest*
 
6382
  ;;
 
6383
esac
 
6384
 
 
6385
need_locks="$enable_libtool_lock"
7089
6386
 
7090
6387
 
7091
6388
  case $host_os in
7093
6390
    if test -n "$ac_tool_prefix"; then
7094
6391
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7095
6392
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7096
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7097
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6393
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6394
$as_echo_n "checking for $ac_word... " >&6; }
7098
6395
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7099
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6396
  $as_echo_n "(cached) " >&6
7100
6397
else
7101
6398
  if test -n "$DSYMUTIL"; then
7102
6399
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7109
6406
  for ac_exec_ext in '' $ac_executable_extensions; do
7110
6407
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7111
6408
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7112
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6409
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7113
6410
    break 2
7114
6411
  fi
7115
6412
done
7120
6417
fi
7121
6418
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7122
6419
if test -n "$DSYMUTIL"; then
7123
 
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7124
 
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
6420
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
6421
$as_echo "$DSYMUTIL" >&6; }
7125
6422
else
7126
 
  { echo "$as_me:$LINENO: result: no" >&5
7127
 
echo "${ECHO_T}no" >&6; }
 
6423
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6424
$as_echo "no" >&6; }
7128
6425
fi
7129
6426
 
7130
6427
 
7133
6430
  ac_ct_DSYMUTIL=$DSYMUTIL
7134
6431
  # Extract the first word of "dsymutil", so it can be a program name with args.
7135
6432
set dummy dsymutil; ac_word=$2
7136
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7137
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6433
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6434
$as_echo_n "checking for $ac_word... " >&6; }
7138
6435
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7139
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6436
  $as_echo_n "(cached) " >&6
7140
6437
else
7141
6438
  if test -n "$ac_ct_DSYMUTIL"; then
7142
6439
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7149
6446
  for ac_exec_ext in '' $ac_executable_extensions; do
7150
6447
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7151
6448
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7152
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6449
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7153
6450
    break 2
7154
6451
  fi
7155
6452
done
7160
6457
fi
7161
6458
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7162
6459
if test -n "$ac_ct_DSYMUTIL"; then
7163
 
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7164
 
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
6460
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
6461
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7165
6462
else
7166
 
  { echo "$as_me:$LINENO: result: no" >&5
7167
 
echo "${ECHO_T}no" >&6; }
 
6463
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6464
$as_echo "no" >&6; }
7168
6465
fi
7169
6466
 
7170
6467
  if test "x$ac_ct_DSYMUTIL" = x; then
7172
6469
  else
7173
6470
    case $cross_compiling:$ac_tool_warned in
7174
6471
yes:)
7175
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7176
 
whose name does not start with the host triplet.  If you think this
7177
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7178
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7179
 
whose name does not start with the host triplet.  If you think this
7180
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6472
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6473
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7181
6474
ac_tool_warned=yes ;;
7182
6475
esac
7183
6476
    DSYMUTIL=$ac_ct_DSYMUTIL
7189
6482
    if test -n "$ac_tool_prefix"; then
7190
6483
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7191
6484
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7192
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7193
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6485
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6486
$as_echo_n "checking for $ac_word... " >&6; }
7194
6487
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7195
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6488
  $as_echo_n "(cached) " >&6
7196
6489
else
7197
6490
  if test -n "$NMEDIT"; then
7198
6491
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7205
6498
  for ac_exec_ext in '' $ac_executable_extensions; do
7206
6499
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7207
6500
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7208
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6501
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7209
6502
    break 2
7210
6503
  fi
7211
6504
done
7216
6509
fi
7217
6510
NMEDIT=$ac_cv_prog_NMEDIT
7218
6511
if test -n "$NMEDIT"; then
7219
 
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
7220
 
echo "${ECHO_T}$NMEDIT" >&6; }
 
6512
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
6513
$as_echo "$NMEDIT" >&6; }
7221
6514
else
7222
 
  { echo "$as_me:$LINENO: result: no" >&5
7223
 
echo "${ECHO_T}no" >&6; }
 
6515
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6516
$as_echo "no" >&6; }
7224
6517
fi
7225
6518
 
7226
6519
 
7229
6522
  ac_ct_NMEDIT=$NMEDIT
7230
6523
  # Extract the first word of "nmedit", so it can be a program name with args.
7231
6524
set dummy nmedit; ac_word=$2
7232
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7233
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6525
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6526
$as_echo_n "checking for $ac_word... " >&6; }
7234
6527
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7235
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6528
  $as_echo_n "(cached) " >&6
7236
6529
else
7237
6530
  if test -n "$ac_ct_NMEDIT"; then
7238
6531
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7245
6538
  for ac_exec_ext in '' $ac_executable_extensions; do
7246
6539
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7247
6540
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7248
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6541
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7249
6542
    break 2
7250
6543
  fi
7251
6544
done
7256
6549
fi
7257
6550
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7258
6551
if test -n "$ac_ct_NMEDIT"; then
7259
 
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7260
 
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
6552
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
6553
$as_echo "$ac_ct_NMEDIT" >&6; }
7261
6554
else
7262
 
  { echo "$as_me:$LINENO: result: no" >&5
7263
 
echo "${ECHO_T}no" >&6; }
 
6555
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6556
$as_echo "no" >&6; }
7264
6557
fi
7265
6558
 
7266
6559
  if test "x$ac_ct_NMEDIT" = x; then
7268
6561
  else
7269
6562
    case $cross_compiling:$ac_tool_warned in
7270
6563
yes:)
7271
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7272
 
whose name does not start with the host triplet.  If you think this
7273
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7274
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7275
 
whose name does not start with the host triplet.  If you think this
7276
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6564
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6565
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7277
6566
ac_tool_warned=yes ;;
7278
6567
esac
7279
6568
    NMEDIT=$ac_ct_NMEDIT
7282
6571
  NMEDIT="$ac_cv_prog_NMEDIT"
7283
6572
fi
7284
6573
 
7285
 
 
7286
 
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7287
 
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
6574
    if test -n "$ac_tool_prefix"; then
 
6575
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
6576
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
6577
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6578
$as_echo_n "checking for $ac_word... " >&6; }
 
6579
if test "${ac_cv_prog_LIPO+set}" = set; then
 
6580
  $as_echo_n "(cached) " >&6
 
6581
else
 
6582
  if test -n "$LIPO"; then
 
6583
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6584
else
 
6585
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6586
for as_dir in $PATH
 
6587
do
 
6588
  IFS=$as_save_IFS
 
6589
  test -z "$as_dir" && as_dir=.
 
6590
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6591
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6592
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6593
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6594
    break 2
 
6595
  fi
 
6596
done
 
6597
done
 
6598
IFS=$as_save_IFS
 
6599
 
 
6600
fi
 
6601
fi
 
6602
LIPO=$ac_cv_prog_LIPO
 
6603
if test -n "$LIPO"; then
 
6604
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
6605
$as_echo "$LIPO" >&6; }
 
6606
else
 
6607
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6608
$as_echo "no" >&6; }
 
6609
fi
 
6610
 
 
6611
 
 
6612
fi
 
6613
if test -z "$ac_cv_prog_LIPO"; then
 
6614
  ac_ct_LIPO=$LIPO
 
6615
  # Extract the first word of "lipo", so it can be a program name with args.
 
6616
set dummy lipo; ac_word=$2
 
6617
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6618
$as_echo_n "checking for $ac_word... " >&6; }
 
6619
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
6620
  $as_echo_n "(cached) " >&6
 
6621
else
 
6622
  if test -n "$ac_ct_LIPO"; then
 
6623
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6624
else
 
6625
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6626
for as_dir in $PATH
 
6627
do
 
6628
  IFS=$as_save_IFS
 
6629
  test -z "$as_dir" && as_dir=.
 
6630
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6631
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6632
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6633
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6634
    break 2
 
6635
  fi
 
6636
done
 
6637
done
 
6638
IFS=$as_save_IFS
 
6639
 
 
6640
fi
 
6641
fi
 
6642
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6643
if test -n "$ac_ct_LIPO"; then
 
6644
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
6645
$as_echo "$ac_ct_LIPO" >&6; }
 
6646
else
 
6647
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6648
$as_echo "no" >&6; }
 
6649
fi
 
6650
 
 
6651
  if test "x$ac_ct_LIPO" = x; then
 
6652
    LIPO=":"
 
6653
  else
 
6654
    case $cross_compiling:$ac_tool_warned in
 
6655
yes:)
 
6656
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6657
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6658
ac_tool_warned=yes ;;
 
6659
esac
 
6660
    LIPO=$ac_ct_LIPO
 
6661
  fi
 
6662
else
 
6663
  LIPO="$ac_cv_prog_LIPO"
 
6664
fi
 
6665
 
 
6666
    if test -n "$ac_tool_prefix"; then
 
6667
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6668
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6669
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6670
$as_echo_n "checking for $ac_word... " >&6; }
 
6671
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
6672
  $as_echo_n "(cached) " >&6
 
6673
else
 
6674
  if test -n "$OTOOL"; then
 
6675
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6676
else
 
6677
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6678
for as_dir in $PATH
 
6679
do
 
6680
  IFS=$as_save_IFS
 
6681
  test -z "$as_dir" && as_dir=.
 
6682
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6683
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6684
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6685
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6686
    break 2
 
6687
  fi
 
6688
done
 
6689
done
 
6690
IFS=$as_save_IFS
 
6691
 
 
6692
fi
 
6693
fi
 
6694
OTOOL=$ac_cv_prog_OTOOL
 
6695
if test -n "$OTOOL"; then
 
6696
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
6697
$as_echo "$OTOOL" >&6; }
 
6698
else
 
6699
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6700
$as_echo "no" >&6; }
 
6701
fi
 
6702
 
 
6703
 
 
6704
fi
 
6705
if test -z "$ac_cv_prog_OTOOL"; then
 
6706
  ac_ct_OTOOL=$OTOOL
 
6707
  # Extract the first word of "otool", so it can be a program name with args.
 
6708
set dummy otool; ac_word=$2
 
6709
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6710
$as_echo_n "checking for $ac_word... " >&6; }
 
6711
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
6712
  $as_echo_n "(cached) " >&6
 
6713
else
 
6714
  if test -n "$ac_ct_OTOOL"; then
 
6715
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
6716
else
 
6717
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6718
for as_dir in $PATH
 
6719
do
 
6720
  IFS=$as_save_IFS
 
6721
  test -z "$as_dir" && as_dir=.
 
6722
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6723
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6724
    ac_cv_prog_ac_ct_OTOOL="otool"
 
6725
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6726
    break 2
 
6727
  fi
 
6728
done
 
6729
done
 
6730
IFS=$as_save_IFS
 
6731
 
 
6732
fi
 
6733
fi
 
6734
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
6735
if test -n "$ac_ct_OTOOL"; then
 
6736
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
6737
$as_echo "$ac_ct_OTOOL" >&6; }
 
6738
else
 
6739
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6740
$as_echo "no" >&6; }
 
6741
fi
 
6742
 
 
6743
  if test "x$ac_ct_OTOOL" = x; then
 
6744
    OTOOL=":"
 
6745
  else
 
6746
    case $cross_compiling:$ac_tool_warned in
 
6747
yes:)
 
6748
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6749
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6750
ac_tool_warned=yes ;;
 
6751
esac
 
6752
    OTOOL=$ac_ct_OTOOL
 
6753
  fi
 
6754
else
 
6755
  OTOOL="$ac_cv_prog_OTOOL"
 
6756
fi
 
6757
 
 
6758
    if test -n "$ac_tool_prefix"; then
 
6759
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
6760
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
6761
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6762
$as_echo_n "checking for $ac_word... " >&6; }
 
6763
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
6764
  $as_echo_n "(cached) " >&6
 
6765
else
 
6766
  if test -n "$OTOOL64"; then
 
6767
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
6768
else
 
6769
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6770
for as_dir in $PATH
 
6771
do
 
6772
  IFS=$as_save_IFS
 
6773
  test -z "$as_dir" && as_dir=.
 
6774
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6775
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6776
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
6777
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6778
    break 2
 
6779
  fi
 
6780
done
 
6781
done
 
6782
IFS=$as_save_IFS
 
6783
 
 
6784
fi
 
6785
fi
 
6786
OTOOL64=$ac_cv_prog_OTOOL64
 
6787
if test -n "$OTOOL64"; then
 
6788
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
6789
$as_echo "$OTOOL64" >&6; }
 
6790
else
 
6791
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6792
$as_echo "no" >&6; }
 
6793
fi
 
6794
 
 
6795
 
 
6796
fi
 
6797
if test -z "$ac_cv_prog_OTOOL64"; then
 
6798
  ac_ct_OTOOL64=$OTOOL64
 
6799
  # Extract the first word of "otool64", so it can be a program name with args.
 
6800
set dummy otool64; ac_word=$2
 
6801
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6802
$as_echo_n "checking for $ac_word... " >&6; }
 
6803
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
6804
  $as_echo_n "(cached) " >&6
 
6805
else
 
6806
  if test -n "$ac_ct_OTOOL64"; then
 
6807
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
6808
else
 
6809
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6810
for as_dir in $PATH
 
6811
do
 
6812
  IFS=$as_save_IFS
 
6813
  test -z "$as_dir" && as_dir=.
 
6814
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6815
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6816
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
6817
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6818
    break 2
 
6819
  fi
 
6820
done
 
6821
done
 
6822
IFS=$as_save_IFS
 
6823
 
 
6824
fi
 
6825
fi
 
6826
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
6827
if test -n "$ac_ct_OTOOL64"; then
 
6828
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
6829
$as_echo "$ac_ct_OTOOL64" >&6; }
 
6830
else
 
6831
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6832
$as_echo "no" >&6; }
 
6833
fi
 
6834
 
 
6835
  if test "x$ac_ct_OTOOL64" = x; then
 
6836
    OTOOL64=":"
 
6837
  else
 
6838
    case $cross_compiling:$ac_tool_warned in
 
6839
yes:)
 
6840
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6841
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6842
ac_tool_warned=yes ;;
 
6843
esac
 
6844
    OTOOL64=$ac_ct_OTOOL64
 
6845
  fi
 
6846
else
 
6847
  OTOOL64="$ac_cv_prog_OTOOL64"
 
6848
fi
 
6849
 
 
6850
 
 
6851
 
 
6852
 
 
6853
 
 
6854
 
 
6855
 
 
6856
 
 
6857
 
 
6858
 
 
6859
 
 
6860
 
 
6861
 
 
6862
 
 
6863
 
 
6864
 
 
6865
 
 
6866
 
 
6867
 
 
6868
 
 
6869
 
 
6870
 
 
6871
 
 
6872
 
 
6873
 
 
6874
 
 
6875
 
 
6876
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
6877
$as_echo_n "checking for -single_module linker flag... " >&6; }
7288
6878
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7289
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6879
  $as_echo_n "(cached) " >&6
7290
6880
else
7291
6881
  lt_cv_apple_cc_single_mod=no
7292
6882
      if test -z "${LT_MULTI_MODULE}"; then
7293
 
   # By default we will add the -single_module flag. You can override
7294
 
   # by either setting the environment variable LT_MULTI_MODULE
7295
 
   # non-empty at configure time, or by adding -multi_module to the
7296
 
   # link flags.
7297
 
   echo "int foo(void){return 1;}" > conftest.c
7298
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7299
 
     -dynamiclib ${wl}-single_module conftest.c
7300
 
   if test -f libconftest.dylib; then
7301
 
     lt_cv_apple_cc_single_mod=yes
7302
 
     rm -rf libconftest.dylib*
7303
 
   fi
7304
 
   rm conftest.c
 
6883
        # By default we will add the -single_module flag. You can override
 
6884
        # by either setting the environment variable LT_MULTI_MODULE
 
6885
        # non-empty at configure time, or by adding -multi_module to the
 
6886
        # link flags.
 
6887
        rm -rf libconftest.dylib*
 
6888
        echo "int foo(void){return 1;}" > conftest.c
 
6889
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6890
-dynamiclib -Wl,-single_module conftest.c" >&5
 
6891
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6892
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
6893
        _lt_result=$?
 
6894
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
6895
          lt_cv_apple_cc_single_mod=yes
 
6896
        else
 
6897
          cat conftest.err >&5
 
6898
        fi
 
6899
        rm -rf libconftest.dylib*
 
6900
        rm -f conftest.*
7305
6901
      fi
7306
6902
fi
7307
 
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7308
 
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7309
 
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7310
 
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
6903
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
6904
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
6905
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
6906
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7311
6907
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7312
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6908
  $as_echo_n "(cached) " >&6
7313
6909
else
7314
6910
  lt_cv_ld_exported_symbols_list=no
7315
6911
      save_LDFLAGS=$LDFLAGS
7336
6932
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7337
6933
  *) ac_try_echo=$ac_try;;
7338
6934
esac
7339
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6935
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6936
$as_echo "$ac_try_echo") >&5
7340
6937
  (eval "$ac_link") 2>conftest.er1
7341
6938
  ac_status=$?
7342
6939
  grep -v '^ *+' conftest.er1 >conftest.err
7343
6940
  rm -f conftest.er1
7344
6941
  cat conftest.err >&5
7345
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6942
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7346
6943
  (exit $ac_status); } && {
7347
 
         test -z "$ac_cxx_werror_flag" ||
 
6944
         test -z "$ac_c_werror_flag" ||
7348
6945
         test ! -s conftest.err
7349
 
       } && test -s conftest$ac_exeext &&
7350
 
       $as_test_x conftest$ac_exeext; then
 
6946
       } && test -s conftest$ac_exeext && {
 
6947
         test "$cross_compiling" = yes ||
 
6948
         $as_test_x conftest$ac_exeext
 
6949
       }; then
7351
6950
  lt_cv_ld_exported_symbols_list=yes
7352
6951
else
7353
 
  echo "$as_me: failed program was:" >&5
 
6952
  $as_echo "$as_me: failed program was:" >&5
7354
6953
sed 's/^/| /' conftest.$ac_ext >&5
7355
6954
 
7356
6955
        lt_cv_ld_exported_symbols_list=no
7357
6956
fi
7358
6957
 
 
6958
rm -rf conftest.dSYM
7359
6959
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7360
6960
      conftest$ac_exeext conftest.$ac_ext
7361
 
   LDFLAGS="$save_LDFLAGS"
 
6961
        LDFLAGS="$save_LDFLAGS"
7362
6962
 
7363
6963
fi
7364
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7365
 
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
6964
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
6965
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7366
6966
    case $host_os in
7367
 
    rhapsody* | darwin1.[0123])
 
6967
    rhapsody* | darwin1.[012])
7368
6968
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7369
6969
    darwin1.*)
7370
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7371
 
    darwin*)
 
6970
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6971
    darwin*) # darwin 5.x on
7372
6972
      # if running on 10.5 or later, the deployment target defaults
7373
6973
      # to the OS version, if on x86, and 10.4, the deployment
7374
6974
      # target defaults to 10.4. Don't you love it?
7375
6975
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7376
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7377
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7378
 
   10.[012]*)
7379
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7380
 
   10.*)
7381
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6976
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
6977
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6978
        10.[012]*)
 
6979
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6980
        10.*)
 
6981
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7382
6982
      esac
7383
6983
    ;;
7384
6984
  esac
7388
6988
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7389
6989
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7390
6990
    else
7391
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
6991
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7392
6992
    fi
7393
6993
    if test "$DSYMUTIL" != ":"; then
7394
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
6994
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7395
6995
    else
7396
6996
      _lt_dsymutil=
7397
6997
    fi
7398
6998
    ;;
7399
6999
  esac
7400
7000
 
7401
 
 
7402
 
enable_dlopen=no
7403
 
enable_win32_dll=no
7404
 
 
7405
 
# Check whether --enable-libtool-lock was given.
7406
 
if test "${enable_libtool_lock+set}" = set; then
7407
 
  enableval=$enable_libtool_lock;
7408
 
fi
7409
 
 
7410
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
7001
ac_ext=c
 
7002
ac_cpp='$CPP $CPPFLAGS'
 
7003
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7004
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7005
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7006
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
7007
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
7008
# On Suns, sometimes $CPP names a directory.
 
7009
if test -n "$CPP" && test -d "$CPP"; then
 
7010
  CPP=
 
7011
fi
 
7012
if test -z "$CPP"; then
 
7013
  if test "${ac_cv_prog_CPP+set}" = set; then
 
7014
  $as_echo_n "(cached) " >&6
 
7015
else
 
7016
      # Double quotes because CPP needs to be expanded
 
7017
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
7018
    do
 
7019
      ac_preproc_ok=false
 
7020
for ac_c_preproc_warn_flag in '' yes
 
7021
do
 
7022
  # Use a header file that comes with gcc, so configuring glibc
 
7023
  # with a fresh cross-compiler works.
 
7024
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7025
  # <limits.h> exists even on freestanding compilers.
 
7026
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7027
  # not just through cpp. "Syntax error" is here to catch this case.
 
7028
  cat >conftest.$ac_ext <<_ACEOF
 
7029
/* confdefs.h.  */
 
7030
_ACEOF
 
7031
cat confdefs.h >>conftest.$ac_ext
 
7032
cat >>conftest.$ac_ext <<_ACEOF
 
7033
/* end confdefs.h.  */
 
7034
#ifdef __STDC__
 
7035
# include <limits.h>
 
7036
#else
 
7037
# include <assert.h>
 
7038
#endif
 
7039
                     Syntax error
 
7040
_ACEOF
 
7041
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7042
case "(($ac_try" in
 
7043
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7044
  *) ac_try_echo=$ac_try;;
 
7045
esac
 
7046
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7047
$as_echo "$ac_try_echo") >&5
 
7048
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7049
  ac_status=$?
 
7050
  grep -v '^ *+' conftest.er1 >conftest.err
 
7051
  rm -f conftest.er1
 
7052
  cat conftest.err >&5
 
7053
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7054
  (exit $ac_status); } >/dev/null && {
 
7055
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7056
         test ! -s conftest.err
 
7057
       }; then
 
7058
  :
 
7059
else
 
7060
  $as_echo "$as_me: failed program was:" >&5
 
7061
sed 's/^/| /' conftest.$ac_ext >&5
 
7062
 
 
7063
  # Broken: fails on valid input.
 
7064
continue
 
7065
fi
 
7066
 
 
7067
rm -f conftest.err conftest.$ac_ext
 
7068
 
 
7069
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7070
  # can be detected and how.
 
7071
  cat >conftest.$ac_ext <<_ACEOF
 
7072
/* confdefs.h.  */
 
7073
_ACEOF
 
7074
cat confdefs.h >>conftest.$ac_ext
 
7075
cat >>conftest.$ac_ext <<_ACEOF
 
7076
/* end confdefs.h.  */
 
7077
#include <ac_nonexistent.h>
 
7078
_ACEOF
 
7079
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7080
case "(($ac_try" in
 
7081
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7082
  *) ac_try_echo=$ac_try;;
 
7083
esac
 
7084
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7085
$as_echo "$ac_try_echo") >&5
 
7086
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7087
  ac_status=$?
 
7088
  grep -v '^ *+' conftest.er1 >conftest.err
 
7089
  rm -f conftest.er1
 
7090
  cat conftest.err >&5
 
7091
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7092
  (exit $ac_status); } >/dev/null && {
 
7093
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7094
         test ! -s conftest.err
 
7095
       }; then
 
7096
  # Broken: success on invalid input.
 
7097
continue
 
7098
else
 
7099
  $as_echo "$as_me: failed program was:" >&5
 
7100
sed 's/^/| /' conftest.$ac_ext >&5
 
7101
 
 
7102
  # Passes both tests.
 
7103
ac_preproc_ok=:
 
7104
break
 
7105
fi
 
7106
 
 
7107
rm -f conftest.err conftest.$ac_ext
 
7108
 
 
7109
done
 
7110
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7111
rm -f conftest.err conftest.$ac_ext
 
7112
if $ac_preproc_ok; then
 
7113
  break
 
7114
fi
 
7115
 
 
7116
    done
 
7117
    ac_cv_prog_CPP=$CPP
 
7118
 
 
7119
fi
 
7120
  CPP=$ac_cv_prog_CPP
 
7121
else
 
7122
  ac_cv_prog_CPP=$CPP
 
7123
fi
 
7124
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
7125
$as_echo "$CPP" >&6; }
 
7126
ac_preproc_ok=false
 
7127
for ac_c_preproc_warn_flag in '' yes
 
7128
do
 
7129
  # Use a header file that comes with gcc, so configuring glibc
 
7130
  # with a fresh cross-compiler works.
 
7131
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7132
  # <limits.h> exists even on freestanding compilers.
 
7133
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7134
  # not just through cpp. "Syntax error" is here to catch this case.
 
7135
  cat >conftest.$ac_ext <<_ACEOF
 
7136
/* confdefs.h.  */
 
7137
_ACEOF
 
7138
cat confdefs.h >>conftest.$ac_ext
 
7139
cat >>conftest.$ac_ext <<_ACEOF
 
7140
/* end confdefs.h.  */
 
7141
#ifdef __STDC__
 
7142
# include <limits.h>
 
7143
#else
 
7144
# include <assert.h>
 
7145
#endif
 
7146
                     Syntax error
 
7147
_ACEOF
 
7148
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7149
case "(($ac_try" in
 
7150
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7151
  *) ac_try_echo=$ac_try;;
 
7152
esac
 
7153
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7154
$as_echo "$ac_try_echo") >&5
 
7155
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7156
  ac_status=$?
 
7157
  grep -v '^ *+' conftest.er1 >conftest.err
 
7158
  rm -f conftest.er1
 
7159
  cat conftest.err >&5
 
7160
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7161
  (exit $ac_status); } >/dev/null && {
 
7162
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7163
         test ! -s conftest.err
 
7164
       }; then
 
7165
  :
 
7166
else
 
7167
  $as_echo "$as_me: failed program was:" >&5
 
7168
sed 's/^/| /' conftest.$ac_ext >&5
 
7169
 
 
7170
  # Broken: fails on valid input.
 
7171
continue
 
7172
fi
 
7173
 
 
7174
rm -f conftest.err conftest.$ac_ext
 
7175
 
 
7176
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7177
  # can be detected and how.
 
7178
  cat >conftest.$ac_ext <<_ACEOF
 
7179
/* confdefs.h.  */
 
7180
_ACEOF
 
7181
cat confdefs.h >>conftest.$ac_ext
 
7182
cat >>conftest.$ac_ext <<_ACEOF
 
7183
/* end confdefs.h.  */
 
7184
#include <ac_nonexistent.h>
 
7185
_ACEOF
 
7186
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7187
case "(($ac_try" in
 
7188
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7189
  *) ac_try_echo=$ac_try;;
 
7190
esac
 
7191
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7192
$as_echo "$ac_try_echo") >&5
 
7193
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7194
  ac_status=$?
 
7195
  grep -v '^ *+' conftest.er1 >conftest.err
 
7196
  rm -f conftest.er1
 
7197
  cat conftest.err >&5
 
7198
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7199
  (exit $ac_status); } >/dev/null && {
 
7200
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7201
         test ! -s conftest.err
 
7202
       }; then
 
7203
  # Broken: success on invalid input.
 
7204
continue
 
7205
else
 
7206
  $as_echo "$as_me: failed program was:" >&5
 
7207
sed 's/^/| /' conftest.$ac_ext >&5
 
7208
 
 
7209
  # Passes both tests.
 
7210
ac_preproc_ok=:
 
7211
break
 
7212
fi
 
7213
 
 
7214
rm -f conftest.err conftest.$ac_ext
 
7215
 
 
7216
done
 
7217
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7218
rm -f conftest.err conftest.$ac_ext
 
7219
if $ac_preproc_ok; then
 
7220
  :
 
7221
else
 
7222
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
7223
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7224
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
7225
See \`config.log' for more details." >&5
 
7226
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
7227
See \`config.log' for more details." >&2;}
 
7228
   { (exit 1); exit 1; }; }; }
 
7229
fi
 
7230
 
 
7231
ac_ext=c
 
7232
ac_cpp='$CPP $CPPFLAGS'
 
7233
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7234
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7235
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7236
 
 
7237
 
 
7238
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
7239
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7240
if test "${ac_cv_header_stdc+set}" = set; then
 
7241
  $as_echo_n "(cached) " >&6
 
7242
else
 
7243
  cat >conftest.$ac_ext <<_ACEOF
 
7244
/* confdefs.h.  */
 
7245
_ACEOF
 
7246
cat confdefs.h >>conftest.$ac_ext
 
7247
cat >>conftest.$ac_ext <<_ACEOF
 
7248
/* end confdefs.h.  */
 
7249
#include <stdlib.h>
 
7250
#include <stdarg.h>
 
7251
#include <string.h>
 
7252
#include <float.h>
 
7253
 
 
7254
int
 
7255
main ()
 
7256
{
 
7257
 
 
7258
  ;
 
7259
  return 0;
 
7260
}
 
7261
_ACEOF
 
7262
rm -f conftest.$ac_objext
 
7263
if { (ac_try="$ac_compile"
 
7264
case "(($ac_try" in
 
7265
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7266
  *) ac_try_echo=$ac_try;;
 
7267
esac
 
7268
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7269
$as_echo "$ac_try_echo") >&5
 
7270
  (eval "$ac_compile") 2>conftest.er1
 
7271
  ac_status=$?
 
7272
  grep -v '^ *+' conftest.er1 >conftest.err
 
7273
  rm -f conftest.er1
 
7274
  cat conftest.err >&5
 
7275
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7276
  (exit $ac_status); } && {
 
7277
         test -z "$ac_c_werror_flag" ||
 
7278
         test ! -s conftest.err
 
7279
       } && test -s conftest.$ac_objext; then
 
7280
  ac_cv_header_stdc=yes
 
7281
else
 
7282
  $as_echo "$as_me: failed program was:" >&5
 
7283
sed 's/^/| /' conftest.$ac_ext >&5
 
7284
 
 
7285
        ac_cv_header_stdc=no
 
7286
fi
 
7287
 
 
7288
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7289
 
 
7290
if test $ac_cv_header_stdc = yes; then
 
7291
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
7292
  cat >conftest.$ac_ext <<_ACEOF
 
7293
/* confdefs.h.  */
 
7294
_ACEOF
 
7295
cat confdefs.h >>conftest.$ac_ext
 
7296
cat >>conftest.$ac_ext <<_ACEOF
 
7297
/* end confdefs.h.  */
 
7298
#include <string.h>
 
7299
 
 
7300
_ACEOF
 
7301
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7302
  $EGREP "memchr" >/dev/null 2>&1; then
 
7303
  :
 
7304
else
 
7305
  ac_cv_header_stdc=no
 
7306
fi
 
7307
rm -f conftest*
 
7308
 
 
7309
fi
 
7310
 
 
7311
if test $ac_cv_header_stdc = yes; then
 
7312
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
7313
  cat >conftest.$ac_ext <<_ACEOF
 
7314
/* confdefs.h.  */
 
7315
_ACEOF
 
7316
cat confdefs.h >>conftest.$ac_ext
 
7317
cat >>conftest.$ac_ext <<_ACEOF
 
7318
/* end confdefs.h.  */
 
7319
#include <stdlib.h>
 
7320
 
 
7321
_ACEOF
 
7322
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7323
  $EGREP "free" >/dev/null 2>&1; then
 
7324
  :
 
7325
else
 
7326
  ac_cv_header_stdc=no
 
7327
fi
 
7328
rm -f conftest*
 
7329
 
 
7330
fi
 
7331
 
 
7332
if test $ac_cv_header_stdc = yes; then
 
7333
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
7334
  if test "$cross_compiling" = yes; then
 
7335
  :
 
7336
else
 
7337
  cat >conftest.$ac_ext <<_ACEOF
 
7338
/* confdefs.h.  */
 
7339
_ACEOF
 
7340
cat confdefs.h >>conftest.$ac_ext
 
7341
cat >>conftest.$ac_ext <<_ACEOF
 
7342
/* end confdefs.h.  */
 
7343
#include <ctype.h>
 
7344
#include <stdlib.h>
 
7345
#if ((' ' & 0x0FF) == 0x020)
 
7346
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
7347
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
7348
#else
 
7349
# define ISLOWER(c) \
 
7350
                   (('a' <= (c) && (c) <= 'i') \
 
7351
                     || ('j' <= (c) && (c) <= 'r') \
 
7352
                     || ('s' <= (c) && (c) <= 'z'))
 
7353
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
7354
#endif
 
7355
 
 
7356
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
7357
int
 
7358
main ()
 
7359
{
 
7360
  int i;
 
7361
  for (i = 0; i < 256; i++)
 
7362
    if (XOR (islower (i), ISLOWER (i))
 
7363
        || toupper (i) != TOUPPER (i))
 
7364
      return 2;
 
7365
  return 0;
 
7366
}
 
7367
_ACEOF
 
7368
rm -f conftest$ac_exeext
 
7369
if { (ac_try="$ac_link"
 
7370
case "(($ac_try" in
 
7371
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7372
  *) ac_try_echo=$ac_try;;
 
7373
esac
 
7374
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7375
$as_echo "$ac_try_echo") >&5
 
7376
  (eval "$ac_link") 2>&5
 
7377
  ac_status=$?
 
7378
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7379
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
7380
  { (case "(($ac_try" in
 
7381
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7382
  *) ac_try_echo=$ac_try;;
 
7383
esac
 
7384
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7385
$as_echo "$ac_try_echo") >&5
 
7386
  (eval "$ac_try") 2>&5
 
7387
  ac_status=$?
 
7388
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7389
  (exit $ac_status); }; }; then
 
7390
  :
 
7391
else
 
7392
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
7393
$as_echo "$as_me: failed program was:" >&5
 
7394
sed 's/^/| /' conftest.$ac_ext >&5
 
7395
 
 
7396
( exit $ac_status )
 
7397
ac_cv_header_stdc=no
 
7398
fi
 
7399
rm -rf conftest.dSYM
 
7400
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
7401
fi
 
7402
 
 
7403
 
 
7404
fi
 
7405
fi
 
7406
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
7407
$as_echo "$ac_cv_header_stdc" >&6; }
 
7408
if test $ac_cv_header_stdc = yes; then
 
7409
 
 
7410
cat >>confdefs.h <<\_ACEOF
 
7411
#define STDC_HEADERS 1
 
7412
_ACEOF
 
7413
 
 
7414
fi
 
7415
 
 
7416
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7417
 
 
7418
 
 
7419
 
 
7420
 
 
7421
 
 
7422
 
 
7423
 
 
7424
 
 
7425
 
 
7426
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7427
                  inttypes.h stdint.h unistd.h
 
7428
do
 
7429
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7430
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7431
$as_echo_n "checking for $ac_header... " >&6; }
 
7432
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7433
  $as_echo_n "(cached) " >&6
 
7434
else
 
7435
  cat >conftest.$ac_ext <<_ACEOF
 
7436
/* confdefs.h.  */
 
7437
_ACEOF
 
7438
cat confdefs.h >>conftest.$ac_ext
 
7439
cat >>conftest.$ac_ext <<_ACEOF
 
7440
/* end confdefs.h.  */
 
7441
$ac_includes_default
 
7442
 
 
7443
#include <$ac_header>
 
7444
_ACEOF
 
7445
rm -f conftest.$ac_objext
 
7446
if { (ac_try="$ac_compile"
 
7447
case "(($ac_try" in
 
7448
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7449
  *) ac_try_echo=$ac_try;;
 
7450
esac
 
7451
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7452
$as_echo "$ac_try_echo") >&5
 
7453
  (eval "$ac_compile") 2>conftest.er1
 
7454
  ac_status=$?
 
7455
  grep -v '^ *+' conftest.er1 >conftest.err
 
7456
  rm -f conftest.er1
 
7457
  cat conftest.err >&5
 
7458
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7459
  (exit $ac_status); } && {
 
7460
         test -z "$ac_c_werror_flag" ||
 
7461
         test ! -s conftest.err
 
7462
       } && test -s conftest.$ac_objext; then
 
7463
  eval "$as_ac_Header=yes"
 
7464
else
 
7465
  $as_echo "$as_me: failed program was:" >&5
 
7466
sed 's/^/| /' conftest.$ac_ext >&5
 
7467
 
 
7468
        eval "$as_ac_Header=no"
 
7469
fi
 
7470
 
 
7471
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7472
fi
 
7473
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7474
                 $as_echo "$as_val"'`
 
7475
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7476
$as_echo "$ac_res" >&6; }
 
7477
as_val=`eval 'as_val=${'$as_ac_Header'}
 
7478
                 $as_echo "$as_val"'`
 
7479
   if test "x$as_val" = x""yes; then
 
7480
  cat >>confdefs.h <<_ACEOF
 
7481
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7482
_ACEOF
 
7483
 
 
7484
fi
 
7485
 
 
7486
done
 
7487
 
 
7488
 
 
7489
 
 
7490
for ac_header in dlfcn.h
 
7491
do
 
7492
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7493
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7494
$as_echo_n "checking for $ac_header... " >&6; }
 
7495
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7496
  $as_echo_n "(cached) " >&6
 
7497
else
 
7498
  cat >conftest.$ac_ext <<_ACEOF
 
7499
/* confdefs.h.  */
 
7500
_ACEOF
 
7501
cat confdefs.h >>conftest.$ac_ext
 
7502
cat >>conftest.$ac_ext <<_ACEOF
 
7503
/* end confdefs.h.  */
 
7504
$ac_includes_default
 
7505
 
 
7506
#include <$ac_header>
 
7507
_ACEOF
 
7508
rm -f conftest.$ac_objext
 
7509
if { (ac_try="$ac_compile"
 
7510
case "(($ac_try" in
 
7511
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7512
  *) ac_try_echo=$ac_try;;
 
7513
esac
 
7514
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7515
$as_echo "$ac_try_echo") >&5
 
7516
  (eval "$ac_compile") 2>conftest.er1
 
7517
  ac_status=$?
 
7518
  grep -v '^ *+' conftest.er1 >conftest.err
 
7519
  rm -f conftest.er1
 
7520
  cat conftest.err >&5
 
7521
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7522
  (exit $ac_status); } && {
 
7523
         test -z "$ac_c_werror_flag" ||
 
7524
         test ! -s conftest.err
 
7525
       } && test -s conftest.$ac_objext; then
 
7526
  eval "$as_ac_Header=yes"
 
7527
else
 
7528
  $as_echo "$as_me: failed program was:" >&5
 
7529
sed 's/^/| /' conftest.$ac_ext >&5
 
7530
 
 
7531
        eval "$as_ac_Header=no"
 
7532
fi
 
7533
 
 
7534
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7535
fi
 
7536
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7537
                 $as_echo "$as_val"'`
 
7538
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7539
$as_echo "$ac_res" >&6; }
 
7540
as_val=`eval 'as_val=${'$as_ac_Header'}
 
7541
                 $as_echo "$as_val"'`
 
7542
   if test "x$as_val" = x""yes; then
 
7543
  cat >>confdefs.h <<_ACEOF
 
7544
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7545
_ACEOF
 
7546
 
 
7547
fi
 
7548
 
 
7549
done
 
7550
 
 
7551
 
 
7552
 
 
7553
ac_ext=cpp
 
7554
ac_cpp='$CXXCPP $CPPFLAGS'
 
7555
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7556
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7557
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
7558
if test -z "$CXX"; then
 
7559
  if test -n "$CCC"; then
 
7560
    CXX=$CCC
 
7561
  else
 
7562
    if test -n "$ac_tool_prefix"; then
 
7563
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
7564
  do
 
7565
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7566
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7567
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7568
$as_echo_n "checking for $ac_word... " >&6; }
 
7569
if test "${ac_cv_prog_CXX+set}" = set; then
 
7570
  $as_echo_n "(cached) " >&6
 
7571
else
 
7572
  if test -n "$CXX"; then
 
7573
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
7574
else
 
7575
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7576
for as_dir in $PATH
 
7577
do
 
7578
  IFS=$as_save_IFS
 
7579
  test -z "$as_dir" && as_dir=.
 
7580
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7581
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7582
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
7583
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7584
    break 2
 
7585
  fi
 
7586
done
 
7587
done
 
7588
IFS=$as_save_IFS
 
7589
 
 
7590
fi
 
7591
fi
 
7592
CXX=$ac_cv_prog_CXX
 
7593
if test -n "$CXX"; then
 
7594
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
7595
$as_echo "$CXX" >&6; }
 
7596
else
 
7597
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7598
$as_echo "no" >&6; }
 
7599
fi
 
7600
 
 
7601
 
 
7602
    test -n "$CXX" && break
 
7603
  done
 
7604
fi
 
7605
if test -z "$CXX"; then
 
7606
  ac_ct_CXX=$CXX
 
7607
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
7608
do
 
7609
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7610
set dummy $ac_prog; ac_word=$2
 
7611
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7612
$as_echo_n "checking for $ac_word... " >&6; }
 
7613
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
7614
  $as_echo_n "(cached) " >&6
 
7615
else
 
7616
  if test -n "$ac_ct_CXX"; then
 
7617
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
7618
else
 
7619
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7620
for as_dir in $PATH
 
7621
do
 
7622
  IFS=$as_save_IFS
 
7623
  test -z "$as_dir" && as_dir=.
 
7624
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7625
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7626
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
7627
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7628
    break 2
 
7629
  fi
 
7630
done
 
7631
done
 
7632
IFS=$as_save_IFS
 
7633
 
 
7634
fi
 
7635
fi
 
7636
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
7637
if test -n "$ac_ct_CXX"; then
 
7638
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
7639
$as_echo "$ac_ct_CXX" >&6; }
 
7640
else
 
7641
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7642
$as_echo "no" >&6; }
 
7643
fi
 
7644
 
 
7645
 
 
7646
  test -n "$ac_ct_CXX" && break
 
7647
done
 
7648
 
 
7649
  if test "x$ac_ct_CXX" = x; then
 
7650
    CXX="g++"
 
7651
  else
 
7652
    case $cross_compiling:$ac_tool_warned in
 
7653
yes:)
 
7654
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7655
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7656
ac_tool_warned=yes ;;
 
7657
esac
 
7658
    CXX=$ac_ct_CXX
 
7659
  fi
 
7660
fi
 
7661
 
 
7662
  fi
 
7663
fi
 
7664
# Provide some information about the compiler.
 
7665
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
7666
set X $ac_compile
 
7667
ac_compiler=$2
 
7668
{ (ac_try="$ac_compiler --version >&5"
 
7669
case "(($ac_try" in
 
7670
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7671
  *) ac_try_echo=$ac_try;;
 
7672
esac
 
7673
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7674
$as_echo "$ac_try_echo") >&5
 
7675
  (eval "$ac_compiler --version >&5") 2>&5
 
7676
  ac_status=$?
 
7677
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7678
  (exit $ac_status); }
 
7679
{ (ac_try="$ac_compiler -v >&5"
 
7680
case "(($ac_try" in
 
7681
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7682
  *) ac_try_echo=$ac_try;;
 
7683
esac
 
7684
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7685
$as_echo "$ac_try_echo") >&5
 
7686
  (eval "$ac_compiler -v >&5") 2>&5
 
7687
  ac_status=$?
 
7688
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7689
  (exit $ac_status); }
 
7690
{ (ac_try="$ac_compiler -V >&5"
 
7691
case "(($ac_try" in
 
7692
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7693
  *) ac_try_echo=$ac_try;;
 
7694
esac
 
7695
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7696
$as_echo "$ac_try_echo") >&5
 
7697
  (eval "$ac_compiler -V >&5") 2>&5
 
7698
  ac_status=$?
 
7699
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7700
  (exit $ac_status); }
 
7701
 
 
7702
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
7703
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
7704
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
7705
  $as_echo_n "(cached) " >&6
 
7706
else
 
7707
  cat >conftest.$ac_ext <<_ACEOF
 
7708
/* confdefs.h.  */
 
7709
_ACEOF
 
7710
cat confdefs.h >>conftest.$ac_ext
 
7711
cat >>conftest.$ac_ext <<_ACEOF
 
7712
/* end confdefs.h.  */
 
7713
 
 
7714
int
 
7715
main ()
 
7716
{
 
7717
#ifndef __GNUC__
 
7718
       choke me
 
7719
#endif
 
7720
 
 
7721
  ;
 
7722
  return 0;
 
7723
}
 
7724
_ACEOF
 
7725
rm -f conftest.$ac_objext
 
7726
if { (ac_try="$ac_compile"
 
7727
case "(($ac_try" in
 
7728
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7729
  *) ac_try_echo=$ac_try;;
 
7730
esac
 
7731
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7732
$as_echo "$ac_try_echo") >&5
 
7733
  (eval "$ac_compile") 2>conftest.er1
 
7734
  ac_status=$?
 
7735
  grep -v '^ *+' conftest.er1 >conftest.err
 
7736
  rm -f conftest.er1
 
7737
  cat conftest.err >&5
 
7738
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7739
  (exit $ac_status); } && {
 
7740
         test -z "$ac_cxx_werror_flag" ||
 
7741
         test ! -s conftest.err
 
7742
       } && test -s conftest.$ac_objext; then
 
7743
  ac_compiler_gnu=yes
 
7744
else
 
7745
  $as_echo "$as_me: failed program was:" >&5
 
7746
sed 's/^/| /' conftest.$ac_ext >&5
 
7747
 
 
7748
        ac_compiler_gnu=no
 
7749
fi
 
7750
 
 
7751
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7752
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
7753
 
 
7754
fi
 
7755
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
7756
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
7757
if test $ac_compiler_gnu = yes; then
 
7758
  GXX=yes
 
7759
else
 
7760
  GXX=
 
7761
fi
 
7762
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
7763
ac_save_CXXFLAGS=$CXXFLAGS
 
7764
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
7765
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
7766
if test "${ac_cv_prog_cxx_g+set}" = set; then
 
7767
  $as_echo_n "(cached) " >&6
 
7768
else
 
7769
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
7770
   ac_cxx_werror_flag=yes
 
7771
   ac_cv_prog_cxx_g=no
 
7772
   CXXFLAGS="-g"
 
7773
   cat >conftest.$ac_ext <<_ACEOF
 
7774
/* confdefs.h.  */
 
7775
_ACEOF
 
7776
cat confdefs.h >>conftest.$ac_ext
 
7777
cat >>conftest.$ac_ext <<_ACEOF
 
7778
/* end confdefs.h.  */
 
7779
 
 
7780
int
 
7781
main ()
 
7782
{
 
7783
 
 
7784
  ;
 
7785
  return 0;
 
7786
}
 
7787
_ACEOF
 
7788
rm -f conftest.$ac_objext
 
7789
if { (ac_try="$ac_compile"
 
7790
case "(($ac_try" in
 
7791
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7792
  *) ac_try_echo=$ac_try;;
 
7793
esac
 
7794
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7795
$as_echo "$ac_try_echo") >&5
 
7796
  (eval "$ac_compile") 2>conftest.er1
 
7797
  ac_status=$?
 
7798
  grep -v '^ *+' conftest.er1 >conftest.err
 
7799
  rm -f conftest.er1
 
7800
  cat conftest.err >&5
 
7801
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7802
  (exit $ac_status); } && {
 
7803
         test -z "$ac_cxx_werror_flag" ||
 
7804
         test ! -s conftest.err
 
7805
       } && test -s conftest.$ac_objext; then
 
7806
  ac_cv_prog_cxx_g=yes
 
7807
else
 
7808
  $as_echo "$as_me: failed program was:" >&5
 
7809
sed 's/^/| /' conftest.$ac_ext >&5
 
7810
 
 
7811
        CXXFLAGS=""
 
7812
      cat >conftest.$ac_ext <<_ACEOF
 
7813
/* confdefs.h.  */
 
7814
_ACEOF
 
7815
cat confdefs.h >>conftest.$ac_ext
 
7816
cat >>conftest.$ac_ext <<_ACEOF
 
7817
/* end confdefs.h.  */
 
7818
 
 
7819
int
 
7820
main ()
 
7821
{
 
7822
 
 
7823
  ;
 
7824
  return 0;
 
7825
}
 
7826
_ACEOF
 
7827
rm -f conftest.$ac_objext
 
7828
if { (ac_try="$ac_compile"
 
7829
case "(($ac_try" in
 
7830
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7831
  *) ac_try_echo=$ac_try;;
 
7832
esac
 
7833
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7834
$as_echo "$ac_try_echo") >&5
 
7835
  (eval "$ac_compile") 2>conftest.er1
 
7836
  ac_status=$?
 
7837
  grep -v '^ *+' conftest.er1 >conftest.err
 
7838
  rm -f conftest.er1
 
7839
  cat conftest.err >&5
 
7840
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7841
  (exit $ac_status); } && {
 
7842
         test -z "$ac_cxx_werror_flag" ||
 
7843
         test ! -s conftest.err
 
7844
       } && test -s conftest.$ac_objext; then
 
7845
  :
 
7846
else
 
7847
  $as_echo "$as_me: failed program was:" >&5
 
7848
sed 's/^/| /' conftest.$ac_ext >&5
 
7849
 
 
7850
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
7851
         CXXFLAGS="-g"
 
7852
         cat >conftest.$ac_ext <<_ACEOF
 
7853
/* confdefs.h.  */
 
7854
_ACEOF
 
7855
cat confdefs.h >>conftest.$ac_ext
 
7856
cat >>conftest.$ac_ext <<_ACEOF
 
7857
/* end confdefs.h.  */
 
7858
 
 
7859
int
 
7860
main ()
 
7861
{
 
7862
 
 
7863
  ;
 
7864
  return 0;
 
7865
}
 
7866
_ACEOF
 
7867
rm -f conftest.$ac_objext
 
7868
if { (ac_try="$ac_compile"
 
7869
case "(($ac_try" in
 
7870
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7871
  *) ac_try_echo=$ac_try;;
 
7872
esac
 
7873
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7874
$as_echo "$ac_try_echo") >&5
 
7875
  (eval "$ac_compile") 2>conftest.er1
 
7876
  ac_status=$?
 
7877
  grep -v '^ *+' conftest.er1 >conftest.err
 
7878
  rm -f conftest.er1
 
7879
  cat conftest.err >&5
 
7880
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7881
  (exit $ac_status); } && {
 
7882
         test -z "$ac_cxx_werror_flag" ||
 
7883
         test ! -s conftest.err
 
7884
       } && test -s conftest.$ac_objext; then
 
7885
  ac_cv_prog_cxx_g=yes
 
7886
else
 
7887
  $as_echo "$as_me: failed program was:" >&5
 
7888
sed 's/^/| /' conftest.$ac_ext >&5
 
7889
 
 
7890
 
 
7891
fi
 
7892
 
 
7893
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7894
fi
 
7895
 
 
7896
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7897
fi
 
7898
 
 
7899
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7900
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
7901
fi
 
7902
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
7903
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
7904
if test "$ac_test_CXXFLAGS" = set; then
 
7905
  CXXFLAGS=$ac_save_CXXFLAGS
 
7906
elif test $ac_cv_prog_cxx_g = yes; then
 
7907
  if test "$GXX" = yes; then
 
7908
    CXXFLAGS="-g -O2"
 
7909
  else
 
7910
    CXXFLAGS="-g"
 
7911
  fi
 
7912
else
 
7913
  if test "$GXX" = yes; then
 
7914
    CXXFLAGS="-O2"
 
7915
  else
 
7916
    CXXFLAGS=
 
7917
  fi
 
7918
fi
 
7919
ac_ext=cpp
 
7920
ac_cpp='$CXXCPP $CPPFLAGS'
 
7921
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7922
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7923
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
7924
 
 
7925
depcc="$CXX"  am_compiler_list=
 
7926
 
 
7927
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
7928
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
7929
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 
7930
  $as_echo_n "(cached) " >&6
 
7931
else
 
7932
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
7933
  # We make a subdir and do the tests there.  Otherwise we can end up
 
7934
  # making bogus files that we don't know about and never remove.  For
 
7935
  # instance it was reported that on HP-UX the gcc test will end up
 
7936
  # making a dummy file named `D' -- because `-MD' means `put the output
 
7937
  # in D'.
 
7938
  mkdir conftest.dir
 
7939
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
7940
  # using a relative directory.
 
7941
  cp "$am_depcomp" conftest.dir
 
7942
  cd conftest.dir
 
7943
  # We will build objects and dependencies in a subdirectory because
 
7944
  # it helps to detect inapplicable dependency modes.  For instance
 
7945
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
7946
  # side effect of compilation, but ICC will put the dependencies in
 
7947
  # the current directory while Tru64 will put them in the object
 
7948
  # directory.
 
7949
  mkdir sub
 
7950
 
 
7951
  am_cv_CXX_dependencies_compiler_type=none
 
7952
  if test "$am_compiler_list" = ""; then
 
7953
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
7954
  fi
 
7955
  for depmode in $am_compiler_list; do
 
7956
    # Setup a source with many dependencies, because some compilers
 
7957
    # like to wrap large dependency lists on column 80 (with \), and
 
7958
    # we should not choose a depcomp mode which is confused by this.
 
7959
    #
 
7960
    # We need to recreate these files for each test, as the compiler may
 
7961
    # overwrite some of them when testing with obscure command lines.
 
7962
    # This happens at least with the AIX C compiler.
 
7963
    : > sub/conftest.c
 
7964
    for i in 1 2 3 4 5 6; do
 
7965
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
7966
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
7967
      # Solaris 8's {/usr,}/bin/sh.
 
7968
      touch sub/conftst$i.h
 
7969
    done
 
7970
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
7971
 
 
7972
    case $depmode in
 
7973
    nosideeffect)
 
7974
      # after this tag, mechanisms are not by side-effect, so they'll
 
7975
      # only be used when explicitly requested
 
7976
      if test "x$enable_dependency_tracking" = xyes; then
 
7977
        continue
 
7978
      else
 
7979
        break
 
7980
      fi
 
7981
      ;;
 
7982
    none) break ;;
 
7983
    esac
 
7984
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
7985
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
7986
    # handle `-M -o', and we need to detect this.
 
7987
    if depmode=$depmode \
 
7988
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
7989
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
7990
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
7991
         >/dev/null 2>conftest.err &&
 
7992
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
7993
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
7994
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
7995
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
7996
      # icc doesn't choke on unknown options, it will just issue warnings
 
7997
      # or remarks (even with -Werror).  So we grep stderr for any message
 
7998
      # that says an option was ignored or not supported.
 
7999
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
8000
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
8001
      # The diagnosis changed in icc 8.0:
 
8002
      #   icc: Command line remark: option '-MP' not supported
 
8003
      if (grep 'ignoring option' conftest.err ||
 
8004
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
8005
        am_cv_CXX_dependencies_compiler_type=$depmode
 
8006
        break
 
8007
      fi
 
8008
    fi
 
8009
  done
 
8010
 
 
8011
  cd ..
 
8012
  rm -rf conftest.dir
 
8013
else
 
8014
  am_cv_CXX_dependencies_compiler_type=none
 
8015
fi
 
8016
 
 
8017
fi
 
8018
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
8019
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
8020
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
8021
 
 
8022
 if
 
8023
  test "x$enable_dependency_tracking" != xno \
 
8024
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
8025
  am__fastdepCXX_TRUE=
 
8026
  am__fastdepCXX_FALSE='#'
 
8027
else
 
8028
  am__fastdepCXX_TRUE='#'
 
8029
  am__fastdepCXX_FALSE=
 
8030
fi
 
8031
 
 
8032
 
 
8033
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
8034
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
8035
    (test "X$CXX" != "Xg++"))) ; then
 
8036
  ac_ext=cpp
 
8037
ac_cpp='$CXXCPP $CPPFLAGS'
 
8038
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8039
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8040
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
8041
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
8042
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
8043
if test -z "$CXXCPP"; then
 
8044
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
 
8045
  $as_echo_n "(cached) " >&6
 
8046
else
 
8047
      # Double quotes because CXXCPP needs to be expanded
 
8048
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
8049
    do
 
8050
      ac_preproc_ok=false
 
8051
for ac_cxx_preproc_warn_flag in '' yes
 
8052
do
 
8053
  # Use a header file that comes with gcc, so configuring glibc
 
8054
  # with a fresh cross-compiler works.
 
8055
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
8056
  # <limits.h> exists even on freestanding compilers.
 
8057
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
8058
  # not just through cpp. "Syntax error" is here to catch this case.
 
8059
  cat >conftest.$ac_ext <<_ACEOF
 
8060
/* confdefs.h.  */
 
8061
_ACEOF
 
8062
cat confdefs.h >>conftest.$ac_ext
 
8063
cat >>conftest.$ac_ext <<_ACEOF
 
8064
/* end confdefs.h.  */
 
8065
#ifdef __STDC__
 
8066
# include <limits.h>
 
8067
#else
 
8068
# include <assert.h>
 
8069
#endif
 
8070
                     Syntax error
 
8071
_ACEOF
 
8072
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
8073
case "(($ac_try" in
 
8074
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8075
  *) ac_try_echo=$ac_try;;
 
8076
esac
 
8077
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8078
$as_echo "$ac_try_echo") >&5
 
8079
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
8080
  ac_status=$?
 
8081
  grep -v '^ *+' conftest.er1 >conftest.err
 
8082
  rm -f conftest.er1
 
8083
  cat conftest.err >&5
 
8084
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8085
  (exit $ac_status); } >/dev/null && {
 
8086
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
8087
         test ! -s conftest.err
 
8088
       }; then
 
8089
  :
 
8090
else
 
8091
  $as_echo "$as_me: failed program was:" >&5
 
8092
sed 's/^/| /' conftest.$ac_ext >&5
 
8093
 
 
8094
  # Broken: fails on valid input.
 
8095
continue
 
8096
fi
 
8097
 
 
8098
rm -f conftest.err conftest.$ac_ext
 
8099
 
 
8100
  # OK, works on sane cases.  Now check whether nonexistent headers
 
8101
  # can be detected and how.
 
8102
  cat >conftest.$ac_ext <<_ACEOF
 
8103
/* confdefs.h.  */
 
8104
_ACEOF
 
8105
cat confdefs.h >>conftest.$ac_ext
 
8106
cat >>conftest.$ac_ext <<_ACEOF
 
8107
/* end confdefs.h.  */
 
8108
#include <ac_nonexistent.h>
 
8109
_ACEOF
 
8110
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
8111
case "(($ac_try" in
 
8112
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8113
  *) ac_try_echo=$ac_try;;
 
8114
esac
 
8115
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8116
$as_echo "$ac_try_echo") >&5
 
8117
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
8118
  ac_status=$?
 
8119
  grep -v '^ *+' conftest.er1 >conftest.err
 
8120
  rm -f conftest.er1
 
8121
  cat conftest.err >&5
 
8122
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8123
  (exit $ac_status); } >/dev/null && {
 
8124
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
8125
         test ! -s conftest.err
 
8126
       }; then
 
8127
  # Broken: success on invalid input.
 
8128
continue
 
8129
else
 
8130
  $as_echo "$as_me: failed program was:" >&5
 
8131
sed 's/^/| /' conftest.$ac_ext >&5
 
8132
 
 
8133
  # Passes both tests.
 
8134
ac_preproc_ok=:
 
8135
break
 
8136
fi
 
8137
 
 
8138
rm -f conftest.err conftest.$ac_ext
 
8139
 
 
8140
done
 
8141
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
8142
rm -f conftest.err conftest.$ac_ext
 
8143
if $ac_preproc_ok; then
 
8144
  break
 
8145
fi
 
8146
 
 
8147
    done
 
8148
    ac_cv_prog_CXXCPP=$CXXCPP
 
8149
 
 
8150
fi
 
8151
  CXXCPP=$ac_cv_prog_CXXCPP
 
8152
else
 
8153
  ac_cv_prog_CXXCPP=$CXXCPP
 
8154
fi
 
8155
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
8156
$as_echo "$CXXCPP" >&6; }
 
8157
ac_preproc_ok=false
 
8158
for ac_cxx_preproc_warn_flag in '' yes
 
8159
do
 
8160
  # Use a header file that comes with gcc, so configuring glibc
 
8161
  # with a fresh cross-compiler works.
 
8162
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
8163
  # <limits.h> exists even on freestanding compilers.
 
8164
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
8165
  # not just through cpp. "Syntax error" is here to catch this case.
 
8166
  cat >conftest.$ac_ext <<_ACEOF
 
8167
/* confdefs.h.  */
 
8168
_ACEOF
 
8169
cat confdefs.h >>conftest.$ac_ext
 
8170
cat >>conftest.$ac_ext <<_ACEOF
 
8171
/* end confdefs.h.  */
 
8172
#ifdef __STDC__
 
8173
# include <limits.h>
 
8174
#else
 
8175
# include <assert.h>
 
8176
#endif
 
8177
                     Syntax error
 
8178
_ACEOF
 
8179
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
8180
case "(($ac_try" in
 
8181
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8182
  *) ac_try_echo=$ac_try;;
 
8183
esac
 
8184
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8185
$as_echo "$ac_try_echo") >&5
 
8186
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
8187
  ac_status=$?
 
8188
  grep -v '^ *+' conftest.er1 >conftest.err
 
8189
  rm -f conftest.er1
 
8190
  cat conftest.err >&5
 
8191
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8192
  (exit $ac_status); } >/dev/null && {
 
8193
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
8194
         test ! -s conftest.err
 
8195
       }; then
 
8196
  :
 
8197
else
 
8198
  $as_echo "$as_me: failed program was:" >&5
 
8199
sed 's/^/| /' conftest.$ac_ext >&5
 
8200
 
 
8201
  # Broken: fails on valid input.
 
8202
continue
 
8203
fi
 
8204
 
 
8205
rm -f conftest.err conftest.$ac_ext
 
8206
 
 
8207
  # OK, works on sane cases.  Now check whether nonexistent headers
 
8208
  # can be detected and how.
 
8209
  cat >conftest.$ac_ext <<_ACEOF
 
8210
/* confdefs.h.  */
 
8211
_ACEOF
 
8212
cat confdefs.h >>conftest.$ac_ext
 
8213
cat >>conftest.$ac_ext <<_ACEOF
 
8214
/* end confdefs.h.  */
 
8215
#include <ac_nonexistent.h>
 
8216
_ACEOF
 
8217
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
8218
case "(($ac_try" in
 
8219
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8220
  *) ac_try_echo=$ac_try;;
 
8221
esac
 
8222
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8223
$as_echo "$ac_try_echo") >&5
 
8224
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
8225
  ac_status=$?
 
8226
  grep -v '^ *+' conftest.er1 >conftest.err
 
8227
  rm -f conftest.er1
 
8228
  cat conftest.err >&5
 
8229
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8230
  (exit $ac_status); } >/dev/null && {
 
8231
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
8232
         test ! -s conftest.err
 
8233
       }; then
 
8234
  # Broken: success on invalid input.
 
8235
continue
 
8236
else
 
8237
  $as_echo "$as_me: failed program was:" >&5
 
8238
sed 's/^/| /' conftest.$ac_ext >&5
 
8239
 
 
8240
  # Passes both tests.
 
8241
ac_preproc_ok=:
 
8242
break
 
8243
fi
 
8244
 
 
8245
rm -f conftest.err conftest.$ac_ext
 
8246
 
 
8247
done
 
8248
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
8249
rm -f conftest.err conftest.$ac_ext
 
8250
if $ac_preproc_ok; then
 
8251
  :
 
8252
else
 
8253
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
8254
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
8255
_lt_caught_CXX_error=yes; }
 
8256
fi
 
8257
 
 
8258
ac_ext=cpp
 
8259
ac_cpp='$CXXCPP $CPPFLAGS'
 
8260
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8261
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8262
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
8263
 
 
8264
else
 
8265
  _lt_caught_CXX_error=yes
 
8266
fi
 
8267
 
 
8268
 
 
8269
 
 
8270
 
 
8271
 
 
8272
# Set options
 
8273
 
 
8274
 
 
8275
 
 
8276
        enable_dlopen=no
 
8277
 
 
8278
 
 
8279
  enable_win32_dll=no
 
8280
 
 
8281
 
 
8282
 
 
8283
  # Check whether --enable-static was given.
 
8284
if test "${enable_static+set}" = set; then
 
8285
  enableval=$enable_static; p=${PACKAGE-default}
 
8286
    case $enableval in
 
8287
    yes) enable_static=yes ;;
 
8288
    no) enable_static=no ;;
 
8289
    *)
 
8290
     enable_static=no
 
8291
      # Look at the argument we got.  We use all the common list separators.
 
8292
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8293
      for pkg in $enableval; do
 
8294
        IFS="$lt_save_ifs"
 
8295
        if test "X$pkg" = "X$p"; then
 
8296
          enable_static=yes
 
8297
        fi
 
8298
      done
 
8299
      IFS="$lt_save_ifs"
 
8300
      ;;
 
8301
    esac
 
8302
else
 
8303
  enable_static=yes
 
8304
fi
 
8305
 
 
8306
 
 
8307
 
 
8308
 
 
8309
 
 
8310
 
 
8311
 
 
8312
 
7411
8313
 
7412
8314
 
7413
8315
# Check whether --with-pic was given.
7417
8319
  pic_mode=default
7418
8320
fi
7419
8321
 
 
8322
 
7420
8323
test -z "$pic_mode" && pic_mode=default
7421
8324
 
 
8325
 
 
8326
 
 
8327
 
 
8328
 
 
8329
 
 
8330
 
 
8331
  # Check whether --enable-fast-install was given.
 
8332
if test "${enable_fast_install+set}" = set; then
 
8333
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
8334
    case $enableval in
 
8335
    yes) enable_fast_install=yes ;;
 
8336
    no) enable_fast_install=no ;;
 
8337
    *)
 
8338
      enable_fast_install=no
 
8339
      # Look at the argument we got.  We use all the common list separators.
 
8340
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8341
      for pkg in $enableval; do
 
8342
        IFS="$lt_save_ifs"
 
8343
        if test "X$pkg" = "X$p"; then
 
8344
          enable_fast_install=yes
 
8345
        fi
 
8346
      done
 
8347
      IFS="$lt_save_ifs"
 
8348
      ;;
 
8349
    esac
 
8350
else
 
8351
  enable_fast_install=yes
 
8352
fi
 
8353
 
 
8354
 
 
8355
 
 
8356
 
 
8357
 
 
8358
 
 
8359
 
 
8360
 
 
8361
 
 
8362
 
 
8363
 
 
8364
# This can be used to rebuild libtool when needed
 
8365
LIBTOOL_DEPS="$ltmain"
 
8366
 
 
8367
# Always use our own libtool.
 
8368
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
8369
 
 
8370
 
 
8371
 
 
8372
 
 
8373
 
 
8374
 
 
8375
 
 
8376
 
 
8377
 
 
8378
 
 
8379
 
 
8380
 
 
8381
 
 
8382
 
 
8383
 
 
8384
 
 
8385
 
 
8386
 
 
8387
 
 
8388
 
 
8389
 
 
8390
 
 
8391
 
 
8392
 
 
8393
 
 
8394
test -z "$LN_S" && LN_S="ln -s"
 
8395
 
 
8396
 
 
8397
 
 
8398
 
 
8399
 
 
8400
 
 
8401
 
 
8402
 
 
8403
 
 
8404
 
 
8405
 
 
8406
 
 
8407
 
 
8408
 
 
8409
if test -n "${ZSH_VERSION+set}" ; then
 
8410
   setopt NO_GLOB_SUBST
 
8411
fi
 
8412
 
 
8413
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8414
$as_echo_n "checking for objdir... " >&6; }
 
8415
if test "${lt_cv_objdir+set}" = set; then
 
8416
  $as_echo_n "(cached) " >&6
 
8417
else
 
8418
  rm -f .libs 2>/dev/null
 
8419
mkdir .libs 2>/dev/null
 
8420
if test -d .libs; then
 
8421
  lt_cv_objdir=.libs
 
8422
else
 
8423
  # MS-DOS does not allow filenames that begin with a dot.
 
8424
  lt_cv_objdir=_libs
 
8425
fi
 
8426
rmdir .libs 2>/dev/null
 
8427
fi
 
8428
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8429
$as_echo "$lt_cv_objdir" >&6; }
 
8430
objdir=$lt_cv_objdir
 
8431
 
 
8432
 
 
8433
 
 
8434
 
 
8435
 
 
8436
cat >>confdefs.h <<_ACEOF
 
8437
#define LT_OBJDIR "$lt_cv_objdir/"
 
8438
_ACEOF
 
8439
 
 
8440
 
 
8441
 
 
8442
 
 
8443
 
 
8444
 
 
8445
 
 
8446
 
 
8447
 
 
8448
 
 
8449
 
 
8450
 
 
8451
 
 
8452
 
 
8453
 
 
8454
 
 
8455
 
 
8456
case $host_os in
 
8457
aix3*)
 
8458
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
8459
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
8460
  # vanish in a puff of smoke.
 
8461
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
8462
    COLLECT_NAMES=
 
8463
    export COLLECT_NAMES
 
8464
  fi
 
8465
  ;;
 
8466
esac
 
8467
 
 
8468
# Sed substitution that helps us do robust quoting.  It backslashifies
 
8469
# metacharacters that are still active within double-quoted strings.
 
8470
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
8471
 
 
8472
# Same as above, but do not quote variable references.
 
8473
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
8474
 
 
8475
# Sed substitution to delay expansion of an escaped shell variable in a
 
8476
# double_quote_subst'ed string.
 
8477
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
8478
 
 
8479
# Sed substitution to delay expansion of an escaped single quote.
 
8480
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
8481
 
 
8482
# Sed substitution to avoid accidental globbing in evaled expressions
 
8483
no_glob_subst='s/\*/\\\*/g'
 
8484
 
 
8485
# Global variables:
 
8486
ofile=libtool
 
8487
can_build_shared=yes
 
8488
 
 
8489
# All known linkers require a `.a' archive for static linking (except MSVC,
 
8490
# which needs '.lib').
 
8491
libext=a
 
8492
 
 
8493
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
8494
 
 
8495
old_CC="$CC"
 
8496
old_CFLAGS="$CFLAGS"
 
8497
 
 
8498
# Set sane defaults for various variables
 
8499
test -z "$CC" && CC=cc
 
8500
test -z "$LTCC" && LTCC=$CC
 
8501
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
8502
test -z "$LD" && LD=ld
 
8503
test -z "$ac_objext" && ac_objext=o
 
8504
 
 
8505
for cc_temp in $compiler""; do
 
8506
  case $cc_temp in
 
8507
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8508
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8509
    \-*) ;;
 
8510
    *) break;;
 
8511
  esac
 
8512
done
 
8513
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8514
 
 
8515
 
 
8516
# Only perform the check for file, if the check method requires it
 
8517
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
8518
case $deplibs_check_method in
 
8519
file_magic*)
 
8520
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
8521
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8522
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
8523
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8524
  $as_echo_n "(cached) " >&6
 
8525
else
 
8526
  case $MAGIC_CMD in
 
8527
[\\/*] |  ?:[\\/]*)
 
8528
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8529
  ;;
 
8530
*)
 
8531
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8532
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8533
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8534
  for ac_dir in $ac_dummy; do
 
8535
    IFS="$lt_save_ifs"
 
8536
    test -z "$ac_dir" && ac_dir=.
 
8537
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
8538
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
8539
      if test -n "$file_magic_test_file"; then
 
8540
        case $deplibs_check_method in
 
8541
        "file_magic "*)
 
8542
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8543
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8544
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8545
            $EGREP "$file_magic_regex" > /dev/null; then
 
8546
            :
 
8547
          else
 
8548
            cat <<_LT_EOF 1>&2
 
8549
 
 
8550
*** Warning: the command libtool uses to detect shared libraries,
 
8551
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8552
*** The result is that libtool may fail to recognize shared libraries
 
8553
*** as such.  This will affect the creation of libtool libraries that
 
8554
*** depend on shared libraries, but programs linked with such libtool
 
8555
*** libraries will work regardless of this problem.  Nevertheless, you
 
8556
*** may want to report the problem to your system manager and/or to
 
8557
*** bug-libtool@gnu.org
 
8558
 
 
8559
_LT_EOF
 
8560
          fi ;;
 
8561
        esac
 
8562
      fi
 
8563
      break
 
8564
    fi
 
8565
  done
 
8566
  IFS="$lt_save_ifs"
 
8567
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8568
  ;;
 
8569
esac
 
8570
fi
 
8571
 
 
8572
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8573
if test -n "$MAGIC_CMD"; then
 
8574
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8575
$as_echo "$MAGIC_CMD" >&6; }
 
8576
else
 
8577
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8578
$as_echo "no" >&6; }
 
8579
fi
 
8580
 
 
8581
 
 
8582
 
 
8583
 
 
8584
 
 
8585
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
8586
  if test -n "$ac_tool_prefix"; then
 
8587
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8588
$as_echo_n "checking for file... " >&6; }
 
8589
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8590
  $as_echo_n "(cached) " >&6
 
8591
else
 
8592
  case $MAGIC_CMD in
 
8593
[\\/*] |  ?:[\\/]*)
 
8594
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8595
  ;;
 
8596
*)
 
8597
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8598
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8599
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8600
  for ac_dir in $ac_dummy; do
 
8601
    IFS="$lt_save_ifs"
 
8602
    test -z "$ac_dir" && ac_dir=.
 
8603
    if test -f $ac_dir/file; then
 
8604
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
8605
      if test -n "$file_magic_test_file"; then
 
8606
        case $deplibs_check_method in
 
8607
        "file_magic "*)
 
8608
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8609
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8610
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8611
            $EGREP "$file_magic_regex" > /dev/null; then
 
8612
            :
 
8613
          else
 
8614
            cat <<_LT_EOF 1>&2
 
8615
 
 
8616
*** Warning: the command libtool uses to detect shared libraries,
 
8617
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8618
*** The result is that libtool may fail to recognize shared libraries
 
8619
*** as such.  This will affect the creation of libtool libraries that
 
8620
*** depend on shared libraries, but programs linked with such libtool
 
8621
*** libraries will work regardless of this problem.  Nevertheless, you
 
8622
*** may want to report the problem to your system manager and/or to
 
8623
*** bug-libtool@gnu.org
 
8624
 
 
8625
_LT_EOF
 
8626
          fi ;;
 
8627
        esac
 
8628
      fi
 
8629
      break
 
8630
    fi
 
8631
  done
 
8632
  IFS="$lt_save_ifs"
 
8633
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8634
  ;;
 
8635
esac
 
8636
fi
 
8637
 
 
8638
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8639
if test -n "$MAGIC_CMD"; then
 
8640
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8641
$as_echo "$MAGIC_CMD" >&6; }
 
8642
else
 
8643
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8644
$as_echo "no" >&6; }
 
8645
fi
 
8646
 
 
8647
 
 
8648
  else
 
8649
    MAGIC_CMD=:
 
8650
  fi
 
8651
fi
 
8652
 
 
8653
  fi
 
8654
  ;;
 
8655
esac
 
8656
 
7422
8657
# Use C for the default configuration in the libtool script
7423
 
tagname=
 
8658
 
7424
8659
lt_save_CC="$CC"
7425
8660
ac_ext=c
7426
8661
ac_cpp='$CPP $CPPFLAGS'
7443
8678
lt_simple_link_test_code='int main(){return(0);}'
7444
8679
 
7445
8680
 
 
8681
 
 
8682
 
 
8683
 
 
8684
 
 
8685
 
7446
8686
# If no C compiler was specified, use CC.
7447
8687
LTCC=${LTCC-"$CC"}
7448
8688
 
7452
8692
# Allow CC to be a program name with arguments.
7453
8693
compiler=$CC
7454
8694
 
 
8695
# Save the default compiler, since it gets overwritten when the other
 
8696
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
8697
compiler_DEFAULT=$CC
7455
8698
 
7456
8699
# save warnings/boilerplate of simple test code
7457
8700
ac_outfile=conftest.$ac_objext
7458
8701
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7459
8702
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7460
8703
_lt_compiler_boilerplate=`cat conftest.err`
7461
 
$rm conftest*
 
8704
$RM conftest*
7462
8705
 
7463
8706
ac_outfile=conftest.$ac_objext
7464
8707
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7465
8708
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7466
8709
_lt_linker_boilerplate=`cat conftest.err`
7467
 
$rm -r conftest*
7468
 
 
7469
 
 
 
8710
$RM -r conftest*
 
8711
 
 
8712
 
 
8713
## CAVEAT EMPTOR:
 
8714
## There is no encapsulation within the following macros, do not change
 
8715
## the running order or otherwise move them around unless you know exactly
 
8716
## what you are doing...
 
8717
if test -n "$compiler"; then
7470
8718
 
7471
8719
lt_prog_compiler_no_builtin_flag=
7472
8720
 
7473
8721
if test "$GCC" = yes; then
7474
8722
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7475
8723
 
7476
 
 
7477
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7478
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
8724
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8725
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7479
8726
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7480
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8727
  $as_echo_n "(cached) " >&6
7481
8728
else
7482
8729
  lt_cv_prog_compiler_rtti_exceptions=no
7483
 
  ac_outfile=conftest.$ac_objext
 
8730
   ac_outfile=conftest.$ac_objext
7484
8731
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7485
8732
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7486
8733
   # Insert the option either (1) after the last *FLAGS variable, or
7492
8739
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7493
8740
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7494
8741
   -e 's:$: $lt_compiler_flag:'`
7495
 
   (eval echo "\"\$as_me:7495: $lt_compile\"" >&5)
 
8742
   (eval echo "\"\$as_me:8742: $lt_compile\"" >&5)
7496
8743
   (eval "$lt_compile" 2>conftest.err)
7497
8744
   ac_status=$?
7498
8745
   cat conftest.err >&5
7499
 
   echo "$as_me:7499: \$? = $ac_status" >&5
 
8746
   echo "$as_me:8746: \$? = $ac_status" >&5
7500
8747
   if (exit $ac_status) && test -s "$ac_outfile"; then
7501
8748
     # The compiler can only warn and ignore the option if not recognized
7502
8749
     # So say no if there are warnings other than the usual output.
7503
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8750
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7504
8751
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7505
8752
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7506
8753
       lt_cv_prog_compiler_rtti_exceptions=yes
7507
8754
     fi
7508
8755
   fi
7509
 
   $rm conftest*
 
8756
   $RM conftest*
7510
8757
 
7511
8758
fi
7512
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7513
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8759
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8760
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7514
8761
 
7515
8762
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7516
8763
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7520
8767
 
7521
8768
fi
7522
8769
 
7523
 
lt_prog_compiler_wl=
 
8770
 
 
8771
 
 
8772
 
 
8773
 
 
8774
 
 
8775
  lt_prog_compiler_wl=
7524
8776
lt_prog_compiler_pic=
7525
8777
lt_prog_compiler_static=
7526
8778
 
7527
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7528
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
8779
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8780
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7529
8781
 
7530
8782
  if test "$GCC" = yes; then
7531
8783
    lt_prog_compiler_wl='-Wl,'
7541
8793
      ;;
7542
8794
 
7543
8795
    amigaos*)
7544
 
      # FIXME: we need at least 68020 code to build shared libraries, but
7545
 
      # adding the `-m68020' flag to GCC prevents building anything better,
7546
 
      # like `-m68040'.
7547
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8796
      case $host_cpu in
 
8797
      powerpc)
 
8798
            # see comment about AmigaOS4 .so support
 
8799
            lt_prog_compiler_pic='-fPIC'
 
8800
        ;;
 
8801
      m68k)
 
8802
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8803
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8804
            # like `-m68040'.
 
8805
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8806
        ;;
 
8807
      esac
7548
8808
      ;;
7549
8809
 
7550
8810
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7551
8811
      # PIC is the default for these OSes.
7552
8812
      ;;
7553
8813
 
7554
 
    mingw* | cygwin* | pw32* | os2*)
 
8814
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7555
8815
      # This hack is so that the source file can tell whether it is being
7556
8816
      # built for inclusion in a dll (and should export symbols for example).
7557
8817
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7565
8825
      lt_prog_compiler_pic='-fno-common'
7566
8826
      ;;
7567
8827
 
 
8828
    hpux*)
 
8829
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8830
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8831
      # sets the default TLS model and affects inlining.
 
8832
      case $host_cpu in
 
8833
      hppa*64*)
 
8834
        # +Z the default
 
8835
        ;;
 
8836
      *)
 
8837
        lt_prog_compiler_pic='-fPIC'
 
8838
        ;;
 
8839
      esac
 
8840
      ;;
 
8841
 
7568
8842
    interix[3-9]*)
7569
8843
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7570
8844
      # Instead, we relocate shared libraries at runtime.
7577
8851
      enable_shared=no
7578
8852
      ;;
7579
8853
 
 
8854
    *nto* | *qnx*)
 
8855
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8856
      # it will coredump.
 
8857
      lt_prog_compiler_pic='-fPIC -shared'
 
8858
      ;;
 
8859
 
7580
8860
    sysv4*MP*)
7581
8861
      if test -d /usr/nec; then
7582
8862
        lt_prog_compiler_pic=-Kconform_pic
7583
8863
      fi
7584
8864
      ;;
7585
8865
 
7586
 
    hpux*)
7587
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7588
 
      # not for PA HP-UX.
7589
 
      case $host_cpu in
7590
 
      hppa*64*|ia64*)
7591
 
        # +Z the default
7592
 
        ;;
7593
 
      *)
7594
 
        lt_prog_compiler_pic='-fPIC'
7595
 
        ;;
7596
 
      esac
7597
 
      ;;
7598
 
 
7599
8866
    *)
7600
8867
      lt_prog_compiler_pic='-fPIC'
7601
8868
      ;;
7612
8879
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7613
8880
      fi
7614
8881
      ;;
7615
 
      darwin*)
7616
 
        # PIC is the default on this platform
7617
 
        # Common symbols not allowed in MH_DYLIB files
7618
 
       case $cc_basename in
7619
 
         xlc*)
7620
 
         lt_prog_compiler_pic='-qnocommon'
7621
 
         lt_prog_compiler_wl='-Wl,'
7622
 
         ;;
7623
 
       esac
7624
 
       ;;
7625
8882
 
7626
 
    mingw* | cygwin* | pw32* | os2*)
 
8883
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7627
8884
      # This hack is so that the source file can tell whether it is being
7628
8885
      # built for inclusion in a dll (and should export symbols for example).
7629
8886
      lt_prog_compiler_pic='-DDLL_EXPORT'
7651
8908
      lt_prog_compiler_static='-non_shared'
7652
8909
      ;;
7653
8910
 
7654
 
    newsos6)
7655
 
      lt_prog_compiler_pic='-KPIC'
7656
 
      lt_prog_compiler_static='-Bstatic'
7657
 
      ;;
7658
 
 
7659
8911
    linux* | k*bsd*-gnu)
7660
8912
      case $cc_basename in
7661
 
      icc* | ecc*)
 
8913
      # old Intel for x86_64 which still supported -KPIC.
 
8914
      ecc*)
7662
8915
        lt_prog_compiler_wl='-Wl,'
7663
8916
        lt_prog_compiler_pic='-KPIC'
7664
8917
        lt_prog_compiler_static='-static'
7665
8918
        ;;
 
8919
      # icc used to be incompatible with GCC.
 
8920
      # ICC 10 doesn't accept -KPIC any more.
 
8921
      icc* | ifort*)
 
8922
        lt_prog_compiler_wl='-Wl,'
 
8923
        lt_prog_compiler_pic='-fPIC'
 
8924
        lt_prog_compiler_static='-static'
 
8925
        ;;
 
8926
      # Lahey Fortran 8.1.
 
8927
      lf95*)
 
8928
        lt_prog_compiler_wl='-Wl,'
 
8929
        lt_prog_compiler_pic='--shared'
 
8930
        lt_prog_compiler_static='--static'
 
8931
        ;;
7666
8932
      pgcc* | pgf77* | pgf90* | pgf95*)
7667
8933
        # Portland Group compilers (*not* the Pentium gcc compiler,
7668
8934
        # which looks to be a dead project)
7675
8941
        # All Alpha code is PIC.
7676
8942
        lt_prog_compiler_static='-non_shared'
7677
8943
        ;;
 
8944
      xl*)
 
8945
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8946
        lt_prog_compiler_wl='-Wl,'
 
8947
        lt_prog_compiler_pic='-qpic'
 
8948
        lt_prog_compiler_static='-qstaticlink'
 
8949
        ;;
7678
8950
      *)
7679
 
        case `$CC -V 2>&1 | sed 5q` in
 
8951
        case `$CC -V 2>&1 | sed 5q` in
7680
8952
        *Sun\ C*)
7681
8953
          # Sun C 5.9
7682
8954
          lt_prog_compiler_pic='-KPIC'
7694
8966
      esac
7695
8967
      ;;
7696
8968
 
 
8969
    newsos6)
 
8970
      lt_prog_compiler_pic='-KPIC'
 
8971
      lt_prog_compiler_static='-Bstatic'
 
8972
      ;;
 
8973
 
 
8974
    *nto* | *qnx*)
 
8975
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8976
      # it will coredump.
 
8977
      lt_prog_compiler_pic='-fPIC -shared'
 
8978
      ;;
 
8979
 
7697
8980
    osf3* | osf4* | osf5*)
7698
8981
      lt_prog_compiler_wl='-Wl,'
7699
8982
      # All OSF/1 code is PIC.
7756
9039
    esac
7757
9040
  fi
7758
9041
 
7759
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7760
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
9042
case $host_os in
 
9043
  # For platforms which do not support PIC, -DPIC is meaningless:
 
9044
  *djgpp*)
 
9045
    lt_prog_compiler_pic=
 
9046
    ;;
 
9047
  *)
 
9048
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
9049
    ;;
 
9050
esac
 
9051
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
9052
$as_echo "$lt_prog_compiler_pic" >&6; }
 
9053
 
 
9054
 
 
9055
 
 
9056
 
 
9057
 
7761
9058
 
7762
9059
#
7763
9060
# Check to make sure the PIC flag actually works.
7764
9061
#
7765
9062
if test -n "$lt_prog_compiler_pic"; then
7766
 
 
7767
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7768
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
 
9063
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9064
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7769
9065
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7770
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9066
  $as_echo_n "(cached) " >&6
7771
9067
else
7772
9068
  lt_cv_prog_compiler_pic_works=no
7773
 
  ac_outfile=conftest.$ac_objext
 
9069
   ac_outfile=conftest.$ac_objext
7774
9070
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7775
9071
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7776
9072
   # Insert the option either (1) after the last *FLAGS variable, or
7782
9078
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7783
9079
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7784
9080
   -e 's:$: $lt_compiler_flag:'`
7785
 
   (eval echo "\"\$as_me:7785: $lt_compile\"" >&5)
 
9081
   (eval echo "\"\$as_me:9081: $lt_compile\"" >&5)
7786
9082
   (eval "$lt_compile" 2>conftest.err)
7787
9083
   ac_status=$?
7788
9084
   cat conftest.err >&5
7789
 
   echo "$as_me:7789: \$? = $ac_status" >&5
 
9085
   echo "$as_me:9085: \$? = $ac_status" >&5
7790
9086
   if (exit $ac_status) && test -s "$ac_outfile"; then
7791
9087
     # The compiler can only warn and ignore the option if not recognized
7792
9088
     # So say no if there are warnings other than the usual output.
7793
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9089
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7794
9090
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7795
9091
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7796
9092
       lt_cv_prog_compiler_pic_works=yes
7797
9093
     fi
7798
9094
   fi
7799
 
   $rm conftest*
 
9095
   $RM conftest*
7800
9096
 
7801
9097
fi
7802
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7803
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
 
9098
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
9099
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7804
9100
 
7805
9101
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7806
9102
    case $lt_prog_compiler_pic in
7813
9109
fi
7814
9110
 
7815
9111
fi
7816
 
case $host_os in
7817
 
  # For platforms which do not support PIC, -DPIC is meaningless:
7818
 
  *djgpp*)
7819
 
    lt_prog_compiler_pic=
7820
 
    ;;
7821
 
  *)
7822
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7823
 
    ;;
7824
 
esac
 
9112
 
 
9113
 
 
9114
 
 
9115
 
 
9116
 
7825
9117
 
7826
9118
#
7827
9119
# Check to make sure the static flag actually works.
7828
9120
#
7829
9121
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7830
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7831
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
9122
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9123
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7832
9124
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7833
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9125
  $as_echo_n "(cached) " >&6
7834
9126
else
7835
9127
  lt_cv_prog_compiler_static_works=no
7836
9128
   save_LDFLAGS="$LDFLAGS"
7842
9134
     if test -s conftest.err; then
7843
9135
       # Append any errors to the config.log.
7844
9136
       cat conftest.err 1>&5
7845
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
9137
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7846
9138
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7847
9139
       if diff conftest.exp conftest.er2 >/dev/null; then
7848
9140
         lt_cv_prog_compiler_static_works=yes
7851
9143
       lt_cv_prog_compiler_static_works=yes
7852
9144
     fi
7853
9145
   fi
7854
 
   $rm -r conftest*
 
9146
   $RM -r conftest*
7855
9147
   LDFLAGS="$save_LDFLAGS"
7856
9148
 
7857
9149
fi
7858
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7859
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
 
9150
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
9151
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7860
9152
 
7861
9153
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7862
9154
    :
7865
9157
fi
7866
9158
 
7867
9159
 
7868
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7869
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7870
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7871
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7872
 
else
7873
 
  lt_cv_prog_compiler_c_o=no
7874
 
   $rm -r conftest 2>/dev/null
7875
 
   mkdir conftest
7876
 
   cd conftest
7877
 
   mkdir out
7878
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7879
 
 
7880
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7881
 
   # Insert the option either (1) after the last *FLAGS variable, or
7882
 
   # (2) before a word containing "conftest.", or (3) at the end.
7883
 
   # Note that $ac_compile itself does not contain backslashes and begins
7884
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7885
 
   lt_compile=`echo "$ac_compile" | $SED \
7886
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7887
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7888
 
   -e 's:$: $lt_compiler_flag:'`
7889
 
   (eval echo "\"\$as_me:7889: $lt_compile\"" >&5)
7890
 
   (eval "$lt_compile" 2>out/conftest.err)
7891
 
   ac_status=$?
7892
 
   cat out/conftest.err >&5
7893
 
   echo "$as_me:7893: \$? = $ac_status" >&5
7894
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7895
 
   then
7896
 
     # The compiler can only warn and ignore the option if not recognized
7897
 
     # So say no if there are warnings
7898
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7899
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7900
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7901
 
       lt_cv_prog_compiler_c_o=yes
7902
 
     fi
7903
 
   fi
7904
 
   chmod u+w . 2>&5
7905
 
   $rm conftest*
7906
 
   # SGI C++ compiler will create directory out/ii_files/ for
7907
 
   # template instantiation
7908
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7909
 
   $rm out/* && rmdir out
7910
 
   cd ..
7911
 
   rmdir conftest
7912
 
   $rm conftest*
7913
 
 
7914
 
fi
7915
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7916
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
9160
 
 
9161
 
 
9162
 
 
9163
 
 
9164
 
 
9165
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9166
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9167
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9168
  $as_echo_n "(cached) " >&6
 
9169
else
 
9170
  lt_cv_prog_compiler_c_o=no
 
9171
   $RM -r conftest 2>/dev/null
 
9172
   mkdir conftest
 
9173
   cd conftest
 
9174
   mkdir out
 
9175
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9176
 
 
9177
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9178
   # Insert the option either (1) after the last *FLAGS variable, or
 
9179
   # (2) before a word containing "conftest.", or (3) at the end.
 
9180
   # Note that $ac_compile itself does not contain backslashes and begins
 
9181
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9182
   lt_compile=`echo "$ac_compile" | $SED \
 
9183
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9184
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9185
   -e 's:$: $lt_compiler_flag:'`
 
9186
   (eval echo "\"\$as_me:9186: $lt_compile\"" >&5)
 
9187
   (eval "$lt_compile" 2>out/conftest.err)
 
9188
   ac_status=$?
 
9189
   cat out/conftest.err >&5
 
9190
   echo "$as_me:9190: \$? = $ac_status" >&5
 
9191
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9192
   then
 
9193
     # The compiler can only warn and ignore the option if not recognized
 
9194
     # So say no if there are warnings
 
9195
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9196
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9197
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9198
       lt_cv_prog_compiler_c_o=yes
 
9199
     fi
 
9200
   fi
 
9201
   chmod u+w . 2>&5
 
9202
   $RM conftest*
 
9203
   # SGI C++ compiler will create directory out/ii_files/ for
 
9204
   # template instantiation
 
9205
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9206
   $RM out/* && rmdir out
 
9207
   cd ..
 
9208
   $RM -r conftest
 
9209
   $RM conftest*
 
9210
 
 
9211
fi
 
9212
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9213
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9214
 
 
9215
 
 
9216
 
 
9217
 
 
9218
 
 
9219
 
 
9220
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9221
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9222
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9223
  $as_echo_n "(cached) " >&6
 
9224
else
 
9225
  lt_cv_prog_compiler_c_o=no
 
9226
   $RM -r conftest 2>/dev/null
 
9227
   mkdir conftest
 
9228
   cd conftest
 
9229
   mkdir out
 
9230
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9231
 
 
9232
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9233
   # Insert the option either (1) after the last *FLAGS variable, or
 
9234
   # (2) before a word containing "conftest.", or (3) at the end.
 
9235
   # Note that $ac_compile itself does not contain backslashes and begins
 
9236
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9237
   lt_compile=`echo "$ac_compile" | $SED \
 
9238
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9239
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9240
   -e 's:$: $lt_compiler_flag:'`
 
9241
   (eval echo "\"\$as_me:9241: $lt_compile\"" >&5)
 
9242
   (eval "$lt_compile" 2>out/conftest.err)
 
9243
   ac_status=$?
 
9244
   cat out/conftest.err >&5
 
9245
   echo "$as_me:9245: \$? = $ac_status" >&5
 
9246
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9247
   then
 
9248
     # The compiler can only warn and ignore the option if not recognized
 
9249
     # So say no if there are warnings
 
9250
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9251
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9252
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9253
       lt_cv_prog_compiler_c_o=yes
 
9254
     fi
 
9255
   fi
 
9256
   chmod u+w . 2>&5
 
9257
   $RM conftest*
 
9258
   # SGI C++ compiler will create directory out/ii_files/ for
 
9259
   # template instantiation
 
9260
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9261
   $RM out/* && rmdir out
 
9262
   cd ..
 
9263
   $RM -r conftest
 
9264
   $RM conftest*
 
9265
 
 
9266
fi
 
9267
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9268
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9269
 
 
9270
 
7917
9271
 
7918
9272
 
7919
9273
hard_links="nottested"
7920
9274
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7921
9275
  # do not overwrite the value of need_locks provided by the user
7922
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7923
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
9276
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
9277
$as_echo_n "checking if we can lock with hard links... " >&6; }
7924
9278
  hard_links=yes
7925
 
  $rm conftest*
 
9279
  $RM conftest*
7926
9280
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7927
9281
  touch conftest.a
7928
9282
  ln conftest.a conftest.b 2>&5 || hard_links=no
7929
9283
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7930
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
7931
 
echo "${ECHO_T}$hard_links" >&6; }
 
9284
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
9285
$as_echo "$hard_links" >&6; }
7932
9286
  if test "$hard_links" = no; then
7933
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7934
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
9287
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9288
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7935
9289
    need_locks=warn
7936
9290
  fi
7937
9291
else
7938
9292
  need_locks=no
7939
9293
fi
7940
9294
 
7941
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7942
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
9295
 
 
9296
 
 
9297
 
 
9298
 
 
9299
 
 
9300
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9301
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7943
9302
 
7944
9303
  runpath_var=
7945
9304
  allow_undefined_flag=
7946
 
  enable_shared_with_static_runtimes=no
 
9305
  always_export_symbols=no
7947
9306
  archive_cmds=
7948
9307
  archive_expsym_cmds=
7949
 
  old_archive_From_new_cmds=
7950
 
  old_archive_from_expsyms_cmds=
 
9308
  compiler_needs_object=no
 
9309
  enable_shared_with_static_runtimes=no
7951
9310
  export_dynamic_flag_spec=
7952
 
  whole_archive_flag_spec=
7953
 
  thread_safe_flag_spec=
 
9311
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9312
  hardcode_automatic=no
 
9313
  hardcode_direct=no
 
9314
  hardcode_direct_absolute=no
7954
9315
  hardcode_libdir_flag_spec=
7955
9316
  hardcode_libdir_flag_spec_ld=
7956
9317
  hardcode_libdir_separator=
7957
 
  hardcode_direct=no
7958
9318
  hardcode_minus_L=no
7959
9319
  hardcode_shlibpath_var=unsupported
 
9320
  inherit_rpath=no
7960
9321
  link_all_deplibs=unknown
7961
 
  hardcode_automatic=no
7962
9322
  module_cmds=
7963
9323
  module_expsym_cmds=
7964
 
  always_export_symbols=no
7965
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9324
  old_archive_from_new_cmds=
 
9325
  old_archive_from_expsyms_cmds=
 
9326
  thread_safe_flag_spec=
 
9327
  whole_archive_flag_spec=
7966
9328
  # include_expsyms should be a list of space-separated symbols to be *always*
7967
9329
  # included in the symbol list
7968
9330
  include_expsyms=
7978
9340
  # preloaded symbol tables.
7979
9341
  # Exclude shared library initialization/finalization symbols.
7980
9342
  extract_expsyms_cmds=
7981
 
  # Just being paranoid about ensuring that cc_basename is set.
7982
 
  for cc_temp in $compiler""; do
7983
 
  case $cc_temp in
7984
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7985
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7986
 
    \-*) ;;
7987
 
    *) break;;
7988
 
  esac
7989
 
done
7990
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7991
9343
 
7992
9344
  case $host_os in
7993
 
  cygwin* | mingw* | pw32*)
 
9345
  cygwin* | mingw* | pw32* | cegcc*)
7994
9346
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7995
9347
    # When not using gcc, we currently assume that we are using
7996
9348
    # Microsoft Visual C++.
8016
9368
    # are reset later if shared libraries are not supported. Putting them
8017
9369
    # here allows them to be overridden if necessary.
8018
9370
    runpath_var=LD_RUN_PATH
8019
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
9371
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8020
9372
    export_dynamic_flag_spec='${wl}--export-dynamic'
8021
9373
    # ancient GNU ld didn't support --whole-archive et. al.
8022
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8023
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8024
 
      else
8025
 
        whole_archive_flag_spec=
 
9374
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
9375
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9376
    else
 
9377
      whole_archive_flag_spec=
8026
9378
    fi
8027
9379
    supports_anon_versioning=no
8028
 
    case `$LD -v 2>/dev/null` in
 
9380
    case `$LD -v 2>&1` in
8029
9381
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8030
9382
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8031
9383
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8039
9391
      # On AIX/PPC, the GNU linker is very broken
8040
9392
      if test "$host_cpu" != ia64; then
8041
9393
        ld_shlibs=no
8042
 
        cat <<EOF 1>&2
 
9394
        cat <<_LT_EOF 1>&2
8043
9395
 
8044
9396
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8045
9397
*** to be unable to reliably create shared libraries on AIX.
8047
9399
*** really care for shared libraries, you may want to modify your PATH
8048
9400
*** so that a non-GNU linker is found, and then restart.
8049
9401
 
8050
 
EOF
 
9402
_LT_EOF
8051
9403
      fi
8052
9404
      ;;
8053
9405
 
8054
9406
    amigaos*)
8055
 
      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)'
8056
 
      hardcode_libdir_flag_spec='-L$libdir'
8057
 
      hardcode_minus_L=yes
8058
 
 
8059
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8060
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
8061
 
      # to version 4, is to share data among multiple programs linked
8062
 
      # with the same dynamic library.  Since this doesn't match the
8063
 
      # behavior of shared libraries on other platforms, we can't use
8064
 
      # them.
8065
 
      ld_shlibs=no
 
9407
      case $host_cpu in
 
9408
      powerpc)
 
9409
            # see comment about AmigaOS4 .so support
 
9410
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9411
            archive_expsym_cmds=''
 
9412
        ;;
 
9413
      m68k)
 
9414
            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)'
 
9415
            hardcode_libdir_flag_spec='-L$libdir'
 
9416
            hardcode_minus_L=yes
 
9417
        ;;
 
9418
      esac
8066
9419
      ;;
8067
9420
 
8068
9421
    beos*)
8069
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9422
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8070
9423
        allow_undefined_flag=unsupported
8071
9424
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8072
9425
        # support --undefined.  This deserves some investigation.  FIXME
8076
9429
      fi
8077
9430
      ;;
8078
9431
 
8079
 
    cygwin* | mingw* | pw32*)
8080
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9432
    cygwin* | mingw* | pw32* | cegcc*)
 
9433
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8081
9434
      # as there is no search path for DLLs.
8082
9435
      hardcode_libdir_flag_spec='-L$libdir'
8083
9436
      allow_undefined_flag=unsupported
8084
9437
      always_export_symbols=no
8085
9438
      enable_shared_with_static_runtimes=yes
8086
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9439
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8087
9440
 
8088
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
9441
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8089
9442
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8090
9443
        # If the export-symbols file already is a .def file (1st line
8091
9444
        # is EXPORTS), use it as is; otherwise, prepend...
8116
9469
      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'
8117
9470
      ;;
8118
9471
 
8119
 
    gnu* | linux* | k*bsd*-gnu)
8120
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9472
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9473
      tmp_diet=no
 
9474
      if test "$host_os" = linux-dietlibc; then
 
9475
        case $cc_basename in
 
9476
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9477
        esac
 
9478
      fi
 
9479
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9480
         && test "$tmp_diet" = no
 
9481
      then
8121
9482
        tmp_addflag=
 
9483
        tmp_sharedflag='-shared'
8122
9484
        case $cc_basename,$host_cpu in
8123
 
        pgcc*)                          # Portland Group C compiler
8124
 
          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'
 
9485
        pgcc*)                          # Portland Group C compiler
 
9486
          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'
8125
9487
          tmp_addflag=' $pic_flag'
8126
9488
          ;;
8127
9489
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8128
 
          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'
 
9490
          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'
8129
9491
          tmp_addflag=' $pic_flag -Mnomain' ;;
8130
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
9492
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8131
9493
          tmp_addflag=' -i_dynamic' ;;
8132
9494
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8133
9495
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8134
9496
        ifc* | ifort*)                  # Intel Fortran compiler
8135
9497
          tmp_addflag=' -nofor_main' ;;
 
9498
        lf95*)                          # Lahey Fortran 8.1
 
9499
          whole_archive_flag_spec=
 
9500
          tmp_sharedflag='--shared' ;;
 
9501
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9502
          tmp_sharedflag='-qmkshrobj'
 
9503
          tmp_addflag= ;;
8136
9504
        esac
8137
9505
        case `$CC -V 2>&1 | sed 5q` in
8138
9506
        *Sun\ C*)                       # Sun C 5.9
8139
 
          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'
 
9507
          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'
 
9508
          compiler_needs_object=yes
8140
9509
          tmp_sharedflag='-G' ;;
8141
9510
        *Sun\ F*)                       # Sun Fortran 8.3
8142
9511
          tmp_sharedflag='-G' ;;
8143
 
        *)
8144
 
          tmp_sharedflag='-shared' ;;
8145
9512
        esac
8146
9513
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8147
9514
 
8148
 
        if test $supports_anon_versioning = yes; then
8149
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8150
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8151
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
8152
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8153
 
        fi
8154
 
        link_all_deplibs=no
 
9515
        if test "x$supports_anon_versioning" = xyes; then
 
9516
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9517
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9518
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
9519
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9520
        fi
 
9521
 
 
9522
        case $cc_basename in
 
9523
        xlf*)
 
9524
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
9525
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
9526
          hardcode_libdir_flag_spec=
 
9527
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9528
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9529
          if test "x$supports_anon_versioning" = xyes; then
 
9530
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9531
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9532
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
9533
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9534
          fi
 
9535
          ;;
 
9536
        esac
8155
9537
      else
8156
 
        ld_shlibs=no
 
9538
        ld_shlibs=no
8157
9539
      fi
8158
9540
      ;;
8159
9541
 
8160
9542
    netbsd* | netbsdelf*-gnu)
8161
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9543
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8162
9544
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8163
9545
        wlarc=
8164
9546
      else
8168
9550
      ;;
8169
9551
 
8170
9552
    solaris*)
8171
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
9553
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8172
9554
        ld_shlibs=no
8173
 
        cat <<EOF 1>&2
 
9555
        cat <<_LT_EOF 1>&2
8174
9556
 
8175
9557
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8176
9558
*** create shared libraries on Solaris systems.  Therefore, libtool
8179
9561
*** your PATH or compiler configuration so that the native linker is
8180
9562
*** used, and then restart.
8181
9563
 
8182
 
EOF
8183
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9564
_LT_EOF
 
9565
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8184
9566
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8185
9567
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8186
9568
      else
8204
9586
_LT_EOF
8205
9587
        ;;
8206
9588
        *)
8207
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8208
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8209
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8210
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
9589
          # For security reasons, it is highly recommended that you always
 
9590
          # use absolute paths for naming shared libraries, and exclude the
 
9591
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
9592
          # requires that you compile everything twice, which is a pain.
 
9593
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9594
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9595
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9596
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8211
9597
          else
8212
9598
            ld_shlibs=no
8213
9599
          fi
8223
9609
      ;;
8224
9610
 
8225
9611
    *)
8226
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9612
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8227
9613
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8228
9614
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8229
9615
      else
8265
9651
      else
8266
9652
        # If we're using GNU nm, then we don't want the "-C" option.
8267
9653
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8268
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8269
 
          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'
 
9654
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9655
          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'
8270
9656
        else
8271
 
          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'
 
9657
          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'
8272
9658
        fi
8273
9659
        aix_use_runtimelinking=no
8274
9660
 
8277
9663
        # need to do runtime linking.
8278
9664
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8279
9665
          for ld_flag in $LDFLAGS; do
8280
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8281
 
            aix_use_runtimelinking=yes
8282
 
            break
8283
 
          fi
 
9666
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9667
            aix_use_runtimelinking=yes
 
9668
            break
 
9669
          fi
8284
9670
          done
8285
9671
          ;;
8286
9672
        esac
8297
9683
 
8298
9684
      archive_cmds=''
8299
9685
      hardcode_direct=yes
 
9686
      hardcode_direct_absolute=yes
8300
9687
      hardcode_libdir_separator=':'
8301
9688
      link_all_deplibs=yes
 
9689
      file_list_spec='${wl}-f,'
8302
9690
 
8303
9691
      if test "$GCC" = yes; then
8304
9692
        case $host_os in aix4.[012]|aix4.[012].*)
8305
9693
        # We only want to do this on AIX 4.2 and lower, the check
8306
9694
        # below for broken collect2 doesn't work under 4.3+
8307
9695
          collect2name=`${CC} -print-prog-name=collect2`
8308
 
          if test -f "$collect2name" && \
8309
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
9696
          if test -f "$collect2name" &&
 
9697
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8310
9698
          then
8311
 
          # We have reworked collect2
8312
 
          :
 
9699
          # We have reworked collect2
 
9700
          :
8313
9701
          else
8314
 
          # We have old collect2
8315
 
          hardcode_direct=unsupported
8316
 
          # It fails to find uninstalled libraries when the uninstalled
8317
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8318
 
          # to unsupported forces relinking
8319
 
          hardcode_minus_L=yes
8320
 
          hardcode_libdir_flag_spec='-L$libdir'
8321
 
          hardcode_libdir_separator=
 
9702
          # We have old collect2
 
9703
          hardcode_direct=unsupported
 
9704
          # It fails to find uninstalled libraries when the uninstalled
 
9705
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9706
          # to unsupported forces relinking
 
9707
          hardcode_minus_L=yes
 
9708
          hardcode_libdir_flag_spec='-L$libdir'
 
9709
          hardcode_libdir_separator=
8322
9710
          fi
8323
9711
          ;;
8324
9712
        esac
8326
9714
        if test "$aix_use_runtimelinking" = yes; then
8327
9715
          shared_flag="$shared_flag "'${wl}-G'
8328
9716
        fi
 
9717
        link_all_deplibs=no
8329
9718
      else
8330
9719
        # not using gcc
8331
9720
        if test "$host_cpu" = ia64; then
8332
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8333
 
        # chokes on -Wl,-G. The following line is correct:
 
9721
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9722
        # chokes on -Wl,-G. The following line is correct:
8334
9723
          shared_flag='-G'
8335
9724
        else
8336
9725
          if test "$aix_use_runtimelinking" = yes; then
8341
9730
        fi
8342
9731
      fi
8343
9732
 
 
9733
      export_dynamic_flag_spec='${wl}-bexpall'
8344
9734
      # It seems that -bexpall does not export symbols beginning with
8345
9735
      # underscore (_), so it is better to generate a list of symbols to export.
8346
9736
      always_export_symbols=yes
8348
9738
        # Warning - without using the other runtime loading flags (-brtl),
8349
9739
        # -berok will link without error, but may produce a broken library.
8350
9740
        allow_undefined_flag='-berok'
8351
 
       # Determine the default libpath from the value encoded in an empty executable.
8352
 
       cat >conftest.$ac_ext <<_ACEOF
 
9741
        # Determine the default libpath from the value encoded in an
 
9742
        # empty executable.
 
9743
        cat >conftest.$ac_ext <<_ACEOF
8353
9744
/* confdefs.h.  */
8354
9745
_ACEOF
8355
9746
cat confdefs.h >>conftest.$ac_ext
8370
9761
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8371
9762
  *) ac_try_echo=$ac_try;;
8372
9763
esac
8373
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9764
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9765
$as_echo "$ac_try_echo") >&5
8374
9766
  (eval "$ac_link") 2>conftest.er1
8375
9767
  ac_status=$?
8376
9768
  grep -v '^ *+' conftest.er1 >conftest.err
8377
9769
  rm -f conftest.er1
8378
9770
  cat conftest.err >&5
8379
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9771
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380
9772
  (exit $ac_status); } && {
8381
9773
         test -z "$ac_c_werror_flag" ||
8382
9774
         test ! -s conftest.err
8383
 
       } && test -s conftest$ac_exeext &&
8384
 
       $as_test_x conftest$ac_exeext; then
 
9775
       } && test -s conftest$ac_exeext && {
 
9776
         test "$cross_compiling" = yes ||
 
9777
         $as_test_x conftest$ac_exeext
 
9778
       }; then
8385
9779
 
8386
9780
lt_aix_libpath_sed='
8387
9781
    /Import File Strings/,/^$/ {
8396
9790
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8397
9791
fi
8398
9792
else
8399
 
  echo "$as_me: failed program was:" >&5
 
9793
  $as_echo "$as_me: failed program was:" >&5
8400
9794
sed 's/^/| /' conftest.$ac_ext >&5
8401
9795
 
8402
9796
 
8403
9797
fi
8404
9798
 
 
9799
rm -rf conftest.dSYM
8405
9800
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8406
9801
      conftest$ac_exeext conftest.$ac_ext
8407
9802
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8408
9803
 
8409
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8410
 
        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"
8411
 
       else
 
9804
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9805
        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"
 
9806
      else
8412
9807
        if test "$host_cpu" = ia64; then
8413
9808
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8414
9809
          allow_undefined_flag="-z nodefs"
8415
9810
          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"
8416
9811
        else
8417
 
         # Determine the default libpath from the value encoded in an empty executable.
 
9812
         # Determine the default libpath from the value encoded in an
 
9813
         # empty executable.
8418
9814
         cat >conftest.$ac_ext <<_ACEOF
8419
9815
/* confdefs.h.  */
8420
9816
_ACEOF
8436
9832
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8437
9833
  *) ac_try_echo=$ac_try;;
8438
9834
esac
8439
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9835
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9836
$as_echo "$ac_try_echo") >&5
8440
9837
  (eval "$ac_link") 2>conftest.er1
8441
9838
  ac_status=$?
8442
9839
  grep -v '^ *+' conftest.er1 >conftest.err
8443
9840
  rm -f conftest.er1
8444
9841
  cat conftest.err >&5
8445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9842
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446
9843
  (exit $ac_status); } && {
8447
9844
         test -z "$ac_c_werror_flag" ||
8448
9845
         test ! -s conftest.err
8449
 
       } && test -s conftest$ac_exeext &&
8450
 
       $as_test_x conftest$ac_exeext; then
 
9846
       } && test -s conftest$ac_exeext && {
 
9847
         test "$cross_compiling" = yes ||
 
9848
         $as_test_x conftest$ac_exeext
 
9849
       }; then
8451
9850
 
8452
9851
lt_aix_libpath_sed='
8453
9852
    /Import File Strings/,/^$/ {
8462
9861
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8463
9862
fi
8464
9863
else
8465
 
  echo "$as_me: failed program was:" >&5
 
9864
  $as_echo "$as_me: failed program was:" >&5
8466
9865
sed 's/^/| /' conftest.$ac_ext >&5
8467
9866
 
8468
9867
 
8469
9868
fi
8470
9869
 
 
9870
rm -rf conftest.dSYM
8471
9871
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8472
9872
      conftest$ac_exeext conftest.$ac_ext
8473
9873
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8487
9887
      ;;
8488
9888
 
8489
9889
    amigaos*)
8490
 
      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)'
8491
 
      hardcode_libdir_flag_spec='-L$libdir'
8492
 
      hardcode_minus_L=yes
8493
 
      # see comment about different semantics on the GNU ld section
8494
 
      ld_shlibs=no
 
9890
      case $host_cpu in
 
9891
      powerpc)
 
9892
            # see comment about AmigaOS4 .so support
 
9893
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9894
            archive_expsym_cmds=''
 
9895
        ;;
 
9896
      m68k)
 
9897
            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)'
 
9898
            hardcode_libdir_flag_spec='-L$libdir'
 
9899
            hardcode_minus_L=yes
 
9900
        ;;
 
9901
      esac
8495
9902
      ;;
8496
9903
 
8497
9904
    bsdi[45]*)
8498
9905
      export_dynamic_flag_spec=-rdynamic
8499
9906
      ;;
8500
9907
 
8501
 
    cygwin* | mingw* | pw32*)
 
9908
    cygwin* | mingw* | pw32* | cegcc*)
8502
9909
      # When not using gcc, we currently assume that we are using
8503
9910
      # Microsoft Visual C++.
8504
9911
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8510
9917
      # Tell ltmain to make .dll files, not .so files.
8511
9918
      shrext_cmds=".dll"
8512
9919
      # FIXME: Setting linknames here is a bad hack.
8513
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
9920
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8514
9921
      # The linker will automatically build a .lib file if we build a DLL.
8515
 
      old_archive_From_new_cmds='true'
 
9922
      old_archive_from_new_cmds='true'
8516
9923
      # FIXME: Should let the user specify the lib program.
8517
9924
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8518
9925
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8520
9927
      ;;
8521
9928
 
8522
9929
    darwin* | rhapsody*)
8523
 
      case $host_os in
8524
 
        rhapsody* | darwin1.[012])
8525
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8526
 
         ;;
8527
 
       *) # Darwin 1.3 on
8528
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8529
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8530
 
         else
8531
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
8532
 
             10.[012])
8533
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8534
 
               ;;
8535
 
             10.*)
8536
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8537
 
               ;;
8538
 
           esac
8539
 
         fi
8540
 
         ;;
8541
 
      esac
8542
 
      archive_cmds_need_lc=no
8543
 
      hardcode_direct=no
8544
 
      hardcode_automatic=yes
8545
 
      hardcode_shlibpath_var=unsupported
8546
 
      whole_archive_flag_spec=''
8547
 
      link_all_deplibs=yes
8548
 
    if test "$GCC" = yes ; then
8549
 
        output_verbose_link_cmd='echo'
8550
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8551
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8552
 
        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}"
8553
 
        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}"
8554
 
    else
8555
 
      case $cc_basename in
8556
 
        xlc*)
8557
 
         output_verbose_link_cmd='echo'
8558
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8559
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8560
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8561
 
         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}'
8562
 
          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}'
8563
 
          ;;
8564
 
       *)
8565
 
         ld_shlibs=no
8566
 
          ;;
8567
 
      esac
8568
 
    fi
 
9930
 
 
9931
 
 
9932
  archive_cmds_need_lc=no
 
9933
  hardcode_direct=no
 
9934
  hardcode_automatic=yes
 
9935
  hardcode_shlibpath_var=unsupported
 
9936
  whole_archive_flag_spec=''
 
9937
  link_all_deplibs=yes
 
9938
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
9939
  case $cc_basename in
 
9940
     ifort*) _lt_dar_can_shared=yes ;;
 
9941
     *) _lt_dar_can_shared=$GCC ;;
 
9942
  esac
 
9943
  if test "$_lt_dar_can_shared" = "yes"; then
 
9944
    output_verbose_link_cmd=echo
 
9945
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9946
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9947
    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}"
 
9948
    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}"
 
9949
 
 
9950
  else
 
9951
  ld_shlibs=no
 
9952
  fi
 
9953
 
8569
9954
      ;;
8570
9955
 
8571
9956
    dgux*)
8607
9992
 
8608
9993
    hpux9*)
8609
9994
      if test "$GCC" = yes; then
8610
 
        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'
 
9995
        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'
8611
9996
      else
8612
 
        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'
 
9997
        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'
8613
9998
      fi
8614
9999
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8615
10000
      hardcode_libdir_separator=:
8629
10014
      fi
8630
10015
      if test "$with_gnu_ld" = no; then
8631
10016
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
10017
        hardcode_libdir_flag_spec_ld='+b $libdir'
8632
10018
        hardcode_libdir_separator=:
8633
 
 
8634
10019
        hardcode_direct=yes
 
10020
        hardcode_direct_absolute=yes
8635
10021
        export_dynamic_flag_spec='${wl}-E'
8636
 
 
8637
10022
        # hardcode_minus_L: Not really in the search PATH,
8638
10023
        # but as the default location of the library.
8639
10024
        hardcode_minus_L=yes
8647
10032
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8648
10033
          ;;
8649
10034
        ia64*)
8650
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10035
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8651
10036
          ;;
8652
10037
        *)
8653
10038
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8672
10057
 
8673
10058
        case $host_cpu in
8674
10059
        hppa*64*|ia64*)
8675
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
8676
10060
          hardcode_direct=no
8677
10061
          hardcode_shlibpath_var=no
8678
10062
          ;;
8679
10063
        *)
8680
10064
          hardcode_direct=yes
 
10065
          hardcode_direct_absolute=yes
8681
10066
          export_dynamic_flag_spec='${wl}-E'
8682
10067
 
8683
10068
          # hardcode_minus_L: Not really in the search PATH,
8690
10075
 
8691
10076
    irix5* | irix6* | nonstopux*)
8692
10077
      if test "$GCC" = yes; then
8693
 
        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'
 
10078
        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'
 
10079
        # Try to use the -exported_symbol ld option, if it does not
 
10080
        # work, assume that -exports_file does not work either and
 
10081
        # implicitly export all symbols.
 
10082
        save_LDFLAGS="$LDFLAGS"
 
10083
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
10084
        cat >conftest.$ac_ext <<_ACEOF
 
10085
int foo(void) {}
 
10086
_ACEOF
 
10087
rm -f conftest.$ac_objext conftest$ac_exeext
 
10088
if { (ac_try="$ac_link"
 
10089
case "(($ac_try" in
 
10090
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10091
  *) ac_try_echo=$ac_try;;
 
10092
esac
 
10093
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10094
$as_echo "$ac_try_echo") >&5
 
10095
  (eval "$ac_link") 2>conftest.er1
 
10096
  ac_status=$?
 
10097
  grep -v '^ *+' conftest.er1 >conftest.err
 
10098
  rm -f conftest.er1
 
10099
  cat conftest.err >&5
 
10100
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10101
  (exit $ac_status); } && {
 
10102
         test -z "$ac_c_werror_flag" ||
 
10103
         test ! -s conftest.err
 
10104
       } && test -s conftest$ac_exeext && {
 
10105
         test "$cross_compiling" = yes ||
 
10106
         $as_test_x conftest$ac_exeext
 
10107
       }; then
 
10108
  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'
 
10109
 
 
10110
else
 
10111
  $as_echo "$as_me: failed program was:" >&5
 
10112
sed 's/^/| /' conftest.$ac_ext >&5
 
10113
 
 
10114
 
 
10115
fi
 
10116
 
 
10117
rm -rf conftest.dSYM
 
10118
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10119
      conftest$ac_exeext conftest.$ac_ext
 
10120
        LDFLAGS="$save_LDFLAGS"
8694
10121
      else
8695
 
        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'
8696
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
10122
        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'
 
10123
        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'
8697
10124
      fi
 
10125
      archive_cmds_need_lc='no'
8698
10126
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8699
10127
      hardcode_libdir_separator=:
 
10128
      inherit_rpath=yes
8700
10129
      link_all_deplibs=yes
8701
10130
      ;;
8702
10131
 
8703
10132
    netbsd* | netbsdelf*-gnu)
8704
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10133
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8705
10134
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8706
10135
      else
8707
10136
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8719
10148
      hardcode_shlibpath_var=no
8720
10149
      ;;
8721
10150
 
 
10151
    *nto* | *qnx*)
 
10152
      ;;
 
10153
 
8722
10154
    openbsd*)
8723
10155
      if test -f /usr/libexec/ld.so; then
8724
10156
        hardcode_direct=yes
8725
10157
        hardcode_shlibpath_var=no
8726
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10158
        hardcode_direct_absolute=yes
 
10159
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8727
10160
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8728
10161
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8729
10162
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8739
10172
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8740
10173
             ;;
8741
10174
          esac
8742
 
        fi
 
10175
        fi
8743
10176
      else
8744
10177
        ld_shlibs=no
8745
10178
      fi
8749
10182
      hardcode_libdir_flag_spec='-L$libdir'
8750
10183
      hardcode_minus_L=yes
8751
10184
      allow_undefined_flag=unsupported
8752
 
      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'
8753
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
10185
      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'
 
10186
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8754
10187
      ;;
8755
10188
 
8756
10189
    osf3*)
8757
10190
      if test "$GCC" = yes; then
8758
10191
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8759
 
        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'
 
10192
        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'
8760
10193
      else
8761
10194
        allow_undefined_flag=' -expect_unresolved \*'
8762
 
        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'
 
10195
        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'
8763
10196
      fi
 
10197
      archive_cmds_need_lc='no'
8764
10198
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8765
10199
      hardcode_libdir_separator=:
8766
10200
      ;;
8768
10202
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8769
10203
      if test "$GCC" = yes; then
8770
10204
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8771
 
        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'
 
10205
        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'
8772
10206
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8773
10207
      else
8774
10208
        allow_undefined_flag=' -expect_unresolved \*'
8775
 
        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'
8776
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8777
 
        $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'
 
10209
        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'
 
10210
        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~
 
10211
        $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'
8778
10212
 
8779
10213
        # Both c and cxx compiler support -rpath directly
8780
10214
        hardcode_libdir_flag_spec='-rpath $libdir'
8781
10215
      fi
 
10216
      archive_cmds_need_lc='no'
8782
10217
      hardcode_libdir_separator=:
8783
10218
      ;;
8784
10219
 
8785
10220
    solaris*)
8786
 
      no_undefined_flag=' -z text'
 
10221
      no_undefined_flag=' -z defs'
8787
10222
      if test "$GCC" = yes; then
8788
10223
        wlarc='${wl}'
8789
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8790
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8791
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
10224
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10225
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10226
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8792
10227
      else
8793
 
        wlarc=''
8794
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8795
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8796
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
10228
        case `$CC -V 2>&1` in
 
10229
        *"Compilers 5.0"*)
 
10230
          wlarc=''
 
10231
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10232
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10233
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
10234
          ;;
 
10235
        *)
 
10236
          wlarc='${wl}'
 
10237
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
10238
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10239
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10240
          ;;
 
10241
        esac
8797
10242
      fi
8798
10243
      hardcode_libdir_flag_spec='-R$libdir'
8799
10244
      hardcode_shlibpath_var=no
8803
10248
        # The compiler driver will combine and reorder linker options,
8804
10249
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
8805
10250
        # but is careful enough not to reorder.
8806
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
10251
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8807
10252
        if test "$GCC" = yes; then
8808
10253
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8809
10254
        else
8892
10337
      allow_undefined_flag='${wl}-z,nodefs'
8893
10338
      archive_cmds_need_lc=no
8894
10339
      hardcode_shlibpath_var=no
8895
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
10340
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8896
10341
      hardcode_libdir_separator=':'
8897
10342
      link_all_deplibs=yes
8898
10343
      export_dynamic_flag_spec='${wl}-Bexport'
8899
10344
      runpath_var='LD_RUN_PATH'
8900
10345
 
8901
10346
      if test "$GCC" = yes; then
8902
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8903
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10347
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10348
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8904
10349
      else
8905
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8906
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10350
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10351
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8907
10352
      fi
8908
10353
      ;;
8909
10354
 
8917
10362
      ld_shlibs=no
8918
10363
      ;;
8919
10364
    esac
 
10365
 
 
10366
    if test x$host_vendor = xsni; then
 
10367
      case $host in
 
10368
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10369
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10370
        ;;
 
10371
      esac
 
10372
    fi
8920
10373
  fi
8921
10374
 
8922
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8923
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
10375
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10376
$as_echo "$ld_shlibs" >&6; }
8924
10377
test "$ld_shlibs" = no && can_build_shared=no
8925
10378
 
 
10379
with_gnu_ld=$with_gnu_ld
 
10380
 
 
10381
 
 
10382
 
 
10383
 
 
10384
 
 
10385
 
 
10386
 
 
10387
 
 
10388
 
 
10389
 
 
10390
 
 
10391
 
 
10392
 
 
10393
 
 
10394
 
8926
10395
#
8927
10396
# Do we need to explicitly link libc?
8928
10397
#
8940
10409
      # Test whether the compiler implicitly links with -lc since on some
8941
10410
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8942
10411
      # to ld, don't add -lc before -lgcc.
8943
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8944
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8945
 
      $rm conftest*
 
10412
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10413
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
10414
      $RM conftest*
8946
10415
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8947
10416
 
8948
10417
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8949
10418
  (eval $ac_compile) 2>&5
8950
10419
  ac_status=$?
8951
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10420
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952
10421
  (exit $ac_status); } 2>conftest.err; then
8953
10422
        soname=conftest
8954
10423
        lib=conftest
8963
10432
        libname=conftest
8964
10433
        lt_save_allow_undefined_flag=$allow_undefined_flag
8965
10434
        allow_undefined_flag=
8966
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8967
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10435
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10436
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8968
10437
  ac_status=$?
8969
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10438
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970
10439
  (exit $ac_status); }
8971
10440
        then
8972
10441
          archive_cmds_need_lc=no
8977
10446
      else
8978
10447
        cat conftest.err 1>&5
8979
10448
      fi
8980
 
      $rm conftest*
8981
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8982
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
10449
      $RM conftest*
 
10450
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
10451
$as_echo "$archive_cmds_need_lc" >&6; }
8983
10452
      ;;
8984
10453
    esac
8985
10454
  fi
8986
10455
  ;;
8987
10456
esac
8988
10457
 
8989
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8990
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8991
 
library_names_spec=
8992
 
libname_spec='lib$name'
8993
 
soname_spec=
8994
 
shrext_cmds=".so"
8995
 
postinstall_cmds=
8996
 
postuninstall_cmds=
8997
 
finish_cmds=
8998
 
finish_eval=
8999
 
shlibpath_var=
9000
 
shlibpath_overrides_runpath=unknown
9001
 
version_type=none
9002
 
dynamic_linker="$host_os ld.so"
9003
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10458
 
 
10459
 
 
10460
 
 
10461
 
 
10462
 
 
10463
 
 
10464
 
 
10465
 
 
10466
 
 
10467
 
 
10468
 
 
10469
 
 
10470
 
 
10471
 
 
10472
 
 
10473
 
 
10474
 
 
10475
 
 
10476
 
 
10477
 
 
10478
 
 
10479
 
 
10480
 
 
10481
 
 
10482
 
 
10483
 
 
10484
 
 
10485
 
 
10486
 
 
10487
 
 
10488
 
 
10489
 
 
10490
 
 
10491
 
 
10492
 
 
10493
 
 
10494
 
 
10495
 
 
10496
 
 
10497
 
 
10498
 
 
10499
 
 
10500
 
 
10501
 
 
10502
 
 
10503
 
 
10504
 
 
10505
 
 
10506
 
 
10507
 
 
10508
 
 
10509
 
 
10510
 
 
10511
 
 
10512
 
 
10513
 
 
10514
 
 
10515
 
 
10516
 
 
10517
 
 
10518
 
 
10519
 
 
10520
 
 
10521
 
 
10522
 
 
10523
 
 
10524
 
 
10525
 
 
10526
 
 
10527
 
 
10528
 
 
10529
 
 
10530
 
 
10531
 
 
10532
 
 
10533
 
 
10534
 
 
10535
 
 
10536
 
 
10537
 
 
10538
 
 
10539
 
 
10540
 
 
10541
 
 
10542
 
 
10543
 
 
10544
 
 
10545
 
 
10546
 
 
10547
 
 
10548
 
 
10549
 
 
10550
 
 
10551
 
 
10552
 
 
10553
 
 
10554
 
 
10555
 
 
10556
 
 
10557
 
 
10558
 
 
10559
 
 
10560
 
 
10561
 
 
10562
 
 
10563
 
 
10564
 
 
10565
 
 
10566
 
 
10567
 
 
10568
 
 
10569
 
 
10570
 
 
10571
 
 
10572
 
 
10573
 
 
10574
 
 
10575
 
 
10576
 
 
10577
 
 
10578
 
 
10579
 
 
10580
 
 
10581
 
 
10582
 
 
10583
 
 
10584
 
 
10585
 
 
10586
 
 
10587
 
 
10588
 
 
10589
 
 
10590
 
 
10591
 
 
10592
 
 
10593
 
 
10594
 
 
10595
 
 
10596
 
 
10597
 
 
10598
 
 
10599
 
 
10600
 
 
10601
 
 
10602
 
 
10603
 
 
10604
 
 
10605
 
 
10606
 
 
10607
 
 
10608
 
 
10609
 
 
10610
 
 
10611
 
 
10612
 
 
10613
 
 
10614
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10615
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9004
10616
 
9005
10617
if test "$GCC" = yes; then
9006
10618
  case $host_os in
9008
10620
    *) lt_awk_arg="/^libraries:/" ;;
9009
10621
  esac
9010
10622
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9011
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
10623
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9012
10624
    # if the path contains ";" then we assume it to be the separator
9013
10625
    # otherwise default to the standard path separator (i.e. ":") - it is
9014
10626
    # assumed that no part of a normal pathname contains ";" but that should
9015
10627
    # okay in the real world where ";" in dirpaths is itself problematic.
9016
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
10628
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9017
10629
  else
9018
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10630
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9019
10631
  fi
9020
10632
  # Ok, now we have the path, separated by spaces, we can step through it
9021
10633
  # and add multilib dir if necessary.
9029
10641
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9030
10642
    fi
9031
10643
  done
9032
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
10644
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9033
10645
BEGIN {RS=" "; FS="/|\n";} {
9034
10646
  lt_foo="";
9035
10647
  lt_count=0;
9049
10661
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9050
10662
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9051
10663
}'`
9052
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
10664
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9053
10665
else
9054
10666
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9055
10667
fi
 
10668
library_names_spec=
 
10669
libname_spec='lib$name'
 
10670
soname_spec=
 
10671
shrext_cmds=".so"
 
10672
postinstall_cmds=
 
10673
postuninstall_cmds=
 
10674
finish_cmds=
 
10675
finish_eval=
 
10676
shlibpath_var=
 
10677
shlibpath_overrides_runpath=unknown
 
10678
version_type=none
 
10679
dynamic_linker="$host_os ld.so"
 
10680
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9056
10681
need_lib_prefix=unknown
9057
10682
hardcode_into_libs=no
9058
10683
 
9089
10714
      aix4 | aix4.[01] | aix4.[01].*)
9090
10715
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9091
10716
           echo ' yes '
9092
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
10717
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9093
10718
        :
9094
10719
      else
9095
10720
        can_build_shared=no
9115
10740
  ;;
9116
10741
 
9117
10742
amigaos*)
9118
 
  library_names_spec='$libname.ixlibrary $libname.a'
9119
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
9120
 
  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'
 
10743
  case $host_cpu in
 
10744
  powerpc)
 
10745
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10746
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10747
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10748
    ;;
 
10749
  m68k)
 
10750
    library_names_spec='$libname.ixlibrary $libname.a'
 
10751
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10752
    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'
 
10753
    ;;
 
10754
  esac
9121
10755
  ;;
9122
10756
 
9123
10757
beos*)
9140
10774
  # libtool to hard-code these into programs
9141
10775
  ;;
9142
10776
 
9143
 
cygwin* | mingw* | pw32*)
 
10777
cygwin* | mingw* | pw32* | cegcc*)
9144
10778
  version_type=windows
9145
10779
  shrext_cmds=".dll"
9146
10780
  need_version=no
9147
10781
  need_lib_prefix=no
9148
10782
 
9149
10783
  case $GCC,$host_os in
9150
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
10784
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9151
10785
    library_names_spec='$libname.dll.a'
9152
10786
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9153
10787
    postinstall_cmds='base_file=`basename \${file}`~
9154
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
10788
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9155
10789
      dldir=$destdir/`dirname \$dlpath`~
9156
10790
      test -d \$dldir || mkdir -p \$dldir~
9157
10791
      $install_prog $dir/$dlname \$dldir/$dlname~
9158
 
      chmod a+x \$dldir/$dlname'
 
10792
      chmod a+x \$dldir/$dlname~
 
10793
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
10794
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
10795
      fi'
9159
10796
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9160
10797
      dlpath=$dir/\$dldll~
9161
 
       $rm \$dlpath'
 
10798
       $RM \$dlpath'
9162
10799
    shlibpath_overrides_runpath=yes
9163
10800
 
9164
10801
    case $host_os in
9167
10804
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9168
10805
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9169
10806
      ;;
9170
 
    mingw*)
 
10807
    mingw* | cegcc*)
9171
10808
      # MinGW DLLs use traditional 'lib' prefix
9172
10809
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9173
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9174
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
10810
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10811
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9175
10812
        # It is most probably a Windows format PATH printed by
9176
10813
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9177
10814
        # path with ; separators, and with drive letters. We can handle the
9178
10815
        # drive letters (cygwin fileutils understands them), so leave them,
9179
10816
        # especially as we might pass files found there to a mingw objdump,
9180
10817
        # which wouldn't understand a cygwinified path. Ahh.
9181
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10818
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9182
10819
      else
9183
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10820
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9184
10821
      fi
9185
10822
      ;;
9186
10823
    pw32*)
9204
10841
  version_type=darwin
9205
10842
  need_lib_prefix=no
9206
10843
  need_version=no
9207
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10844
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9208
10845
  soname_spec='${libname}${release}${major}$shared_ext'
9209
10846
  shlibpath_overrides_runpath=yes
9210
10847
  shlibpath_var=DYLD_LIBRARY_PATH
9303
10940
    fi
9304
10941
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9305
10942
    ;;
9306
 
   hppa*64*)
9307
 
     shrext_cmds='.sl'
9308
 
     hardcode_into_libs=yes
9309
 
     dynamic_linker="$host_os dld.sl"
9310
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9311
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9312
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9313
 
     soname_spec='${libname}${release}${shared_ext}$major'
9314
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9315
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9316
 
     ;;
9317
 
   *)
 
10943
  hppa*64*)
 
10944
    shrext_cmds='.sl'
 
10945
    hardcode_into_libs=yes
 
10946
    dynamic_linker="$host_os dld.sl"
 
10947
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10948
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10949
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10950
    soname_spec='${libname}${release}${shared_ext}$major'
 
10951
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10952
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10953
    ;;
 
10954
  *)
9318
10955
    shrext_cmds='.sl'
9319
10956
    dynamic_linker="$host_os dld.sl"
9320
10957
    shlibpath_var=SHLIB_PATH
9391
11028
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9392
11029
  shlibpath_var=LD_LIBRARY_PATH
9393
11030
  shlibpath_overrides_runpath=no
 
11031
  # Some binutils ld are patched to set DT_RUNPATH
 
11032
  save_LDFLAGS=$LDFLAGS
 
11033
  save_libdir=$libdir
 
11034
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
11035
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
11036
  cat >conftest.$ac_ext <<_ACEOF
 
11037
/* confdefs.h.  */
 
11038
_ACEOF
 
11039
cat confdefs.h >>conftest.$ac_ext
 
11040
cat >>conftest.$ac_ext <<_ACEOF
 
11041
/* end confdefs.h.  */
 
11042
 
 
11043
int
 
11044
main ()
 
11045
{
 
11046
 
 
11047
  ;
 
11048
  return 0;
 
11049
}
 
11050
_ACEOF
 
11051
rm -f conftest.$ac_objext conftest$ac_exeext
 
11052
if { (ac_try="$ac_link"
 
11053
case "(($ac_try" in
 
11054
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11055
  *) ac_try_echo=$ac_try;;
 
11056
esac
 
11057
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11058
$as_echo "$ac_try_echo") >&5
 
11059
  (eval "$ac_link") 2>conftest.er1
 
11060
  ac_status=$?
 
11061
  grep -v '^ *+' conftest.er1 >conftest.err
 
11062
  rm -f conftest.er1
 
11063
  cat conftest.err >&5
 
11064
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11065
  (exit $ac_status); } && {
 
11066
         test -z "$ac_c_werror_flag" ||
 
11067
         test ! -s conftest.err
 
11068
       } && test -s conftest$ac_exeext && {
 
11069
         test "$cross_compiling" = yes ||
 
11070
         $as_test_x conftest$ac_exeext
 
11071
       }; then
 
11072
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
11073
  shlibpath_overrides_runpath=yes
 
11074
fi
 
11075
 
 
11076
else
 
11077
  $as_echo "$as_me: failed program was:" >&5
 
11078
sed 's/^/| /' conftest.$ac_ext >&5
 
11079
 
 
11080
 
 
11081
fi
 
11082
 
 
11083
rm -rf conftest.dSYM
 
11084
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11085
      conftest$ac_exeext conftest.$ac_ext
 
11086
  LDFLAGS=$save_LDFLAGS
 
11087
  libdir=$save_libdir
 
11088
 
9394
11089
  # This implies no fast_install, which is unacceptable.
9395
11090
  # Some rework will be needed to allow for fast_install
9396
11091
  # before this can be enabled.
9398
11093
 
9399
11094
  # Append ld.so.conf contents to the search path
9400
11095
  if test -f /etc/ld.so.conf; then
9401
 
    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' ' '`
 
11096
    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' ' '`
9402
11097
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9403
11098
  fi
9404
11099
 
9427
11122
  version_type=sunos
9428
11123
  need_lib_prefix=no
9429
11124
  need_version=no
9430
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
11125
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9431
11126
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9432
11127
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9433
11128
    dynamic_linker='NetBSD (a.out) ld.so'
9448
11143
  shlibpath_overrides_runpath=yes
9449
11144
  ;;
9450
11145
 
9451
 
nto-qnx*)
9452
 
  version_type=linux
 
11146
*nto* | *qnx*)
 
11147
  version_type=qnx
9453
11148
  need_lib_prefix=no
9454
11149
  need_version=no
9455
11150
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9456
11151
  soname_spec='${libname}${release}${shared_ext}$major'
9457
11152
  shlibpath_var=LD_LIBRARY_PATH
9458
 
  shlibpath_overrides_runpath=yes
 
11153
  shlibpath_overrides_runpath=no
 
11154
  hardcode_into_libs=yes
 
11155
  dynamic_linker='ldqnx.so'
9459
11156
  ;;
9460
11157
 
9461
11158
openbsd*)
9464
11161
  need_lib_prefix=no
9465
11162
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9466
11163
  case $host_os in
9467
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9468
 
    *)                         need_version=no  ;;
 
11164
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
11165
    *)                          need_version=no  ;;
9469
11166
  esac
9470
11167
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9471
11168
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9472
11169
  shlibpath_var=LD_LIBRARY_PATH
9473
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11170
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9474
11171
    case $host_os in
9475
11172
      openbsd2.[89] | openbsd2.[89].*)
9476
11173
        shlibpath_overrides_runpath=no
9542
11239
    sni)
9543
11240
      shlibpath_overrides_runpath=no
9544
11241
      need_lib_prefix=no
9545
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
9546
11242
      runpath_var=LD_RUN_PATH
9547
11243
      ;;
9548
11244
    siemens)
9573
11269
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9574
11270
  soname_spec='${libname}${release}${shared_ext}$major'
9575
11271
  shlibpath_var=LD_LIBRARY_PATH
 
11272
  shlibpath_overrides_runpath=yes
9576
11273
  hardcode_into_libs=yes
9577
11274
  if test "$with_gnu_ld" = yes; then
9578
11275
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9579
 
    shlibpath_overrides_runpath=no
9580
11276
  else
9581
11277
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9582
 
    shlibpath_overrides_runpath=yes
9583
11278
    case $host_os in
9584
11279
      sco3.2v5*)
9585
11280
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9589
11284
  sys_lib_dlsearch_path_spec='/usr/lib'
9590
11285
  ;;
9591
11286
 
 
11287
tpf*)
 
11288
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
11289
  version_type=linux
 
11290
  need_lib_prefix=no
 
11291
  need_version=no
 
11292
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11293
  shlibpath_var=LD_LIBRARY_PATH
 
11294
  shlibpath_overrides_runpath=no
 
11295
  hardcode_into_libs=yes
 
11296
  ;;
 
11297
 
9592
11298
uts4*)
9593
11299
  version_type=linux
9594
11300
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9600
11306
  dynamic_linker=no
9601
11307
  ;;
9602
11308
esac
9603
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9604
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
11309
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
11310
$as_echo "$dynamic_linker" >&6; }
9605
11311
test "$dynamic_linker" = no && can_build_shared=no
9606
11312
 
9607
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9608
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9609
 
else
9610
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
9611
 
fi
9612
 
 
9613
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9614
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9615
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9616
 
else
9617
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
9618
 
fi
9619
 
 
9620
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9621
 
 
9622
11313
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9623
11314
if test "$GCC" = yes; then
9624
11315
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9625
11316
fi
9626
11317
 
9627
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9628
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
11318
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11319
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11320
fi
 
11321
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11322
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11323
fi
 
11324
 
 
11325
 
 
11326
 
 
11327
 
 
11328
 
 
11329
 
 
11330
 
 
11331
 
 
11332
 
 
11333
 
 
11334
 
 
11335
 
 
11336
 
 
11337
 
 
11338
 
 
11339
 
 
11340
 
 
11341
 
 
11342
 
 
11343
 
 
11344
 
 
11345
 
 
11346
 
 
11347
 
 
11348
 
 
11349
 
 
11350
 
 
11351
 
 
11352
 
 
11353
 
 
11354
 
 
11355
 
 
11356
 
 
11357
 
 
11358
 
 
11359
 
 
11360
 
 
11361
 
 
11362
 
 
11363
 
 
11364
 
 
11365
 
 
11366
 
 
11367
 
 
11368
 
 
11369
 
 
11370
 
 
11371
 
 
11372
 
 
11373
 
 
11374
 
 
11375
 
 
11376
 
 
11377
 
 
11378
 
 
11379
 
 
11380
 
 
11381
 
 
11382
 
 
11383
 
 
11384
 
 
11385
 
 
11386
 
 
11387
 
 
11388
 
 
11389
 
 
11390
 
 
11391
 
 
11392
 
 
11393
 
 
11394
 
 
11395
 
 
11396
 
 
11397
 
 
11398
 
 
11399
 
 
11400
 
 
11401
 
 
11402
 
 
11403
 
 
11404
 
 
11405
 
 
11406
 
 
11407
 
 
11408
 
 
11409
 
 
11410
 
 
11411
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11412
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9629
11413
hardcode_action=
9630
 
if test -n "$hardcode_libdir_flag_spec" || \
9631
 
   test -n "$runpath_var" || \
 
11414
if test -n "$hardcode_libdir_flag_spec" ||
 
11415
   test -n "$runpath_var" ||
9632
11416
   test "X$hardcode_automatic" = "Xyes" ; then
9633
11417
 
9634
 
  # We can hardcode non-existant directories.
 
11418
  # We can hardcode non-existent directories.
9635
11419
  if test "$hardcode_direct" != no &&
9636
11420
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9637
11421
     # have to relink, otherwise we might link with an installed library
9638
11422
     # when we should be linking with a yet-to-be-installed one
9639
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11423
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9640
11424
     test "$hardcode_minus_L" != no; then
9641
11425
    # Linking always hardcodes the temporary library directory.
9642
11426
    hardcode_action=relink
9649
11433
  # directories.
9650
11434
  hardcode_action=unsupported
9651
11435
fi
9652
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9653
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
11436
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11437
$as_echo "$hardcode_action" >&6; }
9654
11438
 
9655
 
if test "$hardcode_action" = relink; then
 
11439
if test "$hardcode_action" = relink ||
 
11440
   test "$inherit_rpath" = yes; then
9656
11441
  # Fast installation is not supported
9657
11442
  enable_fast_install=no
9658
11443
elif test "$shlibpath_overrides_runpath" = yes ||
9661
11446
  enable_fast_install=needless
9662
11447
fi
9663
11448
 
9664
 
striplib=
9665
 
old_striplib=
9666
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9667
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9668
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9669
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9670
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9671
 
  { echo "$as_me:$LINENO: result: yes" >&5
9672
 
echo "${ECHO_T}yes" >&6; }
9673
 
else
9674
 
# FIXME - insert some real tests, host_os isn't really good enough
9675
 
  case $host_os in
9676
 
   darwin*)
9677
 
       if test -n "$STRIP" ; then
9678
 
         striplib="$STRIP -x"
9679
 
         old_striplib="$STRIP -S"
9680
 
         { echo "$as_me:$LINENO: result: yes" >&5
9681
 
echo "${ECHO_T}yes" >&6; }
9682
 
       else
9683
 
  { echo "$as_me:$LINENO: result: no" >&5
9684
 
echo "${ECHO_T}no" >&6; }
9685
 
fi
9686
 
       ;;
9687
 
   *)
9688
 
  { echo "$as_me:$LINENO: result: no" >&5
9689
 
echo "${ECHO_T}no" >&6; }
9690
 
    ;;
9691
 
  esac
9692
 
fi
9693
 
 
9694
 
if test "x$enable_dlopen" != xyes; then
 
11449
 
 
11450
 
 
11451
 
 
11452
 
 
11453
 
 
11454
  if test "x$enable_dlopen" != xyes; then
9695
11455
  enable_dlopen=unknown
9696
11456
  enable_dlopen_self=unknown
9697
11457
  enable_dlopen_self_static=unknown
9706
11466
    lt_cv_dlopen_self=yes
9707
11467
    ;;
9708
11468
 
9709
 
  mingw* | pw32*)
 
11469
  mingw* | pw32* | cegcc*)
9710
11470
    lt_cv_dlopen="LoadLibrary"
9711
11471
    lt_cv_dlopen_libs=
9712
 
   ;;
 
11472
    ;;
9713
11473
 
9714
11474
  cygwin*)
9715
11475
    lt_cv_dlopen="dlopen"
9716
11476
    lt_cv_dlopen_libs=
9717
 
   ;;
 
11477
    ;;
9718
11478
 
9719
11479
  darwin*)
9720
11480
  # if libdl is installed we need to link against it
9721
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9722
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
11481
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11482
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9723
11483
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9724
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11484
  $as_echo_n "(cached) " >&6
9725
11485
else
9726
11486
  ac_check_lib_save_LIBS=$LIBS
9727
11487
LIBS="-ldl  $LIBS"
9753
11513
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9754
11514
  *) ac_try_echo=$ac_try;;
9755
11515
esac
9756
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11516
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11517
$as_echo "$ac_try_echo") >&5
9757
11518
  (eval "$ac_link") 2>conftest.er1
9758
11519
  ac_status=$?
9759
11520
  grep -v '^ *+' conftest.er1 >conftest.err
9760
11521
  rm -f conftest.er1
9761
11522
  cat conftest.err >&5
9762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11523
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763
11524
  (exit $ac_status); } && {
9764
11525
         test -z "$ac_c_werror_flag" ||
9765
11526
         test ! -s conftest.err
9766
 
       } && test -s conftest$ac_exeext &&
9767
 
       $as_test_x conftest$ac_exeext; then
 
11527
       } && test -s conftest$ac_exeext && {
 
11528
         test "$cross_compiling" = yes ||
 
11529
         $as_test_x conftest$ac_exeext
 
11530
       }; then
9768
11531
  ac_cv_lib_dl_dlopen=yes
9769
11532
else
9770
 
  echo "$as_me: failed program was:" >&5
 
11533
  $as_echo "$as_me: failed program was:" >&5
9771
11534
sed 's/^/| /' conftest.$ac_ext >&5
9772
11535
 
9773
11536
        ac_cv_lib_dl_dlopen=no
9774
11537
fi
9775
11538
 
 
11539
rm -rf conftest.dSYM
9776
11540
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9777
11541
      conftest$ac_exeext conftest.$ac_ext
9778
11542
LIBS=$ac_check_lib_save_LIBS
9779
11543
fi
9780
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9781
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9782
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11544
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11545
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11546
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9783
11547
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9784
11548
else
9785
11549
 
9789
11553
 
9790
11554
fi
9791
11555
 
9792
 
   ;;
 
11556
    ;;
9793
11557
 
9794
11558
  *)
9795
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
9796
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
 
11559
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
11560
$as_echo_n "checking for shl_load... " >&6; }
9797
11561
if test "${ac_cv_func_shl_load+set}" = set; then
9798
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11562
  $as_echo_n "(cached) " >&6
9799
11563
else
9800
11564
  cat >conftest.$ac_ext <<_ACEOF
9801
11565
/* confdefs.h.  */
9848
11612
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9849
11613
  *) ac_try_echo=$ac_try;;
9850
11614
esac
9851
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11615
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11616
$as_echo "$ac_try_echo") >&5
9852
11617
  (eval "$ac_link") 2>conftest.er1
9853
11618
  ac_status=$?
9854
11619
  grep -v '^ *+' conftest.er1 >conftest.err
9855
11620
  rm -f conftest.er1
9856
11621
  cat conftest.err >&5
9857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11622
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858
11623
  (exit $ac_status); } && {
9859
11624
         test -z "$ac_c_werror_flag" ||
9860
11625
         test ! -s conftest.err
9861
 
       } && test -s conftest$ac_exeext &&
9862
 
       $as_test_x conftest$ac_exeext; then
 
11626
       } && test -s conftest$ac_exeext && {
 
11627
         test "$cross_compiling" = yes ||
 
11628
         $as_test_x conftest$ac_exeext
 
11629
       }; then
9863
11630
  ac_cv_func_shl_load=yes
9864
11631
else
9865
 
  echo "$as_me: failed program was:" >&5
 
11632
  $as_echo "$as_me: failed program was:" >&5
9866
11633
sed 's/^/| /' conftest.$ac_ext >&5
9867
11634
 
9868
11635
        ac_cv_func_shl_load=no
9869
11636
fi
9870
11637
 
 
11638
rm -rf conftest.dSYM
9871
11639
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9872
11640
      conftest$ac_exeext conftest.$ac_ext
9873
11641
fi
9874
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9875
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9876
 
if test $ac_cv_func_shl_load = yes; then
 
11642
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
11643
$as_echo "$ac_cv_func_shl_load" >&6; }
 
11644
if test "x$ac_cv_func_shl_load" = x""yes; then
9877
11645
  lt_cv_dlopen="shl_load"
9878
11646
else
9879
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9880
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
 
11647
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11648
$as_echo_n "checking for shl_load in -ldld... " >&6; }
9881
11649
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9882
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11650
  $as_echo_n "(cached) " >&6
9883
11651
else
9884
11652
  ac_check_lib_save_LIBS=$LIBS
9885
11653
LIBS="-ldld  $LIBS"
9911
11679
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9912
11680
  *) ac_try_echo=$ac_try;;
9913
11681
esac
9914
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11682
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11683
$as_echo "$ac_try_echo") >&5
9915
11684
  (eval "$ac_link") 2>conftest.er1
9916
11685
  ac_status=$?
9917
11686
  grep -v '^ *+' conftest.er1 >conftest.err
9918
11687
  rm -f conftest.er1
9919
11688
  cat conftest.err >&5
9920
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11689
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921
11690
  (exit $ac_status); } && {
9922
11691
         test -z "$ac_c_werror_flag" ||
9923
11692
         test ! -s conftest.err
9924
 
       } && test -s conftest$ac_exeext &&
9925
 
       $as_test_x conftest$ac_exeext; then
 
11693
       } && test -s conftest$ac_exeext && {
 
11694
         test "$cross_compiling" = yes ||
 
11695
         $as_test_x conftest$ac_exeext
 
11696
       }; then
9926
11697
  ac_cv_lib_dld_shl_load=yes
9927
11698
else
9928
 
  echo "$as_me: failed program was:" >&5
 
11699
  $as_echo "$as_me: failed program was:" >&5
9929
11700
sed 's/^/| /' conftest.$ac_ext >&5
9930
11701
 
9931
11702
        ac_cv_lib_dld_shl_load=no
9932
11703
fi
9933
11704
 
 
11705
rm -rf conftest.dSYM
9934
11706
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9935
11707
      conftest$ac_exeext conftest.$ac_ext
9936
11708
LIBS=$ac_check_lib_save_LIBS
9937
11709
fi
9938
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9939
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9940
 
if test $ac_cv_lib_dld_shl_load = yes; then
 
11710
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11711
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11712
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
9941
11713
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9942
11714
else
9943
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
9944
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
 
11715
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
11716
$as_echo_n "checking for dlopen... " >&6; }
9945
11717
if test "${ac_cv_func_dlopen+set}" = set; then
9946
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11718
  $as_echo_n "(cached) " >&6
9947
11719
else
9948
11720
  cat >conftest.$ac_ext <<_ACEOF
9949
11721
/* confdefs.h.  */
9996
11768
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9997
11769
  *) ac_try_echo=$ac_try;;
9998
11770
esac
9999
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11771
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11772
$as_echo "$ac_try_echo") >&5
10000
11773
  (eval "$ac_link") 2>conftest.er1
10001
11774
  ac_status=$?
10002
11775
  grep -v '^ *+' conftest.er1 >conftest.err
10003
11776
  rm -f conftest.er1
10004
11777
  cat conftest.err >&5
10005
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11778
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006
11779
  (exit $ac_status); } && {
10007
11780
         test -z "$ac_c_werror_flag" ||
10008
11781
         test ! -s conftest.err
10009
 
       } && test -s conftest$ac_exeext &&
10010
 
       $as_test_x conftest$ac_exeext; then
 
11782
       } && test -s conftest$ac_exeext && {
 
11783
         test "$cross_compiling" = yes ||
 
11784
         $as_test_x conftest$ac_exeext
 
11785
       }; then
10011
11786
  ac_cv_func_dlopen=yes
10012
11787
else
10013
 
  echo "$as_me: failed program was:" >&5
 
11788
  $as_echo "$as_me: failed program was:" >&5
10014
11789
sed 's/^/| /' conftest.$ac_ext >&5
10015
11790
 
10016
11791
        ac_cv_func_dlopen=no
10017
11792
fi
10018
11793
 
 
11794
rm -rf conftest.dSYM
10019
11795
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10020
11796
      conftest$ac_exeext conftest.$ac_ext
10021
11797
fi
10022
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10023
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10024
 
if test $ac_cv_func_dlopen = yes; then
 
11798
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
11799
$as_echo "$ac_cv_func_dlopen" >&6; }
 
11800
if test "x$ac_cv_func_dlopen" = x""yes; then
10025
11801
  lt_cv_dlopen="dlopen"
10026
11802
else
10027
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10028
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
11803
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11804
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10029
11805
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10030
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11806
  $as_echo_n "(cached) " >&6
10031
11807
else
10032
11808
  ac_check_lib_save_LIBS=$LIBS
10033
11809
LIBS="-ldl  $LIBS"
10059
11835
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10060
11836
  *) ac_try_echo=$ac_try;;
10061
11837
esac
10062
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11838
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11839
$as_echo "$ac_try_echo") >&5
10063
11840
  (eval "$ac_link") 2>conftest.er1
10064
11841
  ac_status=$?
10065
11842
  grep -v '^ *+' conftest.er1 >conftest.err
10066
11843
  rm -f conftest.er1
10067
11844
  cat conftest.err >&5
10068
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11845
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069
11846
  (exit $ac_status); } && {
10070
11847
         test -z "$ac_c_werror_flag" ||
10071
11848
         test ! -s conftest.err
10072
 
       } && test -s conftest$ac_exeext &&
10073
 
       $as_test_x conftest$ac_exeext; then
 
11849
       } && test -s conftest$ac_exeext && {
 
11850
         test "$cross_compiling" = yes ||
 
11851
         $as_test_x conftest$ac_exeext
 
11852
       }; then
10074
11853
  ac_cv_lib_dl_dlopen=yes
10075
11854
else
10076
 
  echo "$as_me: failed program was:" >&5
 
11855
  $as_echo "$as_me: failed program was:" >&5
10077
11856
sed 's/^/| /' conftest.$ac_ext >&5
10078
11857
 
10079
11858
        ac_cv_lib_dl_dlopen=no
10080
11859
fi
10081
11860
 
 
11861
rm -rf conftest.dSYM
10082
11862
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10083
11863
      conftest$ac_exeext conftest.$ac_ext
10084
11864
LIBS=$ac_check_lib_save_LIBS
10085
11865
fi
10086
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10087
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10088
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11866
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11867
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11868
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10089
11869
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10090
11870
else
10091
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10092
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
 
11871
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11872
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10093
11873
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10094
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11874
  $as_echo_n "(cached) " >&6
10095
11875
else
10096
11876
  ac_check_lib_save_LIBS=$LIBS
10097
11877
LIBS="-lsvld  $LIBS"
10123
11903
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10124
11904
  *) ac_try_echo=$ac_try;;
10125
11905
esac
10126
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11906
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11907
$as_echo "$ac_try_echo") >&5
10127
11908
  (eval "$ac_link") 2>conftest.er1
10128
11909
  ac_status=$?
10129
11910
  grep -v '^ *+' conftest.er1 >conftest.err
10130
11911
  rm -f conftest.er1
10131
11912
  cat conftest.err >&5
10132
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11913
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133
11914
  (exit $ac_status); } && {
10134
11915
         test -z "$ac_c_werror_flag" ||
10135
11916
         test ! -s conftest.err
10136
 
       } && test -s conftest$ac_exeext &&
10137
 
       $as_test_x conftest$ac_exeext; then
 
11917
       } && test -s conftest$ac_exeext && {
 
11918
         test "$cross_compiling" = yes ||
 
11919
         $as_test_x conftest$ac_exeext
 
11920
       }; then
10138
11921
  ac_cv_lib_svld_dlopen=yes
10139
11922
else
10140
 
  echo "$as_me: failed program was:" >&5
 
11923
  $as_echo "$as_me: failed program was:" >&5
10141
11924
sed 's/^/| /' conftest.$ac_ext >&5
10142
11925
 
10143
11926
        ac_cv_lib_svld_dlopen=no
10144
11927
fi
10145
11928
 
 
11929
rm -rf conftest.dSYM
10146
11930
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10147
11931
      conftest$ac_exeext conftest.$ac_ext
10148
11932
LIBS=$ac_check_lib_save_LIBS
10149
11933
fi
10150
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10151
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10152
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
11934
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11935
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11936
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10153
11937
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10154
11938
else
10155
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10156
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
 
11939
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11940
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10157
11941
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10158
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11942
  $as_echo_n "(cached) " >&6
10159
11943
else
10160
11944
  ac_check_lib_save_LIBS=$LIBS
10161
11945
LIBS="-ldld  $LIBS"
10187
11971
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10188
11972
  *) ac_try_echo=$ac_try;;
10189
11973
esac
10190
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11974
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11975
$as_echo "$ac_try_echo") >&5
10191
11976
  (eval "$ac_link") 2>conftest.er1
10192
11977
  ac_status=$?
10193
11978
  grep -v '^ *+' conftest.er1 >conftest.err
10194
11979
  rm -f conftest.er1
10195
11980
  cat conftest.err >&5
10196
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11981
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10197
11982
  (exit $ac_status); } && {
10198
11983
         test -z "$ac_c_werror_flag" ||
10199
11984
         test ! -s conftest.err
10200
 
       } && test -s conftest$ac_exeext &&
10201
 
       $as_test_x conftest$ac_exeext; then
 
11985
       } && test -s conftest$ac_exeext && {
 
11986
         test "$cross_compiling" = yes ||
 
11987
         $as_test_x conftest$ac_exeext
 
11988
       }; then
10202
11989
  ac_cv_lib_dld_dld_link=yes
10203
11990
else
10204
 
  echo "$as_me: failed program was:" >&5
 
11991
  $as_echo "$as_me: failed program was:" >&5
10205
11992
sed 's/^/| /' conftest.$ac_ext >&5
10206
11993
 
10207
11994
        ac_cv_lib_dld_dld_link=no
10208
11995
fi
10209
11996
 
 
11997
rm -rf conftest.dSYM
10210
11998
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10211
11999
      conftest$ac_exeext conftest.$ac_ext
10212
12000
LIBS=$ac_check_lib_save_LIBS
10213
12001
fi
10214
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10215
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10216
 
if test $ac_cv_lib_dld_dld_link = yes; then
 
12002
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
12003
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
12004
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10217
12005
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10218
12006
fi
10219
12007
 
10252
12040
    save_LIBS="$LIBS"
10253
12041
    LIBS="$lt_cv_dlopen_libs $LIBS"
10254
12042
 
10255
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10256
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
 
12043
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
12044
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10257
12045
if test "${lt_cv_dlopen_self+set}" = set; then
10258
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12046
  $as_echo_n "(cached) " >&6
10259
12047
else
10260
12048
          if test "$cross_compiling" = yes; then :
10261
12049
  lt_cv_dlopen_self=cross
10262
12050
else
10263
12051
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10264
12052
  lt_status=$lt_dlunknown
10265
 
  cat > conftest.$ac_ext <<EOF
10266
 
#line 10266 "configure"
 
12053
  cat > conftest.$ac_ext <<_LT_EOF
 
12054
#line 12054 "configure"
10267
12055
#include "confdefs.h"
10268
12056
 
10269
12057
#if HAVE_DLFCN_H
10304
12092
#  endif
10305
12093
#endif
10306
12094
 
10307
 
#ifdef __cplusplus
10308
 
extern "C" void exit (int);
10309
 
#endif
10310
 
 
10311
12095
void fnord() { int i=42;}
10312
12096
int main ()
10313
12097
{
10323
12107
  else
10324
12108
    puts (dlerror ());
10325
12109
 
10326
 
    exit (status);
 
12110
  return status;
10327
12111
}
10328
 
EOF
 
12112
_LT_EOF
10329
12113
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10330
12114
  (eval $ac_link) 2>&5
10331
12115
  ac_status=$?
10332
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12116
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333
12117
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10334
12118
    (./conftest; exit; ) >&5 2>/dev/null
10335
12119
    lt_status=$?
10347
12131
 
10348
12132
 
10349
12133
fi
10350
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10351
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
12134
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
12135
$as_echo "$lt_cv_dlopen_self" >&6; }
10352
12136
 
10353
12137
    if test "x$lt_cv_dlopen_self" = xyes; then
10354
12138
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10355
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10356
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
 
12139
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
12140
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10357
12141
if test "${lt_cv_dlopen_self_static+set}" = set; then
10358
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12142
  $as_echo_n "(cached) " >&6
10359
12143
else
10360
12144
          if test "$cross_compiling" = yes; then :
10361
12145
  lt_cv_dlopen_self_static=cross
10362
12146
else
10363
12147
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10364
12148
  lt_status=$lt_dlunknown
10365
 
  cat > conftest.$ac_ext <<EOF
10366
 
#line 10366 "configure"
 
12149
  cat > conftest.$ac_ext <<_LT_EOF
 
12150
#line 12150 "configure"
10367
12151
#include "confdefs.h"
10368
12152
 
10369
12153
#if HAVE_DLFCN_H
10404
12188
#  endif
10405
12189
#endif
10406
12190
 
10407
 
#ifdef __cplusplus
10408
 
extern "C" void exit (int);
10409
 
#endif
10410
 
 
10411
12191
void fnord() { int i=42;}
10412
12192
int main ()
10413
12193
{
10423
12203
  else
10424
12204
    puts (dlerror ());
10425
12205
 
10426
 
    exit (status);
 
12206
  return status;
10427
12207
}
10428
 
EOF
 
12208
_LT_EOF
10429
12209
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10430
12210
  (eval $ac_link) 2>&5
10431
12211
  ac_status=$?
10432
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12212
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433
12213
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10434
12214
    (./conftest; exit; ) >&5 2>/dev/null
10435
12215
    lt_status=$?
10447
12227
 
10448
12228
 
10449
12229
fi
10450
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10451
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
12230
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
12231
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10452
12232
    fi
10453
12233
 
10454
12234
    CPPFLAGS="$save_CPPFLAGS"
10469
12249
fi
10470
12250
 
10471
12251
 
10472
 
# Report which library types will actually be built
10473
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10474
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10475
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10476
 
echo "${ECHO_T}$can_build_shared" >&6; }
10477
 
 
10478
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10479
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10480
 
test "$can_build_shared" = "no" && enable_shared=no
10481
 
 
10482
 
# On AIX, shared libraries and static libraries use the same namespace, and
10483
 
# are all built from PIC.
10484
 
case $host_os in
10485
 
aix3*)
10486
 
  test "$enable_shared" = yes && enable_static=no
10487
 
  if test -n "$RANLIB"; then
10488
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
10489
 
    postinstall_cmds='$RANLIB $lib'
10490
 
  fi
10491
 
  ;;
10492
 
 
10493
 
aix[4-9]*)
10494
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
12252
 
 
12253
 
 
12254
 
 
12255
 
 
12256
 
 
12257
 
 
12258
 
 
12259
 
 
12260
 
 
12261
 
 
12262
 
 
12263
 
 
12264
 
 
12265
 
 
12266
 
 
12267
striplib=
 
12268
old_striplib=
 
12269
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
12270
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
12271
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
12272
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
12273
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
12274
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12275
$as_echo "yes" >&6; }
 
12276
else
 
12277
# FIXME - insert some real tests, host_os isn't really good enough
 
12278
  case $host_os in
 
12279
  darwin*)
 
12280
    if test -n "$STRIP" ; then
 
12281
      striplib="$STRIP -x"
 
12282
      old_striplib="$STRIP -S"
 
12283
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12284
$as_echo "yes" >&6; }
 
12285
    else
 
12286
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
12287
$as_echo "no" >&6; }
 
12288
    fi
 
12289
    ;;
 
12290
  *)
 
12291
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
12292
$as_echo "no" >&6; }
 
12293
    ;;
 
12294
  esac
 
12295
fi
 
12296
 
 
12297
 
 
12298
 
 
12299
 
 
12300
 
 
12301
 
 
12302
 
 
12303
 
 
12304
 
 
12305
 
 
12306
 
 
12307
 
 
12308
  # Report which library types will actually be built
 
12309
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
12310
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
12311
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
12312
$as_echo "$can_build_shared" >&6; }
 
12313
 
 
12314
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
12315
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
12316
  test "$can_build_shared" = "no" && enable_shared=no
 
12317
 
 
12318
  # On AIX, shared libraries and static libraries use the same namespace, and
 
12319
  # are all built from PIC.
 
12320
  case $host_os in
 
12321
  aix3*)
10495
12322
    test "$enable_shared" = yes && enable_static=no
10496
 
  fi
10497
 
    ;;
10498
 
esac
10499
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10500
 
echo "${ECHO_T}$enable_shared" >&6; }
10501
 
 
10502
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10503
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10504
 
# Make sure either enable_shared or enable_static is yes.
10505
 
test "$enable_shared" = yes || enable_static=yes
10506
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10507
 
echo "${ECHO_T}$enable_static" >&6; }
10508
 
 
10509
 
# The else clause should only fire when bootstrapping the
10510
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
10511
 
# with your package, and you will get complaints that there are
10512
 
# no rules to generate ltmain.sh.
10513
 
if test -f "$ltmain"; then
10514
 
  # See if we are running on zsh, and set the options which allow our commands through
10515
 
  # without removal of \ escapes.
10516
 
  if test -n "${ZSH_VERSION+set}" ; then
10517
 
    setopt NO_GLOB_SUBST
10518
 
  fi
10519
 
  # Now quote all the things that may contain metacharacters while being
10520
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10521
 
  # variables and quote the copies for generation of the libtool script.
10522
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10523
 
    SED SHELL STRIP \
10524
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10525
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10526
 
    deplibs_check_method reload_flag reload_cmds need_locks \
10527
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10528
 
    lt_cv_sys_global_symbol_to_c_name_address \
10529
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10530
 
    old_postinstall_cmds old_postuninstall_cmds \
10531
 
    compiler \
10532
 
    CC \
10533
 
    LD \
10534
 
    lt_prog_compiler_wl \
10535
 
    lt_prog_compiler_pic \
10536
 
    lt_prog_compiler_static \
10537
 
    lt_prog_compiler_no_builtin_flag \
10538
 
    export_dynamic_flag_spec \
10539
 
    thread_safe_flag_spec \
10540
 
    whole_archive_flag_spec \
10541
 
    enable_shared_with_static_runtimes \
10542
 
    old_archive_cmds \
10543
 
    old_archive_from_new_cmds \
10544
 
    predep_objects \
10545
 
    postdep_objects \
10546
 
    predeps \
10547
 
    postdeps \
10548
 
    compiler_lib_search_path \
10549
 
    compiler_lib_search_dirs \
10550
 
    archive_cmds \
10551
 
    archive_expsym_cmds \
10552
 
    postinstall_cmds \
10553
 
    postuninstall_cmds \
10554
 
    old_archive_from_expsyms_cmds \
10555
 
    allow_undefined_flag \
10556
 
    no_undefined_flag \
10557
 
    export_symbols_cmds \
10558
 
    hardcode_libdir_flag_spec \
10559
 
    hardcode_libdir_flag_spec_ld \
10560
 
    hardcode_libdir_separator \
10561
 
    hardcode_automatic \
10562
 
    module_cmds \
10563
 
    module_expsym_cmds \
10564
 
    lt_cv_prog_compiler_c_o \
10565
 
    fix_srcfile_path \
10566
 
    exclude_expsyms \
10567
 
    include_expsyms; do
10568
 
 
10569
 
    case $var in
10570
 
    old_archive_cmds | \
10571
 
    old_archive_from_new_cmds | \
10572
 
    archive_cmds | \
10573
 
    archive_expsym_cmds | \
10574
 
    module_cmds | \
10575
 
    module_expsym_cmds | \
10576
 
    old_archive_from_expsyms_cmds | \
10577
 
    export_symbols_cmds | \
10578
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10579
 
    postinstall_cmds | postuninstall_cmds | \
10580
 
    old_postinstall_cmds | old_postuninstall_cmds | \
10581
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10582
 
      # Double-quote double-evaled strings.
10583
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10584
 
      ;;
10585
 
    *)
10586
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10587
 
      ;;
10588
 
    esac
10589
 
  done
10590
 
 
10591
 
  case $lt_echo in
10592
 
  *'\$0 --fallback-echo"')
10593
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10594
 
    ;;
10595
 
  esac
10596
 
 
10597
 
cfgfile="${ofile}T"
10598
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10599
 
  $rm -f "$cfgfile"
10600
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
10601
 
echo "$as_me: creating $ofile" >&6;}
10602
 
 
10603
 
  cat <<__EOF__ >> "$cfgfile"
10604
 
#! $SHELL
10605
 
 
10606
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10607
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10608
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10609
 
#
10610
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10611
 
# Free Software Foundation, Inc.
10612
 
#
10613
 
# This file is part of GNU Libtool:
10614
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10615
 
#
10616
 
# This program is free software; you can redistribute it and/or modify
10617
 
# it under the terms of the GNU General Public License as published by
10618
 
# the Free Software Foundation; either version 2 of the License, or
10619
 
# (at your option) any later version.
10620
 
#
10621
 
# This program is distributed in the hope that it will be useful, but
10622
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
10623
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10624
 
# General Public License for more details.
10625
 
#
10626
 
# You should have received a copy of the GNU General Public License
10627
 
# along with this program; if not, write to the Free Software
10628
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10629
 
#
10630
 
# As a special exception to the GNU General Public License, if you
10631
 
# distribute this file as part of a program that contains a
10632
 
# configuration script generated by Autoconf, you may include it under
10633
 
# the same distribution terms that you use for the rest of that program.
10634
 
 
10635
 
# A sed program that does not truncate output.
10636
 
SED=$lt_SED
10637
 
 
10638
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10639
 
Xsed="$SED -e 1s/^X//"
10640
 
 
10641
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
10642
 
# if CDPATH is set.
10643
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10644
 
 
10645
 
# The names of the tagged configurations supported by this script.
10646
 
available_tags=
10647
 
 
10648
 
# ### BEGIN LIBTOOL CONFIG
10649
 
 
10650
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10651
 
 
10652
 
# Shell to use when invoking shell scripts.
10653
 
SHELL=$lt_SHELL
10654
 
 
10655
 
# Whether or not to build shared libraries.
10656
 
build_libtool_libs=$enable_shared
10657
 
 
10658
 
# Whether or not to build static libraries.
10659
 
build_old_libs=$enable_static
10660
 
 
10661
 
# Whether or not to add -lc for building shared libraries.
10662
 
build_libtool_need_lc=$archive_cmds_need_lc
10663
 
 
10664
 
# Whether or not to disallow shared libs when runtime libs are static
10665
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10666
 
 
10667
 
# Whether or not to optimize for fast installation.
10668
 
fast_install=$enable_fast_install
10669
 
 
10670
 
# The host system.
10671
 
host_alias=$host_alias
10672
 
host=$host
10673
 
host_os=$host_os
10674
 
 
10675
 
# The build system.
10676
 
build_alias=$build_alias
10677
 
build=$build
10678
 
build_os=$build_os
10679
 
 
10680
 
# An echo program that does not interpret backslashes.
10681
 
echo=$lt_echo
10682
 
 
10683
 
# The archiver.
10684
 
AR=$lt_AR
10685
 
AR_FLAGS=$lt_AR_FLAGS
10686
 
 
10687
 
# A C compiler.
10688
 
LTCC=$lt_LTCC
10689
 
 
10690
 
# LTCC compiler flags.
10691
 
LTCFLAGS=$lt_LTCFLAGS
10692
 
 
10693
 
# A language-specific compiler.
10694
 
CC=$lt_compiler
10695
 
 
10696
 
# Is the compiler the GNU C compiler?
10697
 
with_gcc=$GCC
10698
 
 
10699
 
# An ERE matcher.
10700
 
EGREP=$lt_EGREP
10701
 
 
10702
 
# The linker used to build libraries.
10703
 
LD=$lt_LD
10704
 
 
10705
 
# Whether we need hard or soft links.
10706
 
LN_S=$lt_LN_S
10707
 
 
10708
 
# A BSD-compatible nm program.
10709
 
NM=$lt_NM
10710
 
 
10711
 
# A symbol stripping program
10712
 
STRIP=$lt_STRIP
10713
 
 
10714
 
# Used to examine libraries when file_magic_cmd begins "file"
10715
 
MAGIC_CMD=$MAGIC_CMD
10716
 
 
10717
 
# Used on cygwin: DLL creation program.
10718
 
DLLTOOL="$DLLTOOL"
10719
 
 
10720
 
# Used on cygwin: object dumper.
10721
 
OBJDUMP="$OBJDUMP"
10722
 
 
10723
 
# Used on cygwin: assembler.
10724
 
AS="$AS"
10725
 
 
10726
 
# The name of the directory that contains temporary libtool files.
10727
 
objdir=$objdir
10728
 
 
10729
 
# How to create reloadable object files.
10730
 
reload_flag=$lt_reload_flag
10731
 
reload_cmds=$lt_reload_cmds
10732
 
 
10733
 
# How to pass a linker flag through the compiler.
10734
 
wl=$lt_lt_prog_compiler_wl
10735
 
 
10736
 
# Object file suffix (normally "o").
10737
 
objext="$ac_objext"
10738
 
 
10739
 
# Old archive suffix (normally "a").
10740
 
libext="$libext"
10741
 
 
10742
 
# Shared library suffix (normally ".so").
10743
 
shrext_cmds='$shrext_cmds'
10744
 
 
10745
 
# Executable file suffix (normally "").
10746
 
exeext="$exeext"
10747
 
 
10748
 
# Additional compiler flags for building library objects.
10749
 
pic_flag=$lt_lt_prog_compiler_pic
10750
 
pic_mode=$pic_mode
10751
 
 
10752
 
# What is the maximum length of a command?
10753
 
max_cmd_len=$lt_cv_sys_max_cmd_len
10754
 
 
10755
 
# Does compiler simultaneously support -c and -o options?
10756
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10757
 
 
10758
 
# Must we lock files when doing compilation?
10759
 
need_locks=$lt_need_locks
10760
 
 
10761
 
# Do we need the lib prefix for modules?
10762
 
need_lib_prefix=$need_lib_prefix
10763
 
 
10764
 
# Do we need a version for libraries?
10765
 
need_version=$need_version
10766
 
 
10767
 
# Whether dlopen is supported.
10768
 
dlopen_support=$enable_dlopen
10769
 
 
10770
 
# Whether dlopen of programs is supported.
10771
 
dlopen_self=$enable_dlopen_self
10772
 
 
10773
 
# Whether dlopen of statically linked programs is supported.
10774
 
dlopen_self_static=$enable_dlopen_self_static
10775
 
 
10776
 
# Compiler flag to prevent dynamic linking.
10777
 
link_static_flag=$lt_lt_prog_compiler_static
10778
 
 
10779
 
# Compiler flag to turn off builtin functions.
10780
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10781
 
 
10782
 
# Compiler flag to allow reflexive dlopens.
10783
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10784
 
 
10785
 
# Compiler flag to generate shared objects directly from archives.
10786
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10787
 
 
10788
 
# Compiler flag to generate thread-safe objects.
10789
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10790
 
 
10791
 
# Library versioning type.
10792
 
version_type=$version_type
10793
 
 
10794
 
# Format of library name prefix.
10795
 
libname_spec=$lt_libname_spec
10796
 
 
10797
 
# List of archive names.  First name is the real one, the rest are links.
10798
 
# The last name is the one that the linker finds with -lNAME.
10799
 
library_names_spec=$lt_library_names_spec
10800
 
 
10801
 
# The coded name of the library, if different from the real name.
10802
 
soname_spec=$lt_soname_spec
10803
 
 
10804
 
# Commands used to build and install an old-style archive.
10805
 
RANLIB=$lt_RANLIB
10806
 
old_archive_cmds=$lt_old_archive_cmds
10807
 
old_postinstall_cmds=$lt_old_postinstall_cmds
10808
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10809
 
 
10810
 
# Create an old-style archive from a shared archive.
10811
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10812
 
 
10813
 
# Create a temporary old-style archive to link instead of a shared archive.
10814
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10815
 
 
10816
 
# Commands used to build and install a shared archive.
10817
 
archive_cmds=$lt_archive_cmds
10818
 
archive_expsym_cmds=$lt_archive_expsym_cmds
10819
 
postinstall_cmds=$lt_postinstall_cmds
10820
 
postuninstall_cmds=$lt_postuninstall_cmds
10821
 
 
10822
 
# Commands used to build a loadable module (assumed same as above if empty)
10823
 
module_cmds=$lt_module_cmds
10824
 
module_expsym_cmds=$lt_module_expsym_cmds
10825
 
 
10826
 
# Commands to strip libraries.
10827
 
old_striplib=$lt_old_striplib
10828
 
striplib=$lt_striplib
10829
 
 
10830
 
# Dependencies to place before the objects being linked to create a
10831
 
# shared library.
10832
 
predep_objects=$lt_predep_objects
10833
 
 
10834
 
# Dependencies to place after the objects being linked to create a
10835
 
# shared library.
10836
 
postdep_objects=$lt_postdep_objects
10837
 
 
10838
 
# Dependencies to place before the objects being linked to create a
10839
 
# shared library.
10840
 
predeps=$lt_predeps
10841
 
 
10842
 
# Dependencies to place after the objects being linked to create a
10843
 
# shared library.
10844
 
postdeps=$lt_postdeps
10845
 
 
10846
 
# The directories searched by this compiler when creating a shared
10847
 
# library
10848
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
10849
 
 
10850
 
# The library search path used internally by the compiler when linking
10851
 
# a shared library.
10852
 
compiler_lib_search_path=$lt_compiler_lib_search_path
10853
 
 
10854
 
# Method to check whether dependent libraries are shared objects.
10855
 
deplibs_check_method=$lt_deplibs_check_method
10856
 
 
10857
 
# Command to use when deplibs_check_method == file_magic.
10858
 
file_magic_cmd=$lt_file_magic_cmd
10859
 
 
10860
 
# Flag that allows shared libraries with undefined symbols to be built.
10861
 
allow_undefined_flag=$lt_allow_undefined_flag
10862
 
 
10863
 
# Flag that forces no undefined symbols.
10864
 
no_undefined_flag=$lt_no_undefined_flag
10865
 
 
10866
 
# Commands used to finish a libtool library installation in a directory.
10867
 
finish_cmds=$lt_finish_cmds
10868
 
 
10869
 
# Same as above, but a single script fragment to be evaled but not shown.
10870
 
finish_eval=$lt_finish_eval
10871
 
 
10872
 
# Take the output of nm and produce a listing of raw symbols and C names.
10873
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10874
 
 
10875
 
# Transform the output of nm in a proper C declaration
10876
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10877
 
 
10878
 
# Transform the output of nm in a C name address pair
10879
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10880
 
 
10881
 
# This is the shared library runtime path variable.
10882
 
runpath_var=$runpath_var
10883
 
 
10884
 
# This is the shared library path variable.
10885
 
shlibpath_var=$shlibpath_var
10886
 
 
10887
 
# Is shlibpath searched before the hard-coded library search path?
10888
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10889
 
 
10890
 
# How to hardcode a shared library path into an executable.
10891
 
hardcode_action=$hardcode_action
10892
 
 
10893
 
# Whether we should hardcode library paths into libraries.
10894
 
hardcode_into_libs=$hardcode_into_libs
10895
 
 
10896
 
# Flag to hardcode \$libdir into a binary during linking.
10897
 
# This must work even if \$libdir does not exist.
10898
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10899
 
 
10900
 
# If ld is used when linking, flag to hardcode \$libdir into
10901
 
# a binary during linking. This must work even if \$libdir does
10902
 
# not exist.
10903
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10904
 
 
10905
 
# Whether we need a single -rpath flag with a separated argument.
10906
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10907
 
 
10908
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10909
 
# resulting binary.
10910
 
hardcode_direct=$hardcode_direct
10911
 
 
10912
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10913
 
# resulting binary.
10914
 
hardcode_minus_L=$hardcode_minus_L
10915
 
 
10916
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10917
 
# the resulting binary.
10918
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
10919
 
 
10920
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
10921
 
# and all subsequent libraries and executables linked against it.
10922
 
hardcode_automatic=$hardcode_automatic
10923
 
 
10924
 
# Variables whose values should be saved in libtool wrapper scripts and
10925
 
# restored at relink time.
10926
 
variables_saved_for_relink="$variables_saved_for_relink"
10927
 
 
10928
 
# Whether libtool must link a program against all its dependency libraries.
10929
 
link_all_deplibs=$link_all_deplibs
10930
 
 
10931
 
# Compile-time system search path for libraries
10932
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10933
 
 
10934
 
# Run-time system search path for libraries
10935
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10936
 
 
10937
 
# Fix the shell variable \$srcfile for the compiler.
10938
 
fix_srcfile_path=$lt_fix_srcfile_path
10939
 
 
10940
 
# Set to yes if exported symbols are required.
10941
 
always_export_symbols=$always_export_symbols
10942
 
 
10943
 
# The commands to list exported symbols.
10944
 
export_symbols_cmds=$lt_export_symbols_cmds
10945
 
 
10946
 
# The commands to extract the exported symbol list from a shared archive.
10947
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10948
 
 
10949
 
# Symbols that should not be listed in the preloaded symbols.
10950
 
exclude_expsyms=$lt_exclude_expsyms
10951
 
 
10952
 
# Symbols that must always be exported.
10953
 
include_expsyms=$lt_include_expsyms
10954
 
 
10955
 
# ### END LIBTOOL CONFIG
10956
 
 
10957
 
__EOF__
10958
 
 
10959
 
 
10960
 
  case $host_os in
10961
 
  aix3*)
10962
 
    cat <<\EOF >> "$cfgfile"
10963
 
 
10964
 
# AIX sometimes has problems with the GCC collect2 program.  For some
10965
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
10966
 
# vanish in a puff of smoke.
10967
 
if test "X${COLLECT_NAMES+set}" != Xset; then
10968
 
  COLLECT_NAMES=
10969
 
  export COLLECT_NAMES
10970
 
fi
10971
 
EOF
10972
 
    ;;
10973
 
  esac
10974
 
 
10975
 
  # We use sed instead of cat because bash on DJGPP gets confused if
10976
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
10977
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
10978
 
  # is reportedly fixed, but why not run on old versions too?
10979
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10980
 
 
10981
 
  mv -f "$cfgfile" "$ofile" || \
10982
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10983
 
  chmod +x "$ofile"
10984
 
 
10985
 
else
10986
 
  # If there is no Makefile yet, we rely on a make rule to execute
10987
 
  # `config.status --recheck' to rerun these tests and create the
10988
 
  # libtool script then.
10989
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10990
 
  if test -f "$ltmain_in"; then
10991
 
    test -f Makefile && make "$ltmain"
10992
 
  fi
10993
 
fi
10994
 
 
10995
 
 
 
12323
    if test -n "$RANLIB"; then
 
12324
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
12325
      postinstall_cmds='$RANLIB $lib'
 
12326
    fi
 
12327
    ;;
 
12328
 
 
12329
  aix[4-9]*)
 
12330
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
12331
      test "$enable_shared" = yes && enable_static=no
 
12332
    fi
 
12333
    ;;
 
12334
  esac
 
12335
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
12336
$as_echo "$enable_shared" >&6; }
 
12337
 
 
12338
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
12339
$as_echo_n "checking whether to build static libraries... " >&6; }
 
12340
  # Make sure either enable_shared or enable_static is yes.
 
12341
  test "$enable_shared" = yes || enable_static=yes
 
12342
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
12343
$as_echo "$enable_static" >&6; }
 
12344
 
 
12345
 
 
12346
 
 
12347
 
 
12348
fi
10996
12349
ac_ext=cpp
10997
12350
ac_cpp='$CXXCPP $CPPFLAGS'
10998
12351
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11002
12355
CC="$lt_save_CC"
11003
12356
 
11004
12357
 
11005
 
# Check whether --with-tags was given.
11006
 
if test "${with_tags+set}" = set; then
11007
 
  withval=$with_tags; tagnames="$withval"
11008
 
fi
11009
 
 
11010
 
 
11011
 
if test -f "$ltmain" && test -n "$tagnames"; then
11012
 
  if test ! -f "${ofile}"; then
11013
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11014
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11015
 
  fi
11016
 
 
11017
 
  if test -z "$LTCC"; then
11018
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11019
 
    if test -z "$LTCC"; then
11020
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11021
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11022
 
    else
11023
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11024
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11025
 
    fi
11026
 
  fi
11027
 
  if test -z "$LTCFLAGS"; then
11028
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11029
 
  fi
11030
 
 
11031
 
  # Extract list of available tagged configurations in $ofile.
11032
 
  # Note that this assumes the entire list is on one line.
11033
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11034
 
 
11035
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11036
 
  for tagname in $tagnames; do
11037
 
    IFS="$lt_save_ifs"
11038
 
    # Check whether tagname contains only valid characters
11039
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11040
 
    "") ;;
11041
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11042
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
11043
 
   { (exit 1); exit 1; }; }
11044
 
        ;;
11045
 
    esac
11046
 
 
11047
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11048
 
    then
11049
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11050
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11051
 
   { (exit 1); exit 1; }; }
11052
 
    fi
11053
 
 
11054
 
    # Update the list of available tags.
11055
 
    if test -n "$tagname"; then
11056
 
      echo appending configuration tag \"$tagname\" to $ofile
11057
 
 
11058
 
      case $tagname in
11059
 
      CXX)
11060
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11061
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11062
 
            (test "X$CXX" != "Xg++"))) ; then
11063
 
          ac_ext=cpp
 
12358
ac_ext=cpp
11064
12359
ac_cpp='$CXXCPP $CPPFLAGS'
11065
12360
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11066
12361
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11067
12362
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11068
12363
 
11069
 
 
11070
 
 
11071
 
 
11072
12364
archive_cmds_need_lc_CXX=no
11073
12365
allow_undefined_flag_CXX=
11074
12366
always_export_symbols_CXX=no
11075
12367
archive_expsym_cmds_CXX=
 
12368
compiler_needs_object_CXX=no
11076
12369
export_dynamic_flag_spec_CXX=
11077
12370
hardcode_direct_CXX=no
 
12371
hardcode_direct_absolute_CXX=no
11078
12372
hardcode_libdir_flag_spec_CXX=
11079
12373
hardcode_libdir_flag_spec_ld_CXX=
11080
12374
hardcode_libdir_separator_CXX=
11081
12375
hardcode_minus_L_CXX=no
11082
12376
hardcode_shlibpath_var_CXX=unsupported
11083
12377
hardcode_automatic_CXX=no
 
12378
inherit_rpath_CXX=no
11084
12379
module_cmds_CXX=
11085
12380
module_expsym_cmds_CXX=
11086
12381
link_all_deplibs_CXX=unknown
11089
12384
whole_archive_flag_spec_CXX=
11090
12385
enable_shared_with_static_runtimes_CXX=no
11091
12386
 
11092
 
# Dependencies to place before and after the object being linked:
11093
 
predep_objects_CXX=
11094
 
postdep_objects_CXX=
11095
 
predeps_CXX=
11096
 
postdeps_CXX=
11097
 
compiler_lib_search_path_CXX=
11098
 
compiler_lib_search_dirs_CXX=
11099
 
 
11100
12387
# Source file extension for C++ test sources.
11101
12388
ac_ext=cpp
11102
12389
 
11104
12391
objext=o
11105
12392
objext_CXX=$objext
11106
12393
 
11107
 
# Code to be used in simple compile tests
11108
 
lt_simple_compile_test_code="int some_variable = 0;"
11109
 
 
11110
 
# Code to be used in simple link tests
11111
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11112
 
 
11113
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
12394
# No sense in running all these tests if we already determined that
 
12395
# the CXX compiler isn't working.  Some variables (like enable_shared)
 
12396
# are currently assumed to apply to all compilers on this platform,
 
12397
# and will be corrupted by setting them based on a non-working compiler.
 
12398
if test "$_lt_caught_CXX_error" != yes; then
 
12399
  # Code to be used in simple compile tests
 
12400
  lt_simple_compile_test_code="int some_variable = 0;"
 
12401
 
 
12402
  # Code to be used in simple link tests
 
12403
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 
12404
 
 
12405
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
12406
 
 
12407
 
 
12408
 
 
12409
 
 
12410
 
11114
12411
 
11115
12412
# If no C compiler was specified, use CC.
11116
12413
LTCC=${LTCC-"$CC"}
11122
12419
compiler=$CC
11123
12420
 
11124
12421
 
11125
 
# save warnings/boilerplate of simple test code
11126
 
ac_outfile=conftest.$ac_objext
 
12422
  # save warnings/boilerplate of simple test code
 
12423
  ac_outfile=conftest.$ac_objext
11127
12424
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11128
12425
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11129
12426
_lt_compiler_boilerplate=`cat conftest.err`
11130
 
$rm conftest*
 
12427
$RM conftest*
11131
12428
 
11132
 
ac_outfile=conftest.$ac_objext
 
12429
  ac_outfile=conftest.$ac_objext
11133
12430
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11134
12431
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11135
12432
_lt_linker_boilerplate=`cat conftest.err`
11136
 
$rm -r conftest*
11137
 
 
11138
 
 
11139
 
# Allow CC to be a program name with arguments.
11140
 
lt_save_CC=$CC
11141
 
lt_save_LD=$LD
11142
 
lt_save_GCC=$GCC
11143
 
GCC=$GXX
11144
 
lt_save_with_gnu_ld=$with_gnu_ld
11145
 
lt_save_path_LD=$lt_cv_path_LD
11146
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11147
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11148
 
else
11149
 
  $as_unset lt_cv_prog_gnu_ld
11150
 
fi
11151
 
if test -n "${lt_cv_path_LDCXX+set}"; then
11152
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
11153
 
else
11154
 
  $as_unset lt_cv_path_LD
11155
 
fi
11156
 
test -z "${LDCXX+set}" || LD=$LDCXX
11157
 
CC=${CXX-"c++"}
11158
 
compiler=$CC
11159
 
compiler_CXX=$CC
11160
 
for cc_temp in $compiler""; do
 
12433
$RM -r conftest*
 
12434
 
 
12435
 
 
12436
  # Allow CC to be a program name with arguments.
 
12437
  lt_save_CC=$CC
 
12438
  lt_save_LD=$LD
 
12439
  lt_save_GCC=$GCC
 
12440
  GCC=$GXX
 
12441
  lt_save_with_gnu_ld=$with_gnu_ld
 
12442
  lt_save_path_LD=$lt_cv_path_LD
 
12443
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
12444
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
12445
  else
 
12446
    $as_unset lt_cv_prog_gnu_ld
 
12447
  fi
 
12448
  if test -n "${lt_cv_path_LDCXX+set}"; then
 
12449
    lt_cv_path_LD=$lt_cv_path_LDCXX
 
12450
  else
 
12451
    $as_unset lt_cv_path_LD
 
12452
  fi
 
12453
  test -z "${LDCXX+set}" || LD=$LDCXX
 
12454
  CC=${CXX-"c++"}
 
12455
  compiler=$CC
 
12456
  compiler_CXX=$CC
 
12457
  for cc_temp in $compiler""; do
11161
12458
  case $cc_temp in
11162
12459
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11163
12460
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11165
12462
    *) break;;
11166
12463
  esac
11167
12464
done
11168
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11169
 
 
11170
 
 
11171
 
# We don't want -fno-exception wen compiling C++ code, so set the
11172
 
# no_builtin_flag separately
11173
 
if test "$GXX" = yes; then
11174
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11175
 
else
11176
 
  lt_prog_compiler_no_builtin_flag_CXX=
11177
 
fi
11178
 
 
11179
 
if test "$GXX" = yes; then
11180
 
  # Set up default GNU C++ configuration
 
12465
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
12466
 
 
12467
 
 
12468
  if test -n "$compiler"; then
 
12469
    # We don't want -fno-exception when compiling C++ code, so set the
 
12470
    # no_builtin_flag separately
 
12471
    if test "$GXX" = yes; then
 
12472
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 
12473
    else
 
12474
      lt_prog_compiler_no_builtin_flag_CXX=
 
12475
    fi
 
12476
 
 
12477
    if test "$GXX" = yes; then
 
12478
      # Set up default GNU C++ configuration
 
12479
 
11181
12480
 
11182
12481
 
11183
12482
# Check whether --with-gnu-ld was given.
11190
12489
ac_prog=ld
11191
12490
if test "$GCC" = yes; then
11192
12491
  # Check if gcc -print-prog-name=ld gives a path.
11193
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11194
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
12492
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
12493
$as_echo_n "checking for ld used by $CC... " >&6; }
11195
12494
  case $host in
11196
12495
  *-*-mingw*)
11197
12496
    # gcc leaves a trailing carriage return which upsets mingw
11204
12503
    [\\/]* | ?:[\\/]*)
11205
12504
      re_direlt='/[^/][^/]*/\.\./'
11206
12505
      # Canonicalize the pathname of ld
11207
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11208
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11209
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
12506
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
12507
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
12508
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11210
12509
      done
11211
12510
      test -z "$LD" && LD="$ac_prog"
11212
12511
      ;;
11220
12519
    ;;
11221
12520
  esac
11222
12521
elif test "$with_gnu_ld" = yes; then
11223
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
11224
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
12522
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
12523
$as_echo_n "checking for GNU ld... " >&6; }
11225
12524
else
11226
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11227
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
12525
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
12526
$as_echo_n "checking for non-GNU ld... " >&6; }
11228
12527
fi
11229
12528
if test "${lt_cv_path_LD+set}" = set; then
11230
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12529
  $as_echo_n "(cached) " >&6
11231
12530
else
11232
12531
  if test -z "$LD"; then
11233
12532
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11257
12556
 
11258
12557
LD="$lt_cv_path_LD"
11259
12558
if test -n "$LD"; then
11260
 
  { echo "$as_me:$LINENO: result: $LD" >&5
11261
 
echo "${ECHO_T}$LD" >&6; }
 
12559
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
12560
$as_echo "$LD" >&6; }
11262
12561
else
11263
 
  { echo "$as_me:$LINENO: result: no" >&5
11264
 
echo "${ECHO_T}no" >&6; }
 
12562
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12563
$as_echo "no" >&6; }
11265
12564
fi
11266
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11267
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
12565
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
12566
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11268
12567
   { (exit 1); exit 1; }; }
11269
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11270
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
12568
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
12569
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11271
12570
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11272
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12571
  $as_echo_n "(cached) " >&6
11273
12572
else
11274
12573
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11275
12574
case `$LD -v 2>&1 </dev/null` in
11281
12580
  ;;
11282
12581
esac
11283
12582
fi
11284
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11285
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
12583
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
12584
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
11286
12585
with_gnu_ld=$lt_cv_prog_gnu_ld
11287
12586
 
11288
12587
 
11289
12588
 
11290
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
11291
 
  # archiving commands below assume that GNU ld is being used.
11292
 
  if test "$with_gnu_ld" = yes; then
11293
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11294
 
    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'
11295
 
 
11296
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11297
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11298
 
 
11299
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
11300
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11301
 
    #     investigate it a little bit more. (MM)
11302
 
    wlarc='${wl}'
11303
 
 
11304
 
    # ancient GNU ld didn't support --whole-archive et. al.
11305
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11306
 
        grep 'no-whole-archive' > /dev/null; then
11307
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11308
 
    else
11309
 
      whole_archive_flag_spec_CXX=
11310
 
    fi
11311
 
  else
11312
 
    with_gnu_ld=no
11313
 
    wlarc=
11314
 
 
11315
 
    # A generic and very simple default shared library creation
11316
 
    # command for GNU C++ for the case where it uses the native
11317
 
    # linker, instead of GNU ld.  If possible, this setting should
11318
 
    # overridden to take advantage of the native linker features on
11319
 
    # the platform it is being used on.
11320
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11321
 
  fi
11322
 
 
11323
 
  # Commands to make compiler produce verbose output that lists
11324
 
  # what "hidden" libraries, object files and flags are used when
11325
 
  # linking a shared library.
11326
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11327
 
 
11328
 
else
11329
 
  GXX=no
11330
 
  with_gnu_ld=no
11331
 
  wlarc=
11332
 
fi
11333
 
 
11334
 
# PORTME: fill in a description of your system's C++ link characteristics
11335
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11336
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11337
 
ld_shlibs_CXX=yes
11338
 
case $host_os in
11339
 
  aix3*)
11340
 
    # FIXME: insert proper C++ library support
11341
 
    ld_shlibs_CXX=no
11342
 
    ;;
11343
 
  aix[4-9]*)
11344
 
    if test "$host_cpu" = ia64; then
11345
 
      # On IA64, the linker does run time linking by default, so we don't
11346
 
      # have to do anything special.
11347
 
      aix_use_runtimelinking=no
11348
 
      exp_sym_flag='-Bexport'
11349
 
      no_entry_flag=""
11350
 
    else
11351
 
      aix_use_runtimelinking=no
11352
 
 
11353
 
      # Test if we are trying to use run time linking or normal
11354
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11355
 
      # need to do runtime linking.
11356
 
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11357
 
        for ld_flag in $LDFLAGS; do
11358
 
          case $ld_flag in
11359
 
          *-brtl*)
11360
 
            aix_use_runtimelinking=yes
11361
 
            break
11362
 
            ;;
11363
 
          esac
11364
 
        done
11365
 
        ;;
11366
 
      esac
11367
 
 
11368
 
      exp_sym_flag='-bexport'
11369
 
      no_entry_flag='-bnoentry'
11370
 
    fi
11371
 
 
11372
 
    # When large executables or shared objects are built, AIX ld can
11373
 
    # have problems creating the table of contents.  If linking a library
11374
 
    # or program results in "error TOC overflow" add -mminimal-toc to
11375
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11376
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11377
 
 
11378
 
    archive_cmds_CXX=''
11379
 
    hardcode_direct_CXX=yes
11380
 
    hardcode_libdir_separator_CXX=':'
11381
 
    link_all_deplibs_CXX=yes
11382
 
 
11383
 
    if test "$GXX" = yes; then
11384
 
      case $host_os in aix4.[012]|aix4.[012].*)
11385
 
      # We only want to do this on AIX 4.2 and lower, the check
11386
 
      # below for broken collect2 doesn't work under 4.3+
11387
 
        collect2name=`${CC} -print-prog-name=collect2`
11388
 
        if test -f "$collect2name" && \
11389
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
11390
 
        then
11391
 
          # We have reworked collect2
11392
 
          :
11393
 
        else
11394
 
          # We have old collect2
11395
 
          hardcode_direct_CXX=unsupported
11396
 
          # It fails to find uninstalled libraries when the uninstalled
11397
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
11398
 
          # to unsupported forces relinking
11399
 
          hardcode_minus_L_CXX=yes
11400
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
11401
 
          hardcode_libdir_separator_CXX=
11402
 
        fi
11403
 
        ;;
11404
 
      esac
11405
 
      shared_flag='-shared'
11406
 
      if test "$aix_use_runtimelinking" = yes; then
11407
 
        shared_flag="$shared_flag "'${wl}-G'
11408
 
      fi
11409
 
    else
11410
 
      # not using gcc
11411
 
      if test "$host_cpu" = ia64; then
11412
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11413
 
        # chokes on -Wl,-G. The following line is correct:
11414
 
        shared_flag='-G'
11415
 
      else
11416
 
        if test "$aix_use_runtimelinking" = yes; then
11417
 
          shared_flag='${wl}-G'
11418
 
        else
11419
 
          shared_flag='${wl}-bM:SRE'
11420
 
        fi
11421
 
      fi
11422
 
    fi
11423
 
 
11424
 
    # It seems that -bexpall does not export symbols beginning with
11425
 
    # underscore (_), so it is better to generate a list of symbols to export.
11426
 
    always_export_symbols_CXX=yes
11427
 
    if test "$aix_use_runtimelinking" = yes; then
11428
 
      # Warning - without using the other runtime loading flags (-brtl),
11429
 
      # -berok will link without error, but may produce a broken library.
11430
 
      allow_undefined_flag_CXX='-berok'
11431
 
      # Determine the default libpath from the value encoded in an empty executable.
11432
 
      cat >conftest.$ac_ext <<_ACEOF
11433
 
/* confdefs.h.  */
11434
 
_ACEOF
11435
 
cat confdefs.h >>conftest.$ac_ext
11436
 
cat >>conftest.$ac_ext <<_ACEOF
11437
 
/* end confdefs.h.  */
11438
 
 
11439
 
int
11440
 
main ()
11441
 
{
11442
 
 
11443
 
  ;
11444
 
  return 0;
11445
 
}
11446
 
_ACEOF
11447
 
rm -f conftest.$ac_objext conftest$ac_exeext
11448
 
if { (ac_try="$ac_link"
11449
 
case "(($ac_try" in
11450
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11451
 
  *) ac_try_echo=$ac_try;;
11452
 
esac
11453
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11454
 
  (eval "$ac_link") 2>conftest.er1
11455
 
  ac_status=$?
11456
 
  grep -v '^ *+' conftest.er1 >conftest.err
11457
 
  rm -f conftest.er1
11458
 
  cat conftest.err >&5
11459
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460
 
  (exit $ac_status); } && {
11461
 
         test -z "$ac_cxx_werror_flag" ||
11462
 
         test ! -s conftest.err
11463
 
       } && test -s conftest$ac_exeext &&
11464
 
       $as_test_x conftest$ac_exeext; then
11465
 
 
11466
 
lt_aix_libpath_sed='
11467
 
    /Import File Strings/,/^$/ {
11468
 
        /^0/ {
11469
 
            s/^0  *\(.*\)$/\1/
11470
 
            p
11471
 
        }
11472
 
    }'
11473
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11474
 
# Check for a 64-bit object if we didn't find anything.
11475
 
if test -z "$aix_libpath"; then
11476
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11477
 
fi
11478
 
else
11479
 
  echo "$as_me: failed program was:" >&5
11480
 
sed 's/^/| /' conftest.$ac_ext >&5
11481
 
 
11482
 
 
11483
 
fi
11484
 
 
11485
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11486
 
      conftest$ac_exeext conftest.$ac_ext
11487
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11488
 
 
11489
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11490
 
 
11491
 
      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"
11492
 
     else
11493
 
      if test "$host_cpu" = ia64; then
11494
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11495
 
        allow_undefined_flag_CXX="-z nodefs"
11496
 
        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"
11497
 
      else
11498
 
        # Determine the default libpath from the value encoded in an empty executable.
11499
 
        cat >conftest.$ac_ext <<_ACEOF
11500
 
/* confdefs.h.  */
11501
 
_ACEOF
11502
 
cat confdefs.h >>conftest.$ac_ext
11503
 
cat >>conftest.$ac_ext <<_ACEOF
11504
 
/* end confdefs.h.  */
11505
 
 
11506
 
int
11507
 
main ()
11508
 
{
11509
 
 
11510
 
  ;
11511
 
  return 0;
11512
 
}
11513
 
_ACEOF
11514
 
rm -f conftest.$ac_objext conftest$ac_exeext
11515
 
if { (ac_try="$ac_link"
11516
 
case "(($ac_try" in
11517
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11518
 
  *) ac_try_echo=$ac_try;;
11519
 
esac
11520
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11521
 
  (eval "$ac_link") 2>conftest.er1
11522
 
  ac_status=$?
11523
 
  grep -v '^ *+' conftest.er1 >conftest.err
11524
 
  rm -f conftest.er1
11525
 
  cat conftest.err >&5
11526
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11527
 
  (exit $ac_status); } && {
11528
 
         test -z "$ac_cxx_werror_flag" ||
11529
 
         test ! -s conftest.err
11530
 
       } && test -s conftest$ac_exeext &&
11531
 
       $as_test_x conftest$ac_exeext; then
11532
 
 
11533
 
lt_aix_libpath_sed='
11534
 
    /Import File Strings/,/^$/ {
11535
 
        /^0/ {
11536
 
            s/^0  *\(.*\)$/\1/
11537
 
            p
11538
 
        }
11539
 
    }'
11540
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11541
 
# Check for a 64-bit object if we didn't find anything.
11542
 
if test -z "$aix_libpath"; then
11543
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11544
 
fi
11545
 
else
11546
 
  echo "$as_me: failed program was:" >&5
11547
 
sed 's/^/| /' conftest.$ac_ext >&5
11548
 
 
11549
 
 
11550
 
fi
11551
 
 
11552
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11553
 
      conftest$ac_exeext conftest.$ac_ext
11554
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11555
 
 
11556
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11557
 
        # Warning - without using the other run time loading flags,
11558
 
        # -berok will link without error, but may produce a broken library.
11559
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
11560
 
        allow_undefined_flag_CXX=' ${wl}-berok'
11561
 
        # Exported symbols can be pulled into shared objects from archives
11562
 
        whole_archive_flag_spec_CXX='$convenience'
11563
 
        archive_cmds_need_lc_CXX=yes
11564
 
        # This is similar to how AIX traditionally builds its shared libraries.
11565
 
        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'
11566
 
      fi
11567
 
    fi
11568
 
    ;;
11569
 
 
11570
 
  beos*)
11571
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11572
 
      allow_undefined_flag_CXX=unsupported
11573
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11574
 
      # support --undefined.  This deserves some investigation.  FIXME
11575
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11576
 
    else
11577
 
      ld_shlibs_CXX=no
11578
 
    fi
11579
 
    ;;
11580
 
 
11581
 
  chorus*)
11582
 
    case $cc_basename in
11583
 
      *)
11584
 
        # FIXME: insert proper C++ library support
11585
 
        ld_shlibs_CXX=no
11586
 
        ;;
11587
 
    esac
11588
 
    ;;
11589
 
 
11590
 
  cygwin* | mingw* | pw32*)
11591
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11592
 
    # as there is no search path for DLLs.
11593
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
11594
 
    allow_undefined_flag_CXX=unsupported
11595
 
    always_export_symbols_CXX=no
11596
 
    enable_shared_with_static_runtimes_CXX=yes
11597
 
 
11598
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11599
 
      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'
11600
 
      # If the export-symbols file already is a .def file (1st line
11601
 
      # is EXPORTS), use it as is; otherwise, prepend...
11602
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11603
 
        cp $export_symbols $output_objdir/$soname.def;
11604
 
      else
11605
 
        echo EXPORTS > $output_objdir/$soname.def;
11606
 
        cat $export_symbols >> $output_objdir/$soname.def;
11607
 
      fi~
11608
 
      $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'
11609
 
    else
11610
 
      ld_shlibs_CXX=no
11611
 
    fi
11612
 
  ;;
11613
 
      darwin* | rhapsody*)
11614
 
      archive_cmds_need_lc_CXX=no
11615
 
      hardcode_direct_CXX=no
11616
 
      hardcode_automatic_CXX=yes
11617
 
      hardcode_shlibpath_var_CXX=unsupported
11618
 
      whole_archive_flag_spec_CXX=''
11619
 
      link_all_deplibs_CXX=yes
11620
 
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11621
 
      if test "$GXX" = yes ; then
11622
 
      output_verbose_link_cmd='echo'
11623
 
      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11624
 
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11625
 
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11626
 
      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11627
 
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11628
 
        archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
11629
 
        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
11630
 
      fi
11631
 
      else
11632
 
      case $cc_basename in
11633
 
        xlc*)
11634
 
         output_verbose_link_cmd='echo'
11635
 
          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'
11636
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11637
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11638
 
          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}'
11639
 
          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}'
11640
 
          ;;
11641
 
       *)
11642
 
         ld_shlibs_CXX=no
11643
 
          ;;
11644
 
      esac
11645
 
      fi
11646
 
        ;;
11647
 
 
11648
 
  dgux*)
11649
 
    case $cc_basename in
11650
 
      ec++*)
11651
 
        # FIXME: insert proper C++ library support
11652
 
        ld_shlibs_CXX=no
11653
 
        ;;
11654
 
      ghcx*)
11655
 
        # Green Hills C++ Compiler
11656
 
        # FIXME: insert proper C++ library support
11657
 
        ld_shlibs_CXX=no
11658
 
        ;;
11659
 
      *)
11660
 
        # FIXME: insert proper C++ library support
11661
 
        ld_shlibs_CXX=no
11662
 
        ;;
11663
 
    esac
11664
 
    ;;
11665
 
  freebsd[12]*)
11666
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
11667
 
    ld_shlibs_CXX=no
11668
 
    ;;
11669
 
  freebsd-elf*)
11670
 
    archive_cmds_need_lc_CXX=no
11671
 
    ;;
11672
 
  freebsd* | dragonfly*)
11673
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11674
 
    # conventions
11675
 
    ld_shlibs_CXX=yes
11676
 
    ;;
11677
 
  gnu*)
11678
 
    ;;
11679
 
  hpux9*)
11680
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11681
 
    hardcode_libdir_separator_CXX=:
11682
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11683
 
    hardcode_direct_CXX=yes
11684
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
11685
 
                                # but as the default
11686
 
                                # location of the library.
11687
 
 
11688
 
    case $cc_basename in
11689
 
    CC*)
11690
 
      # FIXME: insert proper C++ library support
11691
 
      ld_shlibs_CXX=no
11692
 
      ;;
11693
 
    aCC*)
11694
 
      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'
 
12589
 
 
12590
 
 
12591
 
 
12592
 
 
12593
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
12594
      # archiving commands below assume that GNU ld is being used.
 
12595
      if test "$with_gnu_ld" = yes; then
 
12596
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12597
        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'
 
12598
 
 
12599
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12600
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12601
 
 
12602
        # If archive_cmds runs LD, not CC, wlarc should be empty
 
12603
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
12604
        #     investigate it a little bit more. (MM)
 
12605
        wlarc='${wl}'
 
12606
 
 
12607
        # ancient GNU ld didn't support --whole-archive et. al.
 
12608
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
 
12609
          $GREP 'no-whole-archive' > /dev/null; then
 
12610
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12611
        else
 
12612
          whole_archive_flag_spec_CXX=
 
12613
        fi
 
12614
      else
 
12615
        with_gnu_ld=no
 
12616
        wlarc=
 
12617
 
 
12618
        # A generic and very simple default shared library creation
 
12619
        # command for GNU C++ for the case where it uses the native
 
12620
        # linker, instead of GNU ld.  If possible, this setting should
 
12621
        # overridden to take advantage of the native linker features on
 
12622
        # the platform it is being used on.
 
12623
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
12624
      fi
 
12625
 
11695
12626
      # Commands to make compiler produce verbose output that lists
11696
12627
      # what "hidden" libraries, object files and flags are used when
11697
12628
      # linking a shared library.
11698
 
      #
11699
 
      # There doesn't appear to be a way to prevent this compiler from
11700
 
      # explicitly linking system object files so we need to strip them
11701
 
      # from the output so that they don't get included in the library
11702
 
      # dependencies.
11703
 
      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'
11704
 
      ;;
11705
 
    *)
11706
 
      if test "$GXX" = yes; then
11707
 
        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'
11708
 
      else
 
12629
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
12630
 
 
12631
    else
 
12632
      GXX=no
 
12633
      with_gnu_ld=no
 
12634
      wlarc=
 
12635
    fi
 
12636
 
 
12637
    # PORTME: fill in a description of your system's C++ link characteristics
 
12638
    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12639
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
12640
    ld_shlibs_CXX=yes
 
12641
    case $host_os in
 
12642
      aix3*)
11709
12643
        # FIXME: insert proper C++ library support
11710
12644
        ld_shlibs_CXX=no
11711
 
      fi
11712
 
      ;;
11713
 
    esac
11714
 
    ;;
11715
 
  hpux10*|hpux11*)
11716
 
    if test $with_gnu_ld = no; then
11717
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11718
 
      hardcode_libdir_separator_CXX=:
11719
 
 
11720
 
      case $host_cpu in
11721
 
      hppa*64*|ia64*) ;;
11722
 
      *)
 
12645
        ;;
 
12646
      aix[4-9]*)
 
12647
        if test "$host_cpu" = ia64; then
 
12648
          # On IA64, the linker does run time linking by default, so we don't
 
12649
          # have to do anything special.
 
12650
          aix_use_runtimelinking=no
 
12651
          exp_sym_flag='-Bexport'
 
12652
          no_entry_flag=""
 
12653
        else
 
12654
          aix_use_runtimelinking=no
 
12655
 
 
12656
          # Test if we are trying to use run time linking or normal
 
12657
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
12658
          # need to do runtime linking.
 
12659
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
12660
            for ld_flag in $LDFLAGS; do
 
12661
              case $ld_flag in
 
12662
              *-brtl*)
 
12663
                aix_use_runtimelinking=yes
 
12664
                break
 
12665
                ;;
 
12666
              esac
 
12667
            done
 
12668
            ;;
 
12669
          esac
 
12670
 
 
12671
          exp_sym_flag='-bexport'
 
12672
          no_entry_flag='-bnoentry'
 
12673
        fi
 
12674
 
 
12675
        # When large executables or shared objects are built, AIX ld can
 
12676
        # have problems creating the table of contents.  If linking a library
 
12677
        # or program results in "error TOC overflow" add -mminimal-toc to
 
12678
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
12679
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
12680
 
 
12681
        archive_cmds_CXX=''
 
12682
        hardcode_direct_CXX=yes
 
12683
        hardcode_direct_absolute_CXX=yes
 
12684
        hardcode_libdir_separator_CXX=':'
 
12685
        link_all_deplibs_CXX=yes
 
12686
        file_list_spec_CXX='${wl}-f,'
 
12687
 
 
12688
        if test "$GXX" = yes; then
 
12689
          case $host_os in aix4.[012]|aix4.[012].*)
 
12690
          # We only want to do this on AIX 4.2 and lower, the check
 
12691
          # below for broken collect2 doesn't work under 4.3+
 
12692
          collect2name=`${CC} -print-prog-name=collect2`
 
12693
          if test -f "$collect2name" &&
 
12694
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
12695
          then
 
12696
            # We have reworked collect2
 
12697
            :
 
12698
          else
 
12699
            # We have old collect2
 
12700
            hardcode_direct_CXX=unsupported
 
12701
            # It fails to find uninstalled libraries when the uninstalled
 
12702
            # path is not listed in the libpath.  Setting hardcode_minus_L
 
12703
            # to unsupported forces relinking
 
12704
            hardcode_minus_L_CXX=yes
 
12705
            hardcode_libdir_flag_spec_CXX='-L$libdir'
 
12706
            hardcode_libdir_separator_CXX=
 
12707
          fi
 
12708
          esac
 
12709
          shared_flag='-shared'
 
12710
          if test "$aix_use_runtimelinking" = yes; then
 
12711
            shared_flag="$shared_flag "'${wl}-G'
 
12712
          fi
 
12713
        else
 
12714
          # not using gcc
 
12715
          if test "$host_cpu" = ia64; then
 
12716
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
12717
          # chokes on -Wl,-G. The following line is correct:
 
12718
          shared_flag='-G'
 
12719
          else
 
12720
            if test "$aix_use_runtimelinking" = yes; then
 
12721
              shared_flag='${wl}-G'
 
12722
            else
 
12723
              shared_flag='${wl}-bM:SRE'
 
12724
            fi
 
12725
          fi
 
12726
        fi
 
12727
 
 
12728
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
 
12729
        # It seems that -bexpall does not export symbols beginning with
 
12730
        # underscore (_), so it is better to generate a list of symbols to
 
12731
        # export.
 
12732
        always_export_symbols_CXX=yes
 
12733
        if test "$aix_use_runtimelinking" = yes; then
 
12734
          # Warning - without using the other runtime loading flags (-brtl),
 
12735
          # -berok will link without error, but may produce a broken library.
 
12736
          allow_undefined_flag_CXX='-berok'
 
12737
          # Determine the default libpath from the value encoded in an empty
 
12738
          # executable.
 
12739
          cat >conftest.$ac_ext <<_ACEOF
 
12740
/* confdefs.h.  */
 
12741
_ACEOF
 
12742
cat confdefs.h >>conftest.$ac_ext
 
12743
cat >>conftest.$ac_ext <<_ACEOF
 
12744
/* end confdefs.h.  */
 
12745
 
 
12746
int
 
12747
main ()
 
12748
{
 
12749
 
 
12750
  ;
 
12751
  return 0;
 
12752
}
 
12753
_ACEOF
 
12754
rm -f conftest.$ac_objext conftest$ac_exeext
 
12755
if { (ac_try="$ac_link"
 
12756
case "(($ac_try" in
 
12757
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12758
  *) ac_try_echo=$ac_try;;
 
12759
esac
 
12760
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12761
$as_echo "$ac_try_echo") >&5
 
12762
  (eval "$ac_link") 2>conftest.er1
 
12763
  ac_status=$?
 
12764
  grep -v '^ *+' conftest.er1 >conftest.err
 
12765
  rm -f conftest.er1
 
12766
  cat conftest.err >&5
 
12767
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12768
  (exit $ac_status); } && {
 
12769
         test -z "$ac_cxx_werror_flag" ||
 
12770
         test ! -s conftest.err
 
12771
       } && test -s conftest$ac_exeext && {
 
12772
         test "$cross_compiling" = yes ||
 
12773
         $as_test_x conftest$ac_exeext
 
12774
       }; then
 
12775
 
 
12776
lt_aix_libpath_sed='
 
12777
    /Import File Strings/,/^$/ {
 
12778
        /^0/ {
 
12779
            s/^0  *\(.*\)$/\1/
 
12780
            p
 
12781
        }
 
12782
    }'
 
12783
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12784
# Check for a 64-bit object if we didn't find anything.
 
12785
if test -z "$aix_libpath"; then
 
12786
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12787
fi
 
12788
else
 
12789
  $as_echo "$as_me: failed program was:" >&5
 
12790
sed 's/^/| /' conftest.$ac_ext >&5
 
12791
 
 
12792
 
 
12793
fi
 
12794
 
 
12795
rm -rf conftest.dSYM
 
12796
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
12797
      conftest$ac_exeext conftest.$ac_ext
 
12798
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12799
 
 
12800
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
12801
 
 
12802
          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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
12803
        else
 
12804
          if test "$host_cpu" = ia64; then
 
12805
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 
12806
            allow_undefined_flag_CXX="-z nodefs"
 
12807
            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"
 
12808
          else
 
12809
            # Determine the default libpath from the value encoded in an
 
12810
            # empty executable.
 
12811
            cat >conftest.$ac_ext <<_ACEOF
 
12812
/* confdefs.h.  */
 
12813
_ACEOF
 
12814
cat confdefs.h >>conftest.$ac_ext
 
12815
cat >>conftest.$ac_ext <<_ACEOF
 
12816
/* end confdefs.h.  */
 
12817
 
 
12818
int
 
12819
main ()
 
12820
{
 
12821
 
 
12822
  ;
 
12823
  return 0;
 
12824
}
 
12825
_ACEOF
 
12826
rm -f conftest.$ac_objext conftest$ac_exeext
 
12827
if { (ac_try="$ac_link"
 
12828
case "(($ac_try" in
 
12829
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12830
  *) ac_try_echo=$ac_try;;
 
12831
esac
 
12832
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12833
$as_echo "$ac_try_echo") >&5
 
12834
  (eval "$ac_link") 2>conftest.er1
 
12835
  ac_status=$?
 
12836
  grep -v '^ *+' conftest.er1 >conftest.err
 
12837
  rm -f conftest.er1
 
12838
  cat conftest.err >&5
 
12839
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12840
  (exit $ac_status); } && {
 
12841
         test -z "$ac_cxx_werror_flag" ||
 
12842
         test ! -s conftest.err
 
12843
       } && test -s conftest$ac_exeext && {
 
12844
         test "$cross_compiling" = yes ||
 
12845
         $as_test_x conftest$ac_exeext
 
12846
       }; then
 
12847
 
 
12848
lt_aix_libpath_sed='
 
12849
    /Import File Strings/,/^$/ {
 
12850
        /^0/ {
 
12851
            s/^0  *\(.*\)$/\1/
 
12852
            p
 
12853
        }
 
12854
    }'
 
12855
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12856
# Check for a 64-bit object if we didn't find anything.
 
12857
if test -z "$aix_libpath"; then
 
12858
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12859
fi
 
12860
else
 
12861
  $as_echo "$as_me: failed program was:" >&5
 
12862
sed 's/^/| /' conftest.$ac_ext >&5
 
12863
 
 
12864
 
 
12865
fi
 
12866
 
 
12867
rm -rf conftest.dSYM
 
12868
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
12869
      conftest$ac_exeext conftest.$ac_ext
 
12870
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12871
 
 
12872
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
12873
            # Warning - without using the other run time loading flags,
 
12874
            # -berok will link without error, but may produce a broken library.
 
12875
            no_undefined_flag_CXX=' ${wl}-bernotok'
 
12876
            allow_undefined_flag_CXX=' ${wl}-berok'
 
12877
            # Exported symbols can be pulled into shared objects from archives
 
12878
            whole_archive_flag_spec_CXX='$convenience'
 
12879
            archive_cmds_need_lc_CXX=yes
 
12880
            # This is similar to how AIX traditionally builds its shared
 
12881
            # libraries.
 
12882
            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'
 
12883
          fi
 
12884
        fi
 
12885
        ;;
 
12886
 
 
12887
      beos*)
 
12888
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
12889
          allow_undefined_flag_CXX=unsupported
 
12890
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
12891
          # support --undefined.  This deserves some investigation.  FIXME
 
12892
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12893
        else
 
12894
          ld_shlibs_CXX=no
 
12895
        fi
 
12896
        ;;
 
12897
 
 
12898
      chorus*)
 
12899
        case $cc_basename in
 
12900
          *)
 
12901
          # FIXME: insert proper C++ library support
 
12902
          ld_shlibs_CXX=no
 
12903
          ;;
 
12904
        esac
 
12905
        ;;
 
12906
 
 
12907
      cygwin* | mingw* | pw32* | cegcc*)
 
12908
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
12909
        # as there is no search path for DLLs.
 
12910
        hardcode_libdir_flag_spec_CXX='-L$libdir'
 
12911
        allow_undefined_flag_CXX=unsupported
 
12912
        always_export_symbols_CXX=no
 
12913
        enable_shared_with_static_runtimes_CXX=yes
 
12914
 
 
12915
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
12916
          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'
 
12917
          # If the export-symbols file already is a .def file (1st line
 
12918
          # is EXPORTS), use it as is; otherwise, prepend...
 
12919
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
12920
            cp $export_symbols $output_objdir/$soname.def;
 
12921
          else
 
12922
            echo EXPORTS > $output_objdir/$soname.def;
 
12923
            cat $export_symbols >> $output_objdir/$soname.def;
 
12924
          fi~
 
12925
          $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'
 
12926
        else
 
12927
          ld_shlibs_CXX=no
 
12928
        fi
 
12929
        ;;
 
12930
      darwin* | rhapsody*)
 
12931
 
 
12932
 
 
12933
  archive_cmds_need_lc_CXX=no
 
12934
  hardcode_direct_CXX=no
 
12935
  hardcode_automatic_CXX=yes
 
12936
  hardcode_shlibpath_var_CXX=unsupported
 
12937
  whole_archive_flag_spec_CXX=''
 
12938
  link_all_deplibs_CXX=yes
 
12939
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
12940
  case $cc_basename in
 
12941
     ifort*) _lt_dar_can_shared=yes ;;
 
12942
     *) _lt_dar_can_shared=$GCC ;;
 
12943
  esac
 
12944
  if test "$_lt_dar_can_shared" = "yes"; then
 
12945
    output_verbose_link_cmd=echo
 
12946
    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
12947
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
12948
    archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
12949
    module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
12950
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
12951
      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
12952
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
 
12953
    fi
 
12954
 
 
12955
  else
 
12956
  ld_shlibs_CXX=no
 
12957
  fi
 
12958
 
 
12959
        ;;
 
12960
 
 
12961
      dgux*)
 
12962
        case $cc_basename in
 
12963
          ec++*)
 
12964
            # FIXME: insert proper C++ library support
 
12965
            ld_shlibs_CXX=no
 
12966
            ;;
 
12967
          ghcx*)
 
12968
            # Green Hills C++ Compiler
 
12969
            # FIXME: insert proper C++ library support
 
12970
            ld_shlibs_CXX=no
 
12971
            ;;
 
12972
          *)
 
12973
            # FIXME: insert proper C++ library support
 
12974
            ld_shlibs_CXX=no
 
12975
            ;;
 
12976
        esac
 
12977
        ;;
 
12978
 
 
12979
      freebsd[12]*)
 
12980
        # C++ shared libraries reported to be fairly broken before
 
12981
        # switch to ELF
 
12982
        ld_shlibs_CXX=no
 
12983
        ;;
 
12984
 
 
12985
      freebsd-elf*)
 
12986
        archive_cmds_need_lc_CXX=no
 
12987
        ;;
 
12988
 
 
12989
      freebsd* | dragonfly*)
 
12990
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
12991
        # conventions
 
12992
        ld_shlibs_CXX=yes
 
12993
        ;;
 
12994
 
 
12995
      gnu*)
 
12996
        ;;
 
12997
 
 
12998
      hpux9*)
 
12999
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
13000
        hardcode_libdir_separator_CXX=:
 
13001
        export_dynamic_flag_spec_CXX='${wl}-E'
 
13002
        hardcode_direct_CXX=yes
 
13003
        hardcode_minus_L_CXX=yes # Not in the search PATH,
 
13004
                                             # but as the default
 
13005
                                             # location of the library.
 
13006
 
 
13007
        case $cc_basename in
 
13008
          CC*)
 
13009
            # FIXME: insert proper C++ library support
 
13010
            ld_shlibs_CXX=no
 
13011
            ;;
 
13012
          aCC*)
 
13013
            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'
 
13014
            # Commands to make compiler produce verbose output that lists
 
13015
            # what "hidden" libraries, object files and flags are used when
 
13016
            # linking a shared library.
 
13017
            #
 
13018
            # There doesn't appear to be a way to prevent this compiler from
 
13019
            # explicitly linking system object files so we need to strip them
 
13020
            # from the output so that they don't get included in the library
 
13021
            # dependencies.
 
13022
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
13023
            ;;
 
13024
          *)
 
13025
            if test "$GXX" = yes; then
 
13026
              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'
 
13027
            else
 
13028
              # FIXME: insert proper C++ library support
 
13029
              ld_shlibs_CXX=no
 
13030
            fi
 
13031
            ;;
 
13032
        esac
 
13033
        ;;
 
13034
 
 
13035
      hpux10*|hpux11*)
 
13036
        if test $with_gnu_ld = no; then
 
13037
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
13038
          hardcode_libdir_separator_CXX=:
 
13039
 
 
13040
          case $host_cpu in
 
13041
            hppa*64*|ia64*)
 
13042
              ;;
 
13043
            *)
 
13044
              export_dynamic_flag_spec_CXX='${wl}-E'
 
13045
              ;;
 
13046
          esac
 
13047
        fi
 
13048
        case $host_cpu in
 
13049
          hppa*64*|ia64*)
 
13050
            hardcode_direct_CXX=no
 
13051
            hardcode_shlibpath_var_CXX=no
 
13052
            ;;
 
13053
          *)
 
13054
            hardcode_direct_CXX=yes
 
13055
            hardcode_direct_absolute_CXX=yes
 
13056
            hardcode_minus_L_CXX=yes # Not in the search PATH,
 
13057
                                                 # but as the default
 
13058
                                                 # location of the library.
 
13059
            ;;
 
13060
        esac
 
13061
 
 
13062
        case $cc_basename in
 
13063
          CC*)
 
13064
            # FIXME: insert proper C++ library support
 
13065
            ld_shlibs_CXX=no
 
13066
            ;;
 
13067
          aCC*)
 
13068
            case $host_cpu in
 
13069
              hppa*64*)
 
13070
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13071
                ;;
 
13072
              ia64*)
 
13073
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13074
                ;;
 
13075
              *)
 
13076
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13077
                ;;
 
13078
            esac
 
13079
            # Commands to make compiler produce verbose output that lists
 
13080
            # what "hidden" libraries, object files and flags are used when
 
13081
            # linking a shared library.
 
13082
            #
 
13083
            # There doesn't appear to be a way to prevent this compiler from
 
13084
            # explicitly linking system object files so we need to strip them
 
13085
            # from the output so that they don't get included in the library
 
13086
            # dependencies.
 
13087
            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 "X$list" | $Xsed'
 
13088
            ;;
 
13089
          *)
 
13090
            if test "$GXX" = yes; then
 
13091
              if test $with_gnu_ld = no; then
 
13092
                case $host_cpu in
 
13093
                  hppa*64*)
 
13094
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13095
                    ;;
 
13096
                  ia64*)
 
13097
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13098
                    ;;
 
13099
                  *)
 
13100
                    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'
 
13101
                    ;;
 
13102
                esac
 
13103
              fi
 
13104
            else
 
13105
              # FIXME: insert proper C++ library support
 
13106
              ld_shlibs_CXX=no
 
13107
            fi
 
13108
            ;;
 
13109
        esac
 
13110
        ;;
 
13111
 
 
13112
      interix[3-9]*)
 
13113
        hardcode_direct_CXX=no
 
13114
        hardcode_shlibpath_var_CXX=no
 
13115
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11723
13116
        export_dynamic_flag_spec_CXX='${wl}-E'
11724
 
        ;;
11725
 
      esac
11726
 
    fi
11727
 
    case $host_cpu in
11728
 
    hppa*64*|ia64*)
11729
 
      hardcode_direct_CXX=no
 
13117
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
13118
        # Instead, shared libraries are loaded at an image base (0x10000000 by
 
13119
        # default) and relocated if they conflict, which is a slow very memory
 
13120
        # consuming and fragmenting process.  To avoid this, we pick a random,
 
13121
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
13122
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
13123
        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'
 
13124
        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'
 
13125
        ;;
 
13126
      irix5* | irix6*)
 
13127
        case $cc_basename in
 
13128
          CC*)
 
13129
            # SGI C++
 
13130
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
13131
 
 
13132
            # Archives containing C++ object files must be created using
 
13133
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
13134
            # necessary to make sure instantiated templates are included
 
13135
            # in the archive.
 
13136
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
13137
            ;;
 
13138
          *)
 
13139
            if test "$GXX" = yes; then
 
13140
              if test "$with_gnu_ld" = no; then
 
13141
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
 
13142
              else
 
13143
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
 
13144
              fi
 
13145
            fi
 
13146
            link_all_deplibs_CXX=yes
 
13147
            ;;
 
13148
        esac
 
13149
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13150
        hardcode_libdir_separator_CXX=:
 
13151
        inherit_rpath_CXX=yes
 
13152
        ;;
 
13153
 
 
13154
      linux* | k*bsd*-gnu)
 
13155
        case $cc_basename in
 
13156
          KCC*)
 
13157
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
13158
 
 
13159
            # KCC will only create a shared library if the output file
 
13160
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
13161
            # to its proper name (with version) after linking.
 
13162
            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'
 
13163
            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'
 
13164
            # Commands to make compiler produce verbose output that lists
 
13165
            # what "hidden" libraries, object files and flags are used when
 
13166
            # linking a shared library.
 
13167
            #
 
13168
            # There doesn't appear to be a way to prevent this compiler from
 
13169
            # explicitly linking system object files so we need to strip them
 
13170
            # from the output so that they don't get included in the library
 
13171
            # dependencies.
 
13172
            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 "X$list" | $Xsed'
 
13173
 
 
13174
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13175
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13176
 
 
13177
            # Archives containing C++ object files must be created using
 
13178
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
13179
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
13180
            ;;
 
13181
          icpc* | ecpc* )
 
13182
            # Intel C++
 
13183
            with_gnu_ld=yes
 
13184
            # version 8.0 and above of icpc choke on multiply defined symbols
 
13185
            # if we add $predep_objects and $postdep_objects, however 7.1 and
 
13186
            # earlier do not add the objects themselves.
 
13187
            case `$CC -V 2>&1` in
 
13188
              *"Version 7."*)
 
13189
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13190
                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'
 
13191
                ;;
 
13192
              *)  # Version 8.0 or newer
 
13193
                tmp_idyn=
 
13194
                case $host_cpu in
 
13195
                  ia64*) tmp_idyn=' -i_dynamic';;
 
13196
                esac
 
13197
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13198
                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'
 
13199
                ;;
 
13200
            esac
 
13201
            archive_cmds_need_lc_CXX=no
 
13202
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13203
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13204
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
13205
            ;;
 
13206
          pgCC* | pgcpp*)
 
13207
            # Portland Group C++ compiler
 
13208
            case `$CC -V` in
 
13209
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
13210
              prelink_cmds_CXX='tpldir=Template.dir~
 
13211
                rm -rf $tpldir~
 
13212
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
 
13213
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
13214
              old_archive_cmds_CXX='tpldir=Template.dir~
 
13215
                rm -rf $tpldir~
 
13216
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
 
13217
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
13218
                $RANLIB $oldlib'
 
13219
              archive_cmds_CXX='tpldir=Template.dir~
 
13220
                rm -rf $tpldir~
 
13221
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
13222
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
13223
              archive_expsym_cmds_CXX='tpldir=Template.dir~
 
13224
                rm -rf $tpldir~
 
13225
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
13226
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
13227
              ;;
 
13228
            *) # Version 6 will use weak symbols
 
13229
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
13230
              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'
 
13231
              ;;
 
13232
            esac
 
13233
 
 
13234
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
13235
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13236
            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'
 
13237
            ;;
 
13238
          cxx*)
 
13239
            # Compaq C++
 
13240
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13241
            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'
 
13242
 
 
13243
            runpath_var=LD_RUN_PATH
 
13244
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
13245
            hardcode_libdir_separator_CXX=:
 
13246
 
 
13247
            # Commands to make compiler produce verbose output that lists
 
13248
            # what "hidden" libraries, object files and flags are used when
 
13249
            # linking a shared library.
 
13250
            #
 
13251
            # There doesn't appear to be a way to prevent this compiler from
 
13252
            # explicitly linking system object files so we need to strip them
 
13253
            # from the output so that they don't get included in the library
 
13254
            # dependencies.
 
13255
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
 
13256
            ;;
 
13257
          xl*)
 
13258
            # IBM XL 8.0 on PPC, with GNU ld
 
13259
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13260
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13261
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13262
            if test "x$supports_anon_versioning" = xyes; then
 
13263
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
 
13264
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
13265
                echo "local: *; };" >> $output_objdir/$libname.ver~
 
13266
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
13267
            fi
 
13268
            ;;
 
13269
          *)
 
13270
            case `$CC -V 2>&1 | sed 5q` in
 
13271
            *Sun\ C*)
 
13272
              # Sun C++ 5.9
 
13273
              no_undefined_flag_CXX=' -zdefs'
 
13274
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13275
              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'
 
13276
              hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13277
              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'
 
13278
              compiler_needs_object_CXX=yes
 
13279
 
 
13280
              # Not sure whether something based on
 
13281
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
13282
              # would be better.
 
13283
              output_verbose_link_cmd='echo'
 
13284
 
 
13285
              # Archives containing C++ object files must be created using
 
13286
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
13287
              # necessary to make sure instantiated templates are included
 
13288
              # in the archive.
 
13289
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
13290
              ;;
 
13291
            esac
 
13292
            ;;
 
13293
        esac
 
13294
        ;;
 
13295
 
 
13296
      lynxos*)
 
13297
        # FIXME: insert proper C++ library support
 
13298
        ld_shlibs_CXX=no
 
13299
        ;;
 
13300
 
 
13301
      m88k*)
 
13302
        # FIXME: insert proper C++ library support
 
13303
        ld_shlibs_CXX=no
 
13304
        ;;
 
13305
 
 
13306
      mvs*)
 
13307
        case $cc_basename in
 
13308
          cxx*)
 
13309
            # FIXME: insert proper C++ library support
 
13310
            ld_shlibs_CXX=no
 
13311
            ;;
 
13312
          *)
 
13313
            # FIXME: insert proper C++ library support
 
13314
            ld_shlibs_CXX=no
 
13315
            ;;
 
13316
        esac
 
13317
        ;;
 
13318
 
 
13319
      netbsd*)
 
13320
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
13321
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
13322
          wlarc=
 
13323
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13324
          hardcode_direct_CXX=yes
 
13325
          hardcode_shlibpath_var_CXX=no
 
13326
        fi
 
13327
        # Workaround some broken pre-1.5 toolchains
 
13328
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
13329
        ;;
 
13330
 
 
13331
      *nto* | *qnx*)
 
13332
        ld_shlibs_CXX=yes
 
13333
        ;;
 
13334
 
 
13335
      openbsd2*)
 
13336
        # C++ shared libraries are fairly broken
 
13337
        ld_shlibs_CXX=no
 
13338
        ;;
 
13339
 
 
13340
      openbsd*)
 
13341
        if test -f /usr/libexec/ld.so; then
 
13342
          hardcode_direct_CXX=yes
 
13343
          hardcode_shlibpath_var_CXX=no
 
13344
          hardcode_direct_absolute_CXX=yes
 
13345
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
13346
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13347
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13348
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
13349
            export_dynamic_flag_spec_CXX='${wl}-E'
 
13350
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13351
          fi
 
13352
          output_verbose_link_cmd=echo
 
13353
        else
 
13354
          ld_shlibs_CXX=no
 
13355
        fi
 
13356
        ;;
 
13357
 
 
13358
      osf3* | osf4* | osf5*)
 
13359
        case $cc_basename in
 
13360
          KCC*)
 
13361
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
13362
 
 
13363
            # KCC will only create a shared library if the output file
 
13364
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
13365
            # to its proper name (with version) after linking.
 
13366
            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'
 
13367
 
 
13368
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13369
            hardcode_libdir_separator_CXX=:
 
13370
 
 
13371
            # Archives containing C++ object files must be created using
 
13372
            # the KAI C++ compiler.
 
13373
            case $host in
 
13374
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
 
13375
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
 
13376
            esac
 
13377
            ;;
 
13378
          RCC*)
 
13379
            # Rational C++ 2.4.1
 
13380
            # FIXME: insert proper C++ library support
 
13381
            ld_shlibs_CXX=no
 
13382
            ;;
 
13383
          cxx*)
 
13384
            case $host in
 
13385
              osf3*)
 
13386
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
13387
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
13388
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13389
                ;;
 
13390
              *)
 
13391
                allow_undefined_flag_CXX=' -expect_unresolved \*'
 
13392
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
13393
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
13394
                  echo "-hidden">> $lib.exp~
 
13395
                  $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
 
13396
                  $RM $lib.exp'
 
13397
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
13398
                ;;
 
13399
            esac
 
13400
 
 
13401
            hardcode_libdir_separator_CXX=:
 
13402
 
 
13403
            # Commands to make compiler produce verbose output that lists
 
13404
            # what "hidden" libraries, object files and flags are used when
 
13405
            # linking a shared library.
 
13406
            #
 
13407
            # There doesn't appear to be a way to prevent this compiler from
 
13408
            # explicitly linking system object files so we need to strip them
 
13409
            # from the output so that they don't get included in the library
 
13410
            # dependencies.
 
13411
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
 
13412
            ;;
 
13413
          *)
 
13414
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
13415
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
13416
              case $host in
 
13417
                osf3*)
 
13418
                  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 "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
13419
                  ;;
 
13420
                *)
 
13421
                  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" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
13422
                  ;;
 
13423
              esac
 
13424
 
 
13425
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13426
              hardcode_libdir_separator_CXX=:
 
13427
 
 
13428
              # Commands to make compiler produce verbose output that lists
 
13429
              # what "hidden" libraries, object files and flags are used when
 
13430
              # linking a shared library.
 
13431
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13432
 
 
13433
            else
 
13434
              # FIXME: insert proper C++ library support
 
13435
              ld_shlibs_CXX=no
 
13436
            fi
 
13437
            ;;
 
13438
        esac
 
13439
        ;;
 
13440
 
 
13441
      psos*)
 
13442
        # FIXME: insert proper C++ library support
 
13443
        ld_shlibs_CXX=no
 
13444
        ;;
 
13445
 
 
13446
      sunos4*)
 
13447
        case $cc_basename in
 
13448
          CC*)
 
13449
            # Sun C++ 4.x
 
13450
            # FIXME: insert proper C++ library support
 
13451
            ld_shlibs_CXX=no
 
13452
            ;;
 
13453
          lcc*)
 
13454
            # Lucid
 
13455
            # FIXME: insert proper C++ library support
 
13456
            ld_shlibs_CXX=no
 
13457
            ;;
 
13458
          *)
 
13459
            # FIXME: insert proper C++ library support
 
13460
            ld_shlibs_CXX=no
 
13461
            ;;
 
13462
        esac
 
13463
        ;;
 
13464
 
 
13465
      solaris*)
 
13466
        case $cc_basename in
 
13467
          CC*)
 
13468
            # Sun C++ 4.2, 5.x and Centerline C++
 
13469
            archive_cmds_need_lc_CXX=yes
 
13470
            no_undefined_flag_CXX=' -zdefs'
 
13471
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13472
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13473
              $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'
 
13474
 
 
13475
            hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13476
            hardcode_shlibpath_var_CXX=no
 
13477
            case $host_os in
 
13478
              solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13479
              *)
 
13480
                # The compiler driver will combine and reorder linker options,
 
13481
                # but understands `-z linker_flag'.
 
13482
                # Supported since Solaris 2.6 (maybe 2.5.1?)
 
13483
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 
13484
                ;;
 
13485
            esac
 
13486
            link_all_deplibs_CXX=yes
 
13487
 
 
13488
            output_verbose_link_cmd='echo'
 
13489
 
 
13490
            # Archives containing C++ object files must be created using
 
13491
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
13492
            # necessary to make sure instantiated templates are included
 
13493
            # in the archive.
 
13494
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
13495
            ;;
 
13496
          gcx*)
 
13497
            # Green Hills C++ Compiler
 
13498
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13499
 
 
13500
            # The C++ compiler must be used to create the archive.
 
13501
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
13502
            ;;
 
13503
          *)
 
13504
            # GNU C++ compiler with Solaris linker
 
13505
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
13506
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 
13507
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 
13508
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13509
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13510
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13511
 
 
13512
                # Commands to make compiler produce verbose output that lists
 
13513
                # what "hidden" libraries, object files and flags are used when
 
13514
                # linking a shared library.
 
13515
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13516
              else
 
13517
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
13518
                # platform.
 
13519
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13520
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13521
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13522
 
 
13523
                # Commands to make compiler produce verbose output that lists
 
13524
                # what "hidden" libraries, object files and flags are used when
 
13525
                # linking a shared library.
 
13526
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13527
              fi
 
13528
 
 
13529
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
13530
              case $host_os in
 
13531
                solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13532
                *)
 
13533
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
13534
                  ;;
 
13535
              esac
 
13536
            fi
 
13537
            ;;
 
13538
        esac
 
13539
        ;;
 
13540
 
 
13541
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
13542
      no_undefined_flag_CXX='${wl}-z,text'
 
13543
      archive_cmds_need_lc_CXX=no
11730
13544
      hardcode_shlibpath_var_CXX=no
11731
 
      ;;
11732
 
    *)
11733
 
      hardcode_direct_CXX=yes
11734
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
11735
 
                                              # but as the default
11736
 
                                              # location of the library.
11737
 
      ;;
11738
 
    esac
 
13545
      runpath_var='LD_RUN_PATH'
11739
13546
 
11740
 
    case $cc_basename in
11741
 
      CC*)
11742
 
        # FIXME: insert proper C++ library support
11743
 
        ld_shlibs_CXX=no
11744
 
        ;;
11745
 
      aCC*)
11746
 
        case $host_cpu in
11747
 
        hppa*64*)
11748
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11749
 
          ;;
11750
 
        ia64*)
11751
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13547
      case $cc_basename in
 
13548
        CC*)
 
13549
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13550
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11752
13551
          ;;
11753
13552
        *)
11754
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11755
 
          ;;
11756
 
        esac
11757
 
        # Commands to make compiler produce verbose output that lists
11758
 
        # what "hidden" libraries, object files and flags are used when
11759
 
        # linking a shared library.
11760
 
        #
11761
 
        # There doesn't appear to be a way to prevent this compiler from
11762
 
        # explicitly linking system object files so we need to strip them
11763
 
        # from the output so that they don't get included in the library
11764
 
        # dependencies.
11765
 
        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'
11766
 
        ;;
11767
 
      *)
11768
 
        if test "$GXX" = yes; then
11769
 
          if test $with_gnu_ld = no; then
11770
 
            case $host_cpu in
11771
 
            hppa*64*)
11772
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11773
 
              ;;
11774
 
            ia64*)
11775
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11776
 
              ;;
11777
 
            *)
11778
 
              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'
11779
 
              ;;
11780
 
            esac
11781
 
          fi
11782
 
        else
11783
 
          # FIXME: insert proper C++ library support
11784
 
          ld_shlibs_CXX=no
11785
 
        fi
11786
 
        ;;
11787
 
    esac
11788
 
    ;;
11789
 
  interix[3-9]*)
11790
 
    hardcode_direct_CXX=no
11791
 
    hardcode_shlibpath_var_CXX=no
11792
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11793
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11794
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11795
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
11796
 
    # default) and relocated if they conflict, which is a slow very memory
11797
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
11798
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11799
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11800
 
    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'
11801
 
    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'
11802
 
    ;;
11803
 
  irix5* | irix6*)
11804
 
    case $cc_basename in
11805
 
      CC*)
11806
 
        # SGI C++
11807
 
        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'
11808
 
 
11809
 
        # Archives containing C++ object files must be created using
11810
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11811
 
        # necessary to make sure instantiated templates are included
11812
 
        # in the archive.
11813
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11814
 
        ;;
11815
 
      *)
11816
 
        if test "$GXX" = yes; then
11817
 
          if test "$with_gnu_ld" = no; then
11818
 
            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'
11819
 
          else
11820
 
            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'
11821
 
          fi
11822
 
        fi
11823
 
        link_all_deplibs_CXX=yes
11824
 
        ;;
11825
 
    esac
11826
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11827
 
    hardcode_libdir_separator_CXX=:
11828
 
    ;;
11829
 
  linux* | k*bsd*-gnu)
11830
 
    case $cc_basename in
11831
 
      KCC*)
11832
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11833
 
 
11834
 
        # KCC will only create a shared library if the output file
11835
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11836
 
        # to its proper name (with version) after linking.
11837
 
        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'
11838
 
        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'
11839
 
        # Commands to make compiler produce verbose output that lists
11840
 
        # what "hidden" libraries, object files and flags are used when
11841
 
        # linking a shared library.
11842
 
        #
11843
 
        # There doesn't appear to be a way to prevent this compiler from
11844
 
        # explicitly linking system object files so we need to strip them
11845
 
        # from the output so that they don't get included in the library
11846
 
        # dependencies.
11847
 
        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'
11848
 
 
11849
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11850
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11851
 
 
11852
 
        # Archives containing C++ object files must be created using
11853
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11854
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11855
 
        ;;
11856
 
      icpc*)
11857
 
        # Intel C++
11858
 
        with_gnu_ld=yes
11859
 
        # version 8.0 and above of icpc choke on multiply defined symbols
11860
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
11861
 
        # earlier do not add the objects themselves.
11862
 
        case `$CC -V 2>&1` in
11863
 
        *"Version 7."*)
11864
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11865
 
          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'
11866
 
          ;;
11867
 
        *)  # Version 8.0 or newer
11868
 
          tmp_idyn=
11869
 
          case $host_cpu in
11870
 
            ia64*) tmp_idyn=' -i_dynamic';;
11871
 
          esac
11872
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11873
 
          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'
11874
 
          ;;
11875
 
        esac
 
13553
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13554
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13555
          ;;
 
13556
      esac
 
13557
      ;;
 
13558
 
 
13559
      sysv5* | sco3.2v5* | sco5v6*)
 
13560
        # Note: We can NOT use -z defs as we might desire, because we do not
 
13561
        # link with -lc, and that would cause any symbols used from libc to
 
13562
        # always be unresolved, which means just about no library would
 
13563
        # ever link correctly.  If we're not using GNU ld we use -z text
 
13564
        # though, which does catch some bad symbols but isn't as heavy-handed
 
13565
        # as -z defs.
 
13566
        no_undefined_flag_CXX='${wl}-z,text'
 
13567
        allow_undefined_flag_CXX='${wl}-z,nodefs'
11876
13568
        archive_cmds_need_lc_CXX=no
11877
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11878
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11879
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11880
 
        ;;
11881
 
      pgCC* | pgcpp*)
11882
 
        # Portland Group C++ compiler
11883
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11884
 
        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'
11885
 
 
11886
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11887
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11888
 
        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'
11889
 
        ;;
11890
 
      cxx*)
11891
 
        # Compaq C++
11892
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11893
 
        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'
11894
 
 
11895
 
        runpath_var=LD_RUN_PATH
11896
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11897
 
        hardcode_libdir_separator_CXX=:
11898
 
 
11899
 
        # Commands to make compiler produce verbose output that lists
11900
 
        # what "hidden" libraries, object files and flags are used when
11901
 
        # linking a shared library.
11902
 
        #
11903
 
        # There doesn't appear to be a way to prevent this compiler from
11904
 
        # explicitly linking system object files so we need to strip them
11905
 
        # from the output so that they don't get included in the library
11906
 
        # dependencies.
11907
 
        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'
11908
 
        ;;
11909
 
      *)
11910
 
        case `$CC -V 2>&1 | sed 5q` in
11911
 
        *Sun\ C*)
11912
 
          # Sun C++ 5.9
11913
 
          no_undefined_flag_CXX=' -zdefs'
11914
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11915
 
          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'
11916
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
11917
 
          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'
11918
 
 
11919
 
          # Not sure whether something based on
11920
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11921
 
          # would be better.
11922
 
          output_verbose_link_cmd='echo'
11923
 
 
11924
 
          # Archives containing C++ object files must be created using
11925
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11926
 
          # necessary to make sure instantiated templates are included
11927
 
          # in the archive.
11928
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11929
 
          ;;
11930
 
        esac
11931
 
        ;;
11932
 
    esac
11933
 
    ;;
11934
 
  lynxos*)
11935
 
    # FIXME: insert proper C++ library support
11936
 
    ld_shlibs_CXX=no
11937
 
    ;;
11938
 
  m88k*)
11939
 
    # FIXME: insert proper C++ library support
11940
 
    ld_shlibs_CXX=no
11941
 
    ;;
11942
 
  mvs*)
11943
 
    case $cc_basename in
11944
 
      cxx*)
11945
 
        # FIXME: insert proper C++ library support
11946
 
        ld_shlibs_CXX=no
11947
 
        ;;
11948
 
      *)
11949
 
        # FIXME: insert proper C++ library support
11950
 
        ld_shlibs_CXX=no
11951
 
        ;;
11952
 
    esac
11953
 
    ;;
11954
 
  netbsd* | netbsdelf*-gnu)
11955
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11956
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11957
 
      wlarc=
11958
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
11959
 
      hardcode_direct_CXX=yes
11960
 
      hardcode_shlibpath_var_CXX=no
11961
 
    fi
11962
 
    # Workaround some broken pre-1.5 toolchains
11963
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11964
 
    ;;
11965
 
  openbsd2*)
11966
 
    # C++ shared libraries are fairly broken
11967
 
    ld_shlibs_CXX=no
11968
 
    ;;
11969
 
  openbsd*)
11970
 
    if test -f /usr/libexec/ld.so; then
11971
 
      hardcode_direct_CXX=yes
11972
 
      hardcode_shlibpath_var_CXX=no
11973
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11974
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11975
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11976
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11977
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11978
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11979
 
      fi
11980
 
      output_verbose_link_cmd='echo'
11981
 
    else
11982
 
      ld_shlibs_CXX=no
11983
 
    fi
11984
 
    ;;
11985
 
  osf3*)
11986
 
    case $cc_basename in
11987
 
      KCC*)
11988
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11989
 
 
11990
 
        # KCC will only create a shared library if the output file
11991
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11992
 
        # to its proper name (with version) after linking.
11993
 
        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'
11994
 
 
11995
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11996
 
        hardcode_libdir_separator_CXX=:
11997
 
 
11998
 
        # Archives containing C++ object files must be created using
11999
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12000
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12001
 
 
12002
 
        ;;
12003
 
      RCC*)
12004
 
        # Rational C++ 2.4.1
12005
 
        # FIXME: insert proper C++ library support
12006
 
        ld_shlibs_CXX=no
12007
 
        ;;
12008
 
      cxx*)
12009
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12010
 
        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'
12011
 
 
12012
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12013
 
        hardcode_libdir_separator_CXX=:
12014
 
 
12015
 
        # Commands to make compiler produce verbose output that lists
12016
 
        # what "hidden" libraries, object files and flags are used when
12017
 
        # linking a shared library.
12018
 
        #
12019
 
        # There doesn't appear to be a way to prevent this compiler from
12020
 
        # explicitly linking system object files so we need to strip them
12021
 
        # from the output so that they don't get included in the library
12022
 
        # dependencies.
12023
 
        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'
12024
 
        ;;
12025
 
      *)
12026
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12027
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12028
 
          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'
12029
 
 
12030
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12031
 
          hardcode_libdir_separator_CXX=:
12032
 
 
12033
 
          # Commands to make compiler produce verbose output that lists
12034
 
          # what "hidden" libraries, object files and flags are used when
12035
 
          # linking a shared library.
12036
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12037
 
 
12038
 
        else
12039
 
          # FIXME: insert proper C++ library support
12040
 
          ld_shlibs_CXX=no
12041
 
        fi
12042
 
        ;;
12043
 
    esac
12044
 
    ;;
12045
 
  osf4* | osf5*)
12046
 
    case $cc_basename in
12047
 
      KCC*)
12048
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12049
 
 
12050
 
        # KCC will only create a shared library if the output file
12051
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12052
 
        # to its proper name (with version) after linking.
12053
 
        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'
12054
 
 
12055
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12056
 
        hardcode_libdir_separator_CXX=:
12057
 
 
12058
 
        # Archives containing C++ object files must be created using
12059
 
        # the KAI C++ compiler.
12060
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12061
 
        ;;
12062
 
      RCC*)
12063
 
        # Rational C++ 2.4.1
12064
 
        # FIXME: insert proper C++ library support
12065
 
        ld_shlibs_CXX=no
12066
 
        ;;
12067
 
      cxx*)
12068
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
12069
 
        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'
12070
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12071
 
          echo "-hidden">> $lib.exp~
12072
 
          $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~
12073
 
          $rm $lib.exp'
12074
 
 
12075
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12076
 
        hardcode_libdir_separator_CXX=:
12077
 
 
12078
 
        # Commands to make compiler produce verbose output that lists
12079
 
        # what "hidden" libraries, object files and flags are used when
12080
 
        # linking a shared library.
12081
 
        #
12082
 
        # There doesn't appear to be a way to prevent this compiler from
12083
 
        # explicitly linking system object files so we need to strip them
12084
 
        # from the output so that they don't get included in the library
12085
 
        # dependencies.
12086
 
        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'
12087
 
        ;;
12088
 
      *)
12089
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12090
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12091
 
         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'
12092
 
 
12093
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12094
 
          hardcode_libdir_separator_CXX=:
12095
 
 
12096
 
          # Commands to make compiler produce verbose output that lists
12097
 
          # what "hidden" libraries, object files and flags are used when
12098
 
          # linking a shared library.
12099
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12100
 
 
12101
 
        else
12102
 
          # FIXME: insert proper C++ library support
12103
 
          ld_shlibs_CXX=no
12104
 
        fi
12105
 
        ;;
12106
 
    esac
12107
 
    ;;
12108
 
  psos*)
12109
 
    # FIXME: insert proper C++ library support
12110
 
    ld_shlibs_CXX=no
12111
 
    ;;
12112
 
  sunos4*)
12113
 
    case $cc_basename in
12114
 
      CC*)
12115
 
        # Sun C++ 4.x
12116
 
        # FIXME: insert proper C++ library support
12117
 
        ld_shlibs_CXX=no
12118
 
        ;;
12119
 
      lcc*)
12120
 
        # Lucid
12121
 
        # FIXME: insert proper C++ library support
12122
 
        ld_shlibs_CXX=no
12123
 
        ;;
12124
 
      *)
12125
 
        # FIXME: insert proper C++ library support
12126
 
        ld_shlibs_CXX=no
12127
 
        ;;
12128
 
    esac
12129
 
    ;;
12130
 
  solaris*)
12131
 
    case $cc_basename in
12132
 
      CC*)
12133
 
        # Sun C++ 4.2, 5.x and Centerline C++
12134
 
        archive_cmds_need_lc_CXX=yes
12135
 
        no_undefined_flag_CXX=' -zdefs'
12136
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12137
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12138
 
        $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'
12139
 
 
12140
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
12141
13569
        hardcode_shlibpath_var_CXX=no
12142
 
        case $host_os in
12143
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12144
 
          *)
12145
 
            # The compiler driver will combine and reorder linker options,
12146
 
            # but understands `-z linker_flag'.
12147
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
12148
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12149
 
            ;;
12150
 
        esac
 
13570
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
 
13571
        hardcode_libdir_separator_CXX=':'
12151
13572
        link_all_deplibs_CXX=yes
12152
 
 
12153
 
        output_verbose_link_cmd='echo'
12154
 
 
12155
 
        # Archives containing C++ object files must be created using
12156
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12157
 
        # necessary to make sure instantiated templates are included
12158
 
        # in the archive.
12159
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12160
 
        ;;
12161
 
      gcx*)
12162
 
        # Green Hills C++ Compiler
12163
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12164
 
 
12165
 
        # The C++ compiler must be used to create the archive.
12166
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12167
 
        ;;
12168
 
      *)
12169
 
        # GNU C++ compiler with Solaris linker
12170
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12171
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12172
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
12173
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12174
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12175
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12176
 
 
12177
 
            # Commands to make compiler produce verbose output that lists
12178
 
            # what "hidden" libraries, object files and flags are used when
12179
 
            # linking a shared library.
12180
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12181
 
          else
12182
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
12183
 
            # platform.
12184
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12185
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12186
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12187
 
 
12188
 
            # Commands to make compiler produce verbose output that lists
12189
 
            # what "hidden" libraries, object files and flags are used when
12190
 
            # linking a shared library.
12191
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12192
 
          fi
12193
 
 
12194
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12195
 
          case $host_os in
12196
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13573
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
13574
        runpath_var='LD_RUN_PATH'
 
13575
 
 
13576
        case $cc_basename in
 
13577
          CC*)
 
13578
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13579
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13580
            ;;
12197
13581
          *)
12198
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12199
 
            ;;
12200
 
          esac
12201
 
        fi
12202
 
        ;;
12203
 
    esac
12204
 
    ;;
12205
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12206
 
    no_undefined_flag_CXX='${wl}-z,text'
12207
 
    archive_cmds_need_lc_CXX=no
12208
 
    hardcode_shlibpath_var_CXX=no
12209
 
    runpath_var='LD_RUN_PATH'
12210
 
 
12211
 
    case $cc_basename in
12212
 
      CC*)
12213
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12214
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12215
 
        ;;
12216
 
      *)
12217
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12218
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12219
 
        ;;
12220
 
    esac
12221
 
    ;;
12222
 
  sysv5* | sco3.2v5* | sco5v6*)
12223
 
    # Note: We can NOT use -z defs as we might desire, because we do not
12224
 
    # link with -lc, and that would cause any symbols used from libc to
12225
 
    # always be unresolved, which means just about no library would
12226
 
    # ever link correctly.  If we're not using GNU ld we use -z text
12227
 
    # though, which does catch some bad symbols but isn't as heavy-handed
12228
 
    # as -z defs.
12229
 
    # For security reasons, it is highly recommended that you always
12230
 
    # use absolute paths for naming shared libraries, and exclude the
12231
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
12232
 
    # requires that you compile everything twice, which is a pain.
12233
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
12234
 
    # non-empty value in the environment.  Most likely only useful for
12235
 
    # creating official distributions of packages.
12236
 
    # This is a hack until libtool officially supports absolute path
12237
 
    # names for shared libraries.
12238
 
    no_undefined_flag_CXX='${wl}-z,text'
12239
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
12240
 
    archive_cmds_need_lc_CXX=no
12241
 
    hardcode_shlibpath_var_CXX=no
12242
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12243
 
    hardcode_libdir_separator_CXX=':'
12244
 
    link_all_deplibs_CXX=yes
12245
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
12246
 
    runpath_var='LD_RUN_PATH'
12247
 
 
12248
 
    case $cc_basename in
12249
 
      CC*)
12250
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12251
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12252
 
        ;;
12253
 
      *)
12254
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12255
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12256
 
        ;;
12257
 
    esac
12258
 
    ;;
12259
 
  tandem*)
12260
 
    case $cc_basename in
12261
 
      NCC*)
12262
 
        # NonStop-UX NCC 3.20
12263
 
        # FIXME: insert proper C++ library support
12264
 
        ld_shlibs_CXX=no
12265
 
        ;;
12266
 
      *)
12267
 
        # FIXME: insert proper C++ library support
12268
 
        ld_shlibs_CXX=no
12269
 
        ;;
12270
 
    esac
12271
 
    ;;
12272
 
  vxworks*)
12273
 
    # FIXME: insert proper C++ library support
12274
 
    ld_shlibs_CXX=no
12275
 
    ;;
12276
 
  *)
12277
 
    # FIXME: insert proper C++ library support
12278
 
    ld_shlibs_CXX=no
12279
 
    ;;
12280
 
esac
12281
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12282
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12283
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12284
 
 
12285
 
GCC_CXX="$GXX"
12286
 
LD_CXX="$LD"
12287
 
 
12288
 
cat > conftest.$ac_ext <<EOF
 
13582
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13583
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13584
            ;;
 
13585
        esac
 
13586
      ;;
 
13587
 
 
13588
      tandem*)
 
13589
        case $cc_basename in
 
13590
          NCC*)
 
13591
            # NonStop-UX NCC 3.20
 
13592
            # FIXME: insert proper C++ library support
 
13593
            ld_shlibs_CXX=no
 
13594
            ;;
 
13595
          *)
 
13596
            # FIXME: insert proper C++ library support
 
13597
            ld_shlibs_CXX=no
 
13598
            ;;
 
13599
        esac
 
13600
        ;;
 
13601
 
 
13602
      vxworks*)
 
13603
        # FIXME: insert proper C++ library support
 
13604
        ld_shlibs_CXX=no
 
13605
        ;;
 
13606
 
 
13607
      *)
 
13608
        # FIXME: insert proper C++ library support
 
13609
        ld_shlibs_CXX=no
 
13610
        ;;
 
13611
    esac
 
13612
 
 
13613
    { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
13614
$as_echo "$ld_shlibs_CXX" >&6; }
 
13615
    test "$ld_shlibs_CXX" = no && can_build_shared=no
 
13616
 
 
13617
    GCC_CXX="$GXX"
 
13618
    LD_CXX="$LD"
 
13619
 
 
13620
    ## CAVEAT EMPTOR:
 
13621
    ## There is no encapsulation within the following macros, do not change
 
13622
    ## the running order or otherwise move them around unless you know exactly
 
13623
    ## what you are doing...
 
13624
    # Dependencies to place before and after the object being linked:
 
13625
predep_objects_CXX=
 
13626
postdep_objects_CXX=
 
13627
predeps_CXX=
 
13628
postdeps_CXX=
 
13629
compiler_lib_search_path_CXX=
 
13630
 
 
13631
cat > conftest.$ac_ext <<_LT_EOF
12289
13632
class Foo
12290
13633
{
12291
13634
public:
12293
13636
private:
12294
13637
  int a;
12295
13638
};
12296
 
EOF
 
13639
_LT_EOF
12297
13640
 
12298
13641
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12299
13642
  (eval $ac_compile) 2>&5
12300
13643
  ac_status=$?
12301
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13644
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302
13645
  (exit $ac_status); }; then
12303
13646
  # Parse the compiler output and extract the necessary
12304
13647
  # objects, libraries and library flags.
12307
13650
  # the conftest object file.
12308
13651
  pre_test_object_deps_done=no
12309
13652
 
12310
 
  # The `*' in the case matches for architectures that use `case' in
12311
 
  # $output_verbose_cmd can trigger glob expansion during the loop
12312
 
  # eval without this substitution.
12313
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12314
 
 
12315
 
  for p in `eval $output_verbose_link_cmd`; do
 
13653
  for p in `eval "$output_verbose_link_cmd"`; do
12316
13654
    case $p in
12317
13655
 
12318
13656
    -L* | -R* | -l*)
12319
13657
       # Some compilers place space between "-{L,R}" and the path.
12320
13658
       # Remove the space.
12321
 
       if test $p = "-L" \
12322
 
          || test $p = "-R"; then
 
13659
       if test $p = "-L" ||
 
13660
          test $p = "-R"; then
12323
13661
         prev=$p
12324
13662
         continue
12325
13663
       else
12384
13722
  echo "libtool.m4: error: problem compiling CXX test program"
12385
13723
fi
12386
13724
 
12387
 
$rm -f confest.$objext
12388
 
 
12389
 
compiler_lib_search_dirs_CXX=
12390
 
if test -n "$compiler_lib_search_path_CXX"; then
12391
 
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12392
 
fi
 
13725
$RM -f confest.$objext
12393
13726
 
12394
13727
# PORTME: override above test on systems where it is broken
12395
13728
case $host_os in
12405
13738
  case `$CC -V 2>&1 | sed 5q` in
12406
13739
  *Sun\ C*)
12407
13740
    # Sun C++ 5.9
12408
 
    #
 
13741
 
12409
13742
    # The more standards-conforming stlport4 library is
12410
13743
    # incompatible with the Cstd library. Avoid specifying
12411
13744
    # it if it's in CXXFLAGS. Ignore libCrun as
12415
13748
      solaris_use_stlport4=yes
12416
13749
      ;;
12417
13750
    esac
 
13751
 
12418
13752
    if test "$solaris_use_stlport4" != yes; then
12419
13753
      postdeps_CXX='-library=Cstd -library=Crun'
12420
13754
    fi
12446
13780
  ;;
12447
13781
esac
12448
13782
 
 
13783
 
12449
13784
case " $postdeps_CXX " in
12450
13785
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12451
13786
esac
12452
 
 
12453
 
lt_prog_compiler_wl_CXX=
 
13787
 compiler_lib_search_dirs_CXX=
 
13788
if test -n "${compiler_lib_search_path_CXX}"; then
 
13789
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
13790
fi
 
13791
 
 
13792
 
 
13793
 
 
13794
 
 
13795
 
 
13796
 
 
13797
 
 
13798
 
 
13799
 
 
13800
 
 
13801
 
 
13802
 
 
13803
 
 
13804
 
 
13805
 
 
13806
 
 
13807
 
 
13808
 
 
13809
 
 
13810
 
 
13811
 
 
13812
 
 
13813
 
 
13814
 
 
13815
 
 
13816
 
 
13817
 
 
13818
 
 
13819
 
 
13820
 
 
13821
 
 
13822
    lt_prog_compiler_wl_CXX=
12454
13823
lt_prog_compiler_pic_CXX=
12455
13824
lt_prog_compiler_static_CXX=
12456
13825
 
12457
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12458
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
13826
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
13827
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12459
13828
 
12460
13829
  # C++ specific cases for pic, static, wl, etc.
12461
13830
  if test "$GXX" = yes; then
12470
13839
        lt_prog_compiler_static_CXX='-Bstatic'
12471
13840
      fi
12472
13841
      ;;
 
13842
 
12473
13843
    amigaos*)
12474
 
      # FIXME: we need at least 68020 code to build shared libraries, but
12475
 
      # adding the `-m68020' flag to GCC prevents building anything better,
12476
 
      # like `-m68040'.
12477
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
13844
      case $host_cpu in
 
13845
      powerpc)
 
13846
            # see comment about AmigaOS4 .so support
 
13847
            lt_prog_compiler_pic_CXX='-fPIC'
 
13848
        ;;
 
13849
      m68k)
 
13850
            # FIXME: we need at least 68020 code to build shared libraries, but
 
13851
            # adding the `-m68020' flag to GCC prevents building anything better,
 
13852
            # like `-m68040'.
 
13853
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
13854
        ;;
 
13855
      esac
12478
13856
      ;;
 
13857
 
12479
13858
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12480
13859
      # PIC is the default for these OSes.
12481
13860
      ;;
12482
 
    mingw* | cygwin* | os2* | pw32*)
 
13861
    mingw* | cygwin* | os2* | pw32* | cegcc*)
12483
13862
      # This hack is so that the source file can tell whether it is being
12484
13863
      # built for inclusion in a dll (and should export symbols for example).
12485
13864
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
12505
13884
      fi
12506
13885
      ;;
12507
13886
    hpux*)
12508
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12509
 
      # not for PA HP-UX.
 
13887
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
13888
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
13889
      # sets the default TLS model and affects inlining.
12510
13890
      case $host_cpu in
12511
 
      hppa*64*|ia64*)
 
13891
      hppa*64*)
12512
13892
        ;;
12513
13893
      *)
12514
13894
        lt_prog_compiler_pic_CXX='-fPIC'
12515
13895
        ;;
12516
13896
      esac
12517
13897
      ;;
 
13898
    *qnx* | *nto*)
 
13899
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
13900
      # it will coredump.
 
13901
      lt_prog_compiler_pic_CXX='-fPIC -shared'
 
13902
      ;;
12518
13903
    *)
12519
13904
      lt_prog_compiler_pic_CXX='-fPIC'
12520
13905
      ;;
12534
13919
        case $cc_basename in
12535
13920
        cxch68*)
12536
13921
          # Green Hills C++ Compiler
12537
 
          # _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"
 
13922
          # _LT_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"
12538
13923
          ;;
12539
13924
        esac
12540
13925
        ;;
12541
 
       darwin*)
12542
 
         # PIC is the default on this platform
12543
 
         # Common symbols not allowed in MH_DYLIB files
12544
 
         case $cc_basename in
12545
 
           xlc*)
12546
 
           lt_prog_compiler_pic_CXX='-qnocommon'
12547
 
           lt_prog_compiler_wl_CXX='-Wl,'
12548
 
           ;;
12549
 
         esac
12550
 
       ;;
12551
13926
      dgux*)
12552
13927
        case $cc_basename in
12553
13928
          ec++*)
12611
13986
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12612
13987
            lt_prog_compiler_pic_CXX='-fPIC'
12613
13988
            ;;
12614
 
          icpc* | ecpc*)
12615
 
            # Intel C++
 
13989
          ecpc* )
 
13990
            # old Intel C++ for x86_64 which still supported -KPIC.
12616
13991
            lt_prog_compiler_wl_CXX='-Wl,'
12617
13992
            lt_prog_compiler_pic_CXX='-KPIC'
12618
13993
            lt_prog_compiler_static_CXX='-static'
12619
13994
            ;;
 
13995
          icpc* )
 
13996
            # Intel C++, used to be incompatible with GCC.
 
13997
            # ICC 10 doesn't accept -KPIC any more.
 
13998
            lt_prog_compiler_wl_CXX='-Wl,'
 
13999
            lt_prog_compiler_pic_CXX='-fPIC'
 
14000
            lt_prog_compiler_static_CXX='-static'
 
14001
            ;;
12620
14002
          pgCC* | pgcpp*)
12621
 
            # Portland Group C++ compiler.
 
14003
            # Portland Group C++ compiler
12622
14004
            lt_prog_compiler_wl_CXX='-Wl,'
12623
14005
            lt_prog_compiler_pic_CXX='-fpic'
12624
14006
            lt_prog_compiler_static_CXX='-Bstatic'
12630
14012
            lt_prog_compiler_pic_CXX=
12631
14013
            lt_prog_compiler_static_CXX='-non_shared'
12632
14014
            ;;
 
14015
          xlc* | xlC*)
 
14016
            # IBM XL 8.0 on PPC
 
14017
            lt_prog_compiler_wl_CXX='-Wl,'
 
14018
            lt_prog_compiler_pic_CXX='-qpic'
 
14019
            lt_prog_compiler_static_CXX='-qstaticlink'
 
14020
            ;;
12633
14021
          *)
12634
14022
            case `$CC -V 2>&1 | sed 5q` in
12635
14023
            *Sun\ C*)
12657
14045
        ;;
12658
14046
      netbsd* | netbsdelf*-gnu)
12659
14047
        ;;
 
14048
      *qnx* | *nto*)
 
14049
        # QNX uses GNU C++, but need to define -shared option too, otherwise
 
14050
        # it will coredump.
 
14051
        lt_prog_compiler_pic_CXX='-fPIC -shared'
 
14052
        ;;
12660
14053
      osf3* | osf4* | osf5*)
12661
14054
        case $cc_basename in
12662
14055
          KCC*)
12711
14104
            ;;
12712
14105
        esac
12713
14106
        ;;
 
14107
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
14108
        case $cc_basename in
 
14109
          CC*)
 
14110
            lt_prog_compiler_wl_CXX='-Wl,'
 
14111
            lt_prog_compiler_pic_CXX='-KPIC'
 
14112
            lt_prog_compiler_static_CXX='-Bstatic'
 
14113
            ;;
 
14114
        esac
 
14115
        ;;
12714
14116
      tandem*)
12715
14117
        case $cc_basename in
12716
14118
          NCC*)
12721
14123
            ;;
12722
14124
        esac
12723
14125
        ;;
12724
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12725
 
        case $cc_basename in
12726
 
          CC*)
12727
 
            lt_prog_compiler_wl_CXX='-Wl,'
12728
 
            lt_prog_compiler_pic_CXX='-KPIC'
12729
 
            lt_prog_compiler_static_CXX='-Bstatic'
12730
 
            ;;
12731
 
        esac
12732
 
        ;;
12733
14126
      vxworks*)
12734
14127
        ;;
12735
14128
      *)
12738
14131
    esac
12739
14132
  fi
12740
14133
 
12741
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12742
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
 
14134
case $host_os in
 
14135
  # For platforms which do not support PIC, -DPIC is meaningless:
 
14136
  *djgpp*)
 
14137
    lt_prog_compiler_pic_CXX=
 
14138
    ;;
 
14139
  *)
 
14140
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 
14141
    ;;
 
14142
esac
 
14143
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
14144
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 
14145
 
 
14146
 
12743
14147
 
12744
14148
#
12745
14149
# Check to make sure the PIC flag actually works.
12746
14150
#
12747
14151
if test -n "$lt_prog_compiler_pic_CXX"; then
12748
 
 
12749
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12750
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
 
14152
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
14153
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12751
14154
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12752
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14155
  $as_echo_n "(cached) " >&6
12753
14156
else
12754
14157
  lt_cv_prog_compiler_pic_works_CXX=no
12755
 
  ac_outfile=conftest.$ac_objext
 
14158
   ac_outfile=conftest.$ac_objext
12756
14159
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12757
14160
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12758
14161
   # Insert the option either (1) after the last *FLAGS variable, or
12764
14167
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12765
14168
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12766
14169
   -e 's:$: $lt_compiler_flag:'`
12767
 
   (eval echo "\"\$as_me:12767: $lt_compile\"" >&5)
 
14170
   (eval echo "\"\$as_me:14170: $lt_compile\"" >&5)
12768
14171
   (eval "$lt_compile" 2>conftest.err)
12769
14172
   ac_status=$?
12770
14173
   cat conftest.err >&5
12771
 
   echo "$as_me:12771: \$? = $ac_status" >&5
 
14174
   echo "$as_me:14174: \$? = $ac_status" >&5
12772
14175
   if (exit $ac_status) && test -s "$ac_outfile"; then
12773
14176
     # The compiler can only warn and ignore the option if not recognized
12774
14177
     # So say no if there are warnings other than the usual output.
12775
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
14178
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12776
14179
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12777
14180
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12778
14181
       lt_cv_prog_compiler_pic_works_CXX=yes
12779
14182
     fi
12780
14183
   fi
12781
 
   $rm conftest*
 
14184
   $RM conftest*
12782
14185
 
12783
14186
fi
12784
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12785
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
 
14187
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
14188
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12786
14189
 
12787
14190
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
12788
14191
    case $lt_prog_compiler_pic_CXX in
12795
14198
fi
12796
14199
 
12797
14200
fi
12798
 
case $host_os in
12799
 
  # For platforms which do not support PIC, -DPIC is meaningless:
12800
 
  *djgpp*)
12801
 
    lt_prog_compiler_pic_CXX=
12802
 
    ;;
12803
 
  *)
12804
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12805
 
    ;;
12806
 
esac
 
14201
 
 
14202
 
12807
14203
 
12808
14204
#
12809
14205
# Check to make sure the static flag actually works.
12810
14206
#
12811
14207
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12812
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12813
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
14208
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14209
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12814
14210
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
12815
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14211
  $as_echo_n "(cached) " >&6
12816
14212
else
12817
14213
  lt_cv_prog_compiler_static_works_CXX=no
12818
14214
   save_LDFLAGS="$LDFLAGS"
12824
14220
     if test -s conftest.err; then
12825
14221
       # Append any errors to the config.log.
12826
14222
       cat conftest.err 1>&5
12827
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
14223
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12828
14224
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12829
14225
       if diff conftest.exp conftest.er2 >/dev/null; then
12830
14226
         lt_cv_prog_compiler_static_works_CXX=yes
12833
14229
       lt_cv_prog_compiler_static_works_CXX=yes
12834
14230
     fi
12835
14231
   fi
12836
 
   $rm -r conftest*
 
14232
   $RM -r conftest*
12837
14233
   LDFLAGS="$save_LDFLAGS"
12838
14234
 
12839
14235
fi
12840
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12841
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
 
14236
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
14237
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
12842
14238
 
12843
14239
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
12844
14240
    :
12847
14243
fi
12848
14244
 
12849
14245
 
12850
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12851
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12852
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12853
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12854
 
else
12855
 
  lt_cv_prog_compiler_c_o_CXX=no
12856
 
   $rm -r conftest 2>/dev/null
12857
 
   mkdir conftest
12858
 
   cd conftest
12859
 
   mkdir out
12860
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12861
 
 
12862
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12863
 
   # Insert the option either (1) after the last *FLAGS variable, or
12864
 
   # (2) before a word containing "conftest.", or (3) at the end.
12865
 
   # Note that $ac_compile itself does not contain backslashes and begins
12866
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12867
 
   lt_compile=`echo "$ac_compile" | $SED \
12868
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12869
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12870
 
   -e 's:$: $lt_compiler_flag:'`
12871
 
   (eval echo "\"\$as_me:12871: $lt_compile\"" >&5)
12872
 
   (eval "$lt_compile" 2>out/conftest.err)
12873
 
   ac_status=$?
12874
 
   cat out/conftest.err >&5
12875
 
   echo "$as_me:12875: \$? = $ac_status" >&5
12876
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12877
 
   then
12878
 
     # The compiler can only warn and ignore the option if not recognized
12879
 
     # So say no if there are warnings
12880
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12881
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12882
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12883
 
       lt_cv_prog_compiler_c_o_CXX=yes
12884
 
     fi
12885
 
   fi
12886
 
   chmod u+w . 2>&5
12887
 
   $rm conftest*
12888
 
   # SGI C++ compiler will create directory out/ii_files/ for
12889
 
   # template instantiation
12890
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12891
 
   $rm out/* && rmdir out
12892
 
   cd ..
12893
 
   rmdir conftest
12894
 
   $rm conftest*
12895
 
 
12896
 
fi
12897
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12898
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14246
 
 
14247
 
 
14248
    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14249
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
14250
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 
14251
  $as_echo_n "(cached) " >&6
 
14252
else
 
14253
  lt_cv_prog_compiler_c_o_CXX=no
 
14254
   $RM -r conftest 2>/dev/null
 
14255
   mkdir conftest
 
14256
   cd conftest
 
14257
   mkdir out
 
14258
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14259
 
 
14260
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
14261
   # Insert the option either (1) after the last *FLAGS variable, or
 
14262
   # (2) before a word containing "conftest.", or (3) at the end.
 
14263
   # Note that $ac_compile itself does not contain backslashes and begins
 
14264
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
14265
   lt_compile=`echo "$ac_compile" | $SED \
 
14266
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14267
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14268
   -e 's:$: $lt_compiler_flag:'`
 
14269
   (eval echo "\"\$as_me:14269: $lt_compile\"" >&5)
 
14270
   (eval "$lt_compile" 2>out/conftest.err)
 
14271
   ac_status=$?
 
14272
   cat out/conftest.err >&5
 
14273
   echo "$as_me:14273: \$? = $ac_status" >&5
 
14274
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
14275
   then
 
14276
     # The compiler can only warn and ignore the option if not recognized
 
14277
     # So say no if there are warnings
 
14278
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14279
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14280
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14281
       lt_cv_prog_compiler_c_o_CXX=yes
 
14282
     fi
 
14283
   fi
 
14284
   chmod u+w . 2>&5
 
14285
   $RM conftest*
 
14286
   # SGI C++ compiler will create directory out/ii_files/ for
 
14287
   # template instantiation
 
14288
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
14289
   $RM out/* && rmdir out
 
14290
   cd ..
 
14291
   $RM -r conftest
 
14292
   $RM conftest*
 
14293
 
 
14294
fi
 
14295
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14296
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14297
 
 
14298
 
 
14299
 
 
14300
    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14301
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
14302
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 
14303
  $as_echo_n "(cached) " >&6
 
14304
else
 
14305
  lt_cv_prog_compiler_c_o_CXX=no
 
14306
   $RM -r conftest 2>/dev/null
 
14307
   mkdir conftest
 
14308
   cd conftest
 
14309
   mkdir out
 
14310
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14311
 
 
14312
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
14313
   # Insert the option either (1) after the last *FLAGS variable, or
 
14314
   # (2) before a word containing "conftest.", or (3) at the end.
 
14315
   # Note that $ac_compile itself does not contain backslashes and begins
 
14316
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
14317
   lt_compile=`echo "$ac_compile" | $SED \
 
14318
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14319
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14320
   -e 's:$: $lt_compiler_flag:'`
 
14321
   (eval echo "\"\$as_me:14321: $lt_compile\"" >&5)
 
14322
   (eval "$lt_compile" 2>out/conftest.err)
 
14323
   ac_status=$?
 
14324
   cat out/conftest.err >&5
 
14325
   echo "$as_me:14325: \$? = $ac_status" >&5
 
14326
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
14327
   then
 
14328
     # The compiler can only warn and ignore the option if not recognized
 
14329
     # So say no if there are warnings
 
14330
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14331
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14332
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14333
       lt_cv_prog_compiler_c_o_CXX=yes
 
14334
     fi
 
14335
   fi
 
14336
   chmod u+w . 2>&5
 
14337
   $RM conftest*
 
14338
   # SGI C++ compiler will create directory out/ii_files/ for
 
14339
   # template instantiation
 
14340
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
14341
   $RM out/* && rmdir out
 
14342
   cd ..
 
14343
   $RM -r conftest
 
14344
   $RM conftest*
 
14345
 
 
14346
fi
 
14347
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14348
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14349
 
 
14350
 
12899
14351
 
12900
14352
 
12901
14353
hard_links="nottested"
12902
14354
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12903
14355
  # do not overwrite the value of need_locks provided by the user
12904
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12905
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
14356
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14357
$as_echo_n "checking if we can lock with hard links... " >&6; }
12906
14358
  hard_links=yes
12907
 
  $rm conftest*
 
14359
  $RM conftest*
12908
14360
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12909
14361
  touch conftest.a
12910
14362
  ln conftest.a conftest.b 2>&5 || hard_links=no
12911
14363
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12912
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
12913
 
echo "${ECHO_T}$hard_links" >&6; }
 
14364
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
14365
$as_echo "$hard_links" >&6; }
12914
14366
  if test "$hard_links" = no; then
12915
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12916
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
14367
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
14368
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12917
14369
    need_locks=warn
12918
14370
  fi
12919
14371
else
12920
14372
  need_locks=no
12921
14373
fi
12922
14374
 
12923
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12924
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
14375
 
 
14376
 
 
14377
    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14378
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12925
14379
 
12926
14380
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12927
14381
  case $host_os in
12928
14382
  aix[4-9]*)
12929
14383
    # If we're using GNU nm, then we don't want the "-C" option.
12930
14384
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12931
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12932
 
      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'
 
14385
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
14386
      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'
12933
14387
    else
12934
 
      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'
 
14388
      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'
12935
14389
    fi
12936
14390
    ;;
12937
14391
  pw32*)
12938
14392
    export_symbols_cmds_CXX="$ltdll_cmds"
12939
14393
  ;;
12940
 
  cygwin* | mingw*)
12941
 
    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'
 
14394
  cygwin* | mingw* | cegcc*)
 
14395
    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'
12942
14396
  ;;
12943
14397
  linux* | k*bsd*-gnu)
12944
14398
    link_all_deplibs_CXX=no
12949
14403
  esac
12950
14404
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12951
14405
 
12952
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12953
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
14406
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
14407
$as_echo "$ld_shlibs_CXX" >&6; }
12954
14408
test "$ld_shlibs_CXX" = no && can_build_shared=no
12955
14409
 
 
14410
with_gnu_ld_CXX=$with_gnu_ld
 
14411
 
 
14412
 
 
14413
 
 
14414
 
 
14415
 
 
14416
 
12956
14417
#
12957
14418
# Do we need to explicitly link libc?
12958
14419
#
12970
14431
      # Test whether the compiler implicitly links with -lc since on some
12971
14432
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12972
14433
      # to ld, don't add -lc before -lgcc.
12973
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12974
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12975
 
      $rm conftest*
 
14434
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
14435
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
14436
      $RM conftest*
12976
14437
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12977
14438
 
12978
14439
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12979
14440
  (eval $ac_compile) 2>&5
12980
14441
  ac_status=$?
12981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14442
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982
14443
  (exit $ac_status); } 2>conftest.err; then
12983
14444
        soname=conftest
12984
14445
        lib=conftest
12993
14454
        libname=conftest
12994
14455
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12995
14456
        allow_undefined_flag_CXX=
12996
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12997
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
14457
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
14458
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12998
14459
  ac_status=$?
12999
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14460
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000
14461
  (exit $ac_status); }
13001
14462
        then
13002
14463
          archive_cmds_need_lc_CXX=no
13007
14468
      else
13008
14469
        cat conftest.err 1>&5
13009
14470
      fi
13010
 
      $rm conftest*
13011
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13012
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
 
14471
      $RM conftest*
 
14472
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
14473
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
13013
14474
      ;;
13014
14475
    esac
13015
14476
  fi
13016
14477
  ;;
13017
14478
esac
13018
14479
 
13019
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13020
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
14480
 
 
14481
 
 
14482
 
 
14483
 
 
14484
 
 
14485
 
 
14486
 
 
14487
 
 
14488
 
 
14489
 
 
14490
 
 
14491
 
 
14492
 
 
14493
 
 
14494
 
 
14495
 
 
14496
 
 
14497
 
 
14498
 
 
14499
 
 
14500
 
 
14501
 
 
14502
 
 
14503
 
 
14504
 
 
14505
 
 
14506
 
 
14507
 
 
14508
 
 
14509
 
 
14510
 
 
14511
 
 
14512
 
 
14513
 
 
14514
 
 
14515
 
 
14516
 
 
14517
 
 
14518
 
 
14519
 
 
14520
 
 
14521
 
 
14522
 
 
14523
 
 
14524
 
 
14525
 
 
14526
 
 
14527
 
 
14528
 
 
14529
 
 
14530
 
 
14531
 
 
14532
 
 
14533
 
 
14534
 
 
14535
 
 
14536
 
 
14537
 
 
14538
 
 
14539
 
 
14540
 
 
14541
 
 
14542
 
 
14543
    { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
14544
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
14545
 
13021
14546
library_names_spec=
13022
14547
libname_spec='lib$name'
13023
14548
soname_spec=
13031
14556
version_type=none
13032
14557
dynamic_linker="$host_os ld.so"
13033
14558
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13034
 
 
13035
14559
need_lib_prefix=unknown
13036
14560
hardcode_into_libs=no
13037
14561
 
13068
14592
      aix4 | aix4.[01] | aix4.[01].*)
13069
14593
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13070
14594
           echo ' yes '
13071
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
14595
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13072
14596
        :
13073
14597
      else
13074
14598
        can_build_shared=no
13094
14618
  ;;
13095
14619
 
13096
14620
amigaos*)
13097
 
  library_names_spec='$libname.ixlibrary $libname.a'
13098
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
13099
 
  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'
 
14621
  case $host_cpu in
 
14622
  powerpc)
 
14623
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
14624
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
14625
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14626
    ;;
 
14627
  m68k)
 
14628
    library_names_spec='$libname.ixlibrary $libname.a'
 
14629
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
14630
    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'
 
14631
    ;;
 
14632
  esac
13100
14633
  ;;
13101
14634
 
13102
14635
beos*)
13119
14652
  # libtool to hard-code these into programs
13120
14653
  ;;
13121
14654
 
13122
 
cygwin* | mingw* | pw32*)
 
14655
cygwin* | mingw* | pw32* | cegcc*)
13123
14656
  version_type=windows
13124
14657
  shrext_cmds=".dll"
13125
14658
  need_version=no
13126
14659
  need_lib_prefix=no
13127
14660
 
13128
14661
  case $GCC,$host_os in
13129
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
14662
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13130
14663
    library_names_spec='$libname.dll.a'
13131
14664
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13132
14665
    postinstall_cmds='base_file=`basename \${file}`~
13133
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
14666
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13134
14667
      dldir=$destdir/`dirname \$dlpath`~
13135
14668
      test -d \$dldir || mkdir -p \$dldir~
13136
14669
      $install_prog $dir/$dlname \$dldir/$dlname~
13137
 
      chmod a+x \$dldir/$dlname'
 
14670
      chmod a+x \$dldir/$dlname~
 
14671
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
14672
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
14673
      fi'
13138
14674
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13139
14675
      dlpath=$dir/\$dldll~
13140
 
       $rm \$dlpath'
 
14676
       $RM \$dlpath'
13141
14677
    shlibpath_overrides_runpath=yes
13142
14678
 
13143
14679
    case $host_os in
13146
14682
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13147
14683
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13148
14684
      ;;
13149
 
    mingw*)
 
14685
    mingw* | cegcc*)
13150
14686
      # MinGW DLLs use traditional 'lib' prefix
13151
14687
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13152
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13153
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
14688
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
14689
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13154
14690
        # It is most probably a Windows format PATH printed by
13155
14691
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13156
14692
        # path with ; separators, and with drive letters. We can handle the
13157
14693
        # drive letters (cygwin fileutils understands them), so leave them,
13158
14694
        # especially as we might pass files found there to a mingw objdump,
13159
14695
        # which wouldn't understand a cygwinified path. Ahh.
13160
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
14696
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13161
14697
      else
13162
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
14698
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13163
14699
      fi
13164
14700
      ;;
13165
14701
    pw32*)
13183
14719
  version_type=darwin
13184
14720
  need_lib_prefix=no
13185
14721
  need_version=no
13186
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
14722
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13187
14723
  soname_spec='${libname}${release}${major}$shared_ext'
13188
14724
  shlibpath_overrides_runpath=yes
13189
14725
  shlibpath_var=DYLD_LIBRARY_PATH
13281
14817
    fi
13282
14818
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13283
14819
    ;;
13284
 
   hppa*64*)
13285
 
     shrext_cmds='.sl'
13286
 
     hardcode_into_libs=yes
13287
 
     dynamic_linker="$host_os dld.sl"
13288
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13289
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13290
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13291
 
     soname_spec='${libname}${release}${shared_ext}$major'
13292
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13293
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13294
 
     ;;
13295
 
   *)
 
14820
  hppa*64*)
 
14821
    shrext_cmds='.sl'
 
14822
    hardcode_into_libs=yes
 
14823
    dynamic_linker="$host_os dld.sl"
 
14824
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
14825
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
14826
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14827
    soname_spec='${libname}${release}${shared_ext}$major'
 
14828
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
14829
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
14830
    ;;
 
14831
  *)
13296
14832
    shrext_cmds='.sl'
13297
14833
    dynamic_linker="$host_os dld.sl"
13298
14834
    shlibpath_var=SHLIB_PATH
13369
14905
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13370
14906
  shlibpath_var=LD_LIBRARY_PATH
13371
14907
  shlibpath_overrides_runpath=no
 
14908
  # Some binutils ld are patched to set DT_RUNPATH
 
14909
  save_LDFLAGS=$LDFLAGS
 
14910
  save_libdir=$libdir
 
14911
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
14912
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
14913
  cat >conftest.$ac_ext <<_ACEOF
 
14914
/* confdefs.h.  */
 
14915
_ACEOF
 
14916
cat confdefs.h >>conftest.$ac_ext
 
14917
cat >>conftest.$ac_ext <<_ACEOF
 
14918
/* end confdefs.h.  */
 
14919
 
 
14920
int
 
14921
main ()
 
14922
{
 
14923
 
 
14924
  ;
 
14925
  return 0;
 
14926
}
 
14927
_ACEOF
 
14928
rm -f conftest.$ac_objext conftest$ac_exeext
 
14929
if { (ac_try="$ac_link"
 
14930
case "(($ac_try" in
 
14931
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14932
  *) ac_try_echo=$ac_try;;
 
14933
esac
 
14934
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14935
$as_echo "$ac_try_echo") >&5
 
14936
  (eval "$ac_link") 2>conftest.er1
 
14937
  ac_status=$?
 
14938
  grep -v '^ *+' conftest.er1 >conftest.err
 
14939
  rm -f conftest.er1
 
14940
  cat conftest.err >&5
 
14941
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14942
  (exit $ac_status); } && {
 
14943
         test -z "$ac_cxx_werror_flag" ||
 
14944
         test ! -s conftest.err
 
14945
       } && test -s conftest$ac_exeext && {
 
14946
         test "$cross_compiling" = yes ||
 
14947
         $as_test_x conftest$ac_exeext
 
14948
       }; then
 
14949
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
14950
  shlibpath_overrides_runpath=yes
 
14951
fi
 
14952
 
 
14953
else
 
14954
  $as_echo "$as_me: failed program was:" >&5
 
14955
sed 's/^/| /' conftest.$ac_ext >&5
 
14956
 
 
14957
 
 
14958
fi
 
14959
 
 
14960
rm -rf conftest.dSYM
 
14961
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14962
      conftest$ac_exeext conftest.$ac_ext
 
14963
  LDFLAGS=$save_LDFLAGS
 
14964
  libdir=$save_libdir
 
14965
 
13372
14966
  # This implies no fast_install, which is unacceptable.
13373
14967
  # Some rework will be needed to allow for fast_install
13374
14968
  # before this can be enabled.
13376
14970
 
13377
14971
  # Append ld.so.conf contents to the search path
13378
14972
  if test -f /etc/ld.so.conf; then
13379
 
    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' ' '`
 
14973
    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' ' '`
13380
14974
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13381
14975
  fi
13382
14976
 
13405
14999
  version_type=sunos
13406
15000
  need_lib_prefix=no
13407
15001
  need_version=no
13408
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
15002
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13409
15003
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13410
15004
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13411
15005
    dynamic_linker='NetBSD (a.out) ld.so'
13426
15020
  shlibpath_overrides_runpath=yes
13427
15021
  ;;
13428
15022
 
13429
 
nto-qnx*)
13430
 
  version_type=linux
 
15023
*nto* | *qnx*)
 
15024
  version_type=qnx
13431
15025
  need_lib_prefix=no
13432
15026
  need_version=no
13433
15027
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13434
15028
  soname_spec='${libname}${release}${shared_ext}$major'
13435
15029
  shlibpath_var=LD_LIBRARY_PATH
13436
 
  shlibpath_overrides_runpath=yes
 
15030
  shlibpath_overrides_runpath=no
 
15031
  hardcode_into_libs=yes
 
15032
  dynamic_linker='ldqnx.so'
13437
15033
  ;;
13438
15034
 
13439
15035
openbsd*)
13442
15038
  need_lib_prefix=no
13443
15039
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13444
15040
  case $host_os in
13445
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13446
 
    *)                         need_version=no  ;;
 
15041
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
15042
    *)                          need_version=no  ;;
13447
15043
  esac
13448
15044
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13449
15045
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13450
15046
  shlibpath_var=LD_LIBRARY_PATH
13451
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15047
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13452
15048
    case $host_os in
13453
15049
      openbsd2.[89] | openbsd2.[89].*)
13454
15050
        shlibpath_overrides_runpath=no
13520
15116
    sni)
13521
15117
      shlibpath_overrides_runpath=no
13522
15118
      need_lib_prefix=no
13523
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13524
15119
      runpath_var=LD_RUN_PATH
13525
15120
      ;;
13526
15121
    siemens)
13551
15146
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13552
15147
  soname_spec='${libname}${release}${shared_ext}$major'
13553
15148
  shlibpath_var=LD_LIBRARY_PATH
 
15149
  shlibpath_overrides_runpath=yes
13554
15150
  hardcode_into_libs=yes
13555
15151
  if test "$with_gnu_ld" = yes; then
13556
15152
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13557
 
    shlibpath_overrides_runpath=no
13558
15153
  else
13559
15154
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13560
 
    shlibpath_overrides_runpath=yes
13561
15155
    case $host_os in
13562
15156
      sco3.2v5*)
13563
15157
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13567
15161
  sys_lib_dlsearch_path_spec='/usr/lib'
13568
15162
  ;;
13569
15163
 
 
15164
tpf*)
 
15165
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
15166
  version_type=linux
 
15167
  need_lib_prefix=no
 
15168
  need_version=no
 
15169
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15170
  shlibpath_var=LD_LIBRARY_PATH
 
15171
  shlibpath_overrides_runpath=no
 
15172
  hardcode_into_libs=yes
 
15173
  ;;
 
15174
 
13570
15175
uts4*)
13571
15176
  version_type=linux
13572
15177
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13578
15183
  dynamic_linker=no
13579
15184
  ;;
13580
15185
esac
13581
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13582
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
15186
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
15187
$as_echo "$dynamic_linker" >&6; }
13583
15188
test "$dynamic_linker" = no && can_build_shared=no
13584
15189
 
13585
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13586
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13587
 
else
13588
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
13589
 
fi
13590
 
 
13591
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13592
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13593
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13594
 
else
13595
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
13596
 
fi
13597
 
 
13598
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13599
 
 
13600
15190
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13601
15191
if test "$GCC" = yes; then
13602
15192
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13603
15193
fi
13604
15194
 
13605
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13606
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
15195
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
15196
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
15197
fi
 
15198
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
15199
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
15200
fi
 
15201
 
 
15202
 
 
15203
 
 
15204
 
 
15205
 
 
15206
 
 
15207
 
 
15208
 
 
15209
 
 
15210
 
 
15211
 
 
15212
 
 
15213
 
 
15214
 
 
15215
 
 
15216
 
 
15217
 
 
15218
 
 
15219
 
 
15220
 
 
15221
 
 
15222
 
 
15223
 
 
15224
 
 
15225
 
 
15226
 
 
15227
 
 
15228
 
 
15229
 
 
15230
 
 
15231
 
 
15232
 
 
15233
 
 
15234
 
 
15235
 
 
15236
 
 
15237
    { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
15238
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13607
15239
hardcode_action_CXX=
13608
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13609
 
   test -n "$runpath_var_CXX" || \
 
15240
if test -n "$hardcode_libdir_flag_spec_CXX" ||
 
15241
   test -n "$runpath_var_CXX" ||
13610
15242
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
13611
15243
 
13612
 
  # We can hardcode non-existant directories.
 
15244
  # We can hardcode non-existent directories.
13613
15245
  if test "$hardcode_direct_CXX" != no &&
13614
15246
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13615
15247
     # have to relink, otherwise we might link with an installed library
13616
15248
     # when we should be linking with a yet-to-be-installed one
13617
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 
15249
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13618
15250
     test "$hardcode_minus_L_CXX" != no; then
13619
15251
    # Linking always hardcodes the temporary library directory.
13620
15252
    hardcode_action_CXX=relink
13627
15259
  # directories.
13628
15260
  hardcode_action_CXX=unsupported
13629
15261
fi
13630
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13631
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13632
 
 
13633
 
if test "$hardcode_action_CXX" = relink; then
13634
 
  # Fast installation is not supported
13635
 
  enable_fast_install=no
13636
 
elif test "$shlibpath_overrides_runpath" = yes ||
13637
 
     test "$enable_shared" = no; then
13638
 
  # Fast installation is not necessary
13639
 
  enable_fast_install=needless
13640
 
fi
13641
 
 
13642
 
 
13643
 
# The else clause should only fire when bootstrapping the
13644
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13645
 
# with your package, and you will get complaints that there are
13646
 
# no rules to generate ltmain.sh.
13647
 
if test -f "$ltmain"; then
13648
 
  # See if we are running on zsh, and set the options which allow our commands through
13649
 
  # without removal of \ escapes.
13650
 
  if test -n "${ZSH_VERSION+set}" ; then
13651
 
    setopt NO_GLOB_SUBST
13652
 
  fi
13653
 
  # Now quote all the things that may contain metacharacters while being
13654
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13655
 
  # variables and quote the copies for generation of the libtool script.
13656
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13657
 
    SED SHELL STRIP \
13658
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13659
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13660
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13661
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13662
 
    lt_cv_sys_global_symbol_to_c_name_address \
13663
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13664
 
    old_postinstall_cmds old_postuninstall_cmds \
13665
 
    compiler_CXX \
13666
 
    CC_CXX \
13667
 
    LD_CXX \
13668
 
    lt_prog_compiler_wl_CXX \
13669
 
    lt_prog_compiler_pic_CXX \
13670
 
    lt_prog_compiler_static_CXX \
13671
 
    lt_prog_compiler_no_builtin_flag_CXX \
13672
 
    export_dynamic_flag_spec_CXX \
13673
 
    thread_safe_flag_spec_CXX \
13674
 
    whole_archive_flag_spec_CXX \
13675
 
    enable_shared_with_static_runtimes_CXX \
13676
 
    old_archive_cmds_CXX \
13677
 
    old_archive_from_new_cmds_CXX \
13678
 
    predep_objects_CXX \
13679
 
    postdep_objects_CXX \
13680
 
    predeps_CXX \
13681
 
    postdeps_CXX \
13682
 
    compiler_lib_search_path_CXX \
13683
 
    compiler_lib_search_dirs_CXX \
13684
 
    archive_cmds_CXX \
13685
 
    archive_expsym_cmds_CXX \
13686
 
    postinstall_cmds_CXX \
13687
 
    postuninstall_cmds_CXX \
13688
 
    old_archive_from_expsyms_cmds_CXX \
13689
 
    allow_undefined_flag_CXX \
13690
 
    no_undefined_flag_CXX \
13691
 
    export_symbols_cmds_CXX \
13692
 
    hardcode_libdir_flag_spec_CXX \
13693
 
    hardcode_libdir_flag_spec_ld_CXX \
13694
 
    hardcode_libdir_separator_CXX \
13695
 
    hardcode_automatic_CXX \
13696
 
    module_cmds_CXX \
13697
 
    module_expsym_cmds_CXX \
13698
 
    lt_cv_prog_compiler_c_o_CXX \
13699
 
    fix_srcfile_path_CXX \
13700
 
    exclude_expsyms_CXX \
13701
 
    include_expsyms_CXX; do
13702
 
 
13703
 
    case $var in
13704
 
    old_archive_cmds_CXX | \
13705
 
    old_archive_from_new_cmds_CXX | \
13706
 
    archive_cmds_CXX | \
13707
 
    archive_expsym_cmds_CXX | \
13708
 
    module_cmds_CXX | \
13709
 
    module_expsym_cmds_CXX | \
13710
 
    old_archive_from_expsyms_cmds_CXX | \
13711
 
    export_symbols_cmds_CXX | \
13712
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
13713
 
    postinstall_cmds | postuninstall_cmds | \
13714
 
    old_postinstall_cmds | old_postuninstall_cmds | \
13715
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13716
 
      # Double-quote double-evaled strings.
13717
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13718
 
      ;;
13719
 
    *)
13720
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13721
 
      ;;
13722
 
    esac
13723
 
  done
13724
 
 
13725
 
  case $lt_echo in
13726
 
  *'\$0 --fallback-echo"')
13727
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13728
 
    ;;
13729
 
  esac
13730
 
 
13731
 
cfgfile="$ofile"
13732
 
 
13733
 
  cat <<__EOF__ >> "$cfgfile"
13734
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13735
 
 
13736
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13737
 
 
13738
 
# Shell to use when invoking shell scripts.
13739
 
SHELL=$lt_SHELL
13740
 
 
13741
 
# Whether or not to build shared libraries.
13742
 
build_libtool_libs=$enable_shared
13743
 
 
13744
 
# Whether or not to build static libraries.
13745
 
build_old_libs=$enable_static
13746
 
 
13747
 
# Whether or not to add -lc for building shared libraries.
13748
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13749
 
 
13750
 
# Whether or not to disallow shared libs when runtime libs are static
13751
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13752
 
 
13753
 
# Whether or not to optimize for fast installation.
13754
 
fast_install=$enable_fast_install
13755
 
 
13756
 
# The host system.
13757
 
host_alias=$host_alias
13758
 
host=$host
13759
 
host_os=$host_os
13760
 
 
13761
 
# The build system.
13762
 
build_alias=$build_alias
13763
 
build=$build
13764
 
build_os=$build_os
13765
 
 
13766
 
# An echo program that does not interpret backslashes.
13767
 
echo=$lt_echo
13768
 
 
13769
 
# The archiver.
13770
 
AR=$lt_AR
13771
 
AR_FLAGS=$lt_AR_FLAGS
13772
 
 
13773
 
# A C compiler.
13774
 
LTCC=$lt_LTCC
13775
 
 
13776
 
# LTCC compiler flags.
13777
 
LTCFLAGS=$lt_LTCFLAGS
13778
 
 
13779
 
# A language-specific compiler.
13780
 
CC=$lt_compiler_CXX
13781
 
 
13782
 
# Is the compiler the GNU C compiler?
13783
 
with_gcc=$GCC_CXX
13784
 
 
13785
 
# An ERE matcher.
13786
 
EGREP=$lt_EGREP
13787
 
 
13788
 
# The linker used to build libraries.
13789
 
LD=$lt_LD_CXX
13790
 
 
13791
 
# Whether we need hard or soft links.
13792
 
LN_S=$lt_LN_S
13793
 
 
13794
 
# A BSD-compatible nm program.
13795
 
NM=$lt_NM
13796
 
 
13797
 
# A symbol stripping program
13798
 
STRIP=$lt_STRIP
13799
 
 
13800
 
# Used to examine libraries when file_magic_cmd begins "file"
13801
 
MAGIC_CMD=$MAGIC_CMD
13802
 
 
13803
 
# Used on cygwin: DLL creation program.
13804
 
DLLTOOL="$DLLTOOL"
13805
 
 
13806
 
# Used on cygwin: object dumper.
13807
 
OBJDUMP="$OBJDUMP"
13808
 
 
13809
 
# Used on cygwin: assembler.
13810
 
AS="$AS"
13811
 
 
13812
 
# The name of the directory that contains temporary libtool files.
13813
 
objdir=$objdir
13814
 
 
13815
 
# How to create reloadable object files.
13816
 
reload_flag=$lt_reload_flag
13817
 
reload_cmds=$lt_reload_cmds
13818
 
 
13819
 
# How to pass a linker flag through the compiler.
13820
 
wl=$lt_lt_prog_compiler_wl_CXX
13821
 
 
13822
 
# Object file suffix (normally "o").
13823
 
objext="$ac_objext"
13824
 
 
13825
 
# Old archive suffix (normally "a").
13826
 
libext="$libext"
13827
 
 
13828
 
# Shared library suffix (normally ".so").
13829
 
shrext_cmds='$shrext_cmds'
13830
 
 
13831
 
# Executable file suffix (normally "").
13832
 
exeext="$exeext"
13833
 
 
13834
 
# Additional compiler flags for building library objects.
13835
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
13836
 
pic_mode=$pic_mode
13837
 
 
13838
 
# What is the maximum length of a command?
13839
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13840
 
 
13841
 
# Does compiler simultaneously support -c and -o options?
13842
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13843
 
 
13844
 
# Must we lock files when doing compilation?
13845
 
need_locks=$lt_need_locks
13846
 
 
13847
 
# Do we need the lib prefix for modules?
13848
 
need_lib_prefix=$need_lib_prefix
13849
 
 
13850
 
# Do we need a version for libraries?
13851
 
need_version=$need_version
13852
 
 
13853
 
# Whether dlopen is supported.
13854
 
dlopen_support=$enable_dlopen
13855
 
 
13856
 
# Whether dlopen of programs is supported.
13857
 
dlopen_self=$enable_dlopen_self
13858
 
 
13859
 
# Whether dlopen of statically linked programs is supported.
13860
 
dlopen_self_static=$enable_dlopen_self_static
13861
 
 
13862
 
# Compiler flag to prevent dynamic linking.
13863
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
13864
 
 
13865
 
# Compiler flag to turn off builtin functions.
13866
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13867
 
 
13868
 
# Compiler flag to allow reflexive dlopens.
13869
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13870
 
 
13871
 
# Compiler flag to generate shared objects directly from archives.
13872
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13873
 
 
13874
 
# Compiler flag to generate thread-safe objects.
13875
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13876
 
 
13877
 
# Library versioning type.
13878
 
version_type=$version_type
13879
 
 
13880
 
# Format of library name prefix.
13881
 
libname_spec=$lt_libname_spec
13882
 
 
13883
 
# List of archive names.  First name is the real one, the rest are links.
13884
 
# The last name is the one that the linker finds with -lNAME.
13885
 
library_names_spec=$lt_library_names_spec
13886
 
 
13887
 
# The coded name of the library, if different from the real name.
13888
 
soname_spec=$lt_soname_spec
13889
 
 
13890
 
# Commands used to build and install an old-style archive.
13891
 
RANLIB=$lt_RANLIB
13892
 
old_archive_cmds=$lt_old_archive_cmds_CXX
13893
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13894
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13895
 
 
13896
 
# Create an old-style archive from a shared archive.
13897
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13898
 
 
13899
 
# Create a temporary old-style archive to link instead of a shared archive.
13900
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13901
 
 
13902
 
# Commands used to build and install a shared archive.
13903
 
archive_cmds=$lt_archive_cmds_CXX
13904
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13905
 
postinstall_cmds=$lt_postinstall_cmds
13906
 
postuninstall_cmds=$lt_postuninstall_cmds
13907
 
 
13908
 
# Commands used to build a loadable module (assumed same as above if empty)
13909
 
module_cmds=$lt_module_cmds_CXX
13910
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
13911
 
 
13912
 
# Commands to strip libraries.
13913
 
old_striplib=$lt_old_striplib
13914
 
striplib=$lt_striplib
13915
 
 
13916
 
# Dependencies to place before the objects being linked to create a
13917
 
# shared library.
13918
 
predep_objects=$lt_predep_objects_CXX
13919
 
 
13920
 
# Dependencies to place after the objects being linked to create a
13921
 
# shared library.
13922
 
postdep_objects=$lt_postdep_objects_CXX
13923
 
 
13924
 
# Dependencies to place before the objects being linked to create a
13925
 
# shared library.
13926
 
predeps=$lt_predeps_CXX
13927
 
 
13928
 
# Dependencies to place after the objects being linked to create a
13929
 
# shared library.
13930
 
postdeps=$lt_postdeps_CXX
13931
 
 
13932
 
# The directories searched by this compiler when creating a shared
13933
 
# library
13934
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
13935
 
 
13936
 
# The library search path used internally by the compiler when linking
13937
 
# a shared library.
13938
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13939
 
 
13940
 
# Method to check whether dependent libraries are shared objects.
13941
 
deplibs_check_method=$lt_deplibs_check_method
13942
 
 
13943
 
# Command to use when deplibs_check_method == file_magic.
13944
 
file_magic_cmd=$lt_file_magic_cmd
13945
 
 
13946
 
# Flag that allows shared libraries with undefined symbols to be built.
13947
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
13948
 
 
13949
 
# Flag that forces no undefined symbols.
13950
 
no_undefined_flag=$lt_no_undefined_flag_CXX
13951
 
 
13952
 
# Commands used to finish a libtool library installation in a directory.
13953
 
finish_cmds=$lt_finish_cmds
13954
 
 
13955
 
# Same as above, but a single script fragment to be evaled but not shown.
13956
 
finish_eval=$lt_finish_eval
13957
 
 
13958
 
# Take the output of nm and produce a listing of raw symbols and C names.
13959
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13960
 
 
13961
 
# Transform the output of nm in a proper C declaration
13962
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13963
 
 
13964
 
# Transform the output of nm in a C name address pair
13965
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13966
 
 
13967
 
# This is the shared library runtime path variable.
13968
 
runpath_var=$runpath_var
13969
 
 
13970
 
# This is the shared library path variable.
13971
 
shlibpath_var=$shlibpath_var
13972
 
 
13973
 
# Is shlibpath searched before the hard-coded library search path?
13974
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13975
 
 
13976
 
# How to hardcode a shared library path into an executable.
13977
 
hardcode_action=$hardcode_action_CXX
13978
 
 
13979
 
# Whether we should hardcode library paths into libraries.
13980
 
hardcode_into_libs=$hardcode_into_libs
13981
 
 
13982
 
# Flag to hardcode \$libdir into a binary during linking.
13983
 
# This must work even if \$libdir does not exist.
13984
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13985
 
 
13986
 
# If ld is used when linking, flag to hardcode \$libdir into
13987
 
# a binary during linking. This must work even if \$libdir does
13988
 
# not exist.
13989
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13990
 
 
13991
 
# Whether we need a single -rpath flag with a separated argument.
13992
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13993
 
 
13994
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13995
 
# resulting binary.
13996
 
hardcode_direct=$hardcode_direct_CXX
13997
 
 
13998
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13999
 
# resulting binary.
14000
 
hardcode_minus_L=$hardcode_minus_L_CXX
14001
 
 
14002
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14003
 
# the resulting binary.
14004
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14005
 
 
14006
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
14007
 
# and all subsequent libraries and executables linked against it.
14008
 
hardcode_automatic=$hardcode_automatic_CXX
14009
 
 
14010
 
# Variables whose values should be saved in libtool wrapper scripts and
14011
 
# restored at relink time.
14012
 
variables_saved_for_relink="$variables_saved_for_relink"
14013
 
 
14014
 
# Whether libtool must link a program against all its dependency libraries.
14015
 
link_all_deplibs=$link_all_deplibs_CXX
14016
 
 
14017
 
# Compile-time system search path for libraries
14018
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14019
 
 
14020
 
# Run-time system search path for libraries
14021
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14022
 
 
14023
 
# Fix the shell variable \$srcfile for the compiler.
14024
 
fix_srcfile_path=$lt_fix_srcfile_path
14025
 
 
14026
 
# Set to yes if exported symbols are required.
14027
 
always_export_symbols=$always_export_symbols_CXX
14028
 
 
14029
 
# The commands to list exported symbols.
14030
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
14031
 
 
14032
 
# The commands to extract the exported symbol list from a shared archive.
14033
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14034
 
 
14035
 
# Symbols that should not be listed in the preloaded symbols.
14036
 
exclude_expsyms=$lt_exclude_expsyms_CXX
14037
 
 
14038
 
# Symbols that must always be exported.
14039
 
include_expsyms=$lt_include_expsyms_CXX
14040
 
 
14041
 
# ### END LIBTOOL TAG CONFIG: $tagname
14042
 
 
14043
 
__EOF__
14044
 
 
14045
 
 
14046
 
else
14047
 
  # If there is no Makefile yet, we rely on a make rule to execute
14048
 
  # `config.status --recheck' to rerun these tests and create the
14049
 
  # libtool script then.
14050
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14051
 
  if test -f "$ltmain_in"; then
14052
 
    test -f Makefile && make "$ltmain"
14053
 
  fi
14054
 
fi
14055
 
 
14056
 
 
14057
 
ac_ext=cpp
14058
 
ac_cpp='$CXXCPP $CPPFLAGS'
14059
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14060
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14061
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14062
 
 
14063
 
CC=$lt_save_CC
14064
 
LDCXX=$LD
14065
 
LD=$lt_save_LD
14066
 
GCC=$lt_save_GCC
14067
 
with_gnu_ldcxx=$with_gnu_ld
14068
 
with_gnu_ld=$lt_save_with_gnu_ld
14069
 
lt_cv_path_LDCXX=$lt_cv_path_LD
14070
 
lt_cv_path_LD=$lt_save_path_LD
14071
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14072
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14073
 
 
14074
 
        else
14075
 
          tagname=""
14076
 
        fi
14077
 
        ;;
14078
 
 
14079
 
      F77)
14080
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
14081
 
 
14082
 
ac_ext=f
14083
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14084
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14085
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14086
 
 
14087
 
 
14088
 
archive_cmds_need_lc_F77=no
14089
 
allow_undefined_flag_F77=
14090
 
always_export_symbols_F77=no
14091
 
archive_expsym_cmds_F77=
14092
 
export_dynamic_flag_spec_F77=
14093
 
hardcode_direct_F77=no
14094
 
hardcode_libdir_flag_spec_F77=
14095
 
hardcode_libdir_flag_spec_ld_F77=
14096
 
hardcode_libdir_separator_F77=
14097
 
hardcode_minus_L_F77=no
14098
 
hardcode_automatic_F77=no
14099
 
module_cmds_F77=
14100
 
module_expsym_cmds_F77=
14101
 
link_all_deplibs_F77=unknown
14102
 
old_archive_cmds_F77=$old_archive_cmds
14103
 
no_undefined_flag_F77=
14104
 
whole_archive_flag_spec_F77=
14105
 
enable_shared_with_static_runtimes_F77=no
14106
 
 
14107
 
# Source file extension for f77 test sources.
14108
 
ac_ext=f
14109
 
 
14110
 
# Object file extension for compiled f77 test sources.
14111
 
objext=o
14112
 
objext_F77=$objext
14113
 
 
14114
 
# Code to be used in simple compile tests
14115
 
lt_simple_compile_test_code="\
14116
 
      subroutine t
14117
 
      return
14118
 
      end
14119
 
"
14120
 
 
14121
 
# Code to be used in simple link tests
14122
 
lt_simple_link_test_code="\
14123
 
      program t
14124
 
      end
14125
 
"
14126
 
 
14127
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14128
 
 
14129
 
# If no C compiler was specified, use CC.
14130
 
LTCC=${LTCC-"$CC"}
14131
 
 
14132
 
# If no C compiler flags were specified, use CFLAGS.
14133
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14134
 
 
14135
 
# Allow CC to be a program name with arguments.
14136
 
compiler=$CC
14137
 
 
14138
 
 
14139
 
# save warnings/boilerplate of simple test code
14140
 
ac_outfile=conftest.$ac_objext
14141
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14142
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14143
 
_lt_compiler_boilerplate=`cat conftest.err`
14144
 
$rm conftest*
14145
 
 
14146
 
ac_outfile=conftest.$ac_objext
14147
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14148
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14149
 
_lt_linker_boilerplate=`cat conftest.err`
14150
 
$rm -r conftest*
14151
 
 
14152
 
 
14153
 
# Allow CC to be a program name with arguments.
14154
 
lt_save_CC="$CC"
14155
 
CC=${F77-"f77"}
14156
 
compiler=$CC
14157
 
compiler_F77=$CC
14158
 
for cc_temp in $compiler""; do
14159
 
  case $cc_temp in
14160
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14161
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14162
 
    \-*) ;;
14163
 
    *) break;;
14164
 
  esac
14165
 
done
14166
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14167
 
 
14168
 
 
14169
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14170
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14171
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14172
 
echo "${ECHO_T}$can_build_shared" >&6; }
14173
 
 
14174
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14175
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14176
 
test "$can_build_shared" = "no" && enable_shared=no
14177
 
 
14178
 
# On AIX, shared libraries and static libraries use the same namespace, and
14179
 
# are all built from PIC.
14180
 
case $host_os in
14181
 
aix3*)
14182
 
  test "$enable_shared" = yes && enable_static=no
14183
 
  if test -n "$RANLIB"; then
14184
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14185
 
    postinstall_cmds='$RANLIB $lib'
14186
 
  fi
14187
 
  ;;
14188
 
aix[4-9]*)
14189
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14190
 
    test "$enable_shared" = yes && enable_static=no
14191
 
  fi
14192
 
  ;;
14193
 
esac
14194
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14195
 
echo "${ECHO_T}$enable_shared" >&6; }
14196
 
 
14197
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14198
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14199
 
# Make sure either enable_shared or enable_static is yes.
14200
 
test "$enable_shared" = yes || enable_static=yes
14201
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14202
 
echo "${ECHO_T}$enable_static" >&6; }
14203
 
 
14204
 
GCC_F77="$G77"
14205
 
LD_F77="$LD"
14206
 
 
14207
 
lt_prog_compiler_wl_F77=
14208
 
lt_prog_compiler_pic_F77=
14209
 
lt_prog_compiler_static_F77=
14210
 
 
14211
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14212
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14213
 
 
14214
 
  if test "$GCC" = yes; then
14215
 
    lt_prog_compiler_wl_F77='-Wl,'
14216
 
    lt_prog_compiler_static_F77='-static'
14217
 
 
14218
 
    case $host_os in
14219
 
      aix*)
14220
 
      # All AIX code is PIC.
14221
 
      if test "$host_cpu" = ia64; then
14222
 
        # AIX 5 now supports IA64 processor
14223
 
        lt_prog_compiler_static_F77='-Bstatic'
14224
 
      fi
14225
 
      ;;
14226
 
 
14227
 
    amigaos*)
14228
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14229
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14230
 
      # like `-m68040'.
14231
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14232
 
      ;;
14233
 
 
14234
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14235
 
      # PIC is the default for these OSes.
14236
 
      ;;
14237
 
 
14238
 
    mingw* | cygwin* | pw32* | os2*)
14239
 
      # This hack is so that the source file can tell whether it is being
14240
 
      # built for inclusion in a dll (and should export symbols for example).
14241
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14242
 
      # (--disable-auto-import) libraries
14243
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14244
 
      ;;
14245
 
 
14246
 
    darwin* | rhapsody*)
14247
 
      # PIC is the default on this platform
14248
 
      # Common symbols not allowed in MH_DYLIB files
14249
 
      lt_prog_compiler_pic_F77='-fno-common'
14250
 
      ;;
14251
 
 
14252
 
    interix[3-9]*)
14253
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14254
 
      # Instead, we relocate shared libraries at runtime.
14255
 
      ;;
14256
 
 
14257
 
    msdosdjgpp*)
14258
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
14259
 
      # on systems that don't support them.
14260
 
      lt_prog_compiler_can_build_shared_F77=no
14261
 
      enable_shared=no
14262
 
      ;;
14263
 
 
14264
 
    sysv4*MP*)
14265
 
      if test -d /usr/nec; then
14266
 
        lt_prog_compiler_pic_F77=-Kconform_pic
14267
 
      fi
14268
 
      ;;
14269
 
 
14270
 
    hpux*)
14271
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14272
 
      # not for PA HP-UX.
14273
 
      case $host_cpu in
14274
 
      hppa*64*|ia64*)
14275
 
        # +Z the default
14276
 
        ;;
14277
 
      *)
14278
 
        lt_prog_compiler_pic_F77='-fPIC'
14279
 
        ;;
14280
 
      esac
14281
 
      ;;
14282
 
 
14283
 
    *)
14284
 
      lt_prog_compiler_pic_F77='-fPIC'
14285
 
      ;;
14286
 
    esac
14287
 
  else
14288
 
    # PORTME Check for flag to pass linker flags through the system compiler.
14289
 
    case $host_os in
14290
 
    aix*)
14291
 
      lt_prog_compiler_wl_F77='-Wl,'
14292
 
      if test "$host_cpu" = ia64; then
14293
 
        # AIX 5 now supports IA64 processor
14294
 
        lt_prog_compiler_static_F77='-Bstatic'
14295
 
      else
14296
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14297
 
      fi
14298
 
      ;;
14299
 
      darwin*)
14300
 
        # PIC is the default on this platform
14301
 
        # Common symbols not allowed in MH_DYLIB files
14302
 
       case $cc_basename in
14303
 
         xlc*)
14304
 
         lt_prog_compiler_pic_F77='-qnocommon'
14305
 
         lt_prog_compiler_wl_F77='-Wl,'
14306
 
         ;;
14307
 
       esac
14308
 
       ;;
14309
 
 
14310
 
    mingw* | cygwin* | pw32* | os2*)
14311
 
      # This hack is so that the source file can tell whether it is being
14312
 
      # built for inclusion in a dll (and should export symbols for example).
14313
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14314
 
      ;;
14315
 
 
14316
 
    hpux9* | hpux10* | hpux11*)
14317
 
      lt_prog_compiler_wl_F77='-Wl,'
14318
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14319
 
      # not for PA HP-UX.
14320
 
      case $host_cpu in
14321
 
      hppa*64*|ia64*)
14322
 
        # +Z the default
14323
 
        ;;
14324
 
      *)
14325
 
        lt_prog_compiler_pic_F77='+Z'
14326
 
        ;;
14327
 
      esac
14328
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14329
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14330
 
      ;;
14331
 
 
14332
 
    irix5* | irix6* | nonstopux*)
14333
 
      lt_prog_compiler_wl_F77='-Wl,'
14334
 
      # PIC (with -KPIC) is the default.
14335
 
      lt_prog_compiler_static_F77='-non_shared'
14336
 
      ;;
14337
 
 
14338
 
    newsos6)
14339
 
      lt_prog_compiler_pic_F77='-KPIC'
14340
 
      lt_prog_compiler_static_F77='-Bstatic'
14341
 
      ;;
14342
 
 
14343
 
    linux* | k*bsd*-gnu)
14344
 
      case $cc_basename in
14345
 
      icc* | ecc*)
14346
 
        lt_prog_compiler_wl_F77='-Wl,'
14347
 
        lt_prog_compiler_pic_F77='-KPIC'
14348
 
        lt_prog_compiler_static_F77='-static'
14349
 
        ;;
14350
 
      pgcc* | pgf77* | pgf90* | pgf95*)
14351
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
14352
 
        # which looks to be a dead project)
14353
 
        lt_prog_compiler_wl_F77='-Wl,'
14354
 
        lt_prog_compiler_pic_F77='-fpic'
14355
 
        lt_prog_compiler_static_F77='-Bstatic'
14356
 
        ;;
14357
 
      ccc*)
14358
 
        lt_prog_compiler_wl_F77='-Wl,'
14359
 
        # All Alpha code is PIC.
14360
 
        lt_prog_compiler_static_F77='-non_shared'
14361
 
        ;;
14362
 
      *)
14363
 
        case `$CC -V 2>&1 | sed 5q` in
14364
 
        *Sun\ C*)
14365
 
          # Sun C 5.9
14366
 
          lt_prog_compiler_pic_F77='-KPIC'
14367
 
          lt_prog_compiler_static_F77='-Bstatic'
14368
 
          lt_prog_compiler_wl_F77='-Wl,'
14369
 
          ;;
14370
 
        *Sun\ F*)
14371
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
14372
 
          lt_prog_compiler_pic_F77='-KPIC'
14373
 
          lt_prog_compiler_static_F77='-Bstatic'
14374
 
          lt_prog_compiler_wl_F77=''
14375
 
          ;;
14376
 
        esac
14377
 
        ;;
14378
 
      esac
14379
 
      ;;
14380
 
 
14381
 
    osf3* | osf4* | osf5*)
14382
 
      lt_prog_compiler_wl_F77='-Wl,'
14383
 
      # All OSF/1 code is PIC.
14384
 
      lt_prog_compiler_static_F77='-non_shared'
14385
 
      ;;
14386
 
 
14387
 
    rdos*)
14388
 
      lt_prog_compiler_static_F77='-non_shared'
14389
 
      ;;
14390
 
 
14391
 
    solaris*)
14392
 
      lt_prog_compiler_pic_F77='-KPIC'
14393
 
      lt_prog_compiler_static_F77='-Bstatic'
14394
 
      case $cc_basename in
14395
 
      f77* | f90* | f95*)
14396
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
14397
 
      *)
14398
 
        lt_prog_compiler_wl_F77='-Wl,';;
14399
 
      esac
14400
 
      ;;
14401
 
 
14402
 
    sunos4*)
14403
 
      lt_prog_compiler_wl_F77='-Qoption ld '
14404
 
      lt_prog_compiler_pic_F77='-PIC'
14405
 
      lt_prog_compiler_static_F77='-Bstatic'
14406
 
      ;;
14407
 
 
14408
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
14409
 
      lt_prog_compiler_wl_F77='-Wl,'
14410
 
      lt_prog_compiler_pic_F77='-KPIC'
14411
 
      lt_prog_compiler_static_F77='-Bstatic'
14412
 
      ;;
14413
 
 
14414
 
    sysv4*MP*)
14415
 
      if test -d /usr/nec ;then
14416
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
14417
 
        lt_prog_compiler_static_F77='-Bstatic'
14418
 
      fi
14419
 
      ;;
14420
 
 
14421
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14422
 
      lt_prog_compiler_wl_F77='-Wl,'
14423
 
      lt_prog_compiler_pic_F77='-KPIC'
14424
 
      lt_prog_compiler_static_F77='-Bstatic'
14425
 
      ;;
14426
 
 
14427
 
    unicos*)
14428
 
      lt_prog_compiler_wl_F77='-Wl,'
14429
 
      lt_prog_compiler_can_build_shared_F77=no
14430
 
      ;;
14431
 
 
14432
 
    uts4*)
14433
 
      lt_prog_compiler_pic_F77='-pic'
14434
 
      lt_prog_compiler_static_F77='-Bstatic'
14435
 
      ;;
14436
 
 
14437
 
    *)
14438
 
      lt_prog_compiler_can_build_shared_F77=no
14439
 
      ;;
14440
 
    esac
14441
 
  fi
14442
 
 
14443
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14444
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14445
 
 
14446
 
#
14447
 
# Check to make sure the PIC flag actually works.
14448
 
#
14449
 
if test -n "$lt_prog_compiler_pic_F77"; then
14450
 
 
14451
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14452
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14453
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14454
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14455
 
else
14456
 
  lt_cv_prog_compiler_pic_works_F77=no
14457
 
  ac_outfile=conftest.$ac_objext
14458
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14459
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14460
 
   # Insert the option either (1) after the last *FLAGS variable, or
14461
 
   # (2) before a word containing "conftest.", or (3) at the end.
14462
 
   # Note that $ac_compile itself does not contain backslashes and begins
14463
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14464
 
   # The option is referenced via a variable to avoid confusing sed.
14465
 
   lt_compile=`echo "$ac_compile" | $SED \
14466
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14467
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14468
 
   -e 's:$: $lt_compiler_flag:'`
14469
 
   (eval echo "\"\$as_me:14469: $lt_compile\"" >&5)
14470
 
   (eval "$lt_compile" 2>conftest.err)
14471
 
   ac_status=$?
14472
 
   cat conftest.err >&5
14473
 
   echo "$as_me:14473: \$? = $ac_status" >&5
14474
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14475
 
     # The compiler can only warn and ignore the option if not recognized
14476
 
     # So say no if there are warnings other than the usual output.
14477
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14478
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14479
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14480
 
       lt_cv_prog_compiler_pic_works_F77=yes
14481
 
     fi
14482
 
   fi
14483
 
   $rm conftest*
14484
 
 
14485
 
fi
14486
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14487
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14488
 
 
14489
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
14490
 
    case $lt_prog_compiler_pic_F77 in
14491
 
     "" | " "*) ;;
14492
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14493
 
     esac
14494
 
else
14495
 
    lt_prog_compiler_pic_F77=
14496
 
     lt_prog_compiler_can_build_shared_F77=no
14497
 
fi
14498
 
 
14499
 
fi
14500
 
case $host_os in
14501
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14502
 
  *djgpp*)
14503
 
    lt_prog_compiler_pic_F77=
14504
 
    ;;
14505
 
  *)
14506
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14507
 
    ;;
14508
 
esac
14509
 
 
14510
 
#
14511
 
# Check to make sure the static flag actually works.
14512
 
#
14513
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14514
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14515
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14516
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14517
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14518
 
else
14519
 
  lt_cv_prog_compiler_static_works_F77=no
14520
 
   save_LDFLAGS="$LDFLAGS"
14521
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14522
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14523
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14524
 
     # The linker can only warn and ignore the option if not recognized
14525
 
     # So say no if there are warnings
14526
 
     if test -s conftest.err; then
14527
 
       # Append any errors to the config.log.
14528
 
       cat conftest.err 1>&5
14529
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14530
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14531
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14532
 
         lt_cv_prog_compiler_static_works_F77=yes
14533
 
       fi
14534
 
     else
14535
 
       lt_cv_prog_compiler_static_works_F77=yes
14536
 
     fi
14537
 
   fi
14538
 
   $rm -r conftest*
14539
 
   LDFLAGS="$save_LDFLAGS"
14540
 
 
14541
 
fi
14542
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14543
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14544
 
 
14545
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
14546
 
    :
14547
 
else
14548
 
    lt_prog_compiler_static_F77=
14549
 
fi
14550
 
 
14551
 
 
14552
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14553
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14554
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14555
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14556
 
else
14557
 
  lt_cv_prog_compiler_c_o_F77=no
14558
 
   $rm -r conftest 2>/dev/null
14559
 
   mkdir conftest
14560
 
   cd conftest
14561
 
   mkdir out
14562
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14563
 
 
14564
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14565
 
   # Insert the option either (1) after the last *FLAGS variable, or
14566
 
   # (2) before a word containing "conftest.", or (3) at the end.
14567
 
   # Note that $ac_compile itself does not contain backslashes and begins
14568
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14569
 
   lt_compile=`echo "$ac_compile" | $SED \
14570
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14571
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14572
 
   -e 's:$: $lt_compiler_flag:'`
14573
 
   (eval echo "\"\$as_me:14573: $lt_compile\"" >&5)
14574
 
   (eval "$lt_compile" 2>out/conftest.err)
14575
 
   ac_status=$?
14576
 
   cat out/conftest.err >&5
14577
 
   echo "$as_me:14577: \$? = $ac_status" >&5
14578
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14579
 
   then
14580
 
     # The compiler can only warn and ignore the option if not recognized
14581
 
     # So say no if there are warnings
14582
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14583
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14584
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14585
 
       lt_cv_prog_compiler_c_o_F77=yes
14586
 
     fi
14587
 
   fi
14588
 
   chmod u+w . 2>&5
14589
 
   $rm conftest*
14590
 
   # SGI C++ compiler will create directory out/ii_files/ for
14591
 
   # template instantiation
14592
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14593
 
   $rm out/* && rmdir out
14594
 
   cd ..
14595
 
   rmdir conftest
14596
 
   $rm conftest*
14597
 
 
14598
 
fi
14599
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14600
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14601
 
 
14602
 
 
14603
 
hard_links="nottested"
14604
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14605
 
  # do not overwrite the value of need_locks provided by the user
14606
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14607
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14608
 
  hard_links=yes
14609
 
  $rm conftest*
14610
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14611
 
  touch conftest.a
14612
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14613
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14614
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14615
 
echo "${ECHO_T}$hard_links" >&6; }
14616
 
  if test "$hard_links" = no; then
14617
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14618
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14619
 
    need_locks=warn
14620
 
  fi
14621
 
else
14622
 
  need_locks=no
14623
 
fi
14624
 
 
14625
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14626
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14627
 
 
14628
 
  runpath_var=
14629
 
  allow_undefined_flag_F77=
14630
 
  enable_shared_with_static_runtimes_F77=no
14631
 
  archive_cmds_F77=
14632
 
  archive_expsym_cmds_F77=
14633
 
  old_archive_From_new_cmds_F77=
14634
 
  old_archive_from_expsyms_cmds_F77=
14635
 
  export_dynamic_flag_spec_F77=
14636
 
  whole_archive_flag_spec_F77=
14637
 
  thread_safe_flag_spec_F77=
14638
 
  hardcode_libdir_flag_spec_F77=
14639
 
  hardcode_libdir_flag_spec_ld_F77=
14640
 
  hardcode_libdir_separator_F77=
14641
 
  hardcode_direct_F77=no
14642
 
  hardcode_minus_L_F77=no
14643
 
  hardcode_shlibpath_var_F77=unsupported
14644
 
  link_all_deplibs_F77=unknown
14645
 
  hardcode_automatic_F77=no
14646
 
  module_cmds_F77=
14647
 
  module_expsym_cmds_F77=
14648
 
  always_export_symbols_F77=no
14649
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14650
 
  # include_expsyms should be a list of space-separated symbols to be *always*
14651
 
  # included in the symbol list
14652
 
  include_expsyms_F77=
14653
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
14654
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14655
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14656
 
  # as well as any symbol that contains `d'.
14657
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14658
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14659
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
14660
 
  # the symbol is explicitly referenced.  Since portable code cannot
14661
 
  # rely on this symbol name, it's probably fine to never include it in
14662
 
  # preloaded symbol tables.
14663
 
  # Exclude shared library initialization/finalization symbols.
14664
 
  extract_expsyms_cmds=
14665
 
  # Just being paranoid about ensuring that cc_basename is set.
14666
 
  for cc_temp in $compiler""; do
14667
 
  case $cc_temp in
14668
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14669
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14670
 
    \-*) ;;
14671
 
    *) break;;
14672
 
  esac
14673
 
done
14674
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14675
 
 
14676
 
  case $host_os in
14677
 
  cygwin* | mingw* | pw32*)
14678
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
14679
 
    # When not using gcc, we currently assume that we are using
14680
 
    # Microsoft Visual C++.
14681
 
    if test "$GCC" != yes; then
14682
 
      with_gnu_ld=no
14683
 
    fi
14684
 
    ;;
14685
 
  interix*)
14686
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
14687
 
    with_gnu_ld=yes
14688
 
    ;;
14689
 
  openbsd*)
14690
 
    with_gnu_ld=no
14691
 
    ;;
14692
 
  esac
14693
 
 
14694
 
  ld_shlibs_F77=yes
14695
 
  if test "$with_gnu_ld" = yes; then
14696
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
14697
 
    wlarc='${wl}'
14698
 
 
14699
 
    # Set some defaults for GNU ld with shared library support. These
14700
 
    # are reset later if shared libraries are not supported. Putting them
14701
 
    # here allows them to be overridden if necessary.
14702
 
    runpath_var=LD_RUN_PATH
14703
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14704
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14705
 
    # ancient GNU ld didn't support --whole-archive et. al.
14706
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14707
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14708
 
      else
14709
 
        whole_archive_flag_spec_F77=
14710
 
    fi
14711
 
    supports_anon_versioning=no
14712
 
    case `$LD -v 2>/dev/null` in
14713
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14714
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14715
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14716
 
      *\ 2.11.*) ;; # other 2.11 versions
14717
 
      *) supports_anon_versioning=yes ;;
14718
 
    esac
14719
 
 
14720
 
    # See if GNU ld supports shared libraries.
14721
 
    case $host_os in
14722
 
    aix[3-9]*)
14723
 
      # On AIX/PPC, the GNU linker is very broken
14724
 
      if test "$host_cpu" != ia64; then
14725
 
        ld_shlibs_F77=no
14726
 
        cat <<EOF 1>&2
14727
 
 
14728
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14729
 
*** to be unable to reliably create shared libraries on AIX.
14730
 
*** Therefore, libtool is disabling shared libraries support.  If you
14731
 
*** really care for shared libraries, you may want to modify your PATH
14732
 
*** so that a non-GNU linker is found, and then restart.
14733
 
 
14734
 
EOF
14735
 
      fi
14736
 
      ;;
14737
 
 
14738
 
    amigaos*)
14739
 
      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)'
14740
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14741
 
      hardcode_minus_L_F77=yes
14742
 
 
14743
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14744
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
14745
 
      # to version 4, is to share data among multiple programs linked
14746
 
      # with the same dynamic library.  Since this doesn't match the
14747
 
      # behavior of shared libraries on other platforms, we can't use
14748
 
      # them.
14749
 
      ld_shlibs_F77=no
14750
 
      ;;
14751
 
 
14752
 
    beos*)
14753
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14754
 
        allow_undefined_flag_F77=unsupported
14755
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14756
 
        # support --undefined.  This deserves some investigation.  FIXME
14757
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14758
 
      else
14759
 
        ld_shlibs_F77=no
14760
 
      fi
14761
 
      ;;
14762
 
 
14763
 
    cygwin* | mingw* | pw32*)
14764
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14765
 
      # as there is no search path for DLLs.
14766
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14767
 
      allow_undefined_flag_F77=unsupported
14768
 
      always_export_symbols_F77=no
14769
 
      enable_shared_with_static_runtimes_F77=yes
14770
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14771
 
 
14772
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14773
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14774
 
        # If the export-symbols file already is a .def file (1st line
14775
 
        # is EXPORTS), use it as is; otherwise, prepend...
14776
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14777
 
          cp $export_symbols $output_objdir/$soname.def;
14778
 
        else
14779
 
          echo EXPORTS > $output_objdir/$soname.def;
14780
 
          cat $export_symbols >> $output_objdir/$soname.def;
14781
 
        fi~
14782
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14783
 
      else
14784
 
        ld_shlibs_F77=no
14785
 
      fi
14786
 
      ;;
14787
 
 
14788
 
    interix[3-9]*)
14789
 
      hardcode_direct_F77=no
14790
 
      hardcode_shlibpath_var_F77=no
14791
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14792
 
      export_dynamic_flag_spec_F77='${wl}-E'
14793
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14794
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
14795
 
      # default) and relocated if they conflict, which is a slow very memory
14796
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
14797
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14798
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14799
 
      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'
14800
 
      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'
14801
 
      ;;
14802
 
 
14803
 
    gnu* | linux* | k*bsd*-gnu)
14804
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14805
 
        tmp_addflag=
14806
 
        case $cc_basename,$host_cpu in
14807
 
        pgcc*)                          # Portland Group C compiler
14808
 
          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'
14809
 
          tmp_addflag=' $pic_flag'
14810
 
          ;;
14811
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
14812
 
          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'
14813
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
14814
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
14815
 
          tmp_addflag=' -i_dynamic' ;;
14816
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14817
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
14818
 
        ifc* | ifort*)                  # Intel Fortran compiler
14819
 
          tmp_addflag=' -nofor_main' ;;
14820
 
        esac
14821
 
        case `$CC -V 2>&1 | sed 5q` in
14822
 
        *Sun\ C*)                       # Sun C 5.9
14823
 
          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'
14824
 
          tmp_sharedflag='-G' ;;
14825
 
        *Sun\ F*)                       # Sun Fortran 8.3
14826
 
          tmp_sharedflag='-G' ;;
14827
 
        *)
14828
 
          tmp_sharedflag='-shared' ;;
14829
 
        esac
14830
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14831
 
 
14832
 
        if test $supports_anon_versioning = yes; then
14833
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14834
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14835
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14836
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14837
 
        fi
14838
 
        link_all_deplibs_F77=no
14839
 
      else
14840
 
        ld_shlibs_F77=no
14841
 
      fi
14842
 
      ;;
14843
 
 
14844
 
    netbsd* | netbsdelf*-gnu)
14845
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14846
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14847
 
        wlarc=
14848
 
      else
14849
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14850
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14851
 
      fi
14852
 
      ;;
14853
 
 
14854
 
    solaris*)
14855
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14856
 
        ld_shlibs_F77=no
14857
 
        cat <<EOF 1>&2
14858
 
 
14859
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14860
 
*** create shared libraries on Solaris systems.  Therefore, libtool
14861
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14862
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
14863
 
*** your PATH or compiler configuration so that the native linker is
14864
 
*** used, and then restart.
14865
 
 
14866
 
EOF
14867
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14868
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14869
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14870
 
      else
14871
 
        ld_shlibs_F77=no
14872
 
      fi
14873
 
      ;;
14874
 
 
14875
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14876
 
      case `$LD -v 2>&1` in
14877
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14878
 
        ld_shlibs_F77=no
14879
 
        cat <<_LT_EOF 1>&2
14880
 
 
14881
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14882
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
14883
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14884
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14885
 
*** your PATH or compiler configuration so that the native linker is
14886
 
*** used, and then restart.
14887
 
 
14888
 
_LT_EOF
14889
 
        ;;
14890
 
        *)
14891
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14892
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14893
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14894
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14895
 
          else
14896
 
            ld_shlibs_F77=no
14897
 
          fi
14898
 
        ;;
14899
 
      esac
14900
 
      ;;
14901
 
 
14902
 
    sunos4*)
14903
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14904
 
      wlarc=
14905
 
      hardcode_direct_F77=yes
14906
 
      hardcode_shlibpath_var_F77=no
14907
 
      ;;
14908
 
 
14909
 
    *)
14910
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14911
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14912
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14913
 
      else
14914
 
        ld_shlibs_F77=no
14915
 
      fi
14916
 
      ;;
14917
 
    esac
14918
 
 
14919
 
    if test "$ld_shlibs_F77" = no; then
14920
 
      runpath_var=
14921
 
      hardcode_libdir_flag_spec_F77=
14922
 
      export_dynamic_flag_spec_F77=
14923
 
      whole_archive_flag_spec_F77=
14924
 
    fi
14925
 
  else
14926
 
    # PORTME fill in a description of your system's linker (not GNU ld)
14927
 
    case $host_os in
14928
 
    aix3*)
14929
 
      allow_undefined_flag_F77=unsupported
14930
 
      always_export_symbols_F77=yes
14931
 
      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'
14932
 
      # Note: this linker hardcodes the directories in LIBPATH if there
14933
 
      # are no directories specified by -L.
14934
 
      hardcode_minus_L_F77=yes
14935
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14936
 
        # Neither direct hardcoding nor static linking is supported with a
14937
 
        # broken collect2.
14938
 
        hardcode_direct_F77=unsupported
14939
 
      fi
14940
 
      ;;
14941
 
 
14942
 
    aix[4-9]*)
14943
 
      if test "$host_cpu" = ia64; then
14944
 
        # On IA64, the linker does run time linking by default, so we don't
14945
 
        # have to do anything special.
14946
 
        aix_use_runtimelinking=no
14947
 
        exp_sym_flag='-Bexport'
14948
 
        no_entry_flag=""
14949
 
      else
14950
 
        # If we're using GNU nm, then we don't want the "-C" option.
14951
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
14952
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14953
 
          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'
14954
 
        else
14955
 
          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'
14956
 
        fi
14957
 
        aix_use_runtimelinking=no
14958
 
 
14959
 
        # Test if we are trying to use run time linking or normal
14960
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14961
 
        # need to do runtime linking.
14962
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14963
 
          for ld_flag in $LDFLAGS; do
14964
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14965
 
            aix_use_runtimelinking=yes
14966
 
            break
14967
 
          fi
14968
 
          done
14969
 
          ;;
14970
 
        esac
14971
 
 
14972
 
        exp_sym_flag='-bexport'
14973
 
        no_entry_flag='-bnoentry'
14974
 
      fi
14975
 
 
14976
 
      # When large executables or shared objects are built, AIX ld can
14977
 
      # have problems creating the table of contents.  If linking a library
14978
 
      # or program results in "error TOC overflow" add -mminimal-toc to
14979
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14980
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14981
 
 
14982
 
      archive_cmds_F77=''
14983
 
      hardcode_direct_F77=yes
14984
 
      hardcode_libdir_separator_F77=':'
14985
 
      link_all_deplibs_F77=yes
14986
 
 
14987
 
      if test "$GCC" = yes; then
14988
 
        case $host_os in aix4.[012]|aix4.[012].*)
14989
 
        # We only want to do this on AIX 4.2 and lower, the check
14990
 
        # below for broken collect2 doesn't work under 4.3+
14991
 
          collect2name=`${CC} -print-prog-name=collect2`
14992
 
          if test -f "$collect2name" && \
14993
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14994
 
          then
14995
 
          # We have reworked collect2
14996
 
          :
14997
 
          else
14998
 
          # We have old collect2
14999
 
          hardcode_direct_F77=unsupported
15000
 
          # It fails to find uninstalled libraries when the uninstalled
15001
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
15002
 
          # to unsupported forces relinking
15003
 
          hardcode_minus_L_F77=yes
15004
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
15005
 
          hardcode_libdir_separator_F77=
15006
 
          fi
15007
 
          ;;
15008
 
        esac
15009
 
        shared_flag='-shared'
15010
 
        if test "$aix_use_runtimelinking" = yes; then
15011
 
          shared_flag="$shared_flag "'${wl}-G'
15012
 
        fi
15013
 
      else
15014
 
        # not using gcc
15015
 
        if test "$host_cpu" = ia64; then
15016
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15017
 
        # chokes on -Wl,-G. The following line is correct:
15018
 
          shared_flag='-G'
15019
 
        else
15020
 
          if test "$aix_use_runtimelinking" = yes; then
15021
 
            shared_flag='${wl}-G'
15022
 
          else
15023
 
            shared_flag='${wl}-bM:SRE'
15024
 
          fi
15025
 
        fi
15026
 
      fi
15027
 
 
15028
 
      # It seems that -bexpall does not export symbols beginning with
15029
 
      # underscore (_), so it is better to generate a list of symbols to export.
15030
 
      always_export_symbols_F77=yes
15031
 
      if test "$aix_use_runtimelinking" = yes; then
15032
 
        # Warning - without using the other runtime loading flags (-brtl),
15033
 
        # -berok will link without error, but may produce a broken library.
15034
 
        allow_undefined_flag_F77='-berok'
15035
 
       # Determine the default libpath from the value encoded in an empty executable.
15036
 
       cat >conftest.$ac_ext <<_ACEOF
15037
 
      program main
15038
 
 
15039
 
      end
15040
 
_ACEOF
15041
 
rm -f conftest.$ac_objext conftest$ac_exeext
15042
 
if { (ac_try="$ac_link"
15043
 
case "(($ac_try" in
15044
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15045
 
  *) ac_try_echo=$ac_try;;
15046
 
esac
15047
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15048
 
  (eval "$ac_link") 2>conftest.er1
15049
 
  ac_status=$?
15050
 
  grep -v '^ *+' conftest.er1 >conftest.err
15051
 
  rm -f conftest.er1
15052
 
  cat conftest.err >&5
15053
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054
 
  (exit $ac_status); } && {
15055
 
         test -z "$ac_f77_werror_flag" ||
15056
 
         test ! -s conftest.err
15057
 
       } && test -s conftest$ac_exeext &&
15058
 
       $as_test_x conftest$ac_exeext; then
15059
 
 
15060
 
lt_aix_libpath_sed='
15061
 
    /Import File Strings/,/^$/ {
15062
 
        /^0/ {
15063
 
            s/^0  *\(.*\)$/\1/
15064
 
            p
15065
 
        }
15066
 
    }'
15067
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15068
 
# Check for a 64-bit object if we didn't find anything.
15069
 
if test -z "$aix_libpath"; then
15070
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15071
 
fi
15072
 
else
15073
 
  echo "$as_me: failed program was:" >&5
15074
 
sed 's/^/| /' conftest.$ac_ext >&5
15075
 
 
15076
 
 
15077
 
fi
15078
 
 
15079
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15080
 
      conftest$ac_exeext conftest.$ac_ext
15081
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15082
 
 
15083
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15084
 
        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"
15085
 
       else
15086
 
        if test "$host_cpu" = ia64; then
15087
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15088
 
          allow_undefined_flag_F77="-z nodefs"
15089
 
          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"
15090
 
        else
15091
 
         # Determine the default libpath from the value encoded in an empty executable.
15092
 
         cat >conftest.$ac_ext <<_ACEOF
15093
 
      program main
15094
 
 
15095
 
      end
15096
 
_ACEOF
15097
 
rm -f conftest.$ac_objext conftest$ac_exeext
15098
 
if { (ac_try="$ac_link"
15099
 
case "(($ac_try" in
15100
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15101
 
  *) ac_try_echo=$ac_try;;
15102
 
esac
15103
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15104
 
  (eval "$ac_link") 2>conftest.er1
15105
 
  ac_status=$?
15106
 
  grep -v '^ *+' conftest.er1 >conftest.err
15107
 
  rm -f conftest.er1
15108
 
  cat conftest.err >&5
15109
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15110
 
  (exit $ac_status); } && {
15111
 
         test -z "$ac_f77_werror_flag" ||
15112
 
         test ! -s conftest.err
15113
 
       } && test -s conftest$ac_exeext &&
15114
 
       $as_test_x conftest$ac_exeext; then
15115
 
 
15116
 
lt_aix_libpath_sed='
15117
 
    /Import File Strings/,/^$/ {
15118
 
        /^0/ {
15119
 
            s/^0  *\(.*\)$/\1/
15120
 
            p
15121
 
        }
15122
 
    }'
15123
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15124
 
# Check for a 64-bit object if we didn't find anything.
15125
 
if test -z "$aix_libpath"; then
15126
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15127
 
fi
15128
 
else
15129
 
  echo "$as_me: failed program was:" >&5
15130
 
sed 's/^/| /' conftest.$ac_ext >&5
15131
 
 
15132
 
 
15133
 
fi
15134
 
 
15135
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15136
 
      conftest$ac_exeext conftest.$ac_ext
15137
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15138
 
 
15139
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15140
 
          # Warning - without using the other run time loading flags,
15141
 
          # -berok will link without error, but may produce a broken library.
15142
 
          no_undefined_flag_F77=' ${wl}-bernotok'
15143
 
          allow_undefined_flag_F77=' ${wl}-berok'
15144
 
          # Exported symbols can be pulled into shared objects from archives
15145
 
          whole_archive_flag_spec_F77='$convenience'
15146
 
          archive_cmds_need_lc_F77=yes
15147
 
          # This is similar to how AIX traditionally builds its shared libraries.
15148
 
          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'
15149
 
        fi
15150
 
      fi
15151
 
      ;;
15152
 
 
15153
 
    amigaos*)
15154
 
      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)'
15155
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15156
 
      hardcode_minus_L_F77=yes
15157
 
      # see comment about different semantics on the GNU ld section
15158
 
      ld_shlibs_F77=no
15159
 
      ;;
15160
 
 
15161
 
    bsdi[45]*)
15162
 
      export_dynamic_flag_spec_F77=-rdynamic
15163
 
      ;;
15164
 
 
15165
 
    cygwin* | mingw* | pw32*)
15166
 
      # When not using gcc, we currently assume that we are using
15167
 
      # Microsoft Visual C++.
15168
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
15169
 
      # no search path for DLLs.
15170
 
      hardcode_libdir_flag_spec_F77=' '
15171
 
      allow_undefined_flag_F77=unsupported
15172
 
      # Tell ltmain to make .lib files, not .a files.
15173
 
      libext=lib
15174
 
      # Tell ltmain to make .dll files, not .so files.
15175
 
      shrext_cmds=".dll"
15176
 
      # FIXME: Setting linknames here is a bad hack.
15177
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15178
 
      # The linker will automatically build a .lib file if we build a DLL.
15179
 
      old_archive_From_new_cmds_F77='true'
15180
 
      # FIXME: Should let the user specify the lib program.
15181
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15182
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15183
 
      enable_shared_with_static_runtimes_F77=yes
15184
 
      ;;
15185
 
 
15186
 
    darwin* | rhapsody*)
15187
 
      case $host_os in
15188
 
        rhapsody* | darwin1.[012])
15189
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15190
 
         ;;
15191
 
       *) # Darwin 1.3 on
15192
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15193
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15194
 
         else
15195
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
15196
 
             10.[012])
15197
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15198
 
               ;;
15199
 
             10.*)
15200
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15201
 
               ;;
15202
 
           esac
15203
 
         fi
15204
 
         ;;
15205
 
      esac
15206
 
      archive_cmds_need_lc_F77=no
15207
 
      hardcode_direct_F77=no
15208
 
      hardcode_automatic_F77=yes
15209
 
      hardcode_shlibpath_var_F77=unsupported
15210
 
      whole_archive_flag_spec_F77=''
15211
 
      link_all_deplibs_F77=yes
15212
 
    if test "$GCC" = yes ; then
15213
 
        output_verbose_link_cmd='echo'
15214
 
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15215
 
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15216
 
        archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15217
 
        module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15218
 
    else
15219
 
      case $cc_basename in
15220
 
        xlc*)
15221
 
         output_verbose_link_cmd='echo'
15222
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15223
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15224
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15225
 
         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}'
15226
 
          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}'
15227
 
          ;;
15228
 
       *)
15229
 
         ld_shlibs_F77=no
15230
 
          ;;
15231
 
      esac
15232
 
    fi
15233
 
      ;;
15234
 
 
15235
 
    dgux*)
15236
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15237
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15238
 
      hardcode_shlibpath_var_F77=no
15239
 
      ;;
15240
 
 
15241
 
    freebsd1*)
15242
 
      ld_shlibs_F77=no
15243
 
      ;;
15244
 
 
15245
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15246
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
15247
 
    # does not break anything, and helps significantly (at the cost of a little
15248
 
    # extra space).
15249
 
    freebsd2.2*)
15250
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15251
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15252
 
      hardcode_direct_F77=yes
15253
 
      hardcode_shlibpath_var_F77=no
15254
 
      ;;
15255
 
 
15256
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15257
 
    freebsd2*)
15258
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15259
 
      hardcode_direct_F77=yes
15260
 
      hardcode_minus_L_F77=yes
15261
 
      hardcode_shlibpath_var_F77=no
15262
 
      ;;
15263
 
 
15264
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15265
 
    freebsd* | dragonfly*)
15266
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15267
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15268
 
      hardcode_direct_F77=yes
15269
 
      hardcode_shlibpath_var_F77=no
15270
 
      ;;
15271
 
 
15272
 
    hpux9*)
15273
 
      if test "$GCC" = yes; then
15274
 
        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'
15275
 
      else
15276
 
        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'
15277
 
      fi
15278
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15279
 
      hardcode_libdir_separator_F77=:
15280
 
      hardcode_direct_F77=yes
15281
 
 
15282
 
      # hardcode_minus_L: Not really in the search PATH,
15283
 
      # but as the default location of the library.
15284
 
      hardcode_minus_L_F77=yes
15285
 
      export_dynamic_flag_spec_F77='${wl}-E'
15286
 
      ;;
15287
 
 
15288
 
    hpux10*)
15289
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15290
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15291
 
      else
15292
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15293
 
      fi
15294
 
      if test "$with_gnu_ld" = no; then
15295
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15296
 
        hardcode_libdir_separator_F77=:
15297
 
 
15298
 
        hardcode_direct_F77=yes
15299
 
        export_dynamic_flag_spec_F77='${wl}-E'
15300
 
 
15301
 
        # hardcode_minus_L: Not really in the search PATH,
15302
 
        # but as the default location of the library.
15303
 
        hardcode_minus_L_F77=yes
15304
 
      fi
15305
 
      ;;
15306
 
 
15307
 
    hpux11*)
15308
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15309
 
        case $host_cpu in
15310
 
        hppa*64*)
15311
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15312
 
          ;;
15313
 
        ia64*)
15314
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15315
 
          ;;
15316
 
        *)
15317
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15318
 
          ;;
15319
 
        esac
15320
 
      else
15321
 
        case $host_cpu in
15322
 
        hppa*64*)
15323
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15324
 
          ;;
15325
 
        ia64*)
15326
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15327
 
          ;;
15328
 
        *)
15329
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15330
 
          ;;
15331
 
        esac
15332
 
      fi
15333
 
      if test "$with_gnu_ld" = no; then
15334
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15335
 
        hardcode_libdir_separator_F77=:
15336
 
 
15337
 
        case $host_cpu in
15338
 
        hppa*64*|ia64*)
15339
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15340
 
          hardcode_direct_F77=no
15341
 
          hardcode_shlibpath_var_F77=no
15342
 
          ;;
15343
 
        *)
15344
 
          hardcode_direct_F77=yes
15345
 
          export_dynamic_flag_spec_F77='${wl}-E'
15346
 
 
15347
 
          # hardcode_minus_L: Not really in the search PATH,
15348
 
          # but as the default location of the library.
15349
 
          hardcode_minus_L_F77=yes
15350
 
          ;;
15351
 
        esac
15352
 
      fi
15353
 
      ;;
15354
 
 
15355
 
    irix5* | irix6* | nonstopux*)
15356
 
      if test "$GCC" = yes; then
15357
 
        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'
15358
 
      else
15359
 
        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'
15360
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15361
 
      fi
15362
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15363
 
      hardcode_libdir_separator_F77=:
15364
 
      link_all_deplibs_F77=yes
15365
 
      ;;
15366
 
 
15367
 
    netbsd* | netbsdelf*-gnu)
15368
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15369
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15370
 
      else
15371
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15372
 
      fi
15373
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15374
 
      hardcode_direct_F77=yes
15375
 
      hardcode_shlibpath_var_F77=no
15376
 
      ;;
15377
 
 
15378
 
    newsos6)
15379
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15380
 
      hardcode_direct_F77=yes
15381
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15382
 
      hardcode_libdir_separator_F77=:
15383
 
      hardcode_shlibpath_var_F77=no
15384
 
      ;;
15385
 
 
15386
 
    openbsd*)
15387
 
      if test -f /usr/libexec/ld.so; then
15388
 
        hardcode_direct_F77=yes
15389
 
        hardcode_shlibpath_var_F77=no
15390
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15391
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15392
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15393
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15394
 
          export_dynamic_flag_spec_F77='${wl}-E'
15395
 
        else
15396
 
          case $host_os in
15397
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15398
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15399
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
15400
 
             ;;
15401
 
           *)
15402
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15403
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15404
 
             ;;
15405
 
          esac
15406
 
        fi
15407
 
      else
15408
 
        ld_shlibs_F77=no
15409
 
      fi
15410
 
      ;;
15411
 
 
15412
 
    os2*)
15413
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15414
 
      hardcode_minus_L_F77=yes
15415
 
      allow_undefined_flag_F77=unsupported
15416
 
      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'
15417
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15418
 
      ;;
15419
 
 
15420
 
    osf3*)
15421
 
      if test "$GCC" = yes; then
15422
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15423
 
        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'
15424
 
      else
15425
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15426
 
        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'
15427
 
      fi
15428
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15429
 
      hardcode_libdir_separator_F77=:
15430
 
      ;;
15431
 
 
15432
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15433
 
      if test "$GCC" = yes; then
15434
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15435
 
        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'
15436
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15437
 
      else
15438
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15439
 
        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'
15440
 
        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~
15441
 
        $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'
15442
 
 
15443
 
        # Both c and cxx compiler support -rpath directly
15444
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
15445
 
      fi
15446
 
      hardcode_libdir_separator_F77=:
15447
 
      ;;
15448
 
 
15449
 
    solaris*)
15450
 
      no_undefined_flag_F77=' -z text'
15451
 
      if test "$GCC" = yes; then
15452
 
        wlarc='${wl}'
15453
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15454
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15455
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15456
 
      else
15457
 
        wlarc=''
15458
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15459
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15460
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15461
 
      fi
15462
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15463
 
      hardcode_shlibpath_var_F77=no
15464
 
      case $host_os in
15465
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15466
 
      *)
15467
 
        # The compiler driver will combine and reorder linker options,
15468
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
15469
 
        # but is careful enough not to reorder.
15470
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
15471
 
        if test "$GCC" = yes; then
15472
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15473
 
        else
15474
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
15475
 
        fi
15476
 
        ;;
15477
 
      esac
15478
 
      link_all_deplibs_F77=yes
15479
 
      ;;
15480
 
 
15481
 
    sunos4*)
15482
 
      if test "x$host_vendor" = xsequent; then
15483
 
        # Use $CC to link under sequent, because it throws in some extra .o
15484
 
        # files that make .init and .fini sections work.
15485
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15486
 
      else
15487
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15488
 
      fi
15489
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15490
 
      hardcode_direct_F77=yes
15491
 
      hardcode_minus_L_F77=yes
15492
 
      hardcode_shlibpath_var_F77=no
15493
 
      ;;
15494
 
 
15495
 
    sysv4)
15496
 
      case $host_vendor in
15497
 
        sni)
15498
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15499
 
          hardcode_direct_F77=yes # is this really true???
15500
 
        ;;
15501
 
        siemens)
15502
 
          ## LD is ld it makes a PLAMLIB
15503
 
          ## CC just makes a GrossModule.
15504
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15505
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
15506
 
          hardcode_direct_F77=no
15507
 
        ;;
15508
 
        motorola)
15509
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15510
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15511
 
        ;;
15512
 
      esac
15513
 
      runpath_var='LD_RUN_PATH'
15514
 
      hardcode_shlibpath_var_F77=no
15515
 
      ;;
15516
 
 
15517
 
    sysv4.3*)
15518
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15519
 
      hardcode_shlibpath_var_F77=no
15520
 
      export_dynamic_flag_spec_F77='-Bexport'
15521
 
      ;;
15522
 
 
15523
 
    sysv4*MP*)
15524
 
      if test -d /usr/nec; then
15525
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15526
 
        hardcode_shlibpath_var_F77=no
15527
 
        runpath_var=LD_RUN_PATH
15528
 
        hardcode_runpath_var=yes
15529
 
        ld_shlibs_F77=yes
15530
 
      fi
15531
 
      ;;
15532
 
 
15533
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15534
 
      no_undefined_flag_F77='${wl}-z,text'
15535
 
      archive_cmds_need_lc_F77=no
15536
 
      hardcode_shlibpath_var_F77=no
15537
 
      runpath_var='LD_RUN_PATH'
15538
 
 
15539
 
      if test "$GCC" = yes; then
15540
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15541
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15542
 
      else
15543
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15544
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15545
 
      fi
15546
 
      ;;
15547
 
 
15548
 
    sysv5* | sco3.2v5* | sco5v6*)
15549
 
      # Note: We can NOT use -z defs as we might desire, because we do not
15550
 
      # link with -lc, and that would cause any symbols used from libc to
15551
 
      # always be unresolved, which means just about no library would
15552
 
      # ever link correctly.  If we're not using GNU ld we use -z text
15553
 
      # though, which does catch some bad symbols but isn't as heavy-handed
15554
 
      # as -z defs.
15555
 
      no_undefined_flag_F77='${wl}-z,text'
15556
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
15557
 
      archive_cmds_need_lc_F77=no
15558
 
      hardcode_shlibpath_var_F77=no
15559
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15560
 
      hardcode_libdir_separator_F77=':'
15561
 
      link_all_deplibs_F77=yes
15562
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15563
 
      runpath_var='LD_RUN_PATH'
15564
 
 
15565
 
      if test "$GCC" = yes; then
15566
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15567
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15568
 
      else
15569
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15570
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15571
 
      fi
15572
 
      ;;
15573
 
 
15574
 
    uts4*)
15575
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15576
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15577
 
      hardcode_shlibpath_var_F77=no
15578
 
      ;;
15579
 
 
15580
 
    *)
15581
 
      ld_shlibs_F77=no
15582
 
      ;;
15583
 
    esac
15584
 
  fi
15585
 
 
15586
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15587
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15588
 
test "$ld_shlibs_F77" = no && can_build_shared=no
15589
 
 
15590
 
#
15591
 
# Do we need to explicitly link libc?
15592
 
#
15593
 
case "x$archive_cmds_need_lc_F77" in
15594
 
x|xyes)
15595
 
  # Assume -lc should be added
15596
 
  archive_cmds_need_lc_F77=yes
15597
 
 
15598
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15599
 
    case $archive_cmds_F77 in
15600
 
    *'~'*)
15601
 
      # FIXME: we may have to deal with multi-command sequences.
15602
 
      ;;
15603
 
    '$CC '*)
15604
 
      # Test whether the compiler implicitly links with -lc since on some
15605
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15606
 
      # to ld, don't add -lc before -lgcc.
15607
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15608
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15609
 
      $rm conftest*
15610
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15611
 
 
15612
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15613
 
  (eval $ac_compile) 2>&5
15614
 
  ac_status=$?
15615
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616
 
  (exit $ac_status); } 2>conftest.err; then
15617
 
        soname=conftest
15618
 
        lib=conftest
15619
 
        libobjs=conftest.$ac_objext
15620
 
        deplibs=
15621
 
        wl=$lt_prog_compiler_wl_F77
15622
 
        pic_flag=$lt_prog_compiler_pic_F77
15623
 
        compiler_flags=-v
15624
 
        linker_flags=-v
15625
 
        verstring=
15626
 
        output_objdir=.
15627
 
        libname=conftest
15628
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15629
 
        allow_undefined_flag_F77=
15630
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15631
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15632
 
  ac_status=$?
15633
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634
 
  (exit $ac_status); }
15635
 
        then
15636
 
          archive_cmds_need_lc_F77=no
15637
 
        else
15638
 
          archive_cmds_need_lc_F77=yes
15639
 
        fi
15640
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15641
 
      else
15642
 
        cat conftest.err 1>&5
15643
 
      fi
15644
 
      $rm conftest*
15645
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15646
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15647
 
      ;;
15648
 
    esac
15649
 
  fi
15650
 
  ;;
15651
 
esac
15652
 
 
15653
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15654
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15655
 
library_names_spec=
15656
 
libname_spec='lib$name'
15657
 
soname_spec=
15658
 
shrext_cmds=".so"
15659
 
postinstall_cmds=
15660
 
postuninstall_cmds=
15661
 
finish_cmds=
15662
 
finish_eval=
15663
 
shlibpath_var=
15664
 
shlibpath_overrides_runpath=unknown
15665
 
version_type=none
15666
 
dynamic_linker="$host_os ld.so"
15667
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15668
 
 
15669
 
need_lib_prefix=unknown
15670
 
hardcode_into_libs=no
15671
 
 
15672
 
# when you set need_version to no, make sure it does not cause -set_version
15673
 
# flags to be left without arguments
15674
 
need_version=unknown
15675
 
 
15676
 
case $host_os in
15677
 
aix3*)
15678
 
  version_type=linux
15679
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15680
 
  shlibpath_var=LIBPATH
15681
 
 
15682
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15683
 
  soname_spec='${libname}${release}${shared_ext}$major'
15684
 
  ;;
15685
 
 
15686
 
aix[4-9]*)
15687
 
  version_type=linux
15688
 
  need_lib_prefix=no
15689
 
  need_version=no
15690
 
  hardcode_into_libs=yes
15691
 
  if test "$host_cpu" = ia64; then
15692
 
    # AIX 5 supports IA64
15693
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15694
 
    shlibpath_var=LD_LIBRARY_PATH
15695
 
  else
15696
 
    # With GCC up to 2.95.x, collect2 would create an import file
15697
 
    # for dependence libraries.  The import file would start with
15698
 
    # the line `#! .'.  This would cause the generated library to
15699
 
    # depend on `.', always an invalid library.  This was fixed in
15700
 
    # development snapshots of GCC prior to 3.0.
15701
 
    case $host_os in
15702
 
      aix4 | aix4.[01] | aix4.[01].*)
15703
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15704
 
           echo ' yes '
15705
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15706
 
        :
15707
 
      else
15708
 
        can_build_shared=no
15709
 
      fi
15710
 
      ;;
15711
 
    esac
15712
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15713
 
    # soname into executable. Probably we can add versioning support to
15714
 
    # collect2, so additional links can be useful in future.
15715
 
    if test "$aix_use_runtimelinking" = yes; then
15716
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15717
 
      # instead of lib<name>.a to let people know that these are not
15718
 
      # typical AIX shared libraries.
15719
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15720
 
    else
15721
 
      # We preserve .a as extension for shared libraries through AIX4.2
15722
 
      # and later when we are not doing run time linking.
15723
 
      library_names_spec='${libname}${release}.a $libname.a'
15724
 
      soname_spec='${libname}${release}${shared_ext}$major'
15725
 
    fi
15726
 
    shlibpath_var=LIBPATH
15727
 
  fi
15728
 
  ;;
15729
 
 
15730
 
amigaos*)
15731
 
  library_names_spec='$libname.ixlibrary $libname.a'
15732
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15733
 
  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'
15734
 
  ;;
15735
 
 
15736
 
beos*)
15737
 
  library_names_spec='${libname}${shared_ext}'
15738
 
  dynamic_linker="$host_os ld.so"
15739
 
  shlibpath_var=LIBRARY_PATH
15740
 
  ;;
15741
 
 
15742
 
bsdi[45]*)
15743
 
  version_type=linux
15744
 
  need_version=no
15745
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15746
 
  soname_spec='${libname}${release}${shared_ext}$major'
15747
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15748
 
  shlibpath_var=LD_LIBRARY_PATH
15749
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15750
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15751
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15752
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15753
 
  # libtool to hard-code these into programs
15754
 
  ;;
15755
 
 
15756
 
cygwin* | mingw* | pw32*)
15757
 
  version_type=windows
15758
 
  shrext_cmds=".dll"
15759
 
  need_version=no
15760
 
  need_lib_prefix=no
15761
 
 
15762
 
  case $GCC,$host_os in
15763
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15764
 
    library_names_spec='$libname.dll.a'
15765
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15766
 
    postinstall_cmds='base_file=`basename \${file}`~
15767
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15768
 
      dldir=$destdir/`dirname \$dlpath`~
15769
 
      test -d \$dldir || mkdir -p \$dldir~
15770
 
      $install_prog $dir/$dlname \$dldir/$dlname~
15771
 
      chmod a+x \$dldir/$dlname'
15772
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15773
 
      dlpath=$dir/\$dldll~
15774
 
       $rm \$dlpath'
15775
 
    shlibpath_overrides_runpath=yes
15776
 
 
15777
 
    case $host_os in
15778
 
    cygwin*)
15779
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15780
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15781
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15782
 
      ;;
15783
 
    mingw*)
15784
 
      # MinGW DLLs use traditional 'lib' prefix
15785
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15786
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15787
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15788
 
        # It is most probably a Windows format PATH printed by
15789
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15790
 
        # path with ; separators, and with drive letters. We can handle the
15791
 
        # drive letters (cygwin fileutils understands them), so leave them,
15792
 
        # especially as we might pass files found there to a mingw objdump,
15793
 
        # which wouldn't understand a cygwinified path. Ahh.
15794
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15795
 
      else
15796
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15797
 
      fi
15798
 
      ;;
15799
 
    pw32*)
15800
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15801
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15802
 
      ;;
15803
 
    esac
15804
 
    ;;
15805
 
 
15806
 
  *)
15807
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15808
 
    ;;
15809
 
  esac
15810
 
  dynamic_linker='Win32 ld.exe'
15811
 
  # FIXME: first we should search . and the directory the executable is in
15812
 
  shlibpath_var=PATH
15813
 
  ;;
15814
 
 
15815
 
darwin* | rhapsody*)
15816
 
  dynamic_linker="$host_os dyld"
15817
 
  version_type=darwin
15818
 
  need_lib_prefix=no
15819
 
  need_version=no
15820
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15821
 
  soname_spec='${libname}${release}${major}$shared_ext'
15822
 
  shlibpath_overrides_runpath=yes
15823
 
  shlibpath_var=DYLD_LIBRARY_PATH
15824
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15825
 
 
15826
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15827
 
  ;;
15828
 
 
15829
 
dgux*)
15830
 
  version_type=linux
15831
 
  need_lib_prefix=no
15832
 
  need_version=no
15833
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15834
 
  soname_spec='${libname}${release}${shared_ext}$major'
15835
 
  shlibpath_var=LD_LIBRARY_PATH
15836
 
  ;;
15837
 
 
15838
 
freebsd1*)
15839
 
  dynamic_linker=no
15840
 
  ;;
15841
 
 
15842
 
freebsd* | dragonfly*)
15843
 
  # DragonFly does not have aout.  When/if they implement a new
15844
 
  # versioning mechanism, adjust this.
15845
 
  if test -x /usr/bin/objformat; then
15846
 
    objformat=`/usr/bin/objformat`
15847
 
  else
15848
 
    case $host_os in
15849
 
    freebsd[123]*) objformat=aout ;;
15850
 
    *) objformat=elf ;;
15851
 
    esac
15852
 
  fi
15853
 
  version_type=freebsd-$objformat
15854
 
  case $version_type in
15855
 
    freebsd-elf*)
15856
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15857
 
      need_version=no
15858
 
      need_lib_prefix=no
15859
 
      ;;
15860
 
    freebsd-*)
15861
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15862
 
      need_version=yes
15863
 
      ;;
15864
 
  esac
15865
 
  shlibpath_var=LD_LIBRARY_PATH
15866
 
  case $host_os in
15867
 
  freebsd2*)
15868
 
    shlibpath_overrides_runpath=yes
15869
 
    ;;
15870
 
  freebsd3.[01]* | freebsdelf3.[01]*)
15871
 
    shlibpath_overrides_runpath=yes
15872
 
    hardcode_into_libs=yes
15873
 
    ;;
15874
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15875
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15876
 
    shlibpath_overrides_runpath=no
15877
 
    hardcode_into_libs=yes
15878
 
    ;;
15879
 
  *) # from 4.6 on, and DragonFly
15880
 
    shlibpath_overrides_runpath=yes
15881
 
    hardcode_into_libs=yes
15882
 
    ;;
15883
 
  esac
15884
 
  ;;
15885
 
 
15886
 
gnu*)
15887
 
  version_type=linux
15888
 
  need_lib_prefix=no
15889
 
  need_version=no
15890
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15891
 
  soname_spec='${libname}${release}${shared_ext}$major'
15892
 
  shlibpath_var=LD_LIBRARY_PATH
15893
 
  hardcode_into_libs=yes
15894
 
  ;;
15895
 
 
15896
 
hpux9* | hpux10* | hpux11*)
15897
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15898
 
  # link against other versions.
15899
 
  version_type=sunos
15900
 
  need_lib_prefix=no
15901
 
  need_version=no
15902
 
  case $host_cpu in
15903
 
  ia64*)
15904
 
    shrext_cmds='.so'
15905
 
    hardcode_into_libs=yes
15906
 
    dynamic_linker="$host_os dld.so"
15907
 
    shlibpath_var=LD_LIBRARY_PATH
15908
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15909
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15910
 
    soname_spec='${libname}${release}${shared_ext}$major'
15911
 
    if test "X$HPUX_IA64_MODE" = X32; then
15912
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15913
 
    else
15914
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15915
 
    fi
15916
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15917
 
    ;;
15918
 
   hppa*64*)
15919
 
     shrext_cmds='.sl'
15920
 
     hardcode_into_libs=yes
15921
 
     dynamic_linker="$host_os dld.sl"
15922
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15923
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15924
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15925
 
     soname_spec='${libname}${release}${shared_ext}$major'
15926
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15927
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15928
 
     ;;
15929
 
   *)
15930
 
    shrext_cmds='.sl'
15931
 
    dynamic_linker="$host_os dld.sl"
15932
 
    shlibpath_var=SHLIB_PATH
15933
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15934
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15935
 
    soname_spec='${libname}${release}${shared_ext}$major'
15936
 
    ;;
15937
 
  esac
15938
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15939
 
  postinstall_cmds='chmod 555 $lib'
15940
 
  ;;
15941
 
 
15942
 
interix[3-9]*)
15943
 
  version_type=linux
15944
 
  need_lib_prefix=no
15945
 
  need_version=no
15946
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15947
 
  soname_spec='${libname}${release}${shared_ext}$major'
15948
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15949
 
  shlibpath_var=LD_LIBRARY_PATH
15950
 
  shlibpath_overrides_runpath=no
15951
 
  hardcode_into_libs=yes
15952
 
  ;;
15953
 
 
15954
 
irix5* | irix6* | nonstopux*)
15955
 
  case $host_os in
15956
 
    nonstopux*) version_type=nonstopux ;;
15957
 
    *)
15958
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15959
 
                version_type=linux
15960
 
        else
15961
 
                version_type=irix
15962
 
        fi ;;
15963
 
  esac
15964
 
  need_lib_prefix=no
15965
 
  need_version=no
15966
 
  soname_spec='${libname}${release}${shared_ext}$major'
15967
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15968
 
  case $host_os in
15969
 
  irix5* | nonstopux*)
15970
 
    libsuff= shlibsuff=
15971
 
    ;;
15972
 
  *)
15973
 
    case $LD in # libtool.m4 will add one of these switches to LD
15974
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15975
 
      libsuff= shlibsuff= libmagic=32-bit;;
15976
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15977
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15978
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15979
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15980
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15981
 
    esac
15982
 
    ;;
15983
 
  esac
15984
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15985
 
  shlibpath_overrides_runpath=no
15986
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15987
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15988
 
  hardcode_into_libs=yes
15989
 
  ;;
15990
 
 
15991
 
# No shared lib support for Linux oldld, aout, or coff.
15992
 
linux*oldld* | linux*aout* | linux*coff*)
15993
 
  dynamic_linker=no
15994
 
  ;;
15995
 
 
15996
 
# This must be Linux ELF.
15997
 
linux* | k*bsd*-gnu)
15998
 
  version_type=linux
15999
 
  need_lib_prefix=no
16000
 
  need_version=no
16001
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16002
 
  soname_spec='${libname}${release}${shared_ext}$major'
16003
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16004
 
  shlibpath_var=LD_LIBRARY_PATH
16005
 
  shlibpath_overrides_runpath=no
16006
 
  # This implies no fast_install, which is unacceptable.
16007
 
  # Some rework will be needed to allow for fast_install
16008
 
  # before this can be enabled.
16009
 
  hardcode_into_libs=yes
16010
 
 
16011
 
  # Append ld.so.conf contents to the search path
16012
 
  if test -f /etc/ld.so.conf; then
16013
 
    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' ' '`
16014
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16015
 
  fi
16016
 
 
16017
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
16018
 
  # powerpc, because MkLinux only supported shared libraries with the
16019
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
16020
 
  # most powerpc-linux boxes support dynamic linking these days and
16021
 
  # people can always --disable-shared, the test was removed, and we
16022
 
  # assume the GNU/Linux dynamic linker is in use.
16023
 
  dynamic_linker='GNU/Linux ld.so'
16024
 
  ;;
16025
 
 
16026
 
netbsdelf*-gnu)
16027
 
  version_type=linux
16028
 
  need_lib_prefix=no
16029
 
  need_version=no
16030
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16031
 
  soname_spec='${libname}${release}${shared_ext}$major'
16032
 
  shlibpath_var=LD_LIBRARY_PATH
16033
 
  shlibpath_overrides_runpath=no
16034
 
  hardcode_into_libs=yes
16035
 
  dynamic_linker='NetBSD ld.elf_so'
16036
 
  ;;
16037
 
 
16038
 
netbsd*)
16039
 
  version_type=sunos
16040
 
  need_lib_prefix=no
16041
 
  need_version=no
16042
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16043
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16044
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16045
 
    dynamic_linker='NetBSD (a.out) ld.so'
16046
 
  else
16047
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16048
 
    soname_spec='${libname}${release}${shared_ext}$major'
16049
 
    dynamic_linker='NetBSD ld.elf_so'
16050
 
  fi
16051
 
  shlibpath_var=LD_LIBRARY_PATH
16052
 
  shlibpath_overrides_runpath=yes
16053
 
  hardcode_into_libs=yes
16054
 
  ;;
16055
 
 
16056
 
newsos6)
16057
 
  version_type=linux
16058
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16059
 
  shlibpath_var=LD_LIBRARY_PATH
16060
 
  shlibpath_overrides_runpath=yes
16061
 
  ;;
16062
 
 
16063
 
nto-qnx*)
16064
 
  version_type=linux
16065
 
  need_lib_prefix=no
16066
 
  need_version=no
16067
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16068
 
  soname_spec='${libname}${release}${shared_ext}$major'
16069
 
  shlibpath_var=LD_LIBRARY_PATH
16070
 
  shlibpath_overrides_runpath=yes
16071
 
  ;;
16072
 
 
16073
 
openbsd*)
16074
 
  version_type=sunos
16075
 
  sys_lib_dlsearch_path_spec="/usr/lib"
16076
 
  need_lib_prefix=no
16077
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16078
 
  case $host_os in
16079
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16080
 
    *)                         need_version=no  ;;
16081
 
  esac
16082
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16083
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16084
 
  shlibpath_var=LD_LIBRARY_PATH
16085
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16086
 
    case $host_os in
16087
 
      openbsd2.[89] | openbsd2.[89].*)
16088
 
        shlibpath_overrides_runpath=no
16089
 
        ;;
16090
 
      *)
16091
 
        shlibpath_overrides_runpath=yes
16092
 
        ;;
16093
 
      esac
16094
 
  else
16095
 
    shlibpath_overrides_runpath=yes
16096
 
  fi
16097
 
  ;;
16098
 
 
16099
 
os2*)
16100
 
  libname_spec='$name'
16101
 
  shrext_cmds=".dll"
16102
 
  need_lib_prefix=no
16103
 
  library_names_spec='$libname${shared_ext} $libname.a'
16104
 
  dynamic_linker='OS/2 ld.exe'
16105
 
  shlibpath_var=LIBPATH
16106
 
  ;;
16107
 
 
16108
 
osf3* | osf4* | osf5*)
16109
 
  version_type=osf
16110
 
  need_lib_prefix=no
16111
 
  need_version=no
16112
 
  soname_spec='${libname}${release}${shared_ext}$major'
16113
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16114
 
  shlibpath_var=LD_LIBRARY_PATH
16115
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16116
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16117
 
  ;;
16118
 
 
16119
 
rdos*)
16120
 
  dynamic_linker=no
16121
 
  ;;
16122
 
 
16123
 
solaris*)
16124
 
  version_type=linux
16125
 
  need_lib_prefix=no
16126
 
  need_version=no
16127
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16128
 
  soname_spec='${libname}${release}${shared_ext}$major'
16129
 
  shlibpath_var=LD_LIBRARY_PATH
16130
 
  shlibpath_overrides_runpath=yes
16131
 
  hardcode_into_libs=yes
16132
 
  # ldd complains unless libraries are executable
16133
 
  postinstall_cmds='chmod +x $lib'
16134
 
  ;;
16135
 
 
16136
 
sunos4*)
16137
 
  version_type=sunos
16138
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16139
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16140
 
  shlibpath_var=LD_LIBRARY_PATH
16141
 
  shlibpath_overrides_runpath=yes
16142
 
  if test "$with_gnu_ld" = yes; then
16143
 
    need_lib_prefix=no
16144
 
  fi
16145
 
  need_version=yes
16146
 
  ;;
16147
 
 
16148
 
sysv4 | sysv4.3*)
16149
 
  version_type=linux
16150
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16151
 
  soname_spec='${libname}${release}${shared_ext}$major'
16152
 
  shlibpath_var=LD_LIBRARY_PATH
16153
 
  case $host_vendor in
16154
 
    sni)
16155
 
      shlibpath_overrides_runpath=no
16156
 
      need_lib_prefix=no
16157
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
16158
 
      runpath_var=LD_RUN_PATH
16159
 
      ;;
16160
 
    siemens)
16161
 
      need_lib_prefix=no
16162
 
      ;;
16163
 
    motorola)
16164
 
      need_lib_prefix=no
16165
 
      need_version=no
16166
 
      shlibpath_overrides_runpath=no
16167
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16168
 
      ;;
16169
 
  esac
16170
 
  ;;
16171
 
 
16172
 
sysv4*MP*)
16173
 
  if test -d /usr/nec ;then
16174
 
    version_type=linux
16175
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16176
 
    soname_spec='$libname${shared_ext}.$major'
16177
 
    shlibpath_var=LD_LIBRARY_PATH
16178
 
  fi
16179
 
  ;;
16180
 
 
16181
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16182
 
  version_type=freebsd-elf
16183
 
  need_lib_prefix=no
16184
 
  need_version=no
16185
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16186
 
  soname_spec='${libname}${release}${shared_ext}$major'
16187
 
  shlibpath_var=LD_LIBRARY_PATH
16188
 
  hardcode_into_libs=yes
16189
 
  if test "$with_gnu_ld" = yes; then
16190
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16191
 
    shlibpath_overrides_runpath=no
16192
 
  else
16193
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16194
 
    shlibpath_overrides_runpath=yes
16195
 
    case $host_os in
16196
 
      sco3.2v5*)
16197
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16198
 
        ;;
16199
 
    esac
16200
 
  fi
16201
 
  sys_lib_dlsearch_path_spec='/usr/lib'
16202
 
  ;;
16203
 
 
16204
 
uts4*)
16205
 
  version_type=linux
16206
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16207
 
  soname_spec='${libname}${release}${shared_ext}$major'
16208
 
  shlibpath_var=LD_LIBRARY_PATH
16209
 
  ;;
16210
 
 
16211
 
*)
16212
 
  dynamic_linker=no
16213
 
  ;;
16214
 
esac
16215
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16216
 
echo "${ECHO_T}$dynamic_linker" >&6; }
16217
 
test "$dynamic_linker" = no && can_build_shared=no
16218
 
 
16219
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16220
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16221
 
else
16222
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
16223
 
fi
16224
 
 
16225
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16226
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16227
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16228
 
else
16229
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
16230
 
fi
16231
 
 
16232
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16233
 
 
16234
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16235
 
if test "$GCC" = yes; then
16236
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16237
 
fi
16238
 
 
16239
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16240
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16241
 
hardcode_action_F77=
16242
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
16243
 
   test -n "$runpath_var_F77" || \
16244
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
16245
 
 
16246
 
  # We can hardcode non-existant directories.
16247
 
  if test "$hardcode_direct_F77" != no &&
16248
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16249
 
     # have to relink, otherwise we might link with an installed library
16250
 
     # when we should be linking with a yet-to-be-installed one
16251
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16252
 
     test "$hardcode_minus_L_F77" != no; then
16253
 
    # Linking always hardcodes the temporary library directory.
16254
 
    hardcode_action_F77=relink
16255
 
  else
16256
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16257
 
    hardcode_action_F77=immediate
16258
 
  fi
16259
 
else
16260
 
  # We cannot hardcode anything, or else we can only hardcode existing
16261
 
  # directories.
16262
 
  hardcode_action_F77=unsupported
16263
 
fi
16264
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16265
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
16266
 
 
16267
 
if test "$hardcode_action_F77" = relink; then
16268
 
  # Fast installation is not supported
16269
 
  enable_fast_install=no
16270
 
elif test "$shlibpath_overrides_runpath" = yes ||
16271
 
     test "$enable_shared" = no; then
16272
 
  # Fast installation is not necessary
16273
 
  enable_fast_install=needless
16274
 
fi
16275
 
 
16276
 
 
16277
 
# The else clause should only fire when bootstrapping the
16278
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16279
 
# with your package, and you will get complaints that there are
16280
 
# no rules to generate ltmain.sh.
16281
 
if test -f "$ltmain"; then
16282
 
  # See if we are running on zsh, and set the options which allow our commands through
16283
 
  # without removal of \ escapes.
16284
 
  if test -n "${ZSH_VERSION+set}" ; then
16285
 
    setopt NO_GLOB_SUBST
16286
 
  fi
16287
 
  # Now quote all the things that may contain metacharacters while being
16288
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16289
 
  # variables and quote the copies for generation of the libtool script.
16290
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16291
 
    SED SHELL STRIP \
16292
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16293
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16294
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16295
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16296
 
    lt_cv_sys_global_symbol_to_c_name_address \
16297
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16298
 
    old_postinstall_cmds old_postuninstall_cmds \
16299
 
    compiler_F77 \
16300
 
    CC_F77 \
16301
 
    LD_F77 \
16302
 
    lt_prog_compiler_wl_F77 \
16303
 
    lt_prog_compiler_pic_F77 \
16304
 
    lt_prog_compiler_static_F77 \
16305
 
    lt_prog_compiler_no_builtin_flag_F77 \
16306
 
    export_dynamic_flag_spec_F77 \
16307
 
    thread_safe_flag_spec_F77 \
16308
 
    whole_archive_flag_spec_F77 \
16309
 
    enable_shared_with_static_runtimes_F77 \
16310
 
    old_archive_cmds_F77 \
16311
 
    old_archive_from_new_cmds_F77 \
16312
 
    predep_objects_F77 \
16313
 
    postdep_objects_F77 \
16314
 
    predeps_F77 \
16315
 
    postdeps_F77 \
16316
 
    compiler_lib_search_path_F77 \
16317
 
    compiler_lib_search_dirs_F77 \
16318
 
    archive_cmds_F77 \
16319
 
    archive_expsym_cmds_F77 \
16320
 
    postinstall_cmds_F77 \
16321
 
    postuninstall_cmds_F77 \
16322
 
    old_archive_from_expsyms_cmds_F77 \
16323
 
    allow_undefined_flag_F77 \
16324
 
    no_undefined_flag_F77 \
16325
 
    export_symbols_cmds_F77 \
16326
 
    hardcode_libdir_flag_spec_F77 \
16327
 
    hardcode_libdir_flag_spec_ld_F77 \
16328
 
    hardcode_libdir_separator_F77 \
16329
 
    hardcode_automatic_F77 \
16330
 
    module_cmds_F77 \
16331
 
    module_expsym_cmds_F77 \
16332
 
    lt_cv_prog_compiler_c_o_F77 \
16333
 
    fix_srcfile_path_F77 \
16334
 
    exclude_expsyms_F77 \
16335
 
    include_expsyms_F77; do
16336
 
 
16337
 
    case $var in
16338
 
    old_archive_cmds_F77 | \
16339
 
    old_archive_from_new_cmds_F77 | \
16340
 
    archive_cmds_F77 | \
16341
 
    archive_expsym_cmds_F77 | \
16342
 
    module_cmds_F77 | \
16343
 
    module_expsym_cmds_F77 | \
16344
 
    old_archive_from_expsyms_cmds_F77 | \
16345
 
    export_symbols_cmds_F77 | \
16346
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16347
 
    postinstall_cmds | postuninstall_cmds | \
16348
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16349
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16350
 
      # Double-quote double-evaled strings.
16351
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16352
 
      ;;
16353
 
    *)
16354
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16355
 
      ;;
16356
 
    esac
16357
 
  done
16358
 
 
16359
 
  case $lt_echo in
16360
 
  *'\$0 --fallback-echo"')
16361
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16362
 
    ;;
16363
 
  esac
16364
 
 
16365
 
cfgfile="$ofile"
16366
 
 
16367
 
  cat <<__EOF__ >> "$cfgfile"
16368
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16369
 
 
16370
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16371
 
 
16372
 
# Shell to use when invoking shell scripts.
16373
 
SHELL=$lt_SHELL
16374
 
 
16375
 
# Whether or not to build shared libraries.
16376
 
build_libtool_libs=$enable_shared
16377
 
 
16378
 
# Whether or not to build static libraries.
16379
 
build_old_libs=$enable_static
16380
 
 
16381
 
# Whether or not to add -lc for building shared libraries.
16382
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
16383
 
 
16384
 
# Whether or not to disallow shared libs when runtime libs are static
16385
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16386
 
 
16387
 
# Whether or not to optimize for fast installation.
16388
 
fast_install=$enable_fast_install
16389
 
 
16390
 
# The host system.
16391
 
host_alias=$host_alias
16392
 
host=$host
16393
 
host_os=$host_os
16394
 
 
16395
 
# The build system.
16396
 
build_alias=$build_alias
16397
 
build=$build
16398
 
build_os=$build_os
16399
 
 
16400
 
# An echo program that does not interpret backslashes.
16401
 
echo=$lt_echo
16402
 
 
16403
 
# The archiver.
16404
 
AR=$lt_AR
16405
 
AR_FLAGS=$lt_AR_FLAGS
16406
 
 
16407
 
# A C compiler.
16408
 
LTCC=$lt_LTCC
16409
 
 
16410
 
# LTCC compiler flags.
16411
 
LTCFLAGS=$lt_LTCFLAGS
16412
 
 
16413
 
# A language-specific compiler.
16414
 
CC=$lt_compiler_F77
16415
 
 
16416
 
# Is the compiler the GNU C compiler?
16417
 
with_gcc=$GCC_F77
16418
 
 
16419
 
# An ERE matcher.
16420
 
EGREP=$lt_EGREP
16421
 
 
16422
 
# The linker used to build libraries.
16423
 
LD=$lt_LD_F77
16424
 
 
16425
 
# Whether we need hard or soft links.
16426
 
LN_S=$lt_LN_S
16427
 
 
16428
 
# A BSD-compatible nm program.
16429
 
NM=$lt_NM
16430
 
 
16431
 
# A symbol stripping program
16432
 
STRIP=$lt_STRIP
16433
 
 
16434
 
# Used to examine libraries when file_magic_cmd begins "file"
16435
 
MAGIC_CMD=$MAGIC_CMD
16436
 
 
16437
 
# Used on cygwin: DLL creation program.
16438
 
DLLTOOL="$DLLTOOL"
16439
 
 
16440
 
# Used on cygwin: object dumper.
16441
 
OBJDUMP="$OBJDUMP"
16442
 
 
16443
 
# Used on cygwin: assembler.
16444
 
AS="$AS"
16445
 
 
16446
 
# The name of the directory that contains temporary libtool files.
16447
 
objdir=$objdir
16448
 
 
16449
 
# How to create reloadable object files.
16450
 
reload_flag=$lt_reload_flag
16451
 
reload_cmds=$lt_reload_cmds
16452
 
 
16453
 
# How to pass a linker flag through the compiler.
16454
 
wl=$lt_lt_prog_compiler_wl_F77
16455
 
 
16456
 
# Object file suffix (normally "o").
16457
 
objext="$ac_objext"
16458
 
 
16459
 
# Old archive suffix (normally "a").
16460
 
libext="$libext"
16461
 
 
16462
 
# Shared library suffix (normally ".so").
16463
 
shrext_cmds='$shrext_cmds'
16464
 
 
16465
 
# Executable file suffix (normally "").
16466
 
exeext="$exeext"
16467
 
 
16468
 
# Additional compiler flags for building library objects.
16469
 
pic_flag=$lt_lt_prog_compiler_pic_F77
16470
 
pic_mode=$pic_mode
16471
 
 
16472
 
# What is the maximum length of a command?
16473
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16474
 
 
16475
 
# Does compiler simultaneously support -c and -o options?
16476
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16477
 
 
16478
 
# Must we lock files when doing compilation?
16479
 
need_locks=$lt_need_locks
16480
 
 
16481
 
# Do we need the lib prefix for modules?
16482
 
need_lib_prefix=$need_lib_prefix
16483
 
 
16484
 
# Do we need a version for libraries?
16485
 
need_version=$need_version
16486
 
 
16487
 
# Whether dlopen is supported.
16488
 
dlopen_support=$enable_dlopen
16489
 
 
16490
 
# Whether dlopen of programs is supported.
16491
 
dlopen_self=$enable_dlopen_self
16492
 
 
16493
 
# Whether dlopen of statically linked programs is supported.
16494
 
dlopen_self_static=$enable_dlopen_self_static
16495
 
 
16496
 
# Compiler flag to prevent dynamic linking.
16497
 
link_static_flag=$lt_lt_prog_compiler_static_F77
16498
 
 
16499
 
# Compiler flag to turn off builtin functions.
16500
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16501
 
 
16502
 
# Compiler flag to allow reflexive dlopens.
16503
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16504
 
 
16505
 
# Compiler flag to generate shared objects directly from archives.
16506
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16507
 
 
16508
 
# Compiler flag to generate thread-safe objects.
16509
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16510
 
 
16511
 
# Library versioning type.
16512
 
version_type=$version_type
16513
 
 
16514
 
# Format of library name prefix.
16515
 
libname_spec=$lt_libname_spec
16516
 
 
16517
 
# List of archive names.  First name is the real one, the rest are links.
16518
 
# The last name is the one that the linker finds with -lNAME.
16519
 
library_names_spec=$lt_library_names_spec
16520
 
 
16521
 
# The coded name of the library, if different from the real name.
16522
 
soname_spec=$lt_soname_spec
16523
 
 
16524
 
# Commands used to build and install an old-style archive.
16525
 
RANLIB=$lt_RANLIB
16526
 
old_archive_cmds=$lt_old_archive_cmds_F77
16527
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16528
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16529
 
 
16530
 
# Create an old-style archive from a shared archive.
16531
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16532
 
 
16533
 
# Create a temporary old-style archive to link instead of a shared archive.
16534
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16535
 
 
16536
 
# Commands used to build and install a shared archive.
16537
 
archive_cmds=$lt_archive_cmds_F77
16538
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16539
 
postinstall_cmds=$lt_postinstall_cmds
16540
 
postuninstall_cmds=$lt_postuninstall_cmds
16541
 
 
16542
 
# Commands used to build a loadable module (assumed same as above if empty)
16543
 
module_cmds=$lt_module_cmds_F77
16544
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
16545
 
 
16546
 
# Commands to strip libraries.
16547
 
old_striplib=$lt_old_striplib
16548
 
striplib=$lt_striplib
16549
 
 
16550
 
# Dependencies to place before the objects being linked to create a
16551
 
# shared library.
16552
 
predep_objects=$lt_predep_objects_F77
16553
 
 
16554
 
# Dependencies to place after the objects being linked to create a
16555
 
# shared library.
16556
 
postdep_objects=$lt_postdep_objects_F77
16557
 
 
16558
 
# Dependencies to place before the objects being linked to create a
16559
 
# shared library.
16560
 
predeps=$lt_predeps_F77
16561
 
 
16562
 
# Dependencies to place after the objects being linked to create a
16563
 
# shared library.
16564
 
postdeps=$lt_postdeps_F77
16565
 
 
16566
 
# The directories searched by this compiler when creating a shared
16567
 
# library
16568
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16569
 
 
16570
 
# The library search path used internally by the compiler when linking
16571
 
# a shared library.
16572
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16573
 
 
16574
 
# Method to check whether dependent libraries are shared objects.
16575
 
deplibs_check_method=$lt_deplibs_check_method
16576
 
 
16577
 
# Command to use when deplibs_check_method == file_magic.
16578
 
file_magic_cmd=$lt_file_magic_cmd
16579
 
 
16580
 
# Flag that allows shared libraries with undefined symbols to be built.
16581
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
16582
 
 
16583
 
# Flag that forces no undefined symbols.
16584
 
no_undefined_flag=$lt_no_undefined_flag_F77
16585
 
 
16586
 
# Commands used to finish a libtool library installation in a directory.
16587
 
finish_cmds=$lt_finish_cmds
16588
 
 
16589
 
# Same as above, but a single script fragment to be evaled but not shown.
16590
 
finish_eval=$lt_finish_eval
16591
 
 
16592
 
# Take the output of nm and produce a listing of raw symbols and C names.
16593
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16594
 
 
16595
 
# Transform the output of nm in a proper C declaration
16596
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16597
 
 
16598
 
# Transform the output of nm in a C name address pair
16599
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16600
 
 
16601
 
# This is the shared library runtime path variable.
16602
 
runpath_var=$runpath_var
16603
 
 
16604
 
# This is the shared library path variable.
16605
 
shlibpath_var=$shlibpath_var
16606
 
 
16607
 
# Is shlibpath searched before the hard-coded library search path?
16608
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16609
 
 
16610
 
# How to hardcode a shared library path into an executable.
16611
 
hardcode_action=$hardcode_action_F77
16612
 
 
16613
 
# Whether we should hardcode library paths into libraries.
16614
 
hardcode_into_libs=$hardcode_into_libs
16615
 
 
16616
 
# Flag to hardcode \$libdir into a binary during linking.
16617
 
# This must work even if \$libdir does not exist.
16618
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16619
 
 
16620
 
# If ld is used when linking, flag to hardcode \$libdir into
16621
 
# a binary during linking. This must work even if \$libdir does
16622
 
# not exist.
16623
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16624
 
 
16625
 
# Whether we need a single -rpath flag with a separated argument.
16626
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16627
 
 
16628
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16629
 
# resulting binary.
16630
 
hardcode_direct=$hardcode_direct_F77
16631
 
 
16632
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16633
 
# resulting binary.
16634
 
hardcode_minus_L=$hardcode_minus_L_F77
16635
 
 
16636
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16637
 
# the resulting binary.
16638
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16639
 
 
16640
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16641
 
# and all subsequent libraries and executables linked against it.
16642
 
hardcode_automatic=$hardcode_automatic_F77
16643
 
 
16644
 
# Variables whose values should be saved in libtool wrapper scripts and
16645
 
# restored at relink time.
16646
 
variables_saved_for_relink="$variables_saved_for_relink"
16647
 
 
16648
 
# Whether libtool must link a program against all its dependency libraries.
16649
 
link_all_deplibs=$link_all_deplibs_F77
16650
 
 
16651
 
# Compile-time system search path for libraries
16652
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16653
 
 
16654
 
# Run-time system search path for libraries
16655
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16656
 
 
16657
 
# Fix the shell variable \$srcfile for the compiler.
16658
 
fix_srcfile_path=$lt_fix_srcfile_path
16659
 
 
16660
 
# Set to yes if exported symbols are required.
16661
 
always_export_symbols=$always_export_symbols_F77
16662
 
 
16663
 
# The commands to list exported symbols.
16664
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
16665
 
 
16666
 
# The commands to extract the exported symbol list from a shared archive.
16667
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16668
 
 
16669
 
# Symbols that should not be listed in the preloaded symbols.
16670
 
exclude_expsyms=$lt_exclude_expsyms_F77
16671
 
 
16672
 
# Symbols that must always be exported.
16673
 
include_expsyms=$lt_include_expsyms_F77
16674
 
 
16675
 
# ### END LIBTOOL TAG CONFIG: $tagname
16676
 
 
16677
 
__EOF__
16678
 
 
16679
 
 
16680
 
else
16681
 
  # If there is no Makefile yet, we rely on a make rule to execute
16682
 
  # `config.status --recheck' to rerun these tests and create the
16683
 
  # libtool script then.
16684
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16685
 
  if test -f "$ltmain_in"; then
16686
 
    test -f Makefile && make "$ltmain"
16687
 
  fi
16688
 
fi
16689
 
 
16690
 
 
16691
 
ac_ext=cpp
16692
 
ac_cpp='$CXXCPP $CPPFLAGS'
16693
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16694
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16695
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16696
 
 
16697
 
CC="$lt_save_CC"
16698
 
 
16699
 
        else
16700
 
          tagname=""
16701
 
        fi
16702
 
        ;;
16703
 
 
16704
 
      GCJ)
16705
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16706
 
 
16707
 
 
16708
 
# Source file extension for Java test sources.
16709
 
ac_ext=java
16710
 
 
16711
 
# Object file extension for compiled Java test sources.
16712
 
objext=o
16713
 
objext_GCJ=$objext
16714
 
 
16715
 
# Code to be used in simple compile tests
16716
 
lt_simple_compile_test_code="class foo {}"
16717
 
 
16718
 
# Code to be used in simple link tests
16719
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16720
 
 
16721
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16722
 
 
16723
 
# If no C compiler was specified, use CC.
16724
 
LTCC=${LTCC-"$CC"}
16725
 
 
16726
 
# If no C compiler flags were specified, use CFLAGS.
16727
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16728
 
 
16729
 
# Allow CC to be a program name with arguments.
16730
 
compiler=$CC
16731
 
 
16732
 
 
16733
 
# save warnings/boilerplate of simple test code
16734
 
ac_outfile=conftest.$ac_objext
16735
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16736
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16737
 
_lt_compiler_boilerplate=`cat conftest.err`
16738
 
$rm conftest*
16739
 
 
16740
 
ac_outfile=conftest.$ac_objext
16741
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16742
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16743
 
_lt_linker_boilerplate=`cat conftest.err`
16744
 
$rm -r conftest*
16745
 
 
16746
 
 
16747
 
# Allow CC to be a program name with arguments.
16748
 
lt_save_CC="$CC"
16749
 
CC=${GCJ-"gcj"}
16750
 
compiler=$CC
16751
 
compiler_GCJ=$CC
16752
 
for cc_temp in $compiler""; do
16753
 
  case $cc_temp in
16754
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16755
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16756
 
    \-*) ;;
16757
 
    *) break;;
16758
 
  esac
16759
 
done
16760
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16761
 
 
16762
 
 
16763
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16764
 
archive_cmds_need_lc_GCJ=no
16765
 
 
16766
 
old_archive_cmds_GCJ=$old_archive_cmds
16767
 
 
16768
 
 
16769
 
lt_prog_compiler_no_builtin_flag_GCJ=
16770
 
 
16771
 
if test "$GCC" = yes; then
16772
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16773
 
 
16774
 
 
16775
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16776
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16777
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16778
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16779
 
else
16780
 
  lt_cv_prog_compiler_rtti_exceptions=no
16781
 
  ac_outfile=conftest.$ac_objext
16782
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16783
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16784
 
   # Insert the option either (1) after the last *FLAGS variable, or
16785
 
   # (2) before a word containing "conftest.", or (3) at the end.
16786
 
   # Note that $ac_compile itself does not contain backslashes and begins
16787
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16788
 
   # The option is referenced via a variable to avoid confusing sed.
16789
 
   lt_compile=`echo "$ac_compile" | $SED \
16790
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16791
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16792
 
   -e 's:$: $lt_compiler_flag:'`
16793
 
   (eval echo "\"\$as_me:16793: $lt_compile\"" >&5)
16794
 
   (eval "$lt_compile" 2>conftest.err)
16795
 
   ac_status=$?
16796
 
   cat conftest.err >&5
16797
 
   echo "$as_me:16797: \$? = $ac_status" >&5
16798
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16799
 
     # The compiler can only warn and ignore the option if not recognized
16800
 
     # So say no if there are warnings other than the usual output.
16801
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16802
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16803
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16804
 
       lt_cv_prog_compiler_rtti_exceptions=yes
16805
 
     fi
16806
 
   fi
16807
 
   $rm conftest*
16808
 
 
16809
 
fi
16810
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16811
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16812
 
 
16813
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16814
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16815
 
else
16816
 
    :
16817
 
fi
16818
 
 
16819
 
fi
16820
 
 
16821
 
lt_prog_compiler_wl_GCJ=
16822
 
lt_prog_compiler_pic_GCJ=
16823
 
lt_prog_compiler_static_GCJ=
16824
 
 
16825
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16826
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16827
 
 
16828
 
  if test "$GCC" = yes; then
16829
 
    lt_prog_compiler_wl_GCJ='-Wl,'
16830
 
    lt_prog_compiler_static_GCJ='-static'
16831
 
 
16832
 
    case $host_os in
16833
 
      aix*)
16834
 
      # All AIX code is PIC.
16835
 
      if test "$host_cpu" = ia64; then
16836
 
        # AIX 5 now supports IA64 processor
16837
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16838
 
      fi
16839
 
      ;;
16840
 
 
16841
 
    amigaos*)
16842
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16843
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16844
 
      # like `-m68040'.
16845
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16846
 
      ;;
16847
 
 
16848
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16849
 
      # PIC is the default for these OSes.
16850
 
      ;;
16851
 
 
16852
 
    mingw* | cygwin* | pw32* | os2*)
16853
 
      # This hack is so that the source file can tell whether it is being
16854
 
      # built for inclusion in a dll (and should export symbols for example).
16855
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16856
 
      # (--disable-auto-import) libraries
16857
 
 
16858
 
      ;;
16859
 
 
16860
 
    darwin* | rhapsody*)
16861
 
      # PIC is the default on this platform
16862
 
      # Common symbols not allowed in MH_DYLIB files
16863
 
      lt_prog_compiler_pic_GCJ='-fno-common'
16864
 
      ;;
16865
 
 
16866
 
    interix[3-9]*)
16867
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16868
 
      # Instead, we relocate shared libraries at runtime.
16869
 
      ;;
16870
 
 
16871
 
    msdosdjgpp*)
16872
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16873
 
      # on systems that don't support them.
16874
 
      lt_prog_compiler_can_build_shared_GCJ=no
16875
 
      enable_shared=no
16876
 
      ;;
16877
 
 
16878
 
    sysv4*MP*)
16879
 
      if test -d /usr/nec; then
16880
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
16881
 
      fi
16882
 
      ;;
16883
 
 
16884
 
    hpux*)
16885
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16886
 
      # not for PA HP-UX.
16887
 
      case $host_cpu in
16888
 
      hppa*64*|ia64*)
16889
 
        # +Z the default
16890
 
        ;;
16891
 
      *)
16892
 
        lt_prog_compiler_pic_GCJ='-fPIC'
16893
 
        ;;
16894
 
      esac
16895
 
      ;;
16896
 
 
16897
 
    *)
16898
 
      lt_prog_compiler_pic_GCJ='-fPIC'
16899
 
      ;;
16900
 
    esac
16901
 
  else
16902
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16903
 
    case $host_os in
16904
 
    aix*)
16905
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16906
 
      if test "$host_cpu" = ia64; then
16907
 
        # AIX 5 now supports IA64 processor
16908
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16909
 
      else
16910
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16911
 
      fi
16912
 
      ;;
16913
 
      darwin*)
16914
 
        # PIC is the default on this platform
16915
 
        # Common symbols not allowed in MH_DYLIB files
16916
 
       case $cc_basename in
16917
 
         xlc*)
16918
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
16919
 
         lt_prog_compiler_wl_GCJ='-Wl,'
16920
 
         ;;
16921
 
       esac
16922
 
       ;;
16923
 
 
16924
 
    mingw* | cygwin* | pw32* | os2*)
16925
 
      # This hack is so that the source file can tell whether it is being
16926
 
      # built for inclusion in a dll (and should export symbols for example).
16927
 
 
16928
 
      ;;
16929
 
 
16930
 
    hpux9* | hpux10* | hpux11*)
16931
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16932
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16933
 
      # not for PA HP-UX.
16934
 
      case $host_cpu in
16935
 
      hppa*64*|ia64*)
16936
 
        # +Z the default
16937
 
        ;;
16938
 
      *)
16939
 
        lt_prog_compiler_pic_GCJ='+Z'
16940
 
        ;;
16941
 
      esac
16942
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16943
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16944
 
      ;;
16945
 
 
16946
 
    irix5* | irix6* | nonstopux*)
16947
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16948
 
      # PIC (with -KPIC) is the default.
16949
 
      lt_prog_compiler_static_GCJ='-non_shared'
16950
 
      ;;
16951
 
 
16952
 
    newsos6)
16953
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16954
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16955
 
      ;;
16956
 
 
16957
 
    linux* | k*bsd*-gnu)
16958
 
      case $cc_basename in
16959
 
      icc* | ecc*)
16960
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16961
 
        lt_prog_compiler_pic_GCJ='-KPIC'
16962
 
        lt_prog_compiler_static_GCJ='-static'
16963
 
        ;;
16964
 
      pgcc* | pgf77* | pgf90* | pgf95*)
16965
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
16966
 
        # which looks to be a dead project)
16967
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16968
 
        lt_prog_compiler_pic_GCJ='-fpic'
16969
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16970
 
        ;;
16971
 
      ccc*)
16972
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16973
 
        # All Alpha code is PIC.
16974
 
        lt_prog_compiler_static_GCJ='-non_shared'
16975
 
        ;;
16976
 
      *)
16977
 
        case `$CC -V 2>&1 | sed 5q` in
16978
 
        *Sun\ C*)
16979
 
          # Sun C 5.9
16980
 
          lt_prog_compiler_pic_GCJ='-KPIC'
16981
 
          lt_prog_compiler_static_GCJ='-Bstatic'
16982
 
          lt_prog_compiler_wl_GCJ='-Wl,'
16983
 
          ;;
16984
 
        *Sun\ F*)
16985
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
16986
 
          lt_prog_compiler_pic_GCJ='-KPIC'
16987
 
          lt_prog_compiler_static_GCJ='-Bstatic'
16988
 
          lt_prog_compiler_wl_GCJ=''
16989
 
          ;;
16990
 
        esac
16991
 
        ;;
16992
 
      esac
16993
 
      ;;
16994
 
 
16995
 
    osf3* | osf4* | osf5*)
16996
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16997
 
      # All OSF/1 code is PIC.
16998
 
      lt_prog_compiler_static_GCJ='-non_shared'
16999
 
      ;;
17000
 
 
17001
 
    rdos*)
17002
 
      lt_prog_compiler_static_GCJ='-non_shared'
17003
 
      ;;
17004
 
 
17005
 
    solaris*)
17006
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17007
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17008
 
      case $cc_basename in
17009
 
      f77* | f90* | f95*)
17010
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17011
 
      *)
17012
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
17013
 
      esac
17014
 
      ;;
17015
 
 
17016
 
    sunos4*)
17017
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
17018
 
      lt_prog_compiler_pic_GCJ='-PIC'
17019
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17020
 
      ;;
17021
 
 
17022
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
17023
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17024
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17025
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17026
 
      ;;
17027
 
 
17028
 
    sysv4*MP*)
17029
 
      if test -d /usr/nec ;then
17030
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
17031
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17032
 
      fi
17033
 
      ;;
17034
 
 
17035
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17036
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17037
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17038
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17039
 
      ;;
17040
 
 
17041
 
    unicos*)
17042
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17043
 
      lt_prog_compiler_can_build_shared_GCJ=no
17044
 
      ;;
17045
 
 
17046
 
    uts4*)
17047
 
      lt_prog_compiler_pic_GCJ='-pic'
17048
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17049
 
      ;;
17050
 
 
17051
 
    *)
17052
 
      lt_prog_compiler_can_build_shared_GCJ=no
17053
 
      ;;
17054
 
    esac
17055
 
  fi
17056
 
 
17057
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17058
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17059
 
 
17060
 
#
17061
 
# Check to make sure the PIC flag actually works.
17062
 
#
17063
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
17064
 
 
17065
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17066
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17067
 
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17068
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17069
 
else
17070
 
  lt_cv_prog_compiler_pic_works_GCJ=no
17071
 
  ac_outfile=conftest.$ac_objext
17072
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17073
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17074
 
   # Insert the option either (1) after the last *FLAGS variable, or
17075
 
   # (2) before a word containing "conftest.", or (3) at the end.
17076
 
   # Note that $ac_compile itself does not contain backslashes and begins
17077
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17078
 
   # The option is referenced via a variable to avoid confusing sed.
17079
 
   lt_compile=`echo "$ac_compile" | $SED \
17080
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17081
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17082
 
   -e 's:$: $lt_compiler_flag:'`
17083
 
   (eval echo "\"\$as_me:17083: $lt_compile\"" >&5)
17084
 
   (eval "$lt_compile" 2>conftest.err)
17085
 
   ac_status=$?
17086
 
   cat conftest.err >&5
17087
 
   echo "$as_me:17087: \$? = $ac_status" >&5
17088
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17089
 
     # The compiler can only warn and ignore the option if not recognized
17090
 
     # So say no if there are warnings other than the usual output.
17091
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17092
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17093
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17094
 
       lt_cv_prog_compiler_pic_works_GCJ=yes
17095
 
     fi
17096
 
   fi
17097
 
   $rm conftest*
17098
 
 
17099
 
fi
17100
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17101
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17102
 
 
17103
 
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
17104
 
    case $lt_prog_compiler_pic_GCJ in
17105
 
     "" | " "*) ;;
17106
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17107
 
     esac
17108
 
else
17109
 
    lt_prog_compiler_pic_GCJ=
17110
 
     lt_prog_compiler_can_build_shared_GCJ=no
17111
 
fi
17112
 
 
17113
 
fi
17114
 
case $host_os in
17115
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17116
 
  *djgpp*)
17117
 
    lt_prog_compiler_pic_GCJ=
17118
 
    ;;
17119
 
  *)
17120
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17121
 
    ;;
17122
 
esac
17123
 
 
17124
 
#
17125
 
# Check to make sure the static flag actually works.
17126
 
#
17127
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17128
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17129
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17130
 
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17131
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17132
 
else
17133
 
  lt_cv_prog_compiler_static_works_GCJ=no
17134
 
   save_LDFLAGS="$LDFLAGS"
17135
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17136
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17137
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17138
 
     # The linker can only warn and ignore the option if not recognized
17139
 
     # So say no if there are warnings
17140
 
     if test -s conftest.err; then
17141
 
       # Append any errors to the config.log.
17142
 
       cat conftest.err 1>&5
17143
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17144
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17145
 
       if diff conftest.exp conftest.er2 >/dev/null; then
17146
 
         lt_cv_prog_compiler_static_works_GCJ=yes
17147
 
       fi
17148
 
     else
17149
 
       lt_cv_prog_compiler_static_works_GCJ=yes
17150
 
     fi
17151
 
   fi
17152
 
   $rm -r conftest*
17153
 
   LDFLAGS="$save_LDFLAGS"
17154
 
 
17155
 
fi
17156
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17157
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17158
 
 
17159
 
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
17160
 
    :
17161
 
else
17162
 
    lt_prog_compiler_static_GCJ=
17163
 
fi
17164
 
 
17165
 
 
17166
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17167
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17168
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17169
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17170
 
else
17171
 
  lt_cv_prog_compiler_c_o_GCJ=no
17172
 
   $rm -r conftest 2>/dev/null
17173
 
   mkdir conftest
17174
 
   cd conftest
17175
 
   mkdir out
17176
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17177
 
 
17178
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17179
 
   # Insert the option either (1) after the last *FLAGS variable, or
17180
 
   # (2) before a word containing "conftest.", or (3) at the end.
17181
 
   # Note that $ac_compile itself does not contain backslashes and begins
17182
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17183
 
   lt_compile=`echo "$ac_compile" | $SED \
17184
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17185
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17186
 
   -e 's:$: $lt_compiler_flag:'`
17187
 
   (eval echo "\"\$as_me:17187: $lt_compile\"" >&5)
17188
 
   (eval "$lt_compile" 2>out/conftest.err)
17189
 
   ac_status=$?
17190
 
   cat out/conftest.err >&5
17191
 
   echo "$as_me:17191: \$? = $ac_status" >&5
17192
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17193
 
   then
17194
 
     # The compiler can only warn and ignore the option if not recognized
17195
 
     # So say no if there are warnings
17196
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17197
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17198
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17199
 
       lt_cv_prog_compiler_c_o_GCJ=yes
17200
 
     fi
17201
 
   fi
17202
 
   chmod u+w . 2>&5
17203
 
   $rm conftest*
17204
 
   # SGI C++ compiler will create directory out/ii_files/ for
17205
 
   # template instantiation
17206
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17207
 
   $rm out/* && rmdir out
17208
 
   cd ..
17209
 
   rmdir conftest
17210
 
   $rm conftest*
17211
 
 
17212
 
fi
17213
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17214
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17215
 
 
17216
 
 
17217
 
hard_links="nottested"
17218
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17219
 
  # do not overwrite the value of need_locks provided by the user
17220
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17221
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17222
 
  hard_links=yes
17223
 
  $rm conftest*
17224
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17225
 
  touch conftest.a
17226
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17227
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17228
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
17229
 
echo "${ECHO_T}$hard_links" >&6; }
17230
 
  if test "$hard_links" = no; then
17231
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17232
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17233
 
    need_locks=warn
17234
 
  fi
17235
 
else
17236
 
  need_locks=no
17237
 
fi
17238
 
 
17239
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17240
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17241
 
 
17242
 
  runpath_var=
17243
 
  allow_undefined_flag_GCJ=
17244
 
  enable_shared_with_static_runtimes_GCJ=no
17245
 
  archive_cmds_GCJ=
17246
 
  archive_expsym_cmds_GCJ=
17247
 
  old_archive_From_new_cmds_GCJ=
17248
 
  old_archive_from_expsyms_cmds_GCJ=
17249
 
  export_dynamic_flag_spec_GCJ=
17250
 
  whole_archive_flag_spec_GCJ=
17251
 
  thread_safe_flag_spec_GCJ=
17252
 
  hardcode_libdir_flag_spec_GCJ=
17253
 
  hardcode_libdir_flag_spec_ld_GCJ=
17254
 
  hardcode_libdir_separator_GCJ=
17255
 
  hardcode_direct_GCJ=no
17256
 
  hardcode_minus_L_GCJ=no
17257
 
  hardcode_shlibpath_var_GCJ=unsupported
17258
 
  link_all_deplibs_GCJ=unknown
17259
 
  hardcode_automatic_GCJ=no
17260
 
  module_cmds_GCJ=
17261
 
  module_expsym_cmds_GCJ=
17262
 
  always_export_symbols_GCJ=no
17263
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17264
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17265
 
  # included in the symbol list
17266
 
  include_expsyms_GCJ=
17267
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17268
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17269
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17270
 
  # as well as any symbol that contains `d'.
17271
 
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17272
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17273
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17274
 
  # the symbol is explicitly referenced.  Since portable code cannot
17275
 
  # rely on this symbol name, it's probably fine to never include it in
17276
 
  # preloaded symbol tables.
17277
 
  # Exclude shared library initialization/finalization symbols.
17278
 
  extract_expsyms_cmds=
17279
 
  # Just being paranoid about ensuring that cc_basename is set.
17280
 
  for cc_temp in $compiler""; do
17281
 
  case $cc_temp in
17282
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17283
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17284
 
    \-*) ;;
17285
 
    *) break;;
17286
 
  esac
17287
 
done
17288
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17289
 
 
17290
 
  case $host_os in
17291
 
  cygwin* | mingw* | pw32*)
17292
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17293
 
    # When not using gcc, we currently assume that we are using
17294
 
    # Microsoft Visual C++.
17295
 
    if test "$GCC" != yes; then
17296
 
      with_gnu_ld=no
17297
 
    fi
17298
 
    ;;
17299
 
  interix*)
17300
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
17301
 
    with_gnu_ld=yes
17302
 
    ;;
17303
 
  openbsd*)
17304
 
    with_gnu_ld=no
17305
 
    ;;
17306
 
  esac
17307
 
 
17308
 
  ld_shlibs_GCJ=yes
17309
 
  if test "$with_gnu_ld" = yes; then
17310
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17311
 
    wlarc='${wl}'
17312
 
 
17313
 
    # Set some defaults for GNU ld with shared library support. These
17314
 
    # are reset later if shared libraries are not supported. Putting them
17315
 
    # here allows them to be overridden if necessary.
17316
 
    runpath_var=LD_RUN_PATH
17317
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17318
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17319
 
    # ancient GNU ld didn't support --whole-archive et. al.
17320
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17321
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17322
 
      else
17323
 
        whole_archive_flag_spec_GCJ=
17324
 
    fi
17325
 
    supports_anon_versioning=no
17326
 
    case `$LD -v 2>/dev/null` in
17327
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17328
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17329
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17330
 
      *\ 2.11.*) ;; # other 2.11 versions
17331
 
      *) supports_anon_versioning=yes ;;
17332
 
    esac
17333
 
 
17334
 
    # See if GNU ld supports shared libraries.
17335
 
    case $host_os in
17336
 
    aix[3-9]*)
17337
 
      # On AIX/PPC, the GNU linker is very broken
17338
 
      if test "$host_cpu" != ia64; then
17339
 
        ld_shlibs_GCJ=no
17340
 
        cat <<EOF 1>&2
17341
 
 
17342
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17343
 
*** to be unable to reliably create shared libraries on AIX.
17344
 
*** Therefore, libtool is disabling shared libraries support.  If you
17345
 
*** really care for shared libraries, you may want to modify your PATH
17346
 
*** so that a non-GNU linker is found, and then restart.
17347
 
 
17348
 
EOF
17349
 
      fi
17350
 
      ;;
17351
 
 
17352
 
    amigaos*)
17353
 
      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)'
17354
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17355
 
      hardcode_minus_L_GCJ=yes
17356
 
 
17357
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17358
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17359
 
      # to version 4, is to share data among multiple programs linked
17360
 
      # with the same dynamic library.  Since this doesn't match the
17361
 
      # behavior of shared libraries on other platforms, we can't use
17362
 
      # them.
17363
 
      ld_shlibs_GCJ=no
17364
 
      ;;
17365
 
 
17366
 
    beos*)
17367
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17368
 
        allow_undefined_flag_GCJ=unsupported
17369
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17370
 
        # support --undefined.  This deserves some investigation.  FIXME
17371
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17372
 
      else
17373
 
        ld_shlibs_GCJ=no
17374
 
      fi
17375
 
      ;;
17376
 
 
17377
 
    cygwin* | mingw* | pw32*)
17378
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17379
 
      # as there is no search path for DLLs.
17380
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17381
 
      allow_undefined_flag_GCJ=unsupported
17382
 
      always_export_symbols_GCJ=no
17383
 
      enable_shared_with_static_runtimes_GCJ=yes
17384
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17385
 
 
17386
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17387
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17388
 
        # If the export-symbols file already is a .def file (1st line
17389
 
        # is EXPORTS), use it as is; otherwise, prepend...
17390
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17391
 
          cp $export_symbols $output_objdir/$soname.def;
17392
 
        else
17393
 
          echo EXPORTS > $output_objdir/$soname.def;
17394
 
          cat $export_symbols >> $output_objdir/$soname.def;
17395
 
        fi~
17396
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17397
 
      else
17398
 
        ld_shlibs_GCJ=no
17399
 
      fi
17400
 
      ;;
17401
 
 
17402
 
    interix[3-9]*)
17403
 
      hardcode_direct_GCJ=no
17404
 
      hardcode_shlibpath_var_GCJ=no
17405
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17406
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17407
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17408
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
17409
 
      # default) and relocated if they conflict, which is a slow very memory
17410
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
17411
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17412
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17413
 
      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'
17414
 
      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'
17415
 
      ;;
17416
 
 
17417
 
    gnu* | linux* | k*bsd*-gnu)
17418
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17419
 
        tmp_addflag=
17420
 
        case $cc_basename,$host_cpu in
17421
 
        pgcc*)                          # Portland Group C compiler
17422
 
          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'
17423
 
          tmp_addflag=' $pic_flag'
17424
 
          ;;
17425
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17426
 
          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'
17427
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
17428
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17429
 
          tmp_addflag=' -i_dynamic' ;;
17430
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17431
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
17432
 
        ifc* | ifort*)                  # Intel Fortran compiler
17433
 
          tmp_addflag=' -nofor_main' ;;
17434
 
        esac
17435
 
        case `$CC -V 2>&1 | sed 5q` in
17436
 
        *Sun\ C*)                       # Sun C 5.9
17437
 
          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'
17438
 
          tmp_sharedflag='-G' ;;
17439
 
        *Sun\ F*)                       # Sun Fortran 8.3
17440
 
          tmp_sharedflag='-G' ;;
17441
 
        *)
17442
 
          tmp_sharedflag='-shared' ;;
17443
 
        esac
17444
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17445
 
 
17446
 
        if test $supports_anon_versioning = yes; then
17447
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17448
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17449
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17450
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17451
 
        fi
17452
 
        link_all_deplibs_GCJ=no
17453
 
      else
17454
 
        ld_shlibs_GCJ=no
17455
 
      fi
17456
 
      ;;
17457
 
 
17458
 
    netbsd* | netbsdelf*-gnu)
17459
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17460
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17461
 
        wlarc=
17462
 
      else
17463
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17464
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17465
 
      fi
17466
 
      ;;
17467
 
 
17468
 
    solaris*)
17469
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17470
 
        ld_shlibs_GCJ=no
17471
 
        cat <<EOF 1>&2
17472
 
 
17473
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17474
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17475
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17476
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17477
 
*** your PATH or compiler configuration so that the native linker is
17478
 
*** used, and then restart.
17479
 
 
17480
 
EOF
17481
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17482
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17483
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17484
 
      else
17485
 
        ld_shlibs_GCJ=no
17486
 
      fi
17487
 
      ;;
17488
 
 
17489
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17490
 
      case `$LD -v 2>&1` in
17491
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17492
 
        ld_shlibs_GCJ=no
17493
 
        cat <<_LT_EOF 1>&2
17494
 
 
17495
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17496
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
17497
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17498
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17499
 
*** your PATH or compiler configuration so that the native linker is
17500
 
*** used, and then restart.
17501
 
 
17502
 
_LT_EOF
17503
 
        ;;
17504
 
        *)
17505
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17506
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17507
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17508
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17509
 
          else
17510
 
            ld_shlibs_GCJ=no
17511
 
          fi
17512
 
        ;;
17513
 
      esac
17514
 
      ;;
17515
 
 
17516
 
    sunos4*)
17517
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17518
 
      wlarc=
17519
 
      hardcode_direct_GCJ=yes
17520
 
      hardcode_shlibpath_var_GCJ=no
17521
 
      ;;
17522
 
 
17523
 
    *)
17524
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17525
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17526
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17527
 
      else
17528
 
        ld_shlibs_GCJ=no
17529
 
      fi
17530
 
      ;;
17531
 
    esac
17532
 
 
17533
 
    if test "$ld_shlibs_GCJ" = no; then
17534
 
      runpath_var=
17535
 
      hardcode_libdir_flag_spec_GCJ=
17536
 
      export_dynamic_flag_spec_GCJ=
17537
 
      whole_archive_flag_spec_GCJ=
17538
 
    fi
17539
 
  else
17540
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17541
 
    case $host_os in
17542
 
    aix3*)
17543
 
      allow_undefined_flag_GCJ=unsupported
17544
 
      always_export_symbols_GCJ=yes
17545
 
      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'
17546
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17547
 
      # are no directories specified by -L.
17548
 
      hardcode_minus_L_GCJ=yes
17549
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17550
 
        # Neither direct hardcoding nor static linking is supported with a
17551
 
        # broken collect2.
17552
 
        hardcode_direct_GCJ=unsupported
17553
 
      fi
17554
 
      ;;
17555
 
 
17556
 
    aix[4-9]*)
17557
 
      if test "$host_cpu" = ia64; then
17558
 
        # On IA64, the linker does run time linking by default, so we don't
17559
 
        # have to do anything special.
17560
 
        aix_use_runtimelinking=no
17561
 
        exp_sym_flag='-Bexport'
17562
 
        no_entry_flag=""
17563
 
      else
17564
 
        # If we're using GNU nm, then we don't want the "-C" option.
17565
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17566
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17567
 
          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'
17568
 
        else
17569
 
          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'
17570
 
        fi
17571
 
        aix_use_runtimelinking=no
17572
 
 
17573
 
        # Test if we are trying to use run time linking or normal
17574
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17575
 
        # need to do runtime linking.
17576
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17577
 
          for ld_flag in $LDFLAGS; do
17578
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17579
 
            aix_use_runtimelinking=yes
17580
 
            break
17581
 
          fi
17582
 
          done
17583
 
          ;;
17584
 
        esac
17585
 
 
17586
 
        exp_sym_flag='-bexport'
17587
 
        no_entry_flag='-bnoentry'
17588
 
      fi
17589
 
 
17590
 
      # When large executables or shared objects are built, AIX ld can
17591
 
      # have problems creating the table of contents.  If linking a library
17592
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17593
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17594
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17595
 
 
17596
 
      archive_cmds_GCJ=''
17597
 
      hardcode_direct_GCJ=yes
17598
 
      hardcode_libdir_separator_GCJ=':'
17599
 
      link_all_deplibs_GCJ=yes
17600
 
 
17601
 
      if test "$GCC" = yes; then
17602
 
        case $host_os in aix4.[012]|aix4.[012].*)
17603
 
        # We only want to do this on AIX 4.2 and lower, the check
17604
 
        # below for broken collect2 doesn't work under 4.3+
17605
 
          collect2name=`${CC} -print-prog-name=collect2`
17606
 
          if test -f "$collect2name" && \
17607
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17608
 
          then
17609
 
          # We have reworked collect2
17610
 
          :
17611
 
          else
17612
 
          # We have old collect2
17613
 
          hardcode_direct_GCJ=unsupported
17614
 
          # It fails to find uninstalled libraries when the uninstalled
17615
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17616
 
          # to unsupported forces relinking
17617
 
          hardcode_minus_L_GCJ=yes
17618
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17619
 
          hardcode_libdir_separator_GCJ=
17620
 
          fi
17621
 
          ;;
17622
 
        esac
17623
 
        shared_flag='-shared'
17624
 
        if test "$aix_use_runtimelinking" = yes; then
17625
 
          shared_flag="$shared_flag "'${wl}-G'
17626
 
        fi
17627
 
      else
17628
 
        # not using gcc
17629
 
        if test "$host_cpu" = ia64; then
17630
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17631
 
        # chokes on -Wl,-G. The following line is correct:
17632
 
          shared_flag='-G'
17633
 
        else
17634
 
          if test "$aix_use_runtimelinking" = yes; then
17635
 
            shared_flag='${wl}-G'
17636
 
          else
17637
 
            shared_flag='${wl}-bM:SRE'
17638
 
          fi
17639
 
        fi
17640
 
      fi
17641
 
 
17642
 
      # It seems that -bexpall does not export symbols beginning with
17643
 
      # underscore (_), so it is better to generate a list of symbols to export.
17644
 
      always_export_symbols_GCJ=yes
17645
 
      if test "$aix_use_runtimelinking" = yes; then
17646
 
        # Warning - without using the other runtime loading flags (-brtl),
17647
 
        # -berok will link without error, but may produce a broken library.
17648
 
        allow_undefined_flag_GCJ='-berok'
17649
 
       # Determine the default libpath from the value encoded in an empty executable.
17650
 
       cat >conftest.$ac_ext <<_ACEOF
17651
 
/* confdefs.h.  */
17652
 
_ACEOF
17653
 
cat confdefs.h >>conftest.$ac_ext
17654
 
cat >>conftest.$ac_ext <<_ACEOF
17655
 
/* end confdefs.h.  */
17656
 
 
17657
 
int
17658
 
main ()
17659
 
{
17660
 
 
17661
 
  ;
17662
 
  return 0;
17663
 
}
17664
 
_ACEOF
17665
 
rm -f conftest.$ac_objext conftest$ac_exeext
17666
 
if { (ac_try="$ac_link"
17667
 
case "(($ac_try" in
17668
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17669
 
  *) ac_try_echo=$ac_try;;
17670
 
esac
17671
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17672
 
  (eval "$ac_link") 2>conftest.er1
17673
 
  ac_status=$?
17674
 
  grep -v '^ *+' conftest.er1 >conftest.err
17675
 
  rm -f conftest.er1
17676
 
  cat conftest.err >&5
17677
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678
 
  (exit $ac_status); } && {
17679
 
         test -z "$ac_cxx_werror_flag" ||
17680
 
         test ! -s conftest.err
17681
 
       } && test -s conftest$ac_exeext &&
17682
 
       $as_test_x conftest$ac_exeext; then
17683
 
 
17684
 
lt_aix_libpath_sed='
17685
 
    /Import File Strings/,/^$/ {
17686
 
        /^0/ {
17687
 
            s/^0  *\(.*\)$/\1/
17688
 
            p
17689
 
        }
17690
 
    }'
17691
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17692
 
# Check for a 64-bit object if we didn't find anything.
17693
 
if test -z "$aix_libpath"; then
17694
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17695
 
fi
17696
 
else
17697
 
  echo "$as_me: failed program was:" >&5
17698
 
sed 's/^/| /' conftest.$ac_ext >&5
17699
 
 
17700
 
 
17701
 
fi
17702
 
 
17703
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17704
 
      conftest$ac_exeext conftest.$ac_ext
17705
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17706
 
 
17707
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17708
 
        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"
17709
 
       else
17710
 
        if test "$host_cpu" = ia64; then
17711
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17712
 
          allow_undefined_flag_GCJ="-z nodefs"
17713
 
          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"
17714
 
        else
17715
 
         # Determine the default libpath from the value encoded in an empty executable.
17716
 
         cat >conftest.$ac_ext <<_ACEOF
17717
 
/* confdefs.h.  */
17718
 
_ACEOF
17719
 
cat confdefs.h >>conftest.$ac_ext
17720
 
cat >>conftest.$ac_ext <<_ACEOF
17721
 
/* end confdefs.h.  */
17722
 
 
17723
 
int
17724
 
main ()
17725
 
{
17726
 
 
17727
 
  ;
17728
 
  return 0;
17729
 
}
17730
 
_ACEOF
17731
 
rm -f conftest.$ac_objext conftest$ac_exeext
17732
 
if { (ac_try="$ac_link"
17733
 
case "(($ac_try" in
17734
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17735
 
  *) ac_try_echo=$ac_try;;
17736
 
esac
17737
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17738
 
  (eval "$ac_link") 2>conftest.er1
17739
 
  ac_status=$?
17740
 
  grep -v '^ *+' conftest.er1 >conftest.err
17741
 
  rm -f conftest.er1
17742
 
  cat conftest.err >&5
17743
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744
 
  (exit $ac_status); } && {
17745
 
         test -z "$ac_cxx_werror_flag" ||
17746
 
         test ! -s conftest.err
17747
 
       } && test -s conftest$ac_exeext &&
17748
 
       $as_test_x conftest$ac_exeext; then
17749
 
 
17750
 
lt_aix_libpath_sed='
17751
 
    /Import File Strings/,/^$/ {
17752
 
        /^0/ {
17753
 
            s/^0  *\(.*\)$/\1/
17754
 
            p
17755
 
        }
17756
 
    }'
17757
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17758
 
# Check for a 64-bit object if we didn't find anything.
17759
 
if test -z "$aix_libpath"; then
17760
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17761
 
fi
17762
 
else
17763
 
  echo "$as_me: failed program was:" >&5
17764
 
sed 's/^/| /' conftest.$ac_ext >&5
17765
 
 
17766
 
 
17767
 
fi
17768
 
 
17769
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17770
 
      conftest$ac_exeext conftest.$ac_ext
17771
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17772
 
 
17773
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17774
 
          # Warning - without using the other run time loading flags,
17775
 
          # -berok will link without error, but may produce a broken library.
17776
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
17777
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
17778
 
          # Exported symbols can be pulled into shared objects from archives
17779
 
          whole_archive_flag_spec_GCJ='$convenience'
17780
 
          archive_cmds_need_lc_GCJ=yes
17781
 
          # This is similar to how AIX traditionally builds its shared libraries.
17782
 
          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'
17783
 
        fi
17784
 
      fi
17785
 
      ;;
17786
 
 
17787
 
    amigaos*)
17788
 
      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)'
17789
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17790
 
      hardcode_minus_L_GCJ=yes
17791
 
      # see comment about different semantics on the GNU ld section
17792
 
      ld_shlibs_GCJ=no
17793
 
      ;;
17794
 
 
17795
 
    bsdi[45]*)
17796
 
      export_dynamic_flag_spec_GCJ=-rdynamic
17797
 
      ;;
17798
 
 
17799
 
    cygwin* | mingw* | pw32*)
17800
 
      # When not using gcc, we currently assume that we are using
17801
 
      # Microsoft Visual C++.
17802
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17803
 
      # no search path for DLLs.
17804
 
      hardcode_libdir_flag_spec_GCJ=' '
17805
 
      allow_undefined_flag_GCJ=unsupported
17806
 
      # Tell ltmain to make .lib files, not .a files.
17807
 
      libext=lib
17808
 
      # Tell ltmain to make .dll files, not .so files.
17809
 
      shrext_cmds=".dll"
17810
 
      # FIXME: Setting linknames here is a bad hack.
17811
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17812
 
      # The linker will automatically build a .lib file if we build a DLL.
17813
 
      old_archive_From_new_cmds_GCJ='true'
17814
 
      # FIXME: Should let the user specify the lib program.
17815
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
17816
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17817
 
      enable_shared_with_static_runtimes_GCJ=yes
17818
 
      ;;
17819
 
 
17820
 
    darwin* | rhapsody*)
17821
 
      case $host_os in
17822
 
        rhapsody* | darwin1.[012])
17823
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17824
 
         ;;
17825
 
       *) # Darwin 1.3 on
17826
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17827
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17828
 
         else
17829
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
17830
 
             10.[012])
17831
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17832
 
               ;;
17833
 
             10.*)
17834
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17835
 
               ;;
17836
 
           esac
17837
 
         fi
17838
 
         ;;
17839
 
      esac
17840
 
      archive_cmds_need_lc_GCJ=no
17841
 
      hardcode_direct_GCJ=no
17842
 
      hardcode_automatic_GCJ=yes
17843
 
      hardcode_shlibpath_var_GCJ=unsupported
17844
 
      whole_archive_flag_spec_GCJ=''
17845
 
      link_all_deplibs_GCJ=yes
17846
 
    if test "$GCC" = yes ; then
17847
 
        output_verbose_link_cmd='echo'
17848
 
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17849
 
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17850
 
        archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
17851
 
        module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17852
 
    else
17853
 
      case $cc_basename in
17854
 
        xlc*)
17855
 
         output_verbose_link_cmd='echo'
17856
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17857
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17858
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17859
 
         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}'
17860
 
          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}'
17861
 
          ;;
17862
 
       *)
17863
 
         ld_shlibs_GCJ=no
17864
 
          ;;
17865
 
      esac
17866
 
    fi
17867
 
      ;;
17868
 
 
17869
 
    dgux*)
17870
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17871
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17872
 
      hardcode_shlibpath_var_GCJ=no
17873
 
      ;;
17874
 
 
17875
 
    freebsd1*)
17876
 
      ld_shlibs_GCJ=no
17877
 
      ;;
17878
 
 
17879
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17880
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17881
 
    # does not break anything, and helps significantly (at the cost of a little
17882
 
    # extra space).
17883
 
    freebsd2.2*)
17884
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17885
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17886
 
      hardcode_direct_GCJ=yes
17887
 
      hardcode_shlibpath_var_GCJ=no
17888
 
      ;;
17889
 
 
17890
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17891
 
    freebsd2*)
17892
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17893
 
      hardcode_direct_GCJ=yes
17894
 
      hardcode_minus_L_GCJ=yes
17895
 
      hardcode_shlibpath_var_GCJ=no
17896
 
      ;;
17897
 
 
17898
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17899
 
    freebsd* | dragonfly*)
17900
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17901
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17902
 
      hardcode_direct_GCJ=yes
17903
 
      hardcode_shlibpath_var_GCJ=no
17904
 
      ;;
17905
 
 
17906
 
    hpux9*)
17907
 
      if test "$GCC" = yes; then
17908
 
        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'
17909
 
      else
17910
 
        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'
17911
 
      fi
17912
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17913
 
      hardcode_libdir_separator_GCJ=:
17914
 
      hardcode_direct_GCJ=yes
17915
 
 
17916
 
      # hardcode_minus_L: Not really in the search PATH,
17917
 
      # but as the default location of the library.
17918
 
      hardcode_minus_L_GCJ=yes
17919
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17920
 
      ;;
17921
 
 
17922
 
    hpux10*)
17923
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17924
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17925
 
      else
17926
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17927
 
      fi
17928
 
      if test "$with_gnu_ld" = no; then
17929
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17930
 
        hardcode_libdir_separator_GCJ=:
17931
 
 
17932
 
        hardcode_direct_GCJ=yes
17933
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17934
 
 
17935
 
        # hardcode_minus_L: Not really in the search PATH,
17936
 
        # but as the default location of the library.
17937
 
        hardcode_minus_L_GCJ=yes
17938
 
      fi
17939
 
      ;;
17940
 
 
17941
 
    hpux11*)
17942
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17943
 
        case $host_cpu in
17944
 
        hppa*64*)
17945
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17946
 
          ;;
17947
 
        ia64*)
17948
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17949
 
          ;;
17950
 
        *)
17951
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17952
 
          ;;
17953
 
        esac
17954
 
      else
17955
 
        case $host_cpu in
17956
 
        hppa*64*)
17957
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17958
 
          ;;
17959
 
        ia64*)
17960
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17961
 
          ;;
17962
 
        *)
17963
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17964
 
          ;;
17965
 
        esac
17966
 
      fi
17967
 
      if test "$with_gnu_ld" = no; then
17968
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17969
 
        hardcode_libdir_separator_GCJ=:
17970
 
 
17971
 
        case $host_cpu in
17972
 
        hppa*64*|ia64*)
17973
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17974
 
          hardcode_direct_GCJ=no
17975
 
          hardcode_shlibpath_var_GCJ=no
17976
 
          ;;
17977
 
        *)
17978
 
          hardcode_direct_GCJ=yes
17979
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17980
 
 
17981
 
          # hardcode_minus_L: Not really in the search PATH,
17982
 
          # but as the default location of the library.
17983
 
          hardcode_minus_L_GCJ=yes
17984
 
          ;;
17985
 
        esac
17986
 
      fi
17987
 
      ;;
17988
 
 
17989
 
    irix5* | irix6* | nonstopux*)
17990
 
      if test "$GCC" = yes; then
17991
 
        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'
17992
 
      else
17993
 
        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'
17994
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17995
 
      fi
17996
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17997
 
      hardcode_libdir_separator_GCJ=:
17998
 
      link_all_deplibs_GCJ=yes
17999
 
      ;;
18000
 
 
18001
 
    netbsd* | netbsdelf*-gnu)
18002
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18003
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18004
 
      else
18005
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
18006
 
      fi
18007
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18008
 
      hardcode_direct_GCJ=yes
18009
 
      hardcode_shlibpath_var_GCJ=no
18010
 
      ;;
18011
 
 
18012
 
    newsos6)
18013
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18014
 
      hardcode_direct_GCJ=yes
18015
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18016
 
      hardcode_libdir_separator_GCJ=:
18017
 
      hardcode_shlibpath_var_GCJ=no
18018
 
      ;;
18019
 
 
18020
 
    openbsd*)
18021
 
      if test -f /usr/libexec/ld.so; then
18022
 
        hardcode_direct_GCJ=yes
18023
 
        hardcode_shlibpath_var_GCJ=no
18024
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18025
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18026
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18027
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18028
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18029
 
        else
18030
 
          case $host_os in
18031
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18032
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18033
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
18034
 
             ;;
18035
 
           *)
18036
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18037
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18038
 
             ;;
18039
 
          esac
18040
 
        fi
18041
 
      else
18042
 
        ld_shlibs_GCJ=no
18043
 
      fi
18044
 
      ;;
18045
 
 
18046
 
    os2*)
18047
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18048
 
      hardcode_minus_L_GCJ=yes
18049
 
      allow_undefined_flag_GCJ=unsupported
18050
 
      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'
18051
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18052
 
      ;;
18053
 
 
18054
 
    osf3*)
18055
 
      if test "$GCC" = yes; then
18056
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18057
 
        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'
18058
 
      else
18059
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18060
 
        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'
18061
 
      fi
18062
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18063
 
      hardcode_libdir_separator_GCJ=:
18064
 
      ;;
18065
 
 
18066
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
18067
 
      if test "$GCC" = yes; then
18068
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18069
 
        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'
18070
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18071
 
      else
18072
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18073
 
        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'
18074
 
        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~
18075
 
        $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'
18076
 
 
18077
 
        # Both c and cxx compiler support -rpath directly
18078
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18079
 
      fi
18080
 
      hardcode_libdir_separator_GCJ=:
18081
 
      ;;
18082
 
 
18083
 
    solaris*)
18084
 
      no_undefined_flag_GCJ=' -z text'
18085
 
      if test "$GCC" = yes; then
18086
 
        wlarc='${wl}'
18087
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18088
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18089
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18090
 
      else
18091
 
        wlarc=''
18092
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18093
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18094
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18095
 
      fi
18096
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18097
 
      hardcode_shlibpath_var_GCJ=no
18098
 
      case $host_os in
18099
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
18100
 
      *)
18101
 
        # The compiler driver will combine and reorder linker options,
18102
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
18103
 
        # but is careful enough not to reorder.
18104
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
18105
 
        if test "$GCC" = yes; then
18106
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18107
 
        else
18108
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
18109
 
        fi
18110
 
        ;;
18111
 
      esac
18112
 
      link_all_deplibs_GCJ=yes
18113
 
      ;;
18114
 
 
18115
 
    sunos4*)
18116
 
      if test "x$host_vendor" = xsequent; then
18117
 
        # Use $CC to link under sequent, because it throws in some extra .o
18118
 
        # files that make .init and .fini sections work.
18119
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18120
 
      else
18121
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18122
 
      fi
18123
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18124
 
      hardcode_direct_GCJ=yes
18125
 
      hardcode_minus_L_GCJ=yes
18126
 
      hardcode_shlibpath_var_GCJ=no
18127
 
      ;;
18128
 
 
18129
 
    sysv4)
18130
 
      case $host_vendor in
18131
 
        sni)
18132
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18133
 
          hardcode_direct_GCJ=yes # is this really true???
18134
 
        ;;
18135
 
        siemens)
18136
 
          ## LD is ld it makes a PLAMLIB
18137
 
          ## CC just makes a GrossModule.
18138
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18139
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18140
 
          hardcode_direct_GCJ=no
18141
 
        ;;
18142
 
        motorola)
18143
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18144
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18145
 
        ;;
18146
 
      esac
18147
 
      runpath_var='LD_RUN_PATH'
18148
 
      hardcode_shlibpath_var_GCJ=no
18149
 
      ;;
18150
 
 
18151
 
    sysv4.3*)
18152
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18153
 
      hardcode_shlibpath_var_GCJ=no
18154
 
      export_dynamic_flag_spec_GCJ='-Bexport'
18155
 
      ;;
18156
 
 
18157
 
    sysv4*MP*)
18158
 
      if test -d /usr/nec; then
18159
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18160
 
        hardcode_shlibpath_var_GCJ=no
18161
 
        runpath_var=LD_RUN_PATH
18162
 
        hardcode_runpath_var=yes
18163
 
        ld_shlibs_GCJ=yes
18164
 
      fi
18165
 
      ;;
18166
 
 
18167
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18168
 
      no_undefined_flag_GCJ='${wl}-z,text'
18169
 
      archive_cmds_need_lc_GCJ=no
18170
 
      hardcode_shlibpath_var_GCJ=no
18171
 
      runpath_var='LD_RUN_PATH'
18172
 
 
18173
 
      if test "$GCC" = yes; then
18174
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18175
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18176
 
      else
18177
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18178
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18179
 
      fi
18180
 
      ;;
18181
 
 
18182
 
    sysv5* | sco3.2v5* | sco5v6*)
18183
 
      # Note: We can NOT use -z defs as we might desire, because we do not
18184
 
      # link with -lc, and that would cause any symbols used from libc to
18185
 
      # always be unresolved, which means just about no library would
18186
 
      # ever link correctly.  If we're not using GNU ld we use -z text
18187
 
      # though, which does catch some bad symbols but isn't as heavy-handed
18188
 
      # as -z defs.
18189
 
      no_undefined_flag_GCJ='${wl}-z,text'
18190
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
18191
 
      archive_cmds_need_lc_GCJ=no
18192
 
      hardcode_shlibpath_var_GCJ=no
18193
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18194
 
      hardcode_libdir_separator_GCJ=':'
18195
 
      link_all_deplibs_GCJ=yes
18196
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18197
 
      runpath_var='LD_RUN_PATH'
18198
 
 
18199
 
      if test "$GCC" = yes; then
18200
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18201
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18202
 
      else
18203
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18204
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18205
 
      fi
18206
 
      ;;
18207
 
 
18208
 
    uts4*)
18209
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18210
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18211
 
      hardcode_shlibpath_var_GCJ=no
18212
 
      ;;
18213
 
 
18214
 
    *)
18215
 
      ld_shlibs_GCJ=no
18216
 
      ;;
18217
 
    esac
18218
 
  fi
18219
 
 
18220
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18221
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18222
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18223
 
 
18224
 
#
18225
 
# Do we need to explicitly link libc?
18226
 
#
18227
 
case "x$archive_cmds_need_lc_GCJ" in
18228
 
x|xyes)
18229
 
  # Assume -lc should be added
18230
 
  archive_cmds_need_lc_GCJ=yes
18231
 
 
18232
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
18233
 
    case $archive_cmds_GCJ in
18234
 
    *'~'*)
18235
 
      # FIXME: we may have to deal with multi-command sequences.
18236
 
      ;;
18237
 
    '$CC '*)
18238
 
      # Test whether the compiler implicitly links with -lc since on some
18239
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18240
 
      # to ld, don't add -lc before -lgcc.
18241
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18242
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18243
 
      $rm conftest*
18244
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18245
 
 
18246
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18247
 
  (eval $ac_compile) 2>&5
18248
 
  ac_status=$?
18249
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18250
 
  (exit $ac_status); } 2>conftest.err; then
18251
 
        soname=conftest
18252
 
        lib=conftest
18253
 
        libobjs=conftest.$ac_objext
18254
 
        deplibs=
18255
 
        wl=$lt_prog_compiler_wl_GCJ
18256
 
        pic_flag=$lt_prog_compiler_pic_GCJ
18257
 
        compiler_flags=-v
18258
 
        linker_flags=-v
18259
 
        verstring=
18260
 
        output_objdir=.
18261
 
        libname=conftest
18262
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18263
 
        allow_undefined_flag_GCJ=
18264
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18265
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18266
 
  ac_status=$?
18267
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268
 
  (exit $ac_status); }
18269
 
        then
18270
 
          archive_cmds_need_lc_GCJ=no
18271
 
        else
18272
 
          archive_cmds_need_lc_GCJ=yes
18273
 
        fi
18274
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18275
 
      else
18276
 
        cat conftest.err 1>&5
18277
 
      fi
18278
 
      $rm conftest*
18279
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18280
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18281
 
      ;;
18282
 
    esac
18283
 
  fi
18284
 
  ;;
18285
 
esac
18286
 
 
18287
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18288
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18289
 
library_names_spec=
18290
 
libname_spec='lib$name'
18291
 
soname_spec=
18292
 
shrext_cmds=".so"
18293
 
postinstall_cmds=
18294
 
postuninstall_cmds=
18295
 
finish_cmds=
18296
 
finish_eval=
18297
 
shlibpath_var=
18298
 
shlibpath_overrides_runpath=unknown
18299
 
version_type=none
18300
 
dynamic_linker="$host_os ld.so"
18301
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18302
 
 
18303
 
need_lib_prefix=unknown
18304
 
hardcode_into_libs=no
18305
 
 
18306
 
# when you set need_version to no, make sure it does not cause -set_version
18307
 
# flags to be left without arguments
18308
 
need_version=unknown
18309
 
 
18310
 
case $host_os in
18311
 
aix3*)
18312
 
  version_type=linux
18313
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18314
 
  shlibpath_var=LIBPATH
18315
 
 
18316
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18317
 
  soname_spec='${libname}${release}${shared_ext}$major'
18318
 
  ;;
18319
 
 
18320
 
aix[4-9]*)
18321
 
  version_type=linux
18322
 
  need_lib_prefix=no
18323
 
  need_version=no
18324
 
  hardcode_into_libs=yes
18325
 
  if test "$host_cpu" = ia64; then
18326
 
    # AIX 5 supports IA64
18327
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18328
 
    shlibpath_var=LD_LIBRARY_PATH
18329
 
  else
18330
 
    # With GCC up to 2.95.x, collect2 would create an import file
18331
 
    # for dependence libraries.  The import file would start with
18332
 
    # the line `#! .'.  This would cause the generated library to
18333
 
    # depend on `.', always an invalid library.  This was fixed in
18334
 
    # development snapshots of GCC prior to 3.0.
18335
 
    case $host_os in
18336
 
      aix4 | aix4.[01] | aix4.[01].*)
18337
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18338
 
           echo ' yes '
18339
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18340
 
        :
18341
 
      else
18342
 
        can_build_shared=no
18343
 
      fi
18344
 
      ;;
18345
 
    esac
18346
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18347
 
    # soname into executable. Probably we can add versioning support to
18348
 
    # collect2, so additional links can be useful in future.
18349
 
    if test "$aix_use_runtimelinking" = yes; then
18350
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18351
 
      # instead of lib<name>.a to let people know that these are not
18352
 
      # typical AIX shared libraries.
18353
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18354
 
    else
18355
 
      # We preserve .a as extension for shared libraries through AIX4.2
18356
 
      # and later when we are not doing run time linking.
18357
 
      library_names_spec='${libname}${release}.a $libname.a'
18358
 
      soname_spec='${libname}${release}${shared_ext}$major'
18359
 
    fi
18360
 
    shlibpath_var=LIBPATH
18361
 
  fi
18362
 
  ;;
18363
 
 
18364
 
amigaos*)
18365
 
  library_names_spec='$libname.ixlibrary $libname.a'
18366
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18367
 
  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'
18368
 
  ;;
18369
 
 
18370
 
beos*)
18371
 
  library_names_spec='${libname}${shared_ext}'
18372
 
  dynamic_linker="$host_os ld.so"
18373
 
  shlibpath_var=LIBRARY_PATH
18374
 
  ;;
18375
 
 
18376
 
bsdi[45]*)
18377
 
  version_type=linux
18378
 
  need_version=no
18379
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18380
 
  soname_spec='${libname}${release}${shared_ext}$major'
18381
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18382
 
  shlibpath_var=LD_LIBRARY_PATH
18383
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18384
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18385
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18386
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18387
 
  # libtool to hard-code these into programs
18388
 
  ;;
18389
 
 
18390
 
cygwin* | mingw* | pw32*)
18391
 
  version_type=windows
18392
 
  shrext_cmds=".dll"
18393
 
  need_version=no
18394
 
  need_lib_prefix=no
18395
 
 
18396
 
  case $GCC,$host_os in
18397
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18398
 
    library_names_spec='$libname.dll.a'
18399
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18400
 
    postinstall_cmds='base_file=`basename \${file}`~
18401
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18402
 
      dldir=$destdir/`dirname \$dlpath`~
18403
 
      test -d \$dldir || mkdir -p \$dldir~
18404
 
      $install_prog $dir/$dlname \$dldir/$dlname~
18405
 
      chmod a+x \$dldir/$dlname'
18406
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18407
 
      dlpath=$dir/\$dldll~
18408
 
       $rm \$dlpath'
18409
 
    shlibpath_overrides_runpath=yes
18410
 
 
18411
 
    case $host_os in
18412
 
    cygwin*)
18413
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18414
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18415
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18416
 
      ;;
18417
 
    mingw*)
18418
 
      # MinGW DLLs use traditional 'lib' prefix
18419
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18420
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18421
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18422
 
        # It is most probably a Windows format PATH printed by
18423
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18424
 
        # path with ; separators, and with drive letters. We can handle the
18425
 
        # drive letters (cygwin fileutils understands them), so leave them,
18426
 
        # especially as we might pass files found there to a mingw objdump,
18427
 
        # which wouldn't understand a cygwinified path. Ahh.
18428
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18429
 
      else
18430
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18431
 
      fi
18432
 
      ;;
18433
 
    pw32*)
18434
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18435
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18436
 
      ;;
18437
 
    esac
18438
 
    ;;
18439
 
 
18440
 
  *)
18441
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18442
 
    ;;
18443
 
  esac
18444
 
  dynamic_linker='Win32 ld.exe'
18445
 
  # FIXME: first we should search . and the directory the executable is in
18446
 
  shlibpath_var=PATH
18447
 
  ;;
18448
 
 
18449
 
darwin* | rhapsody*)
18450
 
  dynamic_linker="$host_os dyld"
18451
 
  version_type=darwin
18452
 
  need_lib_prefix=no
18453
 
  need_version=no
18454
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18455
 
  soname_spec='${libname}${release}${major}$shared_ext'
18456
 
  shlibpath_overrides_runpath=yes
18457
 
  shlibpath_var=DYLD_LIBRARY_PATH
18458
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18459
 
 
18460
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18461
 
  ;;
18462
 
 
18463
 
dgux*)
18464
 
  version_type=linux
18465
 
  need_lib_prefix=no
18466
 
  need_version=no
18467
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18468
 
  soname_spec='${libname}${release}${shared_ext}$major'
18469
 
  shlibpath_var=LD_LIBRARY_PATH
18470
 
  ;;
18471
 
 
18472
 
freebsd1*)
18473
 
  dynamic_linker=no
18474
 
  ;;
18475
 
 
18476
 
freebsd* | dragonfly*)
18477
 
  # DragonFly does not have aout.  When/if they implement a new
18478
 
  # versioning mechanism, adjust this.
18479
 
  if test -x /usr/bin/objformat; then
18480
 
    objformat=`/usr/bin/objformat`
18481
 
  else
18482
 
    case $host_os in
18483
 
    freebsd[123]*) objformat=aout ;;
18484
 
    *) objformat=elf ;;
18485
 
    esac
18486
 
  fi
18487
 
  version_type=freebsd-$objformat
18488
 
  case $version_type in
18489
 
    freebsd-elf*)
18490
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18491
 
      need_version=no
18492
 
      need_lib_prefix=no
18493
 
      ;;
18494
 
    freebsd-*)
18495
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18496
 
      need_version=yes
18497
 
      ;;
18498
 
  esac
18499
 
  shlibpath_var=LD_LIBRARY_PATH
18500
 
  case $host_os in
18501
 
  freebsd2*)
18502
 
    shlibpath_overrides_runpath=yes
18503
 
    ;;
18504
 
  freebsd3.[01]* | freebsdelf3.[01]*)
18505
 
    shlibpath_overrides_runpath=yes
18506
 
    hardcode_into_libs=yes
18507
 
    ;;
18508
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18509
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18510
 
    shlibpath_overrides_runpath=no
18511
 
    hardcode_into_libs=yes
18512
 
    ;;
18513
 
  *) # from 4.6 on, and DragonFly
18514
 
    shlibpath_overrides_runpath=yes
18515
 
    hardcode_into_libs=yes
18516
 
    ;;
18517
 
  esac
18518
 
  ;;
18519
 
 
18520
 
gnu*)
18521
 
  version_type=linux
18522
 
  need_lib_prefix=no
18523
 
  need_version=no
18524
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18525
 
  soname_spec='${libname}${release}${shared_ext}$major'
18526
 
  shlibpath_var=LD_LIBRARY_PATH
18527
 
  hardcode_into_libs=yes
18528
 
  ;;
18529
 
 
18530
 
hpux9* | hpux10* | hpux11*)
18531
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18532
 
  # link against other versions.
18533
 
  version_type=sunos
18534
 
  need_lib_prefix=no
18535
 
  need_version=no
18536
 
  case $host_cpu in
18537
 
  ia64*)
18538
 
    shrext_cmds='.so'
18539
 
    hardcode_into_libs=yes
18540
 
    dynamic_linker="$host_os dld.so"
18541
 
    shlibpath_var=LD_LIBRARY_PATH
18542
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18543
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18544
 
    soname_spec='${libname}${release}${shared_ext}$major'
18545
 
    if test "X$HPUX_IA64_MODE" = X32; then
18546
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18547
 
    else
18548
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18549
 
    fi
18550
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18551
 
    ;;
18552
 
   hppa*64*)
18553
 
     shrext_cmds='.sl'
18554
 
     hardcode_into_libs=yes
18555
 
     dynamic_linker="$host_os dld.sl"
18556
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18557
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18558
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18559
 
     soname_spec='${libname}${release}${shared_ext}$major'
18560
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18561
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18562
 
     ;;
18563
 
   *)
18564
 
    shrext_cmds='.sl'
18565
 
    dynamic_linker="$host_os dld.sl"
18566
 
    shlibpath_var=SHLIB_PATH
18567
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18568
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18569
 
    soname_spec='${libname}${release}${shared_ext}$major'
18570
 
    ;;
18571
 
  esac
18572
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18573
 
  postinstall_cmds='chmod 555 $lib'
18574
 
  ;;
18575
 
 
18576
 
interix[3-9]*)
18577
 
  version_type=linux
18578
 
  need_lib_prefix=no
18579
 
  need_version=no
18580
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18581
 
  soname_spec='${libname}${release}${shared_ext}$major'
18582
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18583
 
  shlibpath_var=LD_LIBRARY_PATH
18584
 
  shlibpath_overrides_runpath=no
18585
 
  hardcode_into_libs=yes
18586
 
  ;;
18587
 
 
18588
 
irix5* | irix6* | nonstopux*)
18589
 
  case $host_os in
18590
 
    nonstopux*) version_type=nonstopux ;;
18591
 
    *)
18592
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18593
 
                version_type=linux
18594
 
        else
18595
 
                version_type=irix
18596
 
        fi ;;
18597
 
  esac
18598
 
  need_lib_prefix=no
18599
 
  need_version=no
18600
 
  soname_spec='${libname}${release}${shared_ext}$major'
18601
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18602
 
  case $host_os in
18603
 
  irix5* | nonstopux*)
18604
 
    libsuff= shlibsuff=
18605
 
    ;;
18606
 
  *)
18607
 
    case $LD in # libtool.m4 will add one of these switches to LD
18608
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18609
 
      libsuff= shlibsuff= libmagic=32-bit;;
18610
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18611
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18612
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18613
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18614
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18615
 
    esac
18616
 
    ;;
18617
 
  esac
18618
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18619
 
  shlibpath_overrides_runpath=no
18620
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18621
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18622
 
  hardcode_into_libs=yes
18623
 
  ;;
18624
 
 
18625
 
# No shared lib support for Linux oldld, aout, or coff.
18626
 
linux*oldld* | linux*aout* | linux*coff*)
18627
 
  dynamic_linker=no
18628
 
  ;;
18629
 
 
18630
 
# This must be Linux ELF.
18631
 
linux* | k*bsd*-gnu)
18632
 
  version_type=linux
18633
 
  need_lib_prefix=no
18634
 
  need_version=no
18635
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18636
 
  soname_spec='${libname}${release}${shared_ext}$major'
18637
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18638
 
  shlibpath_var=LD_LIBRARY_PATH
18639
 
  shlibpath_overrides_runpath=no
18640
 
  # This implies no fast_install, which is unacceptable.
18641
 
  # Some rework will be needed to allow for fast_install
18642
 
  # before this can be enabled.
18643
 
  hardcode_into_libs=yes
18644
 
 
18645
 
  # Append ld.so.conf contents to the search path
18646
 
  if test -f /etc/ld.so.conf; then
18647
 
    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' ' '`
18648
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18649
 
  fi
18650
 
 
18651
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18652
 
  # powerpc, because MkLinux only supported shared libraries with the
18653
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18654
 
  # most powerpc-linux boxes support dynamic linking these days and
18655
 
  # people can always --disable-shared, the test was removed, and we
18656
 
  # assume the GNU/Linux dynamic linker is in use.
18657
 
  dynamic_linker='GNU/Linux ld.so'
18658
 
  ;;
18659
 
 
18660
 
netbsdelf*-gnu)
18661
 
  version_type=linux
18662
 
  need_lib_prefix=no
18663
 
  need_version=no
18664
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18665
 
  soname_spec='${libname}${release}${shared_ext}$major'
18666
 
  shlibpath_var=LD_LIBRARY_PATH
18667
 
  shlibpath_overrides_runpath=no
18668
 
  hardcode_into_libs=yes
18669
 
  dynamic_linker='NetBSD ld.elf_so'
18670
 
  ;;
18671
 
 
18672
 
netbsd*)
18673
 
  version_type=sunos
18674
 
  need_lib_prefix=no
18675
 
  need_version=no
18676
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18677
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18678
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18679
 
    dynamic_linker='NetBSD (a.out) ld.so'
18680
 
  else
18681
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18682
 
    soname_spec='${libname}${release}${shared_ext}$major'
18683
 
    dynamic_linker='NetBSD ld.elf_so'
18684
 
  fi
18685
 
  shlibpath_var=LD_LIBRARY_PATH
18686
 
  shlibpath_overrides_runpath=yes
18687
 
  hardcode_into_libs=yes
18688
 
  ;;
18689
 
 
18690
 
newsos6)
18691
 
  version_type=linux
18692
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18693
 
  shlibpath_var=LD_LIBRARY_PATH
18694
 
  shlibpath_overrides_runpath=yes
18695
 
  ;;
18696
 
 
18697
 
nto-qnx*)
18698
 
  version_type=linux
18699
 
  need_lib_prefix=no
18700
 
  need_version=no
18701
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18702
 
  soname_spec='${libname}${release}${shared_ext}$major'
18703
 
  shlibpath_var=LD_LIBRARY_PATH
18704
 
  shlibpath_overrides_runpath=yes
18705
 
  ;;
18706
 
 
18707
 
openbsd*)
18708
 
  version_type=sunos
18709
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18710
 
  need_lib_prefix=no
18711
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18712
 
  case $host_os in
18713
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18714
 
    *)                         need_version=no  ;;
18715
 
  esac
18716
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18717
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18718
 
  shlibpath_var=LD_LIBRARY_PATH
18719
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18720
 
    case $host_os in
18721
 
      openbsd2.[89] | openbsd2.[89].*)
18722
 
        shlibpath_overrides_runpath=no
18723
 
        ;;
18724
 
      *)
18725
 
        shlibpath_overrides_runpath=yes
18726
 
        ;;
18727
 
      esac
18728
 
  else
18729
 
    shlibpath_overrides_runpath=yes
18730
 
  fi
18731
 
  ;;
18732
 
 
18733
 
os2*)
18734
 
  libname_spec='$name'
18735
 
  shrext_cmds=".dll"
18736
 
  need_lib_prefix=no
18737
 
  library_names_spec='$libname${shared_ext} $libname.a'
18738
 
  dynamic_linker='OS/2 ld.exe'
18739
 
  shlibpath_var=LIBPATH
18740
 
  ;;
18741
 
 
18742
 
osf3* | osf4* | osf5*)
18743
 
  version_type=osf
18744
 
  need_lib_prefix=no
18745
 
  need_version=no
18746
 
  soname_spec='${libname}${release}${shared_ext}$major'
18747
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18748
 
  shlibpath_var=LD_LIBRARY_PATH
18749
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18750
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18751
 
  ;;
18752
 
 
18753
 
rdos*)
18754
 
  dynamic_linker=no
18755
 
  ;;
18756
 
 
18757
 
solaris*)
18758
 
  version_type=linux
18759
 
  need_lib_prefix=no
18760
 
  need_version=no
18761
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18762
 
  soname_spec='${libname}${release}${shared_ext}$major'
18763
 
  shlibpath_var=LD_LIBRARY_PATH
18764
 
  shlibpath_overrides_runpath=yes
18765
 
  hardcode_into_libs=yes
18766
 
  # ldd complains unless libraries are executable
18767
 
  postinstall_cmds='chmod +x $lib'
18768
 
  ;;
18769
 
 
18770
 
sunos4*)
18771
 
  version_type=sunos
18772
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18773
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18774
 
  shlibpath_var=LD_LIBRARY_PATH
18775
 
  shlibpath_overrides_runpath=yes
18776
 
  if test "$with_gnu_ld" = yes; then
18777
 
    need_lib_prefix=no
18778
 
  fi
18779
 
  need_version=yes
18780
 
  ;;
18781
 
 
18782
 
sysv4 | sysv4.3*)
18783
 
  version_type=linux
18784
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18785
 
  soname_spec='${libname}${release}${shared_ext}$major'
18786
 
  shlibpath_var=LD_LIBRARY_PATH
18787
 
  case $host_vendor in
18788
 
    sni)
18789
 
      shlibpath_overrides_runpath=no
18790
 
      need_lib_prefix=no
18791
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18792
 
      runpath_var=LD_RUN_PATH
18793
 
      ;;
18794
 
    siemens)
18795
 
      need_lib_prefix=no
18796
 
      ;;
18797
 
    motorola)
18798
 
      need_lib_prefix=no
18799
 
      need_version=no
18800
 
      shlibpath_overrides_runpath=no
18801
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18802
 
      ;;
18803
 
  esac
18804
 
  ;;
18805
 
 
18806
 
sysv4*MP*)
18807
 
  if test -d /usr/nec ;then
18808
 
    version_type=linux
18809
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18810
 
    soname_spec='$libname${shared_ext}.$major'
18811
 
    shlibpath_var=LD_LIBRARY_PATH
18812
 
  fi
18813
 
  ;;
18814
 
 
18815
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18816
 
  version_type=freebsd-elf
18817
 
  need_lib_prefix=no
18818
 
  need_version=no
18819
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18820
 
  soname_spec='${libname}${release}${shared_ext}$major'
18821
 
  shlibpath_var=LD_LIBRARY_PATH
18822
 
  hardcode_into_libs=yes
18823
 
  if test "$with_gnu_ld" = yes; then
18824
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18825
 
    shlibpath_overrides_runpath=no
18826
 
  else
18827
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18828
 
    shlibpath_overrides_runpath=yes
18829
 
    case $host_os in
18830
 
      sco3.2v5*)
18831
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18832
 
        ;;
18833
 
    esac
18834
 
  fi
18835
 
  sys_lib_dlsearch_path_spec='/usr/lib'
18836
 
  ;;
18837
 
 
18838
 
uts4*)
18839
 
  version_type=linux
18840
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18841
 
  soname_spec='${libname}${release}${shared_ext}$major'
18842
 
  shlibpath_var=LD_LIBRARY_PATH
18843
 
  ;;
18844
 
 
18845
 
*)
18846
 
  dynamic_linker=no
18847
 
  ;;
18848
 
esac
18849
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18850
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18851
 
test "$dynamic_linker" = no && can_build_shared=no
18852
 
 
18853
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18854
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18855
 
else
18856
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
18857
 
fi
18858
 
 
18859
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18860
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18861
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18862
 
else
18863
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
18864
 
fi
18865
 
 
18866
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18867
 
 
18868
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18869
 
if test "$GCC" = yes; then
18870
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18871
 
fi
18872
 
 
18873
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18874
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18875
 
hardcode_action_GCJ=
18876
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18877
 
   test -n "$runpath_var_GCJ" || \
18878
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18879
 
 
18880
 
  # We can hardcode non-existant directories.
18881
 
  if test "$hardcode_direct_GCJ" != no &&
18882
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18883
 
     # have to relink, otherwise we might link with an installed library
18884
 
     # when we should be linking with a yet-to-be-installed one
18885
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18886
 
     test "$hardcode_minus_L_GCJ" != no; then
18887
 
    # Linking always hardcodes the temporary library directory.
18888
 
    hardcode_action_GCJ=relink
18889
 
  else
18890
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18891
 
    hardcode_action_GCJ=immediate
18892
 
  fi
18893
 
else
18894
 
  # We cannot hardcode anything, or else we can only hardcode existing
18895
 
  # directories.
18896
 
  hardcode_action_GCJ=unsupported
18897
 
fi
18898
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18899
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18900
 
 
18901
 
if test "$hardcode_action_GCJ" = relink; then
18902
 
  # Fast installation is not supported
18903
 
  enable_fast_install=no
18904
 
elif test "$shlibpath_overrides_runpath" = yes ||
18905
 
     test "$enable_shared" = no; then
18906
 
  # Fast installation is not necessary
18907
 
  enable_fast_install=needless
18908
 
fi
18909
 
 
18910
 
 
18911
 
# The else clause should only fire when bootstrapping the
18912
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18913
 
# with your package, and you will get complaints that there are
18914
 
# no rules to generate ltmain.sh.
18915
 
if test -f "$ltmain"; then
18916
 
  # See if we are running on zsh, and set the options which allow our commands through
18917
 
  # without removal of \ escapes.
18918
 
  if test -n "${ZSH_VERSION+set}" ; then
18919
 
    setopt NO_GLOB_SUBST
18920
 
  fi
18921
 
  # Now quote all the things that may contain metacharacters while being
18922
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18923
 
  # variables and quote the copies for generation of the libtool script.
18924
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18925
 
    SED SHELL STRIP \
18926
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18927
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18928
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18929
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18930
 
    lt_cv_sys_global_symbol_to_c_name_address \
18931
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18932
 
    old_postinstall_cmds old_postuninstall_cmds \
18933
 
    compiler_GCJ \
18934
 
    CC_GCJ \
18935
 
    LD_GCJ \
18936
 
    lt_prog_compiler_wl_GCJ \
18937
 
    lt_prog_compiler_pic_GCJ \
18938
 
    lt_prog_compiler_static_GCJ \
18939
 
    lt_prog_compiler_no_builtin_flag_GCJ \
18940
 
    export_dynamic_flag_spec_GCJ \
18941
 
    thread_safe_flag_spec_GCJ \
18942
 
    whole_archive_flag_spec_GCJ \
18943
 
    enable_shared_with_static_runtimes_GCJ \
18944
 
    old_archive_cmds_GCJ \
18945
 
    old_archive_from_new_cmds_GCJ \
18946
 
    predep_objects_GCJ \
18947
 
    postdep_objects_GCJ \
18948
 
    predeps_GCJ \
18949
 
    postdeps_GCJ \
18950
 
    compiler_lib_search_path_GCJ \
18951
 
    compiler_lib_search_dirs_GCJ \
18952
 
    archive_cmds_GCJ \
18953
 
    archive_expsym_cmds_GCJ \
18954
 
    postinstall_cmds_GCJ \
18955
 
    postuninstall_cmds_GCJ \
18956
 
    old_archive_from_expsyms_cmds_GCJ \
18957
 
    allow_undefined_flag_GCJ \
18958
 
    no_undefined_flag_GCJ \
18959
 
    export_symbols_cmds_GCJ \
18960
 
    hardcode_libdir_flag_spec_GCJ \
18961
 
    hardcode_libdir_flag_spec_ld_GCJ \
18962
 
    hardcode_libdir_separator_GCJ \
18963
 
    hardcode_automatic_GCJ \
18964
 
    module_cmds_GCJ \
18965
 
    module_expsym_cmds_GCJ \
18966
 
    lt_cv_prog_compiler_c_o_GCJ \
18967
 
    fix_srcfile_path_GCJ \
18968
 
    exclude_expsyms_GCJ \
18969
 
    include_expsyms_GCJ; do
18970
 
 
18971
 
    case $var in
18972
 
    old_archive_cmds_GCJ | \
18973
 
    old_archive_from_new_cmds_GCJ | \
18974
 
    archive_cmds_GCJ | \
18975
 
    archive_expsym_cmds_GCJ | \
18976
 
    module_cmds_GCJ | \
18977
 
    module_expsym_cmds_GCJ | \
18978
 
    old_archive_from_expsyms_cmds_GCJ | \
18979
 
    export_symbols_cmds_GCJ | \
18980
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18981
 
    postinstall_cmds | postuninstall_cmds | \
18982
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18983
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18984
 
      # Double-quote double-evaled strings.
18985
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18986
 
      ;;
18987
 
    *)
18988
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18989
 
      ;;
18990
 
    esac
18991
 
  done
18992
 
 
18993
 
  case $lt_echo in
18994
 
  *'\$0 --fallback-echo"')
18995
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18996
 
    ;;
18997
 
  esac
18998
 
 
18999
 
cfgfile="$ofile"
19000
 
 
19001
 
  cat <<__EOF__ >> "$cfgfile"
19002
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19003
 
 
19004
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19005
 
 
19006
 
# Shell to use when invoking shell scripts.
19007
 
SHELL=$lt_SHELL
19008
 
 
19009
 
# Whether or not to build shared libraries.
19010
 
build_libtool_libs=$enable_shared
19011
 
 
19012
 
# Whether or not to build static libraries.
19013
 
build_old_libs=$enable_static
19014
 
 
19015
 
# Whether or not to add -lc for building shared libraries.
19016
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19017
 
 
19018
 
# Whether or not to disallow shared libs when runtime libs are static
19019
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19020
 
 
19021
 
# Whether or not to optimize for fast installation.
19022
 
fast_install=$enable_fast_install
19023
 
 
19024
 
# The host system.
19025
 
host_alias=$host_alias
19026
 
host=$host
19027
 
host_os=$host_os
19028
 
 
19029
 
# The build system.
19030
 
build_alias=$build_alias
19031
 
build=$build
19032
 
build_os=$build_os
19033
 
 
19034
 
# An echo program that does not interpret backslashes.
19035
 
echo=$lt_echo
19036
 
 
19037
 
# The archiver.
19038
 
AR=$lt_AR
19039
 
AR_FLAGS=$lt_AR_FLAGS
19040
 
 
19041
 
# A C compiler.
19042
 
LTCC=$lt_LTCC
19043
 
 
19044
 
# LTCC compiler flags.
19045
 
LTCFLAGS=$lt_LTCFLAGS
19046
 
 
19047
 
# A language-specific compiler.
19048
 
CC=$lt_compiler_GCJ
19049
 
 
19050
 
# Is the compiler the GNU C compiler?
19051
 
with_gcc=$GCC_GCJ
19052
 
 
19053
 
# An ERE matcher.
19054
 
EGREP=$lt_EGREP
19055
 
 
19056
 
# The linker used to build libraries.
19057
 
LD=$lt_LD_GCJ
19058
 
 
19059
 
# Whether we need hard or soft links.
19060
 
LN_S=$lt_LN_S
19061
 
 
19062
 
# A BSD-compatible nm program.
19063
 
NM=$lt_NM
19064
 
 
19065
 
# A symbol stripping program
19066
 
STRIP=$lt_STRIP
19067
 
 
19068
 
# Used to examine libraries when file_magic_cmd begins "file"
19069
 
MAGIC_CMD=$MAGIC_CMD
19070
 
 
19071
 
# Used on cygwin: DLL creation program.
19072
 
DLLTOOL="$DLLTOOL"
19073
 
 
19074
 
# Used on cygwin: object dumper.
19075
 
OBJDUMP="$OBJDUMP"
19076
 
 
19077
 
# Used on cygwin: assembler.
19078
 
AS="$AS"
19079
 
 
19080
 
# The name of the directory that contains temporary libtool files.
19081
 
objdir=$objdir
19082
 
 
19083
 
# How to create reloadable object files.
19084
 
reload_flag=$lt_reload_flag
19085
 
reload_cmds=$lt_reload_cmds
19086
 
 
19087
 
# How to pass a linker flag through the compiler.
19088
 
wl=$lt_lt_prog_compiler_wl_GCJ
19089
 
 
19090
 
# Object file suffix (normally "o").
19091
 
objext="$ac_objext"
19092
 
 
19093
 
# Old archive suffix (normally "a").
19094
 
libext="$libext"
19095
 
 
19096
 
# Shared library suffix (normally ".so").
19097
 
shrext_cmds='$shrext_cmds'
19098
 
 
19099
 
# Executable file suffix (normally "").
19100
 
exeext="$exeext"
19101
 
 
19102
 
# Additional compiler flags for building library objects.
19103
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
19104
 
pic_mode=$pic_mode
19105
 
 
19106
 
# What is the maximum length of a command?
19107
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19108
 
 
19109
 
# Does compiler simultaneously support -c and -o options?
19110
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19111
 
 
19112
 
# Must we lock files when doing compilation?
19113
 
need_locks=$lt_need_locks
19114
 
 
19115
 
# Do we need the lib prefix for modules?
19116
 
need_lib_prefix=$need_lib_prefix
19117
 
 
19118
 
# Do we need a version for libraries?
19119
 
need_version=$need_version
19120
 
 
19121
 
# Whether dlopen is supported.
19122
 
dlopen_support=$enable_dlopen
19123
 
 
19124
 
# Whether dlopen of programs is supported.
19125
 
dlopen_self=$enable_dlopen_self
19126
 
 
19127
 
# Whether dlopen of statically linked programs is supported.
19128
 
dlopen_self_static=$enable_dlopen_self_static
19129
 
 
19130
 
# Compiler flag to prevent dynamic linking.
19131
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
19132
 
 
19133
 
# Compiler flag to turn off builtin functions.
19134
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19135
 
 
19136
 
# Compiler flag to allow reflexive dlopens.
19137
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19138
 
 
19139
 
# Compiler flag to generate shared objects directly from archives.
19140
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19141
 
 
19142
 
# Compiler flag to generate thread-safe objects.
19143
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19144
 
 
19145
 
# Library versioning type.
19146
 
version_type=$version_type
19147
 
 
19148
 
# Format of library name prefix.
19149
 
libname_spec=$lt_libname_spec
19150
 
 
19151
 
# List of archive names.  First name is the real one, the rest are links.
19152
 
# The last name is the one that the linker finds with -lNAME.
19153
 
library_names_spec=$lt_library_names_spec
19154
 
 
19155
 
# The coded name of the library, if different from the real name.
19156
 
soname_spec=$lt_soname_spec
19157
 
 
19158
 
# Commands used to build and install an old-style archive.
19159
 
RANLIB=$lt_RANLIB
19160
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
19161
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19162
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19163
 
 
19164
 
# Create an old-style archive from a shared archive.
19165
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19166
 
 
19167
 
# Create a temporary old-style archive to link instead of a shared archive.
19168
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19169
 
 
19170
 
# Commands used to build and install a shared archive.
19171
 
archive_cmds=$lt_archive_cmds_GCJ
19172
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19173
 
postinstall_cmds=$lt_postinstall_cmds
19174
 
postuninstall_cmds=$lt_postuninstall_cmds
19175
 
 
19176
 
# Commands used to build a loadable module (assumed same as above if empty)
19177
 
module_cmds=$lt_module_cmds_GCJ
19178
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19179
 
 
19180
 
# Commands to strip libraries.
19181
 
old_striplib=$lt_old_striplib
19182
 
striplib=$lt_striplib
19183
 
 
19184
 
# Dependencies to place before the objects being linked to create a
19185
 
# shared library.
19186
 
predep_objects=$lt_predep_objects_GCJ
19187
 
 
19188
 
# Dependencies to place after the objects being linked to create a
19189
 
# shared library.
19190
 
postdep_objects=$lt_postdep_objects_GCJ
19191
 
 
19192
 
# Dependencies to place before the objects being linked to create a
19193
 
# shared library.
19194
 
predeps=$lt_predeps_GCJ
19195
 
 
19196
 
# Dependencies to place after the objects being linked to create a
19197
 
# shared library.
19198
 
postdeps=$lt_postdeps_GCJ
19199
 
 
19200
 
# The directories searched by this compiler when creating a shared
19201
 
# library
19202
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19203
 
 
19204
 
# The library search path used internally by the compiler when linking
19205
 
# a shared library.
19206
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19207
 
 
19208
 
# Method to check whether dependent libraries are shared objects.
19209
 
deplibs_check_method=$lt_deplibs_check_method
19210
 
 
19211
 
# Command to use when deplibs_check_method == file_magic.
19212
 
file_magic_cmd=$lt_file_magic_cmd
19213
 
 
19214
 
# Flag that allows shared libraries with undefined symbols to be built.
19215
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19216
 
 
19217
 
# Flag that forces no undefined symbols.
19218
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
19219
 
 
19220
 
# Commands used to finish a libtool library installation in a directory.
19221
 
finish_cmds=$lt_finish_cmds
19222
 
 
19223
 
# Same as above, but a single script fragment to be evaled but not shown.
19224
 
finish_eval=$lt_finish_eval
19225
 
 
19226
 
# Take the output of nm and produce a listing of raw symbols and C names.
19227
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19228
 
 
19229
 
# Transform the output of nm in a proper C declaration
19230
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19231
 
 
19232
 
# Transform the output of nm in a C name address pair
19233
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19234
 
 
19235
 
# This is the shared library runtime path variable.
19236
 
runpath_var=$runpath_var
19237
 
 
19238
 
# This is the shared library path variable.
19239
 
shlibpath_var=$shlibpath_var
19240
 
 
19241
 
# Is shlibpath searched before the hard-coded library search path?
19242
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19243
 
 
19244
 
# How to hardcode a shared library path into an executable.
19245
 
hardcode_action=$hardcode_action_GCJ
19246
 
 
19247
 
# Whether we should hardcode library paths into libraries.
19248
 
hardcode_into_libs=$hardcode_into_libs
19249
 
 
19250
 
# Flag to hardcode \$libdir into a binary during linking.
19251
 
# This must work even if \$libdir does not exist.
19252
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19253
 
 
19254
 
# If ld is used when linking, flag to hardcode \$libdir into
19255
 
# a binary during linking. This must work even if \$libdir does
19256
 
# not exist.
19257
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19258
 
 
19259
 
# Whether we need a single -rpath flag with a separated argument.
19260
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19261
 
 
19262
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19263
 
# resulting binary.
19264
 
hardcode_direct=$hardcode_direct_GCJ
19265
 
 
19266
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19267
 
# resulting binary.
19268
 
hardcode_minus_L=$hardcode_minus_L_GCJ
19269
 
 
19270
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19271
 
# the resulting binary.
19272
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19273
 
 
19274
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19275
 
# and all subsequent libraries and executables linked against it.
19276
 
hardcode_automatic=$hardcode_automatic_GCJ
19277
 
 
19278
 
# Variables whose values should be saved in libtool wrapper scripts and
19279
 
# restored at relink time.
19280
 
variables_saved_for_relink="$variables_saved_for_relink"
19281
 
 
19282
 
# Whether libtool must link a program against all its dependency libraries.
19283
 
link_all_deplibs=$link_all_deplibs_GCJ
19284
 
 
19285
 
# Compile-time system search path for libraries
19286
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19287
 
 
19288
 
# Run-time system search path for libraries
19289
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19290
 
 
19291
 
# Fix the shell variable \$srcfile for the compiler.
19292
 
fix_srcfile_path=$lt_fix_srcfile_path
19293
 
 
19294
 
# Set to yes if exported symbols are required.
19295
 
always_export_symbols=$always_export_symbols_GCJ
19296
 
 
19297
 
# The commands to list exported symbols.
19298
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19299
 
 
19300
 
# The commands to extract the exported symbol list from a shared archive.
19301
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19302
 
 
19303
 
# Symbols that should not be listed in the preloaded symbols.
19304
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
19305
 
 
19306
 
# Symbols that must always be exported.
19307
 
include_expsyms=$lt_include_expsyms_GCJ
19308
 
 
19309
 
# ### END LIBTOOL TAG CONFIG: $tagname
19310
 
 
19311
 
__EOF__
19312
 
 
19313
 
 
19314
 
else
19315
 
  # If there is no Makefile yet, we rely on a make rule to execute
19316
 
  # `config.status --recheck' to rerun these tests and create the
19317
 
  # libtool script then.
19318
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19319
 
  if test -f "$ltmain_in"; then
19320
 
    test -f Makefile && make "$ltmain"
19321
 
  fi
19322
 
fi
19323
 
 
19324
 
 
19325
 
ac_ext=cpp
19326
 
ac_cpp='$CXXCPP $CPPFLAGS'
19327
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19328
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19329
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19330
 
 
19331
 
CC="$lt_save_CC"
19332
 
 
19333
 
        else
19334
 
          tagname=""
19335
 
        fi
19336
 
        ;;
19337
 
 
19338
 
      RC)
19339
 
 
19340
 
 
19341
 
# Source file extension for RC test sources.
19342
 
ac_ext=rc
19343
 
 
19344
 
# Object file extension for compiled RC test sources.
19345
 
objext=o
19346
 
objext_RC=$objext
19347
 
 
19348
 
# Code to be used in simple compile tests
19349
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19350
 
 
19351
 
# Code to be used in simple link tests
19352
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
19353
 
 
19354
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19355
 
 
19356
 
# If no C compiler was specified, use CC.
19357
 
LTCC=${LTCC-"$CC"}
19358
 
 
19359
 
# If no C compiler flags were specified, use CFLAGS.
19360
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19361
 
 
19362
 
# Allow CC to be a program name with arguments.
19363
 
compiler=$CC
19364
 
 
19365
 
 
19366
 
# save warnings/boilerplate of simple test code
19367
 
ac_outfile=conftest.$ac_objext
19368
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19369
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19370
 
_lt_compiler_boilerplate=`cat conftest.err`
19371
 
$rm conftest*
19372
 
 
19373
 
ac_outfile=conftest.$ac_objext
19374
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19375
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19376
 
_lt_linker_boilerplate=`cat conftest.err`
19377
 
$rm -r conftest*
19378
 
 
19379
 
 
19380
 
# Allow CC to be a program name with arguments.
19381
 
lt_save_CC="$CC"
19382
 
CC=${RC-"windres"}
19383
 
compiler=$CC
19384
 
compiler_RC=$CC
19385
 
for cc_temp in $compiler""; do
19386
 
  case $cc_temp in
19387
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19388
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19389
 
    \-*) ;;
19390
 
    *) break;;
19391
 
  esac
19392
 
done
19393
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19394
 
 
19395
 
lt_cv_prog_compiler_c_o_RC=yes
19396
 
 
19397
 
# The else clause should only fire when bootstrapping the
19398
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19399
 
# with your package, and you will get complaints that there are
19400
 
# no rules to generate ltmain.sh.
19401
 
if test -f "$ltmain"; then
19402
 
  # See if we are running on zsh, and set the options which allow our commands through
19403
 
  # without removal of \ escapes.
19404
 
  if test -n "${ZSH_VERSION+set}" ; then
19405
 
    setopt NO_GLOB_SUBST
19406
 
  fi
19407
 
  # Now quote all the things that may contain metacharacters while being
19408
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19409
 
  # variables and quote the copies for generation of the libtool script.
19410
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19411
 
    SED SHELL STRIP \
19412
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19413
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19414
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19415
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19416
 
    lt_cv_sys_global_symbol_to_c_name_address \
19417
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19418
 
    old_postinstall_cmds old_postuninstall_cmds \
19419
 
    compiler_RC \
19420
 
    CC_RC \
19421
 
    LD_RC \
19422
 
    lt_prog_compiler_wl_RC \
19423
 
    lt_prog_compiler_pic_RC \
19424
 
    lt_prog_compiler_static_RC \
19425
 
    lt_prog_compiler_no_builtin_flag_RC \
19426
 
    export_dynamic_flag_spec_RC \
19427
 
    thread_safe_flag_spec_RC \
19428
 
    whole_archive_flag_spec_RC \
19429
 
    enable_shared_with_static_runtimes_RC \
19430
 
    old_archive_cmds_RC \
19431
 
    old_archive_from_new_cmds_RC \
19432
 
    predep_objects_RC \
19433
 
    postdep_objects_RC \
19434
 
    predeps_RC \
19435
 
    postdeps_RC \
19436
 
    compiler_lib_search_path_RC \
19437
 
    compiler_lib_search_dirs_RC \
19438
 
    archive_cmds_RC \
19439
 
    archive_expsym_cmds_RC \
19440
 
    postinstall_cmds_RC \
19441
 
    postuninstall_cmds_RC \
19442
 
    old_archive_from_expsyms_cmds_RC \
19443
 
    allow_undefined_flag_RC \
19444
 
    no_undefined_flag_RC \
19445
 
    export_symbols_cmds_RC \
19446
 
    hardcode_libdir_flag_spec_RC \
19447
 
    hardcode_libdir_flag_spec_ld_RC \
19448
 
    hardcode_libdir_separator_RC \
19449
 
    hardcode_automatic_RC \
19450
 
    module_cmds_RC \
19451
 
    module_expsym_cmds_RC \
19452
 
    lt_cv_prog_compiler_c_o_RC \
19453
 
    fix_srcfile_path_RC \
19454
 
    exclude_expsyms_RC \
19455
 
    include_expsyms_RC; do
19456
 
 
19457
 
    case $var in
19458
 
    old_archive_cmds_RC | \
19459
 
    old_archive_from_new_cmds_RC | \
19460
 
    archive_cmds_RC | \
19461
 
    archive_expsym_cmds_RC | \
19462
 
    module_cmds_RC | \
19463
 
    module_expsym_cmds_RC | \
19464
 
    old_archive_from_expsyms_cmds_RC | \
19465
 
    export_symbols_cmds_RC | \
19466
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19467
 
    postinstall_cmds | postuninstall_cmds | \
19468
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19469
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19470
 
      # Double-quote double-evaled strings.
19471
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19472
 
      ;;
19473
 
    *)
19474
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19475
 
      ;;
19476
 
    esac
19477
 
  done
19478
 
 
19479
 
  case $lt_echo in
19480
 
  *'\$0 --fallback-echo"')
19481
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19482
 
    ;;
19483
 
  esac
19484
 
 
19485
 
cfgfile="$ofile"
19486
 
 
19487
 
  cat <<__EOF__ >> "$cfgfile"
19488
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19489
 
 
19490
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19491
 
 
19492
 
# Shell to use when invoking shell scripts.
19493
 
SHELL=$lt_SHELL
19494
 
 
19495
 
# Whether or not to build shared libraries.
19496
 
build_libtool_libs=$enable_shared
19497
 
 
19498
 
# Whether or not to build static libraries.
19499
 
build_old_libs=$enable_static
19500
 
 
19501
 
# Whether or not to add -lc for building shared libraries.
19502
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
19503
 
 
19504
 
# Whether or not to disallow shared libs when runtime libs are static
19505
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19506
 
 
19507
 
# Whether or not to optimize for fast installation.
19508
 
fast_install=$enable_fast_install
19509
 
 
19510
 
# The host system.
19511
 
host_alias=$host_alias
19512
 
host=$host
19513
 
host_os=$host_os
19514
 
 
19515
 
# The build system.
19516
 
build_alias=$build_alias
19517
 
build=$build
19518
 
build_os=$build_os
19519
 
 
19520
 
# An echo program that does not interpret backslashes.
19521
 
echo=$lt_echo
19522
 
 
19523
 
# The archiver.
19524
 
AR=$lt_AR
19525
 
AR_FLAGS=$lt_AR_FLAGS
19526
 
 
19527
 
# A C compiler.
19528
 
LTCC=$lt_LTCC
19529
 
 
19530
 
# LTCC compiler flags.
19531
 
LTCFLAGS=$lt_LTCFLAGS
19532
 
 
19533
 
# A language-specific compiler.
19534
 
CC=$lt_compiler_RC
19535
 
 
19536
 
# Is the compiler the GNU C compiler?
19537
 
with_gcc=$GCC_RC
19538
 
 
19539
 
# An ERE matcher.
19540
 
EGREP=$lt_EGREP
19541
 
 
19542
 
# The linker used to build libraries.
19543
 
LD=$lt_LD_RC
19544
 
 
19545
 
# Whether we need hard or soft links.
19546
 
LN_S=$lt_LN_S
19547
 
 
19548
 
# A BSD-compatible nm program.
19549
 
NM=$lt_NM
19550
 
 
19551
 
# A symbol stripping program
19552
 
STRIP=$lt_STRIP
19553
 
 
19554
 
# Used to examine libraries when file_magic_cmd begins "file"
19555
 
MAGIC_CMD=$MAGIC_CMD
19556
 
 
19557
 
# Used on cygwin: DLL creation program.
19558
 
DLLTOOL="$DLLTOOL"
19559
 
 
19560
 
# Used on cygwin: object dumper.
19561
 
OBJDUMP="$OBJDUMP"
19562
 
 
19563
 
# Used on cygwin: assembler.
19564
 
AS="$AS"
19565
 
 
19566
 
# The name of the directory that contains temporary libtool files.
19567
 
objdir=$objdir
19568
 
 
19569
 
# How to create reloadable object files.
19570
 
reload_flag=$lt_reload_flag
19571
 
reload_cmds=$lt_reload_cmds
19572
 
 
19573
 
# How to pass a linker flag through the compiler.
19574
 
wl=$lt_lt_prog_compiler_wl_RC
19575
 
 
19576
 
# Object file suffix (normally "o").
19577
 
objext="$ac_objext"
19578
 
 
19579
 
# Old archive suffix (normally "a").
19580
 
libext="$libext"
19581
 
 
19582
 
# Shared library suffix (normally ".so").
19583
 
shrext_cmds='$shrext_cmds'
19584
 
 
19585
 
# Executable file suffix (normally "").
19586
 
exeext="$exeext"
19587
 
 
19588
 
# Additional compiler flags for building library objects.
19589
 
pic_flag=$lt_lt_prog_compiler_pic_RC
19590
 
pic_mode=$pic_mode
19591
 
 
19592
 
# What is the maximum length of a command?
19593
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19594
 
 
19595
 
# Does compiler simultaneously support -c and -o options?
19596
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19597
 
 
19598
 
# Must we lock files when doing compilation?
19599
 
need_locks=$lt_need_locks
19600
 
 
19601
 
# Do we need the lib prefix for modules?
19602
 
need_lib_prefix=$need_lib_prefix
19603
 
 
19604
 
# Do we need a version for libraries?
19605
 
need_version=$need_version
19606
 
 
19607
 
# Whether dlopen is supported.
19608
 
dlopen_support=$enable_dlopen
19609
 
 
19610
 
# Whether dlopen of programs is supported.
19611
 
dlopen_self=$enable_dlopen_self
19612
 
 
19613
 
# Whether dlopen of statically linked programs is supported.
19614
 
dlopen_self_static=$enable_dlopen_self_static
19615
 
 
19616
 
# Compiler flag to prevent dynamic linking.
19617
 
link_static_flag=$lt_lt_prog_compiler_static_RC
19618
 
 
19619
 
# Compiler flag to turn off builtin functions.
19620
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19621
 
 
19622
 
# Compiler flag to allow reflexive dlopens.
19623
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19624
 
 
19625
 
# Compiler flag to generate shared objects directly from archives.
19626
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19627
 
 
19628
 
# Compiler flag to generate thread-safe objects.
19629
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19630
 
 
19631
 
# Library versioning type.
19632
 
version_type=$version_type
19633
 
 
19634
 
# Format of library name prefix.
19635
 
libname_spec=$lt_libname_spec
19636
 
 
19637
 
# List of archive names.  First name is the real one, the rest are links.
19638
 
# The last name is the one that the linker finds with -lNAME.
19639
 
library_names_spec=$lt_library_names_spec
19640
 
 
19641
 
# The coded name of the library, if different from the real name.
19642
 
soname_spec=$lt_soname_spec
19643
 
 
19644
 
# Commands used to build and install an old-style archive.
19645
 
RANLIB=$lt_RANLIB
19646
 
old_archive_cmds=$lt_old_archive_cmds_RC
19647
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19648
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19649
 
 
19650
 
# Create an old-style archive from a shared archive.
19651
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19652
 
 
19653
 
# Create a temporary old-style archive to link instead of a shared archive.
19654
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19655
 
 
19656
 
# Commands used to build and install a shared archive.
19657
 
archive_cmds=$lt_archive_cmds_RC
19658
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19659
 
postinstall_cmds=$lt_postinstall_cmds
19660
 
postuninstall_cmds=$lt_postuninstall_cmds
19661
 
 
19662
 
# Commands used to build a loadable module (assumed same as above if empty)
19663
 
module_cmds=$lt_module_cmds_RC
19664
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
19665
 
 
19666
 
# Commands to strip libraries.
19667
 
old_striplib=$lt_old_striplib
19668
 
striplib=$lt_striplib
19669
 
 
19670
 
# Dependencies to place before the objects being linked to create a
19671
 
# shared library.
19672
 
predep_objects=$lt_predep_objects_RC
19673
 
 
19674
 
# Dependencies to place after the objects being linked to create a
19675
 
# shared library.
19676
 
postdep_objects=$lt_postdep_objects_RC
19677
 
 
19678
 
# Dependencies to place before the objects being linked to create a
19679
 
# shared library.
19680
 
predeps=$lt_predeps_RC
19681
 
 
19682
 
# Dependencies to place after the objects being linked to create a
19683
 
# shared library.
19684
 
postdeps=$lt_postdeps_RC
19685
 
 
19686
 
# The directories searched by this compiler when creating a shared
19687
 
# library
19688
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19689
 
 
19690
 
# The library search path used internally by the compiler when linking
19691
 
# a shared library.
19692
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19693
 
 
19694
 
# Method to check whether dependent libraries are shared objects.
19695
 
deplibs_check_method=$lt_deplibs_check_method
19696
 
 
19697
 
# Command to use when deplibs_check_method == file_magic.
19698
 
file_magic_cmd=$lt_file_magic_cmd
19699
 
 
19700
 
# Flag that allows shared libraries with undefined symbols to be built.
19701
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
19702
 
 
19703
 
# Flag that forces no undefined symbols.
19704
 
no_undefined_flag=$lt_no_undefined_flag_RC
19705
 
 
19706
 
# Commands used to finish a libtool library installation in a directory.
19707
 
finish_cmds=$lt_finish_cmds
19708
 
 
19709
 
# Same as above, but a single script fragment to be evaled but not shown.
19710
 
finish_eval=$lt_finish_eval
19711
 
 
19712
 
# Take the output of nm and produce a listing of raw symbols and C names.
19713
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19714
 
 
19715
 
# Transform the output of nm in a proper C declaration
19716
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19717
 
 
19718
 
# Transform the output of nm in a C name address pair
19719
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19720
 
 
19721
 
# This is the shared library runtime path variable.
19722
 
runpath_var=$runpath_var
19723
 
 
19724
 
# This is the shared library path variable.
19725
 
shlibpath_var=$shlibpath_var
19726
 
 
19727
 
# Is shlibpath searched before the hard-coded library search path?
19728
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19729
 
 
19730
 
# How to hardcode a shared library path into an executable.
19731
 
hardcode_action=$hardcode_action_RC
19732
 
 
19733
 
# Whether we should hardcode library paths into libraries.
19734
 
hardcode_into_libs=$hardcode_into_libs
19735
 
 
19736
 
# Flag to hardcode \$libdir into a binary during linking.
19737
 
# This must work even if \$libdir does not exist.
19738
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19739
 
 
19740
 
# If ld is used when linking, flag to hardcode \$libdir into
19741
 
# a binary during linking. This must work even if \$libdir does
19742
 
# not exist.
19743
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19744
 
 
19745
 
# Whether we need a single -rpath flag with a separated argument.
19746
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19747
 
 
19748
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19749
 
# resulting binary.
19750
 
hardcode_direct=$hardcode_direct_RC
19751
 
 
19752
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19753
 
# resulting binary.
19754
 
hardcode_minus_L=$hardcode_minus_L_RC
19755
 
 
19756
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19757
 
# the resulting binary.
19758
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19759
 
 
19760
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19761
 
# and all subsequent libraries and executables linked against it.
19762
 
hardcode_automatic=$hardcode_automatic_RC
19763
 
 
19764
 
# Variables whose values should be saved in libtool wrapper scripts and
19765
 
# restored at relink time.
19766
 
variables_saved_for_relink="$variables_saved_for_relink"
19767
 
 
19768
 
# Whether libtool must link a program against all its dependency libraries.
19769
 
link_all_deplibs=$link_all_deplibs_RC
19770
 
 
19771
 
# Compile-time system search path for libraries
19772
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19773
 
 
19774
 
# Run-time system search path for libraries
19775
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19776
 
 
19777
 
# Fix the shell variable \$srcfile for the compiler.
19778
 
fix_srcfile_path=$lt_fix_srcfile_path
19779
 
 
19780
 
# Set to yes if exported symbols are required.
19781
 
always_export_symbols=$always_export_symbols_RC
19782
 
 
19783
 
# The commands to list exported symbols.
19784
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
19785
 
 
19786
 
# The commands to extract the exported symbol list from a shared archive.
19787
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19788
 
 
19789
 
# Symbols that should not be listed in the preloaded symbols.
19790
 
exclude_expsyms=$lt_exclude_expsyms_RC
19791
 
 
19792
 
# Symbols that must always be exported.
19793
 
include_expsyms=$lt_include_expsyms_RC
19794
 
 
19795
 
# ### END LIBTOOL TAG CONFIG: $tagname
19796
 
 
19797
 
__EOF__
19798
 
 
19799
 
 
19800
 
else
19801
 
  # If there is no Makefile yet, we rely on a make rule to execute
19802
 
  # `config.status --recheck' to rerun these tests and create the
19803
 
  # libtool script then.
19804
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19805
 
  if test -f "$ltmain_in"; then
19806
 
    test -f Makefile && make "$ltmain"
19807
 
  fi
19808
 
fi
19809
 
 
19810
 
 
19811
 
ac_ext=cpp
19812
 
ac_cpp='$CXXCPP $CPPFLAGS'
19813
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19814
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19815
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19816
 
 
19817
 
CC="$lt_save_CC"
19818
 
 
19819
 
        ;;
19820
 
 
19821
 
      *)
19822
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19823
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19824
 
   { (exit 1); exit 1; }; }
19825
 
        ;;
19826
 
      esac
19827
 
 
19828
 
      # Append the new tag name to the list of available tags.
19829
 
      if test -n "$tagname" ; then
19830
 
      available_tags="$available_tags $tagname"
19831
 
    fi
19832
 
    fi
19833
 
  done
19834
 
  IFS="$lt_save_ifs"
19835
 
 
19836
 
  # Now substitute the updated list of available tags.
19837
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19838
 
    mv "${ofile}T" "$ofile"
19839
 
    chmod +x "$ofile"
19840
 
  else
19841
 
    rm -f "${ofile}T"
19842
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19843
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19844
 
   { (exit 1); exit 1; }; }
19845
 
  fi
19846
 
fi
19847
 
 
19848
 
 
19849
 
 
19850
 
# This can be used to rebuild libtool when needed
19851
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19852
 
 
19853
 
# Always use our own libtool.
19854
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19855
 
 
19856
 
# Prevent multiple expansion
19857
 
 
19858
 
 
19859
 
 
19860
 
 
19861
 
 
19862
 
 
19863
 
 
19864
 
 
19865
 
 
19866
 
 
19867
 
 
19868
 
 
19869
 
 
19870
 
 
19871
 
 
19872
 
 
19873
 
 
19874
 
 
19875
 
 
19876
 
 
19877
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
19878
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
19879
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
15262
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
15263
$as_echo "$hardcode_action_CXX" >&6; }
 
15264
 
 
15265
if test "$hardcode_action_CXX" = relink ||
 
15266
   test "$inherit_rpath_CXX" = yes; then
 
15267
  # Fast installation is not supported
 
15268
  enable_fast_install=no
 
15269
elif test "$shlibpath_overrides_runpath" = yes ||
 
15270
     test "$enable_shared" = no; then
 
15271
  # Fast installation is not necessary
 
15272
  enable_fast_install=needless
 
15273
fi
 
15274
 
 
15275
 
 
15276
 
 
15277
 
 
15278
 
 
15279
 
 
15280
 
 
15281
  fi # test -n "$compiler"
 
15282
 
 
15283
  CC=$lt_save_CC
 
15284
  LDCXX=$LD
 
15285
  LD=$lt_save_LD
 
15286
  GCC=$lt_save_GCC
 
15287
  with_gnu_ld=$lt_save_with_gnu_ld
 
15288
  lt_cv_path_LDCXX=$lt_cv_path_LD
 
15289
  lt_cv_path_LD=$lt_save_path_LD
 
15290
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
15291
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
15292
fi # test "$_lt_caught_CXX_error" != yes
 
15293
 
 
15294
ac_ext=cpp
 
15295
ac_cpp='$CXXCPP $CPPFLAGS'
 
15296
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15297
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15298
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15299
 
 
15300
 
 
15301
 
 
15302
 
 
15303
 
 
15304
 
 
15305
 
 
15306
 
 
15307
 
 
15308
 
 
15309
 
 
15310
 
 
15311
 
 
15312
        ac_config_commands="$ac_config_commands libtool"
 
15313
 
 
15314
 
 
15315
 
 
15316
 
 
15317
# Only expand once:
 
15318
 
 
15319
 
 
15320
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
15321
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
15322
set x ${MAKE-make}
 
15323
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
19880
15324
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
19881
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15325
  $as_echo_n "(cached) " >&6
19882
15326
else
19883
15327
  cat >conftest.make <<\_ACEOF
19884
15328
SHELL = /bin/sh
19895
15339
rm -f conftest.make
19896
15340
fi
19897
15341
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
19898
 
  { echo "$as_me:$LINENO: result: yes" >&5
19899
 
echo "${ECHO_T}yes" >&6; }
 
15342
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15343
$as_echo "yes" >&6; }
19900
15344
  SET_MAKE=
19901
15345
else
19902
 
  { echo "$as_me:$LINENO: result: no" >&5
19903
 
echo "${ECHO_T}no" >&6; }
 
15346
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15347
$as_echo "no" >&6; }
19904
15348
  SET_MAKE="MAKE=${MAKE-make}"
19905
15349
fi
19906
15350
 
19907
15351
# Extract the first word of "mkdir", so it can be a program name with args.
19908
15352
set dummy mkdir; ac_word=$2
19909
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19910
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15353
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15354
$as_echo_n "checking for $ac_word... " >&6; }
19911
15355
if test "${ac_cv_path_MKDIR+set}" = set; then
19912
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15356
  $as_echo_n "(cached) " >&6
19913
15357
else
19914
15358
  case $MKDIR in
19915
15359
  [\\/]* | ?:[\\/]*)
19924
15368
  for ac_exec_ext in '' $ac_executable_extensions; do
19925
15369
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19926
15370
    ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
19927
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15371
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19928
15372
    break 2
19929
15373
  fi
19930
15374
done
19936
15380
fi
19937
15381
MKDIR=$ac_cv_path_MKDIR
19938
15382
if test -n "$MKDIR"; then
19939
 
  { echo "$as_me:$LINENO: result: $MKDIR" >&5
19940
 
echo "${ECHO_T}$MKDIR" >&6; }
 
15383
  { $as_echo "$as_me:$LINENO: result: $MKDIR" >&5
 
15384
$as_echo "$MKDIR" >&6; }
19941
15385
else
19942
 
  { echo "$as_me:$LINENO: result: no" >&5
19943
 
echo "${ECHO_T}no" >&6; }
 
15386
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15387
$as_echo "no" >&6; }
19944
15388
fi
19945
15389
 
19946
15390
 
19947
15391
# Extract the first word of "doxygen", so it can be a program name with args.
19948
15392
set dummy doxygen; ac_word=$2
19949
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19950
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15393
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15394
$as_echo_n "checking for $ac_word... " >&6; }
19951
15395
if test "${ac_cv_path_DOXYGEN+set}" = set; then
19952
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15396
  $as_echo_n "(cached) " >&6
19953
15397
else
19954
15398
  case $DOXYGEN in
19955
15399
  [\\/]* | ?:[\\/]*)
19964
15408
  for ac_exec_ext in '' $ac_executable_extensions; do
19965
15409
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19966
15410
    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
19967
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15411
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19968
15412
    break 2
19969
15413
  fi
19970
15414
done
19976
15420
fi
19977
15421
DOXYGEN=$ac_cv_path_DOXYGEN
19978
15422
if test -n "$DOXYGEN"; then
19979
 
  { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
19980
 
echo "${ECHO_T}$DOXYGEN" >&6; }
 
15423
  { $as_echo "$as_me:$LINENO: result: $DOXYGEN" >&5
 
15424
$as_echo "$DOXYGEN" >&6; }
19981
15425
else
19982
 
  { echo "$as_me:$LINENO: result: no" >&5
19983
 
echo "${ECHO_T}no" >&6; }
 
15426
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15427
$as_echo "no" >&6; }
19984
15428
fi
19985
15429
 
19986
15430
 
19994
15438
 
19995
15439
# Extract the first word of "dot", so it can be a program name with args.
19996
15440
set dummy dot; ac_word=$2
19997
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19998
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15441
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15442
$as_echo_n "checking for $ac_word... " >&6; }
19999
15443
if test "${ac_cv_prog_HAVE_DOT+set}" = set; then
20000
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15444
  $as_echo_n "(cached) " >&6
20001
15445
else
20002
15446
  if test -n "$HAVE_DOT"; then
20003
15447
  ac_cv_prog_HAVE_DOT="$HAVE_DOT" # Let the user override the test.
20010
15454
  for ac_exec_ext in '' $ac_executable_extensions; do
20011
15455
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20012
15456
    ac_cv_prog_HAVE_DOT="YES"
20013
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15457
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20014
15458
    break 2
20015
15459
  fi
20016
15460
done
20022
15466
fi
20023
15467
HAVE_DOT=$ac_cv_prog_HAVE_DOT
20024
15468
if test -n "$HAVE_DOT"; then
20025
 
  { echo "$as_me:$LINENO: result: $HAVE_DOT" >&5
20026
 
echo "${ECHO_T}$HAVE_DOT" >&6; }
 
15469
  { $as_echo "$as_me:$LINENO: result: $HAVE_DOT" >&5
 
15470
$as_echo "$HAVE_DOT" >&6; }
20027
15471
else
20028
 
  { echo "$as_me:$LINENO: result: no" >&5
20029
 
echo "${ECHO_T}no" >&6; }
 
15472
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15473
$as_echo "no" >&6; }
20030
15474
fi
20031
15475
 
20032
15476
 
20033
15477
# Extract the first word of "xmlto", so it can be a program name with args.
20034
15478
set dummy xmlto; ac_word=$2
20035
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20036
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15479
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15480
$as_echo_n "checking for $ac_word... " >&6; }
20037
15481
if test "${ac_cv_path_XMLTO+set}" = set; then
20038
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15482
  $as_echo_n "(cached) " >&6
20039
15483
else
20040
15484
  case $XMLTO in
20041
15485
  [\\/]* | ?:[\\/]*)
20050
15494
  for ac_exec_ext in '' $ac_executable_extensions; do
20051
15495
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20052
15496
    ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
20053
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15497
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20054
15498
    break 2
20055
15499
  fi
20056
15500
done
20062
15506
fi
20063
15507
XMLTO=$ac_cv_path_XMLTO
20064
15508
if test -n "$XMLTO"; then
20065
 
  { echo "$as_me:$LINENO: result: $XMLTO" >&5
20066
 
echo "${ECHO_T}$XMLTO" >&6; }
 
15509
  { $as_echo "$as_me:$LINENO: result: $XMLTO" >&5
 
15510
$as_echo "$XMLTO" >&6; }
20067
15511
else
20068
 
  { echo "$as_me:$LINENO: result: no" >&5
20069
 
echo "${ECHO_T}no" >&6; }
 
15512
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15513
$as_echo "no" >&6; }
20070
15514
fi
20071
15515
 
20072
15516
 
20073
15517
# Extract the first word of "pkg-config", so it can be a program name with args.
20074
15518
set dummy pkg-config; ac_word=$2
20075
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20076
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15519
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15520
$as_echo_n "checking for $ac_word... " >&6; }
20077
15521
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20078
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15522
  $as_echo_n "(cached) " >&6
20079
15523
else
20080
15524
  case $PKG_CONFIG in
20081
15525
  [\\/]* | ?:[\\/]*)
20090
15534
  for ac_exec_ext in '' $ac_executable_extensions; do
20091
15535
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20092
15536
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20093
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15537
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20094
15538
    break 2
20095
15539
  fi
20096
15540
done
20102
15546
fi
20103
15547
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20104
15548
if test -n "$PKG_CONFIG"; then
20105
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20106
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
15549
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
15550
$as_echo "$PKG_CONFIG" >&6; }
20107
15551
else
20108
 
  { echo "$as_me:$LINENO: result: no" >&5
20109
 
echo "${ECHO_T}no" >&6; }
 
15552
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15553
$as_echo "no" >&6; }
20110
15554
fi
20111
15555
 
20112
15556
 
20120
15564
 
20121
15565
 
20122
15566
 
20123
 
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
20124
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
15567
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
15568
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
20125
15569
    # Check whether --enable-maintainer-mode was given.
20126
15570
if test "${enable_maintainer_mode+set}" = set; then
20127
15571
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
20129
15573
  USE_MAINTAINER_MODE=no
20130
15574
fi
20131
15575
 
20132
 
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
20133
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
15576
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
15577
$as_echo "$USE_MAINTAINER_MODE" >&6; }
20134
15578
   if test $USE_MAINTAINER_MODE = yes; then
20135
15579
  MAINTAINER_MODE_TRUE=
20136
15580
  MAINTAINER_MODE_FALSE='#'
20144
15588
 
20145
15589
 
20146
15590
# see if we want verbose compiler warnings
20147
 
{ echo "$as_me:$LINENO: checking maintainer mode" >&5
20148
 
echo $ECHO_N "checking maintainer mode... $ECHO_C" >&6; }
 
15591
{ $as_echo "$as_me:$LINENO: checking maintainer mode" >&5
 
15592
$as_echo_n "checking maintainer mode... " >&6; }
20149
15593
# Check whether --enable-maintainer-mode was given.
20150
15594
if test "${enable_maintainer_mode+set}" = set; then
20151
15595
  enableval=$enable_maintainer_mode;
20152
15596
fi
20153
15597
 
20154
 
{ echo "$as_me:$LINENO: result: ${enable_maintainer_mode}" >&5
20155
 
echo "${ECHO_T}${enable_maintainer_mode}" >&6; }
 
15598
{ $as_echo "$as_me:$LINENO: result: ${enable_maintainer_mode}" >&5
 
15599
$as_echo "${enable_maintainer_mode}" >&6; }
20156
15600
 
20157
15601
# Check whether --enable-shared was given.
20158
15602
if test "${enable_shared+set}" = set; then
20168
15612
        for option in $* ; do
20169
15613
                SAVE_CXXFLAGS="$CXXFLAGS"
20170
15614
                CXXFLAGS="$CXXFLAGS $option"
20171
 
                { echo "$as_me:$LINENO: checking whether $CXX accepts $option" >&5
20172
 
echo $ECHO_N "checking whether $CXX accepts $option... $ECHO_C" >&6; }
 
15615
                { $as_echo "$as_me:$LINENO: checking whether $CXX accepts $option" >&5
 
15616
$as_echo_n "checking whether $CXX accepts $option... " >&6; }
20173
15617
                cat >conftest.$ac_ext <<_ACEOF
20174
15618
/* confdefs.h.  */
20175
15619
_ACEOF
20191
15635
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20192
15636
  *) ac_try_echo=$ac_try;;
20193
15637
esac
20194
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15638
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15639
$as_echo "$ac_try_echo") >&5
20195
15640
  (eval "$ac_compile") 2>conftest.er1
20196
15641
  ac_status=$?
20197
15642
  grep -v '^ *+' conftest.er1 >conftest.err
20198
15643
  rm -f conftest.er1
20199
15644
  cat conftest.err >&5
20200
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15645
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201
15646
  (exit $ac_status); } && {
20202
15647
         test -z "$ac_cxx_werror_flag" ||
20203
15648
         test ! -s conftest.err
20204
15649
       } && test -s conftest.$ac_objext; then
20205
15650
  has_option=yes
20206
15651
else
20207
 
  echo "$as_me: failed program was:" >&5
 
15652
  $as_echo "$as_me: failed program was:" >&5
20208
15653
sed 's/^/| /' conftest.$ac_ext >&5
20209
15654
 
20210
15655
        has_option=no
20211
15656
fi
20212
15657
 
20213
15658
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20214
 
                { echo "$as_me:$LINENO: result: $has_option" >&5
20215
 
echo "${ECHO_T}$has_option" >&6; }
 
15659
                { $as_echo "$as_me:$LINENO: result: $has_option" >&5
 
15660
$as_echo "$has_option" >&6; }
20216
15661
                if test "$has_option" = "no" ; then
20217
15662
                        CXXFLAGS="$SAVE_CXXFLAGS"
20218
15663
                fi
20276
15721
                add_compiler_opts -Wno-long-long
20277
15722
        fi
20278
15723
 
20279
 
{ echo "$as_me:$LINENO: checking g++ visibility attribute" >&5
20280
 
echo $ECHO_N "checking g++ visibility attribute... $ECHO_C" >&6; }
 
15724
{ $as_echo "$as_me:$LINENO: checking g++ visibility attribute" >&5
 
15725
$as_echo_n "checking g++ visibility attribute... " >&6; }
20281
15726
gcc_visibility=yes
20282
15727
SAVE_CXXFLAGS="$CXXFLAGS"
20283
15728
CXXFLAGS="$CXXFLAGS -Werror"
20304
15749
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20305
15750
  *) ac_try_echo=$ac_try;;
20306
15751
esac
20307
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15752
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15753
$as_echo "$ac_try_echo") >&5
20308
15754
  (eval "$ac_compile") 2>conftest.er1
20309
15755
  ac_status=$?
20310
15756
  grep -v '^ *+' conftest.er1 >conftest.err
20311
15757
  rm -f conftest.er1
20312
15758
  cat conftest.err >&5
20313
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15759
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314
15760
  (exit $ac_status); } && {
20315
15761
         test -z "$ac_cxx_werror_flag" ||
20316
15762
         test ! -s conftest.err
20321
15767
_ACEOF
20322
15768
 
20323
15769
else
20324
 
  echo "$as_me: failed program was:" >&5
 
15770
  $as_echo "$as_me: failed program was:" >&5
20325
15771
sed 's/^/| /' conftest.$ac_ext >&5
20326
15772
 
20327
15773
        gcc_visibility=no
20328
15774
fi
20329
15775
 
20330
15776
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20331
 
{ echo "$as_me:$LINENO: result: $gcc_visibility" >&5
20332
 
echo "${ECHO_T}$gcc_visibility" >&6; }
 
15777
{ $as_echo "$as_me:$LINENO: result: $gcc_visibility" >&5
 
15778
$as_echo "$gcc_visibility" >&6; }
20333
15779
        if test "$gcc_visibility" = "yes" ; then
20334
15780
                # Setting default symbol visibility to "hidden" vastly reduces
20335
15781
                # library size with g++ 4.0, but unfortunately this will require
20340
15786
        fi
20341
15787
CXXFLAGS="$SAVE_CXXFLAGS"
20342
15788
 
20343
 
{ echo "$as_me:$LINENO: checking g++ deprecation attribute" >&5
20344
 
echo $ECHO_N "checking g++ deprecation attribute... $ECHO_C" >&6; }
 
15789
{ $as_echo "$as_me:$LINENO: checking g++ deprecation attribute" >&5
 
15790
$as_echo_n "checking g++ deprecation attribute... " >&6; }
20345
15791
gcc_deprecated=yes
20346
15792
cat >conftest.$ac_ext <<_ACEOF
20347
15793
/* confdefs.h.  */
20364
15810
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20365
15811
  *) ac_try_echo=$ac_try;;
20366
15812
esac
20367
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15813
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15814
$as_echo "$ac_try_echo") >&5
20368
15815
  (eval "$ac_compile") 2>conftest.er1
20369
15816
  ac_status=$?
20370
15817
  grep -v '^ *+' conftest.er1 >conftest.err
20371
15818
  rm -f conftest.er1
20372
15819
  cat conftest.err >&5
20373
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15820
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374
15821
  (exit $ac_status); } && {
20375
15822
         test -z "$ac_cxx_werror_flag" ||
20376
15823
         test ! -s conftest.err
20381
15828
_ACEOF
20382
15829
 
20383
15830
else
20384
 
  echo "$as_me: failed program was:" >&5
 
15831
  $as_echo "$as_me: failed program was:" >&5
20385
15832
sed 's/^/| /' conftest.$ac_ext >&5
20386
15833
 
20387
15834
        gcc_deprecated=no
20388
15835
fi
20389
15836
 
20390
15837
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20391
 
{ echo "$as_me:$LINENO: result: $gcc_deprecated" >&5
20392
 
echo "${ECHO_T}$gcc_deprecated" >&6; }
 
15838
{ $as_echo "$as_me:$LINENO: result: $gcc_deprecated" >&5
 
15839
$as_echo "$gcc_deprecated" >&6; }
20393
15840
 
20394
15841
fi
20395
15842
 
20401
15848
# guessing logic is enabled as if the option had not been used.
20402
15849
 
20403
15850
 
20404
 
{ echo "$as_me:$LINENO: checking name of standard library namespace (normally \"std\")" >&5
20405
 
echo $ECHO_N "checking name of standard library namespace (normally \"std\")... $ECHO_C" >&6; }
 
15851
{ $as_echo "$as_me:$LINENO: checking name of standard library namespace (normally \"std\")" >&5
 
15852
$as_echo_n "checking name of standard library namespace (normally \"std\")... " >&6; }
20406
15853
guessstd=no
20407
15854
 
20408
15855
# Check whether --with-std was given.
20427
15874
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20428
15875
  *) ac_try_echo=$ac_try;;
20429
15876
esac
20430
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15877
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15878
$as_echo "$ac_try_echo") >&5
20431
15879
  (eval "$ac_compile") 2>conftest.er1
20432
15880
  ac_status=$?
20433
15881
  grep -v '^ *+' conftest.er1 >conftest.err
20434
15882
  rm -f conftest.er1
20435
15883
  cat conftest.err >&5
20436
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15884
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437
15885
  (exit $ac_status); } && {
20438
15886
         test -z "$ac_cxx_werror_flag" ||
20439
15887
         test ! -s conftest.err
20440
15888
       } && test -s conftest.$ac_objext; then
20441
15889
  std="${ns}"; break
20442
15890
else
20443
 
  echo "$as_me: failed program was:" >&5
 
15891
  $as_echo "$as_me: failed program was:" >&5
20444
15892
sed 's/^/| /' conftest.$ac_ext >&5
20445
15893
 
20446
15894
 
20455
15903
_ACEOF
20456
15904
 
20457
15905
if ! test -z "${std}" ; then
20458
 
        { echo "$as_me:$LINENO: result: ::${std}" >&5
20459
 
echo "${ECHO_T}::${std}" >&6; }
 
15906
        { $as_echo "$as_me:$LINENO: result: ::${std}" >&5
 
15907
$as_echo "::${std}" >&6; }
20460
15908
        usestd="using namespace ${std};"
20461
15909
else
20462
 
        { echo "$as_me:$LINENO: result: ::" >&5
20463
 
echo "${ECHO_T}::" >&6; }
 
15910
        { $as_echo "$as_me:$LINENO: result: ::" >&5
 
15911
$as_echo "::" >&6; }
20464
15912
fi
20465
15913
 
20466
15914
 
20467
15915
ioshdr=yes
20468
15916
 
20469
15917
if test "${ac_cv_header_ios+set}" = set; then
20470
 
  { echo "$as_me:$LINENO: checking for ios" >&5
20471
 
echo $ECHO_N "checking for ios... $ECHO_C" >&6; }
 
15918
  { $as_echo "$as_me:$LINENO: checking for ios" >&5
 
15919
$as_echo_n "checking for ios... " >&6; }
20472
15920
if test "${ac_cv_header_ios+set}" = set; then
20473
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15921
  $as_echo_n "(cached) " >&6
20474
15922
fi
20475
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_ios" >&5
20476
 
echo "${ECHO_T}$ac_cv_header_ios" >&6; }
 
15923
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ios" >&5
 
15924
$as_echo "$ac_cv_header_ios" >&6; }
20477
15925
else
20478
15926
  # Is the header compilable?
20479
 
{ echo "$as_me:$LINENO: checking ios usability" >&5
20480
 
echo $ECHO_N "checking ios usability... $ECHO_C" >&6; }
 
15927
{ $as_echo "$as_me:$LINENO: checking ios usability" >&5
 
15928
$as_echo_n "checking ios usability... " >&6; }
20481
15929
cat >conftest.$ac_ext <<_ACEOF
20482
15930
/* confdefs.h.  */
20483
15931
_ACEOF
20493
15941
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20494
15942
  *) ac_try_echo=$ac_try;;
20495
15943
esac
20496
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15944
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15945
$as_echo "$ac_try_echo") >&5
20497
15946
  (eval "$ac_compile") 2>conftest.er1
20498
15947
  ac_status=$?
20499
15948
  grep -v '^ *+' conftest.er1 >conftest.err
20500
15949
  rm -f conftest.er1
20501
15950
  cat conftest.err >&5
20502
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15951
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503
15952
  (exit $ac_status); } && {
20504
15953
         test -z "$ac_cxx_werror_flag" ||
20505
15954
         test ! -s conftest.err
20506
15955
       } && test -s conftest.$ac_objext; then
20507
15956
  ac_header_compiler=yes
20508
15957
else
20509
 
  echo "$as_me: failed program was:" >&5
 
15958
  $as_echo "$as_me: failed program was:" >&5
20510
15959
sed 's/^/| /' conftest.$ac_ext >&5
20511
15960
 
20512
15961
        ac_header_compiler=no
20513
15962
fi
20514
15963
 
20515
15964
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20516
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20517
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
15965
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
15966
$as_echo "$ac_header_compiler" >&6; }
20518
15967
 
20519
15968
# Is the header present?
20520
 
{ echo "$as_me:$LINENO: checking ios presence" >&5
20521
 
echo $ECHO_N "checking ios presence... $ECHO_C" >&6; }
 
15969
{ $as_echo "$as_me:$LINENO: checking ios presence" >&5
 
15970
$as_echo_n "checking ios presence... " >&6; }
20522
15971
cat >conftest.$ac_ext <<_ACEOF
20523
15972
/* confdefs.h.  */
20524
15973
_ACEOF
20532
15981
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20533
15982
  *) ac_try_echo=$ac_try;;
20534
15983
esac
20535
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15984
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15985
$as_echo "$ac_try_echo") >&5
20536
15986
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20537
15987
  ac_status=$?
20538
15988
  grep -v '^ *+' conftest.er1 >conftest.err
20539
15989
  rm -f conftest.er1
20540
15990
  cat conftest.err >&5
20541
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15991
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542
15992
  (exit $ac_status); } >/dev/null && {
20543
15993
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
20544
15994
         test ! -s conftest.err
20545
15995
       }; then
20546
15996
  ac_header_preproc=yes
20547
15997
else
20548
 
  echo "$as_me: failed program was:" >&5
 
15998
  $as_echo "$as_me: failed program was:" >&5
20549
15999
sed 's/^/| /' conftest.$ac_ext >&5
20550
16000
 
20551
16001
  ac_header_preproc=no
20552
16002
fi
20553
16003
 
20554
16004
rm -f conftest.err conftest.$ac_ext
20555
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20556
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
16005
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
16006
$as_echo "$ac_header_preproc" >&6; }
20557
16007
 
20558
16008
# So?  What about this header?
20559
16009
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20560
16010
  yes:no: )
20561
 
    { echo "$as_me:$LINENO: WARNING: ios: accepted by the compiler, rejected by the preprocessor!" >&5
20562
 
echo "$as_me: WARNING: ios: accepted by the compiler, rejected by the preprocessor!" >&2;}
20563
 
    { echo "$as_me:$LINENO: WARNING: ios: proceeding with the compiler's result" >&5
20564
 
echo "$as_me: WARNING: ios: proceeding with the compiler's result" >&2;}
 
16011
    { $as_echo "$as_me:$LINENO: WARNING: ios: accepted by the compiler, rejected by the preprocessor!" >&5
 
16012
$as_echo "$as_me: WARNING: ios: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
16013
    { $as_echo "$as_me:$LINENO: WARNING: ios: proceeding with the compiler's result" >&5
 
16014
$as_echo "$as_me: WARNING: ios: proceeding with the compiler's result" >&2;}
20565
16015
    ac_header_preproc=yes
20566
16016
    ;;
20567
16017
  no:yes:* )
20568
 
    { echo "$as_me:$LINENO: WARNING: ios: present but cannot be compiled" >&5
20569
 
echo "$as_me: WARNING: ios: present but cannot be compiled" >&2;}
20570
 
    { echo "$as_me:$LINENO: WARNING: ios:     check for missing prerequisite headers?" >&5
20571
 
echo "$as_me: WARNING: ios:     check for missing prerequisite headers?" >&2;}
20572
 
    { echo "$as_me:$LINENO: WARNING: ios: see the Autoconf documentation" >&5
20573
 
echo "$as_me: WARNING: ios: see the Autoconf documentation" >&2;}
20574
 
    { echo "$as_me:$LINENO: WARNING: ios:     section \"Present But Cannot Be Compiled\"" >&5
20575
 
echo "$as_me: WARNING: ios:     section \"Present But Cannot Be Compiled\"" >&2;}
20576
 
    { echo "$as_me:$LINENO: WARNING: ios: proceeding with the preprocessor's result" >&5
20577
 
echo "$as_me: WARNING: ios: proceeding with the preprocessor's result" >&2;}
20578
 
    { echo "$as_me:$LINENO: WARNING: ios: in the future, the compiler will take precedence" >&5
20579
 
echo "$as_me: WARNING: ios: in the future, the compiler will take precedence" >&2;}
 
16018
    { $as_echo "$as_me:$LINENO: WARNING: ios: present but cannot be compiled" >&5
 
16019
$as_echo "$as_me: WARNING: ios: present but cannot be compiled" >&2;}
 
16020
    { $as_echo "$as_me:$LINENO: WARNING: ios:     check for missing prerequisite headers?" >&5
 
16021
$as_echo "$as_me: WARNING: ios:     check for missing prerequisite headers?" >&2;}
 
16022
    { $as_echo "$as_me:$LINENO: WARNING: ios: see the Autoconf documentation" >&5
 
16023
$as_echo "$as_me: WARNING: ios: see the Autoconf documentation" >&2;}
 
16024
    { $as_echo "$as_me:$LINENO: WARNING: ios:     section \"Present But Cannot Be Compiled\"" >&5
 
16025
$as_echo "$as_me: WARNING: ios:     section \"Present But Cannot Be Compiled\"" >&2;}
 
16026
    { $as_echo "$as_me:$LINENO: WARNING: ios: proceeding with the preprocessor's result" >&5
 
16027
$as_echo "$as_me: WARNING: ios: proceeding with the preprocessor's result" >&2;}
 
16028
    { $as_echo "$as_me:$LINENO: WARNING: ios: in the future, the compiler will take precedence" >&5
 
16029
$as_echo "$as_me: WARNING: ios: in the future, the compiler will take precedence" >&2;}
20580
16030
    ( cat <<\_ASBOX
20581
16031
## -------------------------------------------------- ##
20582
16032
## Report this to Jeroen T. Vermeulen <jtv@xs4all.nl> ##
20585
16035
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20586
16036
    ;;
20587
16037
esac
20588
 
{ echo "$as_me:$LINENO: checking for ios" >&5
20589
 
echo $ECHO_N "checking for ios... $ECHO_C" >&6; }
 
16038
{ $as_echo "$as_me:$LINENO: checking for ios" >&5
 
16039
$as_echo_n "checking for ios... " >&6; }
20590
16040
if test "${ac_cv_header_ios+set}" = set; then
20591
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16041
  $as_echo_n "(cached) " >&6
20592
16042
else
20593
16043
  ac_cv_header_ios=$ac_header_preproc
20594
16044
fi
20595
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_ios" >&5
20596
 
echo "${ECHO_T}$ac_cv_header_ios" >&6; }
 
16045
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ios" >&5
 
16046
$as_echo "$ac_cv_header_ios" >&6; }
20597
16047
 
20598
16048
fi
20599
 
if test $ac_cv_header_ios = yes; then
 
16049
if test "x$ac_cv_header_ios" = x""yes; then
20600
16050
 
20601
16051
cat >>confdefs.h <<\_ACEOF
20602
16052
#define PQXX_HAVE_IOS 1
20610
16060
 
20611
16061
streambuf=yes
20612
16062
if test "${ac_cv_header_streambuf+set}" = set; then
20613
 
  { echo "$as_me:$LINENO: checking for streambuf" >&5
20614
 
echo $ECHO_N "checking for streambuf... $ECHO_C" >&6; }
 
16063
  { $as_echo "$as_me:$LINENO: checking for streambuf" >&5
 
16064
$as_echo_n "checking for streambuf... " >&6; }
20615
16065
if test "${ac_cv_header_streambuf+set}" = set; then
20616
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16066
  $as_echo_n "(cached) " >&6
20617
16067
fi
20618
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_streambuf" >&5
20619
 
echo "${ECHO_T}$ac_cv_header_streambuf" >&6; }
 
16068
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_streambuf" >&5
 
16069
$as_echo "$ac_cv_header_streambuf" >&6; }
20620
16070
else
20621
16071
  # Is the header compilable?
20622
 
{ echo "$as_me:$LINENO: checking streambuf usability" >&5
20623
 
echo $ECHO_N "checking streambuf usability... $ECHO_C" >&6; }
 
16072
{ $as_echo "$as_me:$LINENO: checking streambuf usability" >&5
 
16073
$as_echo_n "checking streambuf usability... " >&6; }
20624
16074
cat >conftest.$ac_ext <<_ACEOF
20625
16075
/* confdefs.h.  */
20626
16076
_ACEOF
20636
16086
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20637
16087
  *) ac_try_echo=$ac_try;;
20638
16088
esac
20639
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16089
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16090
$as_echo "$ac_try_echo") >&5
20640
16091
  (eval "$ac_compile") 2>conftest.er1
20641
16092
  ac_status=$?
20642
16093
  grep -v '^ *+' conftest.er1 >conftest.err
20643
16094
  rm -f conftest.er1
20644
16095
  cat conftest.err >&5
20645
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16096
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646
16097
  (exit $ac_status); } && {
20647
16098
         test -z "$ac_cxx_werror_flag" ||
20648
16099
         test ! -s conftest.err
20649
16100
       } && test -s conftest.$ac_objext; then
20650
16101
  ac_header_compiler=yes
20651
16102
else
20652
 
  echo "$as_me: failed program was:" >&5
 
16103
  $as_echo "$as_me: failed program was:" >&5
20653
16104
sed 's/^/| /' conftest.$ac_ext >&5
20654
16105
 
20655
16106
        ac_header_compiler=no
20656
16107
fi
20657
16108
 
20658
16109
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20659
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20660
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
16110
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
16111
$as_echo "$ac_header_compiler" >&6; }
20661
16112
 
20662
16113
# Is the header present?
20663
 
{ echo "$as_me:$LINENO: checking streambuf presence" >&5
20664
 
echo $ECHO_N "checking streambuf presence... $ECHO_C" >&6; }
 
16114
{ $as_echo "$as_me:$LINENO: checking streambuf presence" >&5
 
16115
$as_echo_n "checking streambuf presence... " >&6; }
20665
16116
cat >conftest.$ac_ext <<_ACEOF
20666
16117
/* confdefs.h.  */
20667
16118
_ACEOF
20675
16126
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20676
16127
  *) ac_try_echo=$ac_try;;
20677
16128
esac
20678
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16129
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16130
$as_echo "$ac_try_echo") >&5
20679
16131
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20680
16132
  ac_status=$?
20681
16133
  grep -v '^ *+' conftest.er1 >conftest.err
20682
16134
  rm -f conftest.er1
20683
16135
  cat conftest.err >&5
20684
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16136
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685
16137
  (exit $ac_status); } >/dev/null && {
20686
16138
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
20687
16139
         test ! -s conftest.err
20688
16140
       }; then
20689
16141
  ac_header_preproc=yes
20690
16142
else
20691
 
  echo "$as_me: failed program was:" >&5
 
16143
  $as_echo "$as_me: failed program was:" >&5
20692
16144
sed 's/^/| /' conftest.$ac_ext >&5
20693
16145
 
20694
16146
  ac_header_preproc=no
20695
16147
fi
20696
16148
 
20697
16149
rm -f conftest.err conftest.$ac_ext
20698
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20699
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
16150
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
16151
$as_echo "$ac_header_preproc" >&6; }
20700
16152
 
20701
16153
# So?  What about this header?
20702
16154
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20703
16155
  yes:no: )
20704
 
    { echo "$as_me:$LINENO: WARNING: streambuf: accepted by the compiler, rejected by the preprocessor!" >&5
20705
 
echo "$as_me: WARNING: streambuf: accepted by the compiler, rejected by the preprocessor!" >&2;}
20706
 
    { echo "$as_me:$LINENO: WARNING: streambuf: proceeding with the compiler's result" >&5
20707
 
echo "$as_me: WARNING: streambuf: proceeding with the compiler's result" >&2;}
 
16156
    { $as_echo "$as_me:$LINENO: WARNING: streambuf: accepted by the compiler, rejected by the preprocessor!" >&5
 
16157
$as_echo "$as_me: WARNING: streambuf: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
16158
    { $as_echo "$as_me:$LINENO: WARNING: streambuf: proceeding with the compiler's result" >&5
 
16159
$as_echo "$as_me: WARNING: streambuf: proceeding with the compiler's result" >&2;}
20708
16160
    ac_header_preproc=yes
20709
16161
    ;;
20710
16162
  no:yes:* )
20711
 
    { echo "$as_me:$LINENO: WARNING: streambuf: present but cannot be compiled" >&5
20712
 
echo "$as_me: WARNING: streambuf: present but cannot be compiled" >&2;}
20713
 
    { echo "$as_me:$LINENO: WARNING: streambuf:     check for missing prerequisite headers?" >&5
20714
 
echo "$as_me: WARNING: streambuf:     check for missing prerequisite headers?" >&2;}
20715
 
    { echo "$as_me:$LINENO: WARNING: streambuf: see the Autoconf documentation" >&5
20716
 
echo "$as_me: WARNING: streambuf: see the Autoconf documentation" >&2;}
20717
 
    { echo "$as_me:$LINENO: WARNING: streambuf:     section \"Present But Cannot Be Compiled\"" >&5
20718
 
echo "$as_me: WARNING: streambuf:     section \"Present But Cannot Be Compiled\"" >&2;}
20719
 
    { echo "$as_me:$LINENO: WARNING: streambuf: proceeding with the preprocessor's result" >&5
20720
 
echo "$as_me: WARNING: streambuf: proceeding with the preprocessor's result" >&2;}
20721
 
    { echo "$as_me:$LINENO: WARNING: streambuf: in the future, the compiler will take precedence" >&5
20722
 
echo "$as_me: WARNING: streambuf: in the future, the compiler will take precedence" >&2;}
 
16163
    { $as_echo "$as_me:$LINENO: WARNING: streambuf: present but cannot be compiled" >&5
 
16164
$as_echo "$as_me: WARNING: streambuf: present but cannot be compiled" >&2;}
 
16165
    { $as_echo "$as_me:$LINENO: WARNING: streambuf:     check for missing prerequisite headers?" >&5
 
16166
$as_echo "$as_me: WARNING: streambuf:     check for missing prerequisite headers?" >&2;}
 
16167
    { $as_echo "$as_me:$LINENO: WARNING: streambuf: see the Autoconf documentation" >&5
 
16168
$as_echo "$as_me: WARNING: streambuf: see the Autoconf documentation" >&2;}
 
16169
    { $as_echo "$as_me:$LINENO: WARNING: streambuf:     section \"Present But Cannot Be Compiled\"" >&5
 
16170
$as_echo "$as_me: WARNING: streambuf:     section \"Present But Cannot Be Compiled\"" >&2;}
 
16171
    { $as_echo "$as_me:$LINENO: WARNING: streambuf: proceeding with the preprocessor's result" >&5
 
16172
$as_echo "$as_me: WARNING: streambuf: proceeding with the preprocessor's result" >&2;}
 
16173
    { $as_echo "$as_me:$LINENO: WARNING: streambuf: in the future, the compiler will take precedence" >&5
 
16174
$as_echo "$as_me: WARNING: streambuf: in the future, the compiler will take precedence" >&2;}
20723
16175
    ( cat <<\_ASBOX
20724
16176
## -------------------------------------------------- ##
20725
16177
## Report this to Jeroen T. Vermeulen <jtv@xs4all.nl> ##
20728
16180
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20729
16181
    ;;
20730
16182
esac
20731
 
{ echo "$as_me:$LINENO: checking for streambuf" >&5
20732
 
echo $ECHO_N "checking for streambuf... $ECHO_C" >&6; }
 
16183
{ $as_echo "$as_me:$LINENO: checking for streambuf" >&5
 
16184
$as_echo_n "checking for streambuf... " >&6; }
20733
16185
if test "${ac_cv_header_streambuf+set}" = set; then
20734
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16186
  $as_echo_n "(cached) " >&6
20735
16187
else
20736
16188
  ac_cv_header_streambuf=$ac_header_preproc
20737
16189
fi
20738
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_streambuf" >&5
20739
 
echo "${ECHO_T}$ac_cv_header_streambuf" >&6; }
 
16190
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_streambuf" >&5
 
16191
$as_echo "$ac_cv_header_streambuf" >&6; }
20740
16192
 
20741
16193
fi
20742
 
if test $ac_cv_header_streambuf = yes; then
 
16194
if test "x$ac_cv_header_streambuf" = x""yes; then
20743
16195
 
20744
16196
cat >>confdefs.h <<\_ACEOF
20745
16197
#define PQXX_HAVE_STREAMBUF 1
20753
16205
 
20754
16206
localehdr=yes
20755
16207
if test "${ac_cv_header_locale+set}" = set; then
20756
 
  { echo "$as_me:$LINENO: checking for locale" >&5
20757
 
echo $ECHO_N "checking for locale... $ECHO_C" >&6; }
 
16208
  { $as_echo "$as_me:$LINENO: checking for locale" >&5
 
16209
$as_echo_n "checking for locale... " >&6; }
20758
16210
if test "${ac_cv_header_locale+set}" = set; then
20759
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16211
  $as_echo_n "(cached) " >&6
20760
16212
fi
20761
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_locale" >&5
20762
 
echo "${ECHO_T}$ac_cv_header_locale" >&6; }
 
16213
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale" >&5
 
16214
$as_echo "$ac_cv_header_locale" >&6; }
20763
16215
else
20764
16216
  # Is the header compilable?
20765
 
{ echo "$as_me:$LINENO: checking locale usability" >&5
20766
 
echo $ECHO_N "checking locale usability... $ECHO_C" >&6; }
 
16217
{ $as_echo "$as_me:$LINENO: checking locale usability" >&5
 
16218
$as_echo_n "checking locale usability... " >&6; }
20767
16219
cat >conftest.$ac_ext <<_ACEOF
20768
16220
/* confdefs.h.  */
20769
16221
_ACEOF
20779
16231
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20780
16232
  *) ac_try_echo=$ac_try;;
20781
16233
esac
20782
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16234
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16235
$as_echo "$ac_try_echo") >&5
20783
16236
  (eval "$ac_compile") 2>conftest.er1
20784
16237
  ac_status=$?
20785
16238
  grep -v '^ *+' conftest.er1 >conftest.err
20786
16239
  rm -f conftest.er1
20787
16240
  cat conftest.err >&5
20788
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16241
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789
16242
  (exit $ac_status); } && {
20790
16243
         test -z "$ac_cxx_werror_flag" ||
20791
16244
         test ! -s conftest.err
20792
16245
       } && test -s conftest.$ac_objext; then
20793
16246
  ac_header_compiler=yes
20794
16247
else
20795
 
  echo "$as_me: failed program was:" >&5
 
16248
  $as_echo "$as_me: failed program was:" >&5
20796
16249
sed 's/^/| /' conftest.$ac_ext >&5
20797
16250
 
20798
16251
        ac_header_compiler=no
20799
16252
fi
20800
16253
 
20801
16254
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20802
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20803
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
16255
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
16256
$as_echo "$ac_header_compiler" >&6; }
20804
16257
 
20805
16258
# Is the header present?
20806
 
{ echo "$as_me:$LINENO: checking locale presence" >&5
20807
 
echo $ECHO_N "checking locale presence... $ECHO_C" >&6; }
 
16259
{ $as_echo "$as_me:$LINENO: checking locale presence" >&5
 
16260
$as_echo_n "checking locale presence... " >&6; }
20808
16261
cat >conftest.$ac_ext <<_ACEOF
20809
16262
/* confdefs.h.  */
20810
16263
_ACEOF
20818
16271
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20819
16272
  *) ac_try_echo=$ac_try;;
20820
16273
esac
20821
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16274
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16275
$as_echo "$ac_try_echo") >&5
20822
16276
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20823
16277
  ac_status=$?
20824
16278
  grep -v '^ *+' conftest.er1 >conftest.err
20825
16279
  rm -f conftest.er1
20826
16280
  cat conftest.err >&5
20827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16281
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828
16282
  (exit $ac_status); } >/dev/null && {
20829
16283
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
20830
16284
         test ! -s conftest.err
20831
16285
       }; then
20832
16286
  ac_header_preproc=yes
20833
16287
else
20834
 
  echo "$as_me: failed program was:" >&5
 
16288
  $as_echo "$as_me: failed program was:" >&5
20835
16289
sed 's/^/| /' conftest.$ac_ext >&5
20836
16290
 
20837
16291
  ac_header_preproc=no
20838
16292
fi
20839
16293
 
20840
16294
rm -f conftest.err conftest.$ac_ext
20841
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20842
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
16295
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
16296
$as_echo "$ac_header_preproc" >&6; }
20843
16297
 
20844
16298
# So?  What about this header?
20845
16299
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20846
16300
  yes:no: )
20847
 
    { echo "$as_me:$LINENO: WARNING: locale: accepted by the compiler, rejected by the preprocessor!" >&5
20848
 
echo "$as_me: WARNING: locale: accepted by the compiler, rejected by the preprocessor!" >&2;}
20849
 
    { echo "$as_me:$LINENO: WARNING: locale: proceeding with the compiler's result" >&5
20850
 
echo "$as_me: WARNING: locale: proceeding with the compiler's result" >&2;}
 
16301
    { $as_echo "$as_me:$LINENO: WARNING: locale: accepted by the compiler, rejected by the preprocessor!" >&5
 
16302
$as_echo "$as_me: WARNING: locale: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
16303
    { $as_echo "$as_me:$LINENO: WARNING: locale: proceeding with the compiler's result" >&5
 
16304
$as_echo "$as_me: WARNING: locale: proceeding with the compiler's result" >&2;}
20851
16305
    ac_header_preproc=yes
20852
16306
    ;;
20853
16307
  no:yes:* )
20854
 
    { echo "$as_me:$LINENO: WARNING: locale: present but cannot be compiled" >&5
20855
 
echo "$as_me: WARNING: locale: present but cannot be compiled" >&2;}
20856
 
    { echo "$as_me:$LINENO: WARNING: locale:     check for missing prerequisite headers?" >&5
20857
 
echo "$as_me: WARNING: locale:     check for missing prerequisite headers?" >&2;}
20858
 
    { echo "$as_me:$LINENO: WARNING: locale: see the Autoconf documentation" >&5
20859
 
echo "$as_me: WARNING: locale: see the Autoconf documentation" >&2;}
20860
 
    { echo "$as_me:$LINENO: WARNING: locale:     section \"Present But Cannot Be Compiled\"" >&5
20861
 
echo "$as_me: WARNING: locale:     section \"Present But Cannot Be Compiled\"" >&2;}
20862
 
    { echo "$as_me:$LINENO: WARNING: locale: proceeding with the preprocessor's result" >&5
20863
 
echo "$as_me: WARNING: locale: proceeding with the preprocessor's result" >&2;}
20864
 
    { echo "$as_me:$LINENO: WARNING: locale: in the future, the compiler will take precedence" >&5
20865
 
echo "$as_me: WARNING: locale: in the future, the compiler will take precedence" >&2;}
 
16308
    { $as_echo "$as_me:$LINENO: WARNING: locale: present but cannot be compiled" >&5
 
16309
$as_echo "$as_me: WARNING: locale: present but cannot be compiled" >&2;}
 
16310
    { $as_echo "$as_me:$LINENO: WARNING: locale:     check for missing prerequisite headers?" >&5
 
16311
$as_echo "$as_me: WARNING: locale:     check for missing prerequisite headers?" >&2;}
 
16312
    { $as_echo "$as_me:$LINENO: WARNING: locale: see the Autoconf documentation" >&5
 
16313
$as_echo "$as_me: WARNING: locale: see the Autoconf documentation" >&2;}
 
16314
    { $as_echo "$as_me:$LINENO: WARNING: locale:     section \"Present But Cannot Be Compiled\"" >&5
 
16315
$as_echo "$as_me: WARNING: locale:     section \"Present But Cannot Be Compiled\"" >&2;}
 
16316
    { $as_echo "$as_me:$LINENO: WARNING: locale: proceeding with the preprocessor's result" >&5
 
16317
$as_echo "$as_me: WARNING: locale: proceeding with the preprocessor's result" >&2;}
 
16318
    { $as_echo "$as_me:$LINENO: WARNING: locale: in the future, the compiler will take precedence" >&5
 
16319
$as_echo "$as_me: WARNING: locale: in the future, the compiler will take precedence" >&2;}
20866
16320
    ( cat <<\_ASBOX
20867
16321
## -------------------------------------------------- ##
20868
16322
## Report this to Jeroen T. Vermeulen <jtv@xs4all.nl> ##
20871
16325
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20872
16326
    ;;
20873
16327
esac
20874
 
{ echo "$as_me:$LINENO: checking for locale" >&5
20875
 
echo $ECHO_N "checking for locale... $ECHO_C" >&6; }
 
16328
{ $as_echo "$as_me:$LINENO: checking for locale" >&5
 
16329
$as_echo_n "checking for locale... " >&6; }
20876
16330
if test "${ac_cv_header_locale+set}" = set; then
20877
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16331
  $as_echo_n "(cached) " >&6
20878
16332
else
20879
16333
  ac_cv_header_locale=$ac_header_preproc
20880
16334
fi
20881
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_locale" >&5
20882
 
echo "${ECHO_T}$ac_cv_header_locale" >&6; }
 
16335
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale" >&5
 
16336
$as_echo "$ac_cv_header_locale" >&6; }
20883
16337
 
20884
16338
fi
20885
 
if test $ac_cv_header_locale = yes; then
 
16339
if test "x$ac_cv_header_locale" = x""yes; then
20886
16340
 
20887
16341
cat >>confdefs.h <<\_ACEOF
20888
16342
#define PQXX_HAVE_LOCALE 1
20895
16349
 
20896
16350
 
20897
16351
imbue=yes
20898
 
{ echo "$as_me:$LINENO: checking locale function and stringstream::imbue" >&5
20899
 
echo $ECHO_N "checking locale function and stringstream::imbue... $ECHO_C" >&6; }
 
16352
{ $as_echo "$as_me:$LINENO: checking locale function and stringstream::imbue" >&5
 
16353
$as_echo_n "checking locale function and stringstream::imbue... " >&6; }
20900
16354
cat >conftest.$ac_ext <<_ACEOF
20901
16355
/* confdefs.h.  */
20902
16356
_ACEOF
20922
16376
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20923
16377
  *) ac_try_echo=$ac_try;;
20924
16378
esac
20925
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16379
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16380
$as_echo "$ac_try_echo") >&5
20926
16381
  (eval "$ac_compile") 2>conftest.er1
20927
16382
  ac_status=$?
20928
16383
  grep -v '^ *+' conftest.er1 >conftest.err
20929
16384
  rm -f conftest.er1
20930
16385
  cat conftest.err >&5
20931
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16386
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932
16387
  (exit $ac_status); } && {
20933
16388
         test -z "$ac_cxx_werror_flag" ||
20934
16389
         test ! -s conftest.err
20939
16394
_ACEOF
20940
16395
 
20941
16396
else
20942
 
  echo "$as_me: failed program was:" >&5
 
16397
  $as_echo "$as_me: failed program was:" >&5
20943
16398
sed 's/^/| /' conftest.$ac_ext >&5
20944
16399
 
20945
16400
        imbue=no
20946
16401
fi
20947
16402
 
20948
16403
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20949
 
{ echo "$as_me:$LINENO: result: $imbue" >&5
20950
 
echo "${ECHO_T}$imbue" >&6; }
 
16404
{ $as_echo "$as_me:$LINENO: result: $imbue" >&5
 
16405
$as_echo "$imbue" >&6; }
20951
16406
 
20952
 
{ echo "$as_me:$LINENO: checking char_traits template" >&5
20953
 
echo $ECHO_N "checking char_traits template... $ECHO_C" >&6; }
 
16407
{ $as_echo "$as_me:$LINENO: checking char_traits template" >&5
 
16408
$as_echo_n "checking char_traits template... " >&6; }
20954
16409
char_traits=yes
20955
16410
cat >conftest.$ac_ext <<_ACEOF
20956
16411
/* confdefs.h.  */
20974
16429
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20975
16430
  *) ac_try_echo=$ac_try;;
20976
16431
esac
20977
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16432
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16433
$as_echo "$ac_try_echo") >&5
20978
16434
  (eval "$ac_compile") 2>conftest.er1
20979
16435
  ac_status=$?
20980
16436
  grep -v '^ *+' conftest.er1 >conftest.err
20981
16437
  rm -f conftest.er1
20982
16438
  cat conftest.err >&5
20983
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16439
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984
16440
  (exit $ac_status); } && {
20985
16441
         test -z "$ac_cxx_werror_flag" ||
20986
16442
         test ! -s conftest.err
20991
16447
_ACEOF
20992
16448
 
20993
16449
else
20994
 
  echo "$as_me: failed program was:" >&5
 
16450
  $as_echo "$as_me: failed program was:" >&5
20995
16451
sed 's/^/| /' conftest.$ac_ext >&5
20996
16452
 
20997
16453
        char_traits=no
20998
16454
fi
20999
16455
 
21000
16456
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21001
 
{ echo "$as_me:$LINENO: result: $char_traits" >&5
21002
 
echo "${ECHO_T}$char_traits" >&6; }
 
16457
{ $as_echo "$as_me:$LINENO: result: $char_traits" >&5
 
16458
$as_echo "$char_traits" >&6; }
21003
16459
 
21004
 
{ echo "$as_me:$LINENO: checking \"warning\" preprocessor directive" >&5
21005
 
echo $ECHO_N "checking \"warning\" preprocessor directive... $ECHO_C" >&6; }
 
16460
{ $as_echo "$as_me:$LINENO: checking \"warning\" preprocessor directive" >&5
 
16461
$as_echo_n "checking \"warning\" preprocessor directive... " >&6; }
21006
16462
cpp_warning=yes
21007
16463
cat >conftest.$ac_ext <<_ACEOF
21008
16464
/* confdefs.h.  */
21025
16481
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21026
16482
  *) ac_try_echo=$ac_try;;
21027
16483
esac
21028
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16484
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16485
$as_echo "$ac_try_echo") >&5
21029
16486
  (eval "$ac_compile") 2>conftest.er1
21030
16487
  ac_status=$?
21031
16488
  grep -v '^ *+' conftest.er1 >conftest.err
21032
16489
  rm -f conftest.er1
21033
16490
  cat conftest.err >&5
21034
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16491
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035
16492
  (exit $ac_status); } && {
21036
16493
         test -z "$ac_cxx_werror_flag" ||
21037
16494
         test ! -s conftest.err
21042
16499
_ACEOF
21043
16500
 
21044
16501
else
21045
 
  echo "$as_me: failed program was:" >&5
 
16502
  $as_echo "$as_me: failed program was:" >&5
21046
16503
sed 's/^/| /' conftest.$ac_ext >&5
21047
16504
 
21048
16505
        cpp_warning=no
21049
16506
fi
21050
16507
 
21051
16508
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21052
 
{ echo "$as_me:$LINENO: result: $cpp_warning" >&5
21053
 
echo "${ECHO_T}$cpp_warning" >&6; }
 
16509
{ $as_echo "$as_me:$LINENO: result: $cpp_warning" >&5
 
16510
$as_echo "$cpp_warning" >&6; }
21054
16511
 
21055
 
{ echo "$as_me:$LINENO: checking \"message\" preprocessor pragma" >&5
21056
 
echo $ECHO_N "checking \"message\" preprocessor pragma... $ECHO_C" >&6; }
 
16512
{ $as_echo "$as_me:$LINENO: checking \"message\" preprocessor pragma" >&5
 
16513
$as_echo_n "checking \"message\" preprocessor pragma... " >&6; }
21057
16514
cpp_pragma_message=yes
21058
16515
cat >conftest.$ac_ext <<_ACEOF
21059
16516
/* confdefs.h.  */
21076
16533
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21077
16534
  *) ac_try_echo=$ac_try;;
21078
16535
esac
21079
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16536
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16537
$as_echo "$ac_try_echo") >&5
21080
16538
  (eval "$ac_compile") 2>conftest.er1
21081
16539
  ac_status=$?
21082
16540
  grep -v '^ *+' conftest.er1 >conftest.err
21083
16541
  rm -f conftest.er1
21084
16542
  cat conftest.err >&5
21085
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16543
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086
16544
  (exit $ac_status); } && {
21087
16545
         test -z "$ac_cxx_werror_flag" ||
21088
16546
         test ! -s conftest.err
21093
16551
_ACEOF
21094
16552
 
21095
16553
else
21096
 
  echo "$as_me: failed program was:" >&5
 
16554
  $as_echo "$as_me: failed program was:" >&5
21097
16555
sed 's/^/| /' conftest.$ac_ext >&5
21098
16556
 
21099
16557
        cpp_pragma_message=no
21100
16558
fi
21101
16559
 
21102
16560
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21103
 
{ echo "$as_me:$LINENO: result: $cpp_pragma_message" >&5
21104
 
echo "${ECHO_T}$cpp_pragma_message" >&6; }
 
16561
{ $as_echo "$as_me:$LINENO: result: $cpp_pragma_message" >&5
 
16562
$as_echo "$cpp_pragma_message" >&6; }
21105
16563
 
21106
16564
# Find PostgreSQL includes and libraries
21107
16565
for ac_prog in pg_config
21108
16566
do
21109
16567
  # Extract the first word of "$ac_prog", so it can be a program name with args.
21110
16568
set dummy $ac_prog; ac_word=$2
21111
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21112
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
16569
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16570
$as_echo_n "checking for $ac_word... " >&6; }
21113
16571
if test "${ac_cv_path_PG_CONFIG+set}" = set; then
21114
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16572
  $as_echo_n "(cached) " >&6
21115
16573
else
21116
16574
  case $PG_CONFIG in
21117
16575
  [\\/]* | ?:[\\/]*)
21126
16584
  for ac_exec_ext in '' $ac_executable_extensions; do
21127
16585
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21128
16586
    ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21129
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16587
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21130
16588
    break 2
21131
16589
  fi
21132
16590
done
21138
16596
fi
21139
16597
PG_CONFIG=$ac_cv_path_PG_CONFIG
21140
16598
if test -n "$PG_CONFIG"; then
21141
 
  { echo "$as_me:$LINENO: result: $PG_CONFIG" >&5
21142
 
echo "${ECHO_T}$PG_CONFIG" >&6; }
 
16599
  { $as_echo "$as_me:$LINENO: result: $PG_CONFIG" >&5
 
16600
$as_echo "$PG_CONFIG" >&6; }
21143
16601
else
21144
 
  { echo "$as_me:$LINENO: result: no" >&5
21145
 
echo "${ECHO_T}no" >&6; }
 
16602
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16603
$as_echo "no" >&6; }
21146
16604
fi
21147
16605
 
21148
16606
 
21150
16608
done
21151
16609
 
21152
16610
if test -z "$PG_CONFIG" || test ! -r "$PG_CONFIG"; then
21153
 
        { { echo "$as_me:$LINENO: error:
 
16611
        { { $as_echo "$as_me:$LINENO: error:
21154
16612
PostgreSQL configuration script pg_config not found.  Make sure this is in your
21155
16613
command path before configuring.  Without it, the configure script has no way to
21156
16614
find the right location for the libpq library and its headers.
21157
16615
" >&5
21158
 
echo "$as_me: error:
 
16616
$as_echo "$as_me: error:
21159
16617
PostgreSQL configuration script pg_config not found.  Make sure this is in your
21160
16618
command path before configuring.  Without it, the configure script has no way to
21161
16619
find the right location for the libpq library and its headers.
21163
16621
   { (exit 1); exit 1; }; }
21164
16622
fi
21165
16623
with_postgres_include=`$PG_CONFIG --includedir`
21166
 
{ echo "$as_me:$LINENO: using PostgreSQL headers at $with_postgres_include" >&5
21167
 
echo "$as_me: using PostgreSQL headers at $with_postgres_include" >&6;}
 
16624
{ $as_echo "$as_me:$LINENO: using PostgreSQL headers at $with_postgres_include" >&5
 
16625
$as_echo "$as_me: using PostgreSQL headers at $with_postgres_include" >&6;}
21168
16626
with_postgres_lib=`$PG_CONFIG --libdir`
21169
 
{ echo "$as_me:$LINENO: using PostgreSQL libraries at $with_postgres_lib" >&5
21170
 
echo "$as_me: using PostgreSQL libraries at $with_postgres_lib" >&6;}
 
16627
{ $as_echo "$as_me:$LINENO: using PostgreSQL libraries at $with_postgres_lib" >&5
 
16628
$as_echo "$as_me: using PostgreSQL libraries at $with_postgres_lib" >&6;}
21171
16629
 
21172
16630
 
21173
16631
 
21177
16635
 
21178
16636
 
21179
16637
 
21180
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21181
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
16638
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
16639
$as_echo_n "checking for ANSI C header files... " >&6; }
21182
16640
if test "${ac_cv_header_stdc+set}" = set; then
21183
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16641
  $as_echo_n "(cached) " >&6
21184
16642
else
21185
16643
  cat >conftest.$ac_ext <<_ACEOF
21186
16644
/* confdefs.h.  */
21207
16665
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21208
16666
  *) ac_try_echo=$ac_try;;
21209
16667
esac
21210
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16668
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16669
$as_echo "$ac_try_echo") >&5
21211
16670
  (eval "$ac_compile") 2>conftest.er1
21212
16671
  ac_status=$?
21213
16672
  grep -v '^ *+' conftest.er1 >conftest.err
21214
16673
  rm -f conftest.er1
21215
16674
  cat conftest.err >&5
21216
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16675
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217
16676
  (exit $ac_status); } && {
21218
16677
         test -z "$ac_cxx_werror_flag" ||
21219
16678
         test ! -s conftest.err
21220
16679
       } && test -s conftest.$ac_objext; then
21221
16680
  ac_cv_header_stdc=yes
21222
16681
else
21223
 
  echo "$as_me: failed program was:" >&5
 
16682
  $as_echo "$as_me: failed program was:" >&5
21224
16683
sed 's/^/| /' conftest.$ac_ext >&5
21225
16684
 
21226
16685
        ac_cv_header_stdc=no
21312
16771
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21313
16772
  *) ac_try_echo=$ac_try;;
21314
16773
esac
21315
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16774
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16775
$as_echo "$ac_try_echo") >&5
21316
16776
  (eval "$ac_link") 2>&5
21317
16777
  ac_status=$?
21318
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16778
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319
16779
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21320
16780
  { (case "(($ac_try" in
21321
16781
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21322
16782
  *) ac_try_echo=$ac_try;;
21323
16783
esac
21324
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16784
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16785
$as_echo "$ac_try_echo") >&5
21325
16786
  (eval "$ac_try") 2>&5
21326
16787
  ac_status=$?
21327
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16788
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328
16789
  (exit $ac_status); }; }; then
21329
16790
  :
21330
16791
else
21331
 
  echo "$as_me: program exited with status $ac_status" >&5
21332
 
echo "$as_me: failed program was:" >&5
 
16792
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
16793
$as_echo "$as_me: failed program was:" >&5
21333
16794
sed 's/^/| /' conftest.$ac_ext >&5
21334
16795
 
21335
16796
( exit $ac_status )
21336
16797
ac_cv_header_stdc=no
21337
16798
fi
 
16799
rm -rf conftest.dSYM
21338
16800
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21339
16801
fi
21340
16802
 
21341
16803
 
21342
16804
fi
21343
16805
fi
21344
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21345
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
16806
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
16807
$as_echo "$ac_cv_header_stdc" >&6; }
21346
16808
if test $ac_cv_header_stdc = yes; then
21347
16809
 
21348
16810
cat >>confdefs.h <<\_ACEOF
21352
16814
fi
21353
16815
 
21354
16816
 
21355
 
{ echo "$as_me:$LINENO: checking ability to compile programs using the standard C library" >&5
21356
 
echo $ECHO_N "checking ability to compile programs using the standard C library... $ECHO_C" >&6; }
 
16817
{ $as_echo "$as_me:$LINENO: checking ability to compile programs using the standard C library" >&5
 
16818
$as_echo_n "checking ability to compile programs using the standard C library... " >&6; }
21357
16819
cat >conftest.$ac_ext <<_ACEOF
21358
16820
/* confdefs.h.  */
21359
16821
_ACEOF
21377
16839
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21378
16840
  *) ac_try_echo=$ac_try;;
21379
16841
esac
21380
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16842
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16843
$as_echo "$ac_try_echo") >&5
21381
16844
  (eval "$ac_compile") 2>conftest.er1
21382
16845
  ac_status=$?
21383
16846
  grep -v '^ *+' conftest.er1 >conftest.err
21384
16847
  rm -f conftest.er1
21385
16848
  cat conftest.err >&5
21386
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16849
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21387
16850
  (exit $ac_status); } && {
21388
16851
         test -z "$ac_cxx_werror_flag" ||
21389
16852
         test ! -s conftest.err
21390
16853
       } && test -s conftest.$ac_objext; then
21391
16854
  :
21392
16855
else
21393
 
  echo "$as_me: failed program was:" >&5
 
16856
  $as_echo "$as_me: failed program was:" >&5
21394
16857
sed 's/^/| /' conftest.$ac_ext >&5
21395
16858
 
21396
 
        { { echo "$as_me:$LINENO: error:
 
16859
        { { $as_echo "$as_me:$LINENO: error:
21397
16860
Could not build even a tiny test program using the standard C library.
21398
16861
 
21399
16862
Something very basic has gone wrong; try reading config.log to find out what.
21405
16868
what compiler and command line options are used, what additional libraries are
21406
16869
linked in, and so on.
21407
16870
" >&5
21408
 
echo "$as_me: error:
 
16871
$as_echo "$as_me: error:
21409
16872
Could not build even a tiny test program using the standard C library.
21410
16873
 
21411
16874
Something very basic has gone wrong; try reading config.log to find out what.
21421
16884
fi
21422
16885
 
21423
16886
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21424
 
{ echo "$as_me:$LINENO: result: yes" >&5
21425
 
echo "${ECHO_T}yes" >&6; }
 
16887
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
16888
$as_echo "yes" >&6; }
21426
16889
 
21427
16890
 
21428
16891
# After this check, we should be able to link socket-based programs.
21429
16892
socklibok=no
21430
 
{ echo "$as_me:$LINENO: checking for library containing select" >&5
21431
 
echo $ECHO_N "checking for library containing select... $ECHO_C" >&6; }
 
16893
{ $as_echo "$as_me:$LINENO: checking for library containing select" >&5
 
16894
$as_echo_n "checking for library containing select... " >&6; }
21432
16895
if test "${ac_cv_search_select+set}" = set; then
21433
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16896
  $as_echo_n "(cached) " >&6
21434
16897
else
21435
16898
  ac_func_search_save_LIBS=$LIBS
21436
16899
cat >conftest.$ac_ext <<_ACEOF
21468
16931
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21469
16932
  *) ac_try_echo=$ac_try;;
21470
16933
esac
21471
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16934
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16935
$as_echo "$ac_try_echo") >&5
21472
16936
  (eval "$ac_link") 2>conftest.er1
21473
16937
  ac_status=$?
21474
16938
  grep -v '^ *+' conftest.er1 >conftest.err
21475
16939
  rm -f conftest.er1
21476
16940
  cat conftest.err >&5
21477
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16941
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478
16942
  (exit $ac_status); } && {
21479
16943
         test -z "$ac_cxx_werror_flag" ||
21480
16944
         test ! -s conftest.err
21481
 
       } && test -s conftest$ac_exeext &&
21482
 
       $as_test_x conftest$ac_exeext; then
 
16945
       } && test -s conftest$ac_exeext && {
 
16946
         test "$cross_compiling" = yes ||
 
16947
         $as_test_x conftest$ac_exeext
 
16948
       }; then
21483
16949
  ac_cv_search_select=$ac_res
21484
16950
else
21485
 
  echo "$as_me: failed program was:" >&5
 
16951
  $as_echo "$as_me: failed program was:" >&5
21486
16952
sed 's/^/| /' conftest.$ac_ext >&5
21487
16953
 
21488
16954
 
21489
16955
fi
21490
16956
 
 
16957
rm -rf conftest.dSYM
21491
16958
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21492
16959
      conftest$ac_exeext
21493
16960
  if test "${ac_cv_search_select+set}" = set; then
21502
16969
rm conftest.$ac_ext
21503
16970
LIBS=$ac_func_search_save_LIBS
21504
16971
fi
21505
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_select" >&5
21506
 
echo "${ECHO_T}$ac_cv_search_select" >&6; }
 
16972
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_select" >&5
 
16973
$as_echo "$ac_cv_search_select" >&6; }
21507
16974
ac_res=$ac_cv_search_select
21508
16975
if test "$ac_res" != no; then
21509
16976
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21518
16985
# up an unnecessary Windows compatibility library on a non-Windows system.
21519
16986
for l in ws2_32 wsock32 winsock ; do
21520
16987
        if test "${socklibok}" != "yes" ; then
21521
 
                as_ac_Lib=`echo "ac_cv_lib_$l''_main" | $as_tr_sh`
21522
 
{ echo "$as_me:$LINENO: checking for main in -l$l" >&5
21523
 
echo $ECHO_N "checking for main in -l$l... $ECHO_C" >&6; }
 
16988
                as_ac_Lib=`$as_echo "ac_cv_lib_$l''_main" | $as_tr_sh`
 
16989
{ $as_echo "$as_me:$LINENO: checking for main in -l$l" >&5
 
16990
$as_echo_n "checking for main in -l$l... " >&6; }
21524
16991
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
21525
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16992
  $as_echo_n "(cached) " >&6
21526
16993
else
21527
16994
  ac_check_lib_save_LIBS=$LIBS
21528
16995
LIBS="-l$l  $LIBS"
21548
17015
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21549
17016
  *) ac_try_echo=$ac_try;;
21550
17017
esac
21551
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17018
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17019
$as_echo "$ac_try_echo") >&5
21552
17020
  (eval "$ac_link") 2>conftest.er1
21553
17021
  ac_status=$?
21554
17022
  grep -v '^ *+' conftest.er1 >conftest.err
21555
17023
  rm -f conftest.er1
21556
17024
  cat conftest.err >&5
21557
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17025
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558
17026
  (exit $ac_status); } && {
21559
17027
         test -z "$ac_cxx_werror_flag" ||
21560
17028
         test ! -s conftest.err
21561
 
       } && test -s conftest$ac_exeext &&
21562
 
       $as_test_x conftest$ac_exeext; then
 
17029
       } && test -s conftest$ac_exeext && {
 
17030
         test "$cross_compiling" = yes ||
 
17031
         $as_test_x conftest$ac_exeext
 
17032
       }; then
21563
17033
  eval "$as_ac_Lib=yes"
21564
17034
else
21565
 
  echo "$as_me: failed program was:" >&5
 
17035
  $as_echo "$as_me: failed program was:" >&5
21566
17036
sed 's/^/| /' conftest.$ac_ext >&5
21567
17037
 
21568
17038
        eval "$as_ac_Lib=no"
21569
17039
fi
21570
17040
 
 
17041
rm -rf conftest.dSYM
21571
17042
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21572
17043
      conftest$ac_exeext conftest.$ac_ext
21573
17044
LIBS=$ac_check_lib_save_LIBS
21574
17045
fi
21575
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
21576
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21577
 
echo "${ECHO_T}$ac_res" >&6; }
21578
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
17046
ac_res=`eval 'as_val=${'$as_ac_Lib'}
 
17047
                 $as_echo "$as_val"'`
 
17048
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
17049
$as_echo "$ac_res" >&6; }
 
17050
as_val=`eval 'as_val=${'$as_ac_Lib'}
 
17051
                 $as_echo "$as_val"'`
 
17052
   if test "x$as_val" = x""yes; then
21579
17053
  LIBS="$LIBS -l$l";socklibok=yes
21580
17054
fi
21581
17055
 
21583
17057
done
21584
17058
 
21585
17059
if test "${socklibok}" != "yes" ; then
21586
 
        { { echo "$as_me:$LINENO: error:
 
17060
        { { $as_echo "$as_me:$LINENO: error:
21587
17061
Could not figure out how to link a simple sockets-based program.  Please read
21588
17062
the config.log file for more clues as to why this failed.
21589
17063
" >&5
21590
 
echo "$as_me: error:
 
17064
$as_echo "$as_me: error:
21591
17065
Could not figure out how to link a simple sockets-based program.  Please read
21592
17066
the config.log file for more clues as to why this failed.
21593
17067
" >&2;}
21595
17069
fi
21596
17070
 
21597
17071
 
21598
 
as_ac_Header=`echo "ac_cv_header_${with_postgres_include}/libpq-fe.h" | $as_tr_sh`
21599
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21600
 
  { echo "$as_me:$LINENO: checking for ${with_postgres_include}/libpq-fe.h" >&5
21601
 
echo $ECHO_N "checking for ${with_postgres_include}/libpq-fe.h... $ECHO_C" >&6; }
21602
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21603
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17072
as_ac_Header=`$as_echo "ac_cv_header_${with_postgres_include}/libpq-fe.h" | $as_tr_sh`
 
17073
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
17074
  { $as_echo "$as_me:$LINENO: checking for ${with_postgres_include}/libpq-fe.h" >&5
 
17075
$as_echo_n "checking for ${with_postgres_include}/libpq-fe.h... " >&6; }
 
17076
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
17077
  $as_echo_n "(cached) " >&6
21604
17078
fi
21605
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21606
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21607
 
echo "${ECHO_T}$ac_res" >&6; }
 
17079
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
17080
                 $as_echo "$as_val"'`
 
17081
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
17082
$as_echo "$ac_res" >&6; }
21608
17083
else
21609
17084
  # Is the header compilable?
21610
 
{ echo "$as_me:$LINENO: checking ${with_postgres_include}/libpq-fe.h usability" >&5
21611
 
echo $ECHO_N "checking ${with_postgres_include}/libpq-fe.h usability... $ECHO_C" >&6; }
 
17085
{ $as_echo "$as_me:$LINENO: checking ${with_postgres_include}/libpq-fe.h usability" >&5
 
17086
$as_echo_n "checking ${with_postgres_include}/libpq-fe.h usability... " >&6; }
21612
17087
cat >conftest.$ac_ext <<_ACEOF
21613
17088
/* confdefs.h.  */
21614
17089
_ACEOF
21624
17099
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21625
17100
  *) ac_try_echo=$ac_try;;
21626
17101
esac
21627
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17102
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17103
$as_echo "$ac_try_echo") >&5
21628
17104
  (eval "$ac_compile") 2>conftest.er1
21629
17105
  ac_status=$?
21630
17106
  grep -v '^ *+' conftest.er1 >conftest.err
21631
17107
  rm -f conftest.er1
21632
17108
  cat conftest.err >&5
21633
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17109
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634
17110
  (exit $ac_status); } && {
21635
17111
         test -z "$ac_cxx_werror_flag" ||
21636
17112
         test ! -s conftest.err
21637
17113
       } && test -s conftest.$ac_objext; then
21638
17114
  ac_header_compiler=yes
21639
17115
else
21640
 
  echo "$as_me: failed program was:" >&5
 
17116
  $as_echo "$as_me: failed program was:" >&5
21641
17117
sed 's/^/| /' conftest.$ac_ext >&5
21642
17118
 
21643
17119
        ac_header_compiler=no
21644
17120
fi
21645
17121
 
21646
17122
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21647
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21648
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
17123
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
17124
$as_echo "$ac_header_compiler" >&6; }
21649
17125
 
21650
17126
# Is the header present?
21651
 
{ echo "$as_me:$LINENO: checking ${with_postgres_include}/libpq-fe.h presence" >&5
21652
 
echo $ECHO_N "checking ${with_postgres_include}/libpq-fe.h presence... $ECHO_C" >&6; }
 
17127
{ $as_echo "$as_me:$LINENO: checking ${with_postgres_include}/libpq-fe.h presence" >&5
 
17128
$as_echo_n "checking ${with_postgres_include}/libpq-fe.h presence... " >&6; }
21653
17129
cat >conftest.$ac_ext <<_ACEOF
21654
17130
/* confdefs.h.  */
21655
17131
_ACEOF
21663
17139
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21664
17140
  *) ac_try_echo=$ac_try;;
21665
17141
esac
21666
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17142
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17143
$as_echo "$ac_try_echo") >&5
21667
17144
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21668
17145
  ac_status=$?
21669
17146
  grep -v '^ *+' conftest.er1 >conftest.err
21670
17147
  rm -f conftest.er1
21671
17148
  cat conftest.err >&5
21672
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17149
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673
17150
  (exit $ac_status); } >/dev/null && {
21674
17151
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
21675
17152
         test ! -s conftest.err
21676
17153
       }; then
21677
17154
  ac_header_preproc=yes
21678
17155
else
21679
 
  echo "$as_me: failed program was:" >&5
 
17156
  $as_echo "$as_me: failed program was:" >&5
21680
17157
sed 's/^/| /' conftest.$ac_ext >&5
21681
17158
 
21682
17159
  ac_header_preproc=no
21683
17160
fi
21684
17161
 
21685
17162
rm -f conftest.err conftest.$ac_ext
21686
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21687
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
17163
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
17164
$as_echo "$ac_header_preproc" >&6; }
21688
17165
 
21689
17166
# So?  What about this header?
21690
17167
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21691
17168
  yes:no: )
21692
 
    { echo "$as_me:$LINENO: WARNING: ${with_postgres_include}/libpq-fe.h: accepted by the compiler, rejected by the preprocessor!" >&5
21693
 
echo "$as_me: WARNING: ${with_postgres_include}/libpq-fe.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21694
 
    { echo "$as_me:$LINENO: WARNING: ${with_postgres_include}/libpq-fe.h: proceeding with the compiler's result" >&5
21695
 
echo "$as_me: WARNING: ${with_postgres_include}/libpq-fe.h: proceeding with the compiler's result" >&2;}
 
17169
    { $as_echo "$as_me:$LINENO: WARNING: ${with_postgres_include}/libpq-fe.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
17170
$as_echo "$as_me: WARNING: ${with_postgres_include}/libpq-fe.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
17171
    { $as_echo "$as_me:$LINENO: WARNING: ${with_postgres_include}/libpq-fe.h: proceeding with the compiler's result" >&5
 
17172
$as_echo "$as_me: WARNING: ${with_postgres_include}/libpq-fe.h: proceeding with the compiler's result" >&2;}
21696
17173
    ac_header_preproc=yes
21697
17174
    ;;
21698
17175
  no:yes:* )
21699
 
    { echo "$as_me:$LINENO: WARNING: ${with_postgres_include}/libpq-fe.h: present but cannot be compiled" >&5
21700
 
echo "$as_me: WARNING: ${with_postgres_include}/libpq-fe.h: present but cannot be compiled" >&2;}
21701
 
    { echo "$as_me:$LINENO: WARNING: ${with_postgres_include}/libpq-fe.h:     check for missing prerequisite headers?" >&5
21702
 
echo "$as_me: WARNING: ${with_postgres_include}/libpq-fe.h:     check for missing prerequisite headers?" >&2;}
21703
 
    { echo "$as_me:$LINENO: WARNING: ${with_postgres_include}/libpq-fe.h: see the Autoconf documentation" >&5
21704
 
echo "$as_me: WARNING: ${with_postgres_include}/libpq-fe.h: see the Autoconf documentation" >&2;}
21705
 
    { echo "$as_me:$LINENO: WARNING: ${with_postgres_include}/libpq-fe.h:     section \"Present But Cannot Be Compiled\"" >&5
21706
 
echo "$as_me: WARNING: ${with_postgres_include}/libpq-fe.h:     section \"Present But Cannot Be Compiled\"" >&2;}
21707
 
    { echo "$as_me:$LINENO: WARNING: ${with_postgres_include}/libpq-fe.h: proceeding with the preprocessor's result" >&5
21708
 
echo "$as_me: WARNING: ${with_postgres_include}/libpq-fe.h: proceeding with the preprocessor's result" >&2;}
21709
 
    { echo "$as_me:$LINENO: WARNING: ${with_postgres_include}/libpq-fe.h: in the future, the compiler will take precedence" >&5
21710
 
echo "$as_me: WARNING: ${with_postgres_include}/libpq-fe.h: in the future, the compiler will take precedence" >&2;}
 
17176
    { $as_echo "$as_me:$LINENO: WARNING: ${with_postgres_include}/libpq-fe.h: present but cannot be compiled" >&5
 
17177
$as_echo "$as_me: WARNING: ${with_postgres_include}/libpq-fe.h: present but cannot be compiled" >&2;}
 
17178
    { $as_echo "$as_me:$LINENO: WARNING: ${with_postgres_include}/libpq-fe.h:     check for missing prerequisite headers?" >&5
 
17179
$as_echo "$as_me: WARNING: ${with_postgres_include}/libpq-fe.h:     check for missing prerequisite headers?" >&2;}
 
17180
    { $as_echo "$as_me:$LINENO: WARNING: ${with_postgres_include}/libpq-fe.h: see the Autoconf documentation" >&5
 
17181
$as_echo "$as_me: WARNING: ${with_postgres_include}/libpq-fe.h: see the Autoconf documentation" >&2;}
 
17182
    { $as_echo "$as_me:$LINENO: WARNING: ${with_postgres_include}/libpq-fe.h:     section \"Present But Cannot Be Compiled\"" >&5
 
17183
$as_echo "$as_me: WARNING: ${with_postgres_include}/libpq-fe.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
17184
    { $as_echo "$as_me:$LINENO: WARNING: ${with_postgres_include}/libpq-fe.h: proceeding with the preprocessor's result" >&5
 
17185
$as_echo "$as_me: WARNING: ${with_postgres_include}/libpq-fe.h: proceeding with the preprocessor's result" >&2;}
 
17186
    { $as_echo "$as_me:$LINENO: WARNING: ${with_postgres_include}/libpq-fe.h: in the future, the compiler will take precedence" >&5
 
17187
$as_echo "$as_me: WARNING: ${with_postgres_include}/libpq-fe.h: in the future, the compiler will take precedence" >&2;}
21711
17188
    ( cat <<\_ASBOX
21712
17189
## -------------------------------------------------- ##
21713
17190
## Report this to Jeroen T. Vermeulen <jtv@xs4all.nl> ##
21716
17193
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21717
17194
    ;;
21718
17195
esac
21719
 
{ echo "$as_me:$LINENO: checking for ${with_postgres_include}/libpq-fe.h" >&5
21720
 
echo $ECHO_N "checking for ${with_postgres_include}/libpq-fe.h... $ECHO_C" >&6; }
 
17196
{ $as_echo "$as_me:$LINENO: checking for ${with_postgres_include}/libpq-fe.h" >&5
 
17197
$as_echo_n "checking for ${with_postgres_include}/libpq-fe.h... " >&6; }
21721
17198
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21722
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17199
  $as_echo_n "(cached) " >&6
21723
17200
else
21724
17201
  eval "$as_ac_Header=\$ac_header_preproc"
21725
17202
fi
21726
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21727
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21728
 
echo "${ECHO_T}$ac_res" >&6; }
 
17203
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
17204
                 $as_echo "$as_val"'`
 
17205
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
17206
$as_echo "$ac_res" >&6; }
21729
17207
 
21730
17208
fi
21731
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
17209
as_val=`eval 'as_val=${'$as_ac_Header'}
 
17210
                 $as_echo "$as_val"'`
 
17211
   if test "x$as_val" = x""yes; then
21732
17212
  :
21733
17213
else
21734
 
  { { echo "$as_me:$LINENO: error:
 
17214
  { { $as_echo "$as_me:$LINENO: error:
21735
17215
Can't find libpq-fe.h in ${with_postgres_include}.  Are you sure the libpq
21736
17216
headers are installed correctly?  They should be in the directory returned by
21737
17217
\"pg_config --includedir\".
21742
17222
seperate packages with names like \"alibrary\" and \"alibrary-dev\", respectively.
21743
17223
In that case, make sure you have the latter installed as well.
21744
17224
" >&5
21745
 
echo "$as_me: error:
 
17225
$as_echo "$as_me: error:
21746
17226
Can't find libpq-fe.h in ${with_postgres_include}.  Are you sure the libpq
21747
17227
headers are installed correctly?  They should be in the directory returned by
21748
17228
\"pg_config --includedir\".
21759
17239
 
21760
17240
 
21761
17241
 
21762
 
{ echo "$as_me:$LINENO: checking for ability to compile source files using libpq" >&5
21763
 
echo $ECHO_N "checking for ability to compile source files using libpq... $ECHO_C" >&6; }
 
17242
{ $as_echo "$as_me:$LINENO: checking for ability to compile source files using libpq" >&5
 
17243
$as_echo_n "checking for ability to compile source files using libpq... " >&6; }
21764
17244
cat >conftest.$ac_ext <<_ACEOF
21765
17245
/* confdefs.h.  */
21766
17246
_ACEOF
21782
17262
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21783
17263
  *) ac_try_echo=$ac_try;;
21784
17264
esac
21785
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17265
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17266
$as_echo "$ac_try_echo") >&5
21786
17267
  (eval "$ac_compile") 2>conftest.er1
21787
17268
  ac_status=$?
21788
17269
  grep -v '^ *+' conftest.er1 >conftest.err
21789
17270
  rm -f conftest.er1
21790
17271
  cat conftest.err >&5
21791
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17272
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792
17273
  (exit $ac_status); } && {
21793
17274
         test -z "$ac_cxx_werror_flag" ||
21794
17275
         test ! -s conftest.err
21795
17276
       } && test -s conftest.$ac_objext; then
21796
17277
  :
21797
17278
else
21798
 
  echo "$as_me: failed program was:" >&5
 
17279
  $as_echo "$as_me: failed program was:" >&5
21799
17280
sed 's/^/| /' conftest.$ac_ext >&5
21800
17281
 
21801
 
        { { echo "$as_me:$LINENO: error:
 
17282
        { { $as_echo "$as_me:$LINENO: error:
21802
17283
Could not compile a call to a basic libpq function.  There must be something
21803
17284
seriously wrong with the headers that \"pg_config --includedir\" pointed to; the
21804
17285
contents of config.log may give you a clue about the nature of the failure.
21806
17287
most basic libpq function PQexec() failed to compile successfully.  This is the
21807
17288
litmus test for a working libpq.
21808
17289
" >&5
21809
 
echo "$as_me: error:
 
17290
$as_echo "$as_me: error:
21810
17291
Could not compile a call to a basic libpq function.  There must be something
21811
17292
seriously wrong with the headers that \"pg_config --includedir\" pointed to; the
21812
17293
contents of config.log may give you a clue about the nature of the failure.
21818
17299
fi
21819
17300
 
21820
17301
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21821
 
{ echo "$as_me:$LINENO: result: yes" >&5
21822
 
echo "${ECHO_T}yes" >&6; }
 
17302
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
17303
$as_echo "yes" >&6; }
21823
17304
 
21824
17305
# Perform this check in C; autoconf's AC_HAVE_LIBRARY breaks in C++ because it
21825
17306
# tries to call main()
21833
17314
LDFLAGS="$LDFLAGS -L${with_postgres_lib}"
21834
17315
 
21835
17316
 
21836
 
{ echo "$as_me:$LINENO: checking for main in -lpq" >&5
21837
 
echo $ECHO_N "checking for main in -lpq... $ECHO_C" >&6; }
 
17317
{ $as_echo "$as_me:$LINENO: checking for main in -lpq" >&5
 
17318
$as_echo_n "checking for main in -lpq... " >&6; }
21838
17319
if test "${ac_cv_lib_pq_main+set}" = set; then
21839
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17320
  $as_echo_n "(cached) " >&6
21840
17321
else
21841
17322
  ac_check_lib_save_LIBS=$LIBS
21842
17323
LIBS="-lpq -L${with_postgres_lib} $LIBS"
21862
17343
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21863
17344
  *) ac_try_echo=$ac_try;;
21864
17345
esac
21865
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17346
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17347
$as_echo "$ac_try_echo") >&5
21866
17348
  (eval "$ac_link") 2>conftest.er1
21867
17349
  ac_status=$?
21868
17350
  grep -v '^ *+' conftest.er1 >conftest.err
21869
17351
  rm -f conftest.er1
21870
17352
  cat conftest.err >&5
21871
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17353
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872
17354
  (exit $ac_status); } && {
21873
17355
         test -z "$ac_c_werror_flag" ||
21874
17356
         test ! -s conftest.err
21875
 
       } && test -s conftest$ac_exeext &&
21876
 
       $as_test_x conftest$ac_exeext; then
 
17357
       } && test -s conftest$ac_exeext && {
 
17358
         test "$cross_compiling" = yes ||
 
17359
         $as_test_x conftest$ac_exeext
 
17360
       }; then
21877
17361
  ac_cv_lib_pq_main=yes
21878
17362
else
21879
 
  echo "$as_me: failed program was:" >&5
 
17363
  $as_echo "$as_me: failed program was:" >&5
21880
17364
sed 's/^/| /' conftest.$ac_ext >&5
21881
17365
 
21882
17366
        ac_cv_lib_pq_main=no
21883
17367
fi
21884
17368
 
 
17369
rm -rf conftest.dSYM
21885
17370
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21886
17371
      conftest$ac_exeext conftest.$ac_ext
21887
17372
LIBS=$ac_check_lib_save_LIBS
21888
17373
fi
21889
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pq_main" >&5
21890
 
echo "${ECHO_T}$ac_cv_lib_pq_main" >&6; }
21891
 
if test $ac_cv_lib_pq_main = yes; then
 
17374
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pq_main" >&5
 
17375
$as_echo "$ac_cv_lib_pq_main" >&6; }
 
17376
if test "x$ac_cv_lib_pq_main" = x""yes; then
21892
17377
  cat >>confdefs.h <<_ACEOF
21893
17378
#define HAVE_LIBPQ 1
21894
17379
_ACEOF
21896
17381
  LIBS="-lpq $LIBS"
21897
17382
 
21898
17383
else
21899
 
  { { echo "$as_me:$LINENO: error:
 
17384
  { { $as_echo "$as_me:$LINENO: error:
21900
17385
Could not link to libpq.  Make sure you have the PostgreSQL client library
21901
17386
installed, and that the library binary can be found in the location returned by
21902
17387
\"pg_config --libdir\".
21903
17388
" >&5
21904
 
echo "$as_me: error:
 
17389
$as_echo "$as_me: error:
21905
17390
Could not link to libpq.  Make sure you have the PostgreSQL client library
21906
17391
installed, and that the library binary can be found in the location returned by
21907
17392
\"pg_config --libdir\".
21912
17397
 
21913
17398
 
21914
17399
 
21915
 
{ echo "$as_me:$LINENO: checking for PQexec in -lpq" >&5
21916
 
echo $ECHO_N "checking for PQexec in -lpq... $ECHO_C" >&6; }
 
17400
{ $as_echo "$as_me:$LINENO: checking for PQexec in -lpq" >&5
 
17401
$as_echo_n "checking for PQexec in -lpq... " >&6; }
21917
17402
if test "${ac_cv_lib_pq_PQexec+set}" = set; then
21918
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17403
  $as_echo_n "(cached) " >&6
21919
17404
else
21920
17405
  ac_check_lib_save_LIBS=$LIBS
21921
17406
LIBS="-lpq -L${with_postgres_lib} $LIBS"
21947
17432
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21948
17433
  *) ac_try_echo=$ac_try;;
21949
17434
esac
21950
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17435
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17436
$as_echo "$ac_try_echo") >&5
21951
17437
  (eval "$ac_link") 2>conftest.er1
21952
17438
  ac_status=$?
21953
17439
  grep -v '^ *+' conftest.er1 >conftest.err
21954
17440
  rm -f conftest.er1
21955
17441
  cat conftest.err >&5
21956
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17442
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957
17443
  (exit $ac_status); } && {
21958
17444
         test -z "$ac_c_werror_flag" ||
21959
17445
         test ! -s conftest.err
21960
 
       } && test -s conftest$ac_exeext &&
21961
 
       $as_test_x conftest$ac_exeext; then
 
17446
       } && test -s conftest$ac_exeext && {
 
17447
         test "$cross_compiling" = yes ||
 
17448
         $as_test_x conftest$ac_exeext
 
17449
       }; then
21962
17450
  ac_cv_lib_pq_PQexec=yes
21963
17451
else
21964
 
  echo "$as_me: failed program was:" >&5
 
17452
  $as_echo "$as_me: failed program was:" >&5
21965
17453
sed 's/^/| /' conftest.$ac_ext >&5
21966
17454
 
21967
17455
        ac_cv_lib_pq_PQexec=no
21968
17456
fi
21969
17457
 
 
17458
rm -rf conftest.dSYM
21970
17459
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21971
17460
      conftest$ac_exeext conftest.$ac_ext
21972
17461
LIBS=$ac_check_lib_save_LIBS
21973
17462
fi
21974
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pq_PQexec" >&5
21975
 
echo "${ECHO_T}$ac_cv_lib_pq_PQexec" >&6; }
21976
 
if test $ac_cv_lib_pq_PQexec = yes; then
 
17463
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pq_PQexec" >&5
 
17464
$as_echo "$ac_cv_lib_pq_PQexec" >&6; }
 
17465
if test "x$ac_cv_lib_pq_PQexec" = x""yes; then
21977
17466
  cat >>confdefs.h <<_ACEOF
21978
17467
#define HAVE_LIBPQ 1
21979
17468
_ACEOF
21981
17470
  LIBS="-lpq $LIBS"
21982
17471
 
21983
17472
else
21984
 
  { { echo "$as_me:$LINENO: error:
 
17473
  { { $as_echo "$as_me:$LINENO: error:
21985
17474
Did not find the PQexec() function in libpq.  This is the litmus test for a
21986
17475
working libpq installation.
21987
17476
 
21989
17478
libpq library is available for linking, but for some reason a call to PQexec()
21990
17479
failed to link properly to the libpq library.  This may be because the libpq
21991
17480
library file is damaged, or in some incorrect format. or if your libpq is much
21992
 
more recent than libpqxx version 3.0, perhaps libpq has undergone a
 
17481
more recent than libpqxx version 3.0.2, perhaps libpq has undergone a
21993
17482
radical ABI change.
21994
17483
 
21995
17484
The last parts of config.log may give you a clue as to what really went wrong,
21996
17485
but be warned that this is no easy reading.  Look for the last error message
21997
17486
occurring in the file.
21998
17487
" >&5
21999
 
echo "$as_me: error:
 
17488
$as_echo "$as_me: error:
22000
17489
Did not find the PQexec() function in libpq.  This is the litmus test for a
22001
17490
working libpq installation.
22002
17491
 
22004
17493
libpq library is available for linking, but for some reason a call to PQexec()
22005
17494
failed to link properly to the libpq library.  This may be because the libpq
22006
17495
library file is damaged, or in some incorrect format. or if your libpq is much
22007
 
more recent than libpqxx version 3.0, perhaps libpq has undergone a
 
17496
more recent than libpqxx version 3.0.2, perhaps libpq has undergone a
22008
17497
radical ABI change.
22009
17498
 
22010
17499
The last parts of config.log may give you a clue as to what really went wrong,
22025
17514
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22026
17515
 
22027
17516
 
22028
 
{ echo "$as_me:$LINENO: checking for correct C++ linkage of basic libpq functions" >&5
22029
 
echo $ECHO_N "checking for correct C++ linkage of basic libpq functions... $ECHO_C" >&6; }
 
17517
{ $as_echo "$as_me:$LINENO: checking for correct C++ linkage of basic libpq functions" >&5
 
17518
$as_echo_n "checking for correct C++ linkage of basic libpq functions... " >&6; }
22030
17519
if test "$enable_maintainer_mode" = "yes"; then
22031
17520
cat >conftest.$ac_ext <<_ACEOF
22032
17521
 
22039
17528
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22040
17529
  *) ac_try_echo=$ac_try;;
22041
17530
esac
22042
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17531
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17532
$as_echo "$ac_try_echo") >&5
22043
17533
  (eval "$ac_link") 2>conftest.er1
22044
17534
  ac_status=$?
22045
17535
  grep -v '^ *+' conftest.er1 >conftest.err
22046
17536
  rm -f conftest.er1
22047
17537
  cat conftest.err >&5
22048
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17538
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049
17539
  (exit $ac_status); } && {
22050
17540
         test -z "$ac_cxx_werror_flag" ||
22051
17541
         test ! -s conftest.err
22052
 
       } && test -s conftest$ac_exeext &&
22053
 
       $as_test_x conftest$ac_exeext; then
 
17542
       } && test -s conftest$ac_exeext && {
 
17543
         test "$cross_compiling" = yes ||
 
17544
         $as_test_x conftest$ac_exeext
 
17545
       }; then
22054
17546
  :
22055
17547
else
22056
 
  echo "$as_me: failed program was:" >&5
 
17548
  $as_echo "$as_me: failed program was:" >&5
22057
17549
sed 's/^/| /' conftest.$ac_ext >&5
22058
17550
 
22059
 
        { { echo "$as_me:$LINENO: error:
 
17551
        { { $as_echo "$as_me:$LINENO: error:
22060
17552
Linking a call to libpq failed in C++, even though it succeeded in C.  If your
22061
17553
C and C++ compilers are very different beasts, this may mean that we do not have
22062
17554
the right options for linking with it after all.  Alternatively, this may be
22073
17565
file for more detailed information.  Look for the last error message, which may
22074
17566
be several pages up from the end of the file.
22075
17567
" >&5
22076
 
echo "$as_me: error:
 
17568
$as_echo "$as_me: error:
22077
17569
Linking a call to libpq failed in C++, even though it succeeded in C.  If your
22078
17570
C and C++ compilers are very different beasts, this may mean that we do not have
22079
17571
the right options for linking with it after all.  Alternatively, this may be
22093
17585
   { (exit 1); exit 1; }; }
22094
17586
fi
22095
17587
 
 
17588
rm -rf conftest.dSYM
22096
17589
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22097
17590
      conftest$ac_exeext conftest.$ac_ext
22098
17591
else
22107
17600
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22108
17601
  *) ac_try_echo=$ac_try;;
22109
17602
esac
22110
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17603
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17604
$as_echo "$ac_try_echo") >&5
22111
17605
  (eval "$ac_link") 2>conftest.er1
22112
17606
  ac_status=$?
22113
17607
  grep -v '^ *+' conftest.er1 >conftest.err
22114
17608
  rm -f conftest.er1
22115
17609
  cat conftest.err >&5
22116
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17610
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117
17611
  (exit $ac_status); } && {
22118
17612
         test -z "$ac_cxx_werror_flag" ||
22119
17613
         test ! -s conftest.err
22120
 
       } && test -s conftest$ac_exeext &&
22121
 
       $as_test_x conftest$ac_exeext; then
 
17614
       } && test -s conftest$ac_exeext && {
 
17615
         test "$cross_compiling" = yes ||
 
17616
         $as_test_x conftest$ac_exeext
 
17617
       }; then
22122
17618
  :
22123
17619
else
22124
 
  echo "$as_me: failed program was:" >&5
 
17620
  $as_echo "$as_me: failed program was:" >&5
22125
17621
sed 's/^/| /' conftest.$ac_ext >&5
22126
17622
 
22127
 
        { { echo "$as_me:$LINENO: error:
 
17623
        { { $as_echo "$as_me:$LINENO: error:
22128
17624
Linking a call to libpq failed in C++, even though it succeeded in C.  If your
22129
17625
C and C++ compilers are very different beasts, this may mean that we do not have
22130
17626
the right options for linking with it after all.
22132
17628
Read the config.log file for more detailed information.  Look for the last error
22133
17629
message, which may be several pages up from the end of the file.
22134
17630
" >&5
22135
 
echo "$as_me: error:
 
17631
$as_echo "$as_me: error:
22136
17632
Linking a call to libpq failed in C++, even though it succeeded in C.  If your
22137
17633
C and C++ compilers are very different beasts, this may mean that we do not have
22138
17634
the right options for linking with it after all.
22143
17639
   { (exit 1); exit 1; }; }
22144
17640
fi
22145
17641
 
 
17642
rm -rf conftest.dSYM
22146
17643
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22147
17644
      conftest$ac_exeext conftest.$ac_ext
22148
17645
fi
22149
 
{ echo "$as_me:$LINENO: result: yes" >&5
22150
 
echo "${ECHO_T}yes" >&6; }
22151
 
 
22152
 
 
22153
 
{ echo "$as_me:$LINENO: checking that type of libpq's Oid is as expected" >&5
22154
 
echo $ECHO_N "checking that type of libpq's Oid is as expected... $ECHO_C" >&6; }
 
17646
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
17647
$as_echo "yes" >&6; }
 
17648
 
 
17649
 
 
17650
{ $as_echo "$as_me:$LINENO: checking that type of libpq's Oid is as expected" >&5
 
17651
$as_echo_n "checking that type of libpq's Oid is as expected... " >&6; }
22155
17652
cat >conftest.$ac_ext <<_ACEOF
22156
17653
/* confdefs.h.  */
22157
17654
_ACEOF
22175
17672
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22176
17673
  *) ac_try_echo=$ac_try;;
22177
17674
esac
22178
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17675
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17676
$as_echo "$ac_try_echo") >&5
22179
17677
  (eval "$ac_compile") 2>conftest.er1
22180
17678
  ac_status=$?
22181
17679
  grep -v '^ *+' conftest.er1 >conftest.err
22182
17680
  rm -f conftest.er1
22183
17681
  cat conftest.err >&5
22184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17682
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185
17683
  (exit $ac_status); } && {
22186
17684
         test -z "$ac_cxx_werror_flag" ||
22187
17685
         test ! -s conftest.err
22188
17686
       } && test -s conftest.$ac_objext; then
22189
17687
  :
22190
17688
else
22191
 
  echo "$as_me: failed program was:" >&5
 
17689
  $as_echo "$as_me: failed program was:" >&5
22192
17690
sed 's/^/| /' conftest.$ac_ext >&5
22193
17691
 
22194
 
        { { echo "$as_me:$LINENO: error:
 
17692
        { { $as_echo "$as_me:$LINENO: error:
22195
17693
The Oid typedef in libpq has changed.  Please notify the libpqxx authors of the
22196
17694
change!
22197
17695
" >&5
22198
 
echo "$as_me: error:
 
17696
$as_echo "$as_me: error:
22199
17697
The Oid typedef in libpq has changed.  Please notify the libpqxx authors of the
22200
17698
change!
22201
17699
" >&2;}
22203
17701
fi
22204
17702
 
22205
17703
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22206
 
{ echo "$as_me:$LINENO: result: yes" >&5
22207
 
echo "${ECHO_T}yes" >&6; }
 
17704
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
17705
$as_echo "yes" >&6; }
22208
17706
 
22209
 
{ echo "$as_me:$LINENO: checking lo_tell()" >&5
22210
 
echo $ECHO_N "checking lo_tell()... $ECHO_C" >&6; }
 
17707
{ $as_echo "$as_me:$LINENO: checking lo_tell()" >&5
 
17708
$as_echo_n "checking lo_tell()... " >&6; }
22211
17709
lotell=yes
22212
17710
cat >conftest.$ac_ext <<_ACEOF
22213
17711
/* confdefs.h.  */
22231
17729
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22232
17730
  *) ac_try_echo=$ac_try;;
22233
17731
esac
22234
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17732
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17733
$as_echo "$ac_try_echo") >&5
22235
17734
  (eval "$ac_compile") 2>conftest.er1
22236
17735
  ac_status=$?
22237
17736
  grep -v '^ *+' conftest.er1 >conftest.err
22238
17737
  rm -f conftest.er1
22239
17738
  cat conftest.err >&5
22240
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17739
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22241
17740
  (exit $ac_status); } && {
22242
17741
         test -z "$ac_cxx_werror_flag" ||
22243
17742
         test ! -s conftest.err
22248
17747
_ACEOF
22249
17748
 
22250
17749
else
22251
 
  echo "$as_me: failed program was:" >&5
 
17750
  $as_echo "$as_me: failed program was:" >&5
22252
17751
sed 's/^/| /' conftest.$ac_ext >&5
22253
17752
 
22254
17753
        lotell=no
22256
17755
fi
22257
17756
 
22258
17757
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22259
 
{ echo "$as_me:$LINENO: result: $lotell" >&5
22260
 
echo "${ECHO_T}$lotell" >&6; }
22261
 
 
22262
 
 
22263
 
{ echo "$as_me:$LINENO: checking for strerror_r" >&5
22264
 
echo $ECHO_N "checking for strerror_r... $ECHO_C" >&6; }
 
17758
{ $as_echo "$as_me:$LINENO: result: $lotell" >&5
 
17759
$as_echo "$lotell" >&6; }
 
17760
 
 
17761
 
 
17762
{ $as_echo "$as_me:$LINENO: checking for strerror_r" >&5
 
17763
$as_echo_n "checking for strerror_r... " >&6; }
22265
17764
strerror_r=yes
22266
17765
cat >conftest.$ac_ext <<_ACEOF
22267
17766
/* confdefs.h.  */
22286
17785
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22287
17786
  *) ac_try_echo=$ac_try;;
22288
17787
esac
22289
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17788
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17789
$as_echo "$ac_try_echo") >&5
22290
17790
  (eval "$ac_compile") 2>conftest.er1
22291
17791
  ac_status=$?
22292
17792
  grep -v '^ *+' conftest.er1 >conftest.err
22293
17793
  rm -f conftest.er1
22294
17794
  cat conftest.err >&5
22295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17795
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296
17796
  (exit $ac_status); } && {
22297
17797
         test -z "$ac_cxx_werror_flag" ||
22298
17798
         test ! -s conftest.err
22303
17803
_ACEOF
22304
17804
 
22305
17805
else
22306
 
  echo "$as_me: failed program was:" >&5
 
17806
  $as_echo "$as_me: failed program was:" >&5
22307
17807
sed 's/^/| /' conftest.$ac_ext >&5
22308
17808
 
22309
17809
        strerror_r=no
22310
17810
fi
22311
17811
 
22312
17812
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22313
 
{ echo "$as_me:$LINENO: result: $strerror_r" >&5
22314
 
echo "${ECHO_T}$strerror_r" >&6; }
 
17813
{ $as_echo "$as_me:$LINENO: result: $strerror_r" >&5
 
17814
$as_echo "$strerror_r" >&6; }
22315
17815
if test "$strerror_r" != "yes" ; then
22316
 
        { echo "$as_me:$LINENO: WARNING:
 
17816
        { $as_echo "$as_me:$LINENO: WARNING:
22317
17817
No definition of strerror_r, the thread-safe version of strerror(), was found in
22318
17818
your <cstring> header.
22319
17819
 
22320
17820
This may be because your implementation strerror() is threadsafe, in which case
22321
17821
there is nothing to worry about.
22322
17822
" >&5
22323
 
echo "$as_me: WARNING:
 
17823
$as_echo "$as_me: WARNING:
22324
17824
No definition of strerror_r, the thread-safe version of strerror(), was found in
22325
17825
your <cstring> header.
22326
17826
 
22330
17830
fi # strerror_r
22331
17831
 
22332
17832
 
22333
 
{ echo "$as_me:$LINENO: checking for strnlen" >&5
22334
 
echo $ECHO_N "checking for strnlen... $ECHO_C" >&6; }
 
17833
{ $as_echo "$as_me:$LINENO: checking for strnlen" >&5
 
17834
$as_echo_n "checking for strnlen... " >&6; }
22335
17835
strnlen=yes
22336
17836
cat >conftest.$ac_ext <<_ACEOF
22337
17837
/* confdefs.h.  */
22355
17855
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22356
17856
  *) ac_try_echo=$ac_try;;
22357
17857
esac
22358
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17858
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17859
$as_echo "$ac_try_echo") >&5
22359
17860
  (eval "$ac_compile") 2>conftest.er1
22360
17861
  ac_status=$?
22361
17862
  grep -v '^ *+' conftest.er1 >conftest.err
22362
17863
  rm -f conftest.er1
22363
17864
  cat conftest.err >&5
22364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17865
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365
17866
  (exit $ac_status); } && {
22366
17867
         test -z "$ac_cxx_werror_flag" ||
22367
17868
         test ! -s conftest.err
22372
17873
_ACEOF
22373
17874
 
22374
17875
else
22375
 
  echo "$as_me: failed program was:" >&5
 
17876
  $as_echo "$as_me: failed program was:" >&5
22376
17877
sed 's/^/| /' conftest.$ac_ext >&5
22377
17878
 
22378
17879
        strnlen=no
22379
17880
fi
22380
17881
 
22381
17882
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22382
 
{ echo "$as_me:$LINENO: result: $strnlen" >&5
22383
 
echo "${ECHO_T}$strnlen" >&6; }
 
17883
{ $as_echo "$as_me:$LINENO: result: $strnlen" >&5
 
17884
$as_echo "$strnlen" >&6; }
22384
17885
 
22385
 
{ echo "$as_me:$LINENO: checking for strlcpy" >&5
22386
 
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6; }
 
17886
{ $as_echo "$as_me:$LINENO: checking for strlcpy" >&5
 
17887
$as_echo_n "checking for strlcpy... " >&6; }
22387
17888
strlcpy=yes
22388
17889
cat >conftest.$ac_ext <<_ACEOF
22389
17890
/* confdefs.h.  */
22407
17908
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22408
17909
  *) ac_try_echo=$ac_try;;
22409
17910
esac
22410
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17911
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17912
$as_echo "$ac_try_echo") >&5
22411
17913
  (eval "$ac_compile") 2>conftest.er1
22412
17914
  ac_status=$?
22413
17915
  grep -v '^ *+' conftest.er1 >conftest.err
22414
17916
  rm -f conftest.er1
22415
17917
  cat conftest.err >&5
22416
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17918
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417
17919
  (exit $ac_status); } && {
22418
17920
         test -z "$ac_cxx_werror_flag" ||
22419
17921
         test ! -s conftest.err
22424
17926
_ACEOF
22425
17927
 
22426
17928
else
22427
 
  echo "$as_me: failed program was:" >&5
 
17929
  $as_echo "$as_me: failed program was:" >&5
22428
17930
sed 's/^/| /' conftest.$ac_ext >&5
22429
17931
 
22430
17932
        strlcpy=no
22431
17933
fi
22432
17934
 
22433
17935
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22434
 
{ echo "$as_me:$LINENO: result: $strlcpy" >&5
22435
 
echo "${ECHO_T}$strlcpy" >&6; }
 
17936
{ $as_echo "$as_me:$LINENO: result: $strlcpy" >&5
 
17937
$as_echo "$strlcpy" >&6; }
22436
17938
 
22437
 
{ echo "$as_me:$LINENO: checking for long long" >&5
22438
 
echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
 
17939
{ $as_echo "$as_me:$LINENO: checking for long long" >&5
 
17940
$as_echo_n "checking for long long... " >&6; }
22439
17941
long_long=yes
22440
17942
cat >conftest.$ac_ext <<_ACEOF
22441
17943
/* confdefs.h.  */
22458
17960
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22459
17961
  *) ac_try_echo=$ac_try;;
22460
17962
esac
22461
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17963
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17964
$as_echo "$ac_try_echo") >&5
22462
17965
  (eval "$ac_compile") 2>conftest.er1
22463
17966
  ac_status=$?
22464
17967
  grep -v '^ *+' conftest.er1 >conftest.err
22465
17968
  rm -f conftest.er1
22466
17969
  cat conftest.err >&5
22467
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17970
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468
17971
  (exit $ac_status); } && {
22469
17972
         test -z "$ac_cxx_werror_flag" ||
22470
17973
         test ! -s conftest.err
22475
17978
_ACEOF
22476
17979
 
22477
17980
else
22478
 
  echo "$as_me: failed program was:" >&5
 
17981
  $as_echo "$as_me: failed program was:" >&5
22479
17982
sed 's/^/| /' conftest.$ac_ext >&5
22480
17983
 
22481
17984
        long_long=no
22482
17985
fi
22483
17986
 
22484
17987
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22485
 
{ echo "$as_me:$LINENO: result: $long_long" >&5
22486
 
echo "${ECHO_T}$long_long" >&6; }
 
17988
{ $as_echo "$as_me:$LINENO: result: $long_long" >&5
 
17989
$as_echo "$long_long" >&6; }
22487
17990
 
22488
 
{ echo "$as_me:$LINENO: checking for long double" >&5
22489
 
echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
 
17991
{ $as_echo "$as_me:$LINENO: checking for long double" >&5
 
17992
$as_echo_n "checking for long double... " >&6; }
22490
17993
long_double=yes
22491
17994
cat >conftest.$ac_ext <<_ACEOF
22492
17995
/* confdefs.h.  */
22509
18012
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22510
18013
  *) ac_try_echo=$ac_try;;
22511
18014
esac
22512
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18015
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18016
$as_echo "$ac_try_echo") >&5
22513
18017
  (eval "$ac_compile") 2>conftest.er1
22514
18018
  ac_status=$?
22515
18019
  grep -v '^ *+' conftest.er1 >conftest.err
22516
18020
  rm -f conftest.er1
22517
18021
  cat conftest.err >&5
22518
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18022
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22519
18023
  (exit $ac_status); } && {
22520
18024
         test -z "$ac_cxx_werror_flag" ||
22521
18025
         test ! -s conftest.err
22526
18030
_ACEOF
22527
18031
 
22528
18032
else
22529
 
  echo "$as_me: failed program was:" >&5
 
18033
  $as_echo "$as_me: failed program was:" >&5
22530
18034
sed 's/^/| /' conftest.$ac_ext >&5
22531
18035
 
22532
18036
        long_double=no
22533
18037
fi
22534
18038
 
22535
18039
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22536
 
{ echo "$as_me:$LINENO: result: $long_double" >&5
22537
 
echo "${ECHO_T}$long_double" >&6; }
 
18040
{ $as_echo "$as_me:$LINENO: result: $long_double" >&5
 
18041
$as_echo "$long_double" >&6; }
22538
18042
 
22539
 
{ echo "$as_me:$LINENO: checking for working <sys/select.h>" >&5
22540
 
echo $ECHO_N "checking for working <sys/select.h>... $ECHO_C" >&6; }
 
18043
{ $as_echo "$as_me:$LINENO: checking for working <sys/select.h>" >&5
 
18044
$as_echo_n "checking for working <sys/select.h>... " >&6; }
22541
18045
select_h=yes
22542
18046
cat >conftest.$ac_ext <<_ACEOF
22543
18047
/* confdefs.h.  */
22564
18068
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22565
18069
  *) ac_try_echo=$ac_try;;
22566
18070
esac
22567
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18071
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18072
$as_echo "$ac_try_echo") >&5
22568
18073
  (eval "$ac_compile") 2>conftest.er1
22569
18074
  ac_status=$?
22570
18075
  grep -v '^ *+' conftest.er1 >conftest.err
22571
18076
  rm -f conftest.er1
22572
18077
  cat conftest.err >&5
22573
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18078
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574
18079
  (exit $ac_status); } && {
22575
18080
         test -z "$ac_cxx_werror_flag" ||
22576
18081
         test ! -s conftest.err
22582
18087
 
22583
18088
 
22584
18089
else
22585
 
  echo "$as_me: failed program was:" >&5
 
18090
  $as_echo "$as_me: failed program was:" >&5
22586
18091
sed 's/^/| /' conftest.$ac_ext >&5
22587
18092
 
22588
18093
        select_h=no
22590
18095
fi
22591
18096
 
22592
18097
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22593
 
{ echo "$as_me:$LINENO: result: $select_h" >&5
22594
 
echo "${ECHO_T}$select_h" >&6; }
22595
 
 
22596
 
 
22597
 
{ echo "$as_me:$LINENO: checking for poll()" >&5
22598
 
echo $ECHO_N "checking for poll()... $ECHO_C" >&6; }
 
18098
{ $as_echo "$as_me:$LINENO: result: $select_h" >&5
 
18099
$as_echo "$select_h" >&6; }
 
18100
 
 
18101
 
 
18102
{ $as_echo "$as_me:$LINENO: checking for poll()" >&5
 
18103
$as_echo_n "checking for poll()... " >&6; }
22599
18104
poll=yes
22600
18105
cat >conftest.$ac_ext <<_ACEOF
22601
18106
/* confdefs.h.  */
22619
18124
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22620
18125
  *) ac_try_echo=$ac_try;;
22621
18126
esac
22622
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18127
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18128
$as_echo "$ac_try_echo") >&5
22623
18129
  (eval "$ac_compile") 2>conftest.er1
22624
18130
  ac_status=$?
22625
18131
  grep -v '^ *+' conftest.er1 >conftest.err
22626
18132
  rm -f conftest.er1
22627
18133
  cat conftest.err >&5
22628
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18134
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22629
18135
  (exit $ac_status); } && {
22630
18136
         test -z "$ac_cxx_werror_flag" ||
22631
18137
         test ! -s conftest.err
22636
18142
_ACEOF
22637
18143
 
22638
18144
else
22639
 
  echo "$as_me: failed program was:" >&5
 
18145
  $as_echo "$as_me: failed program was:" >&5
22640
18146
sed 's/^/| /' conftest.$ac_ext >&5
22641
18147
 
22642
18148
        poll=no
22644
18150
fi
22645
18151
 
22646
18152
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22647
 
{ echo "$as_me:$LINENO: result: $poll" >&5
22648
 
echo "${ECHO_T}$poll" >&6; }
 
18153
{ $as_echo "$as_me:$LINENO: result: $poll" >&5
 
18154
$as_echo "$poll" >&6; }
22649
18155
 
22650
18156
 
22651
18157
# Long-standing annoyance in glibc: the definition for FD_SET includes an
22652
18158
# unnecessary C-style cast that the compiler may warn for.  If the compiler is
22653
18159
# configured to treat warnings as errors, that may be a problem for us.
22654
 
{ echo "$as_me:$LINENO: checking for working fd_set" >&5
22655
 
echo $ECHO_N "checking for working fd_set... $ECHO_C" >&6; }
 
18160
{ $as_echo "$as_me:$LINENO: checking for working fd_set" >&5
 
18161
$as_echo_n "checking for working fd_set... " >&6; }
22656
18162
if test "$enable_maintainer_mode" = "yes"; then
22657
18163
cat >conftest.$ac_ext <<_ACEOF
22658
18164
/* confdefs.h.  */
22689
18195
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22690
18196
  *) ac_try_echo=$ac_try;;
22691
18197
esac
22692
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18198
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18199
$as_echo "$ac_try_echo") >&5
22693
18200
  (eval "$ac_compile") 2>conftest.er1
22694
18201
  ac_status=$?
22695
18202
  grep -v '^ *+' conftest.er1 >conftest.err
22696
18203
  rm -f conftest.er1
22697
18204
  cat conftest.err >&5
22698
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18205
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699
18206
  (exit $ac_status); } && {
22700
18207
         test -z "$ac_cxx_werror_flag" ||
22701
18208
         test ! -s conftest.err
22702
18209
       } && test -s conftest.$ac_objext; then
22703
18210
  :
22704
18211
else
22705
 
  echo "$as_me: failed program was:" >&5
 
18212
  $as_echo "$as_me: failed program was:" >&5
22706
18213
sed 's/^/| /' conftest.$ac_ext >&5
22707
18214
 
22708
 
        { { echo "$as_me:$LINENO: error:
 
18215
        { { $as_echo "$as_me:$LINENO: error:
22709
18216
Could not compile code using fd_set.  This may be a known problem with GNU libc
22710
18217
and the extremely strict compiler options used in libpqxx's maintainer mode; try
22711
18218
configuring again, this time omitting the --enable-maintainer-mode option.
22712
18219
" >&5
22713
 
echo "$as_me: error:
 
18220
$as_echo "$as_me: error:
22714
18221
Could not compile code using fd_set.  This may be a known problem with GNU libc
22715
18222
and the extremely strict compiler options used in libpqxx's maintainer mode; try
22716
18223
configuring again, this time omitting the --enable-maintainer-mode option.
22754
18261
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22755
18262
  *) ac_try_echo=$ac_try;;
22756
18263
esac
22757
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18264
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18265
$as_echo "$ac_try_echo") >&5
22758
18266
  (eval "$ac_compile") 2>conftest.er1
22759
18267
  ac_status=$?
22760
18268
  grep -v '^ *+' conftest.er1 >conftest.err
22761
18269
  rm -f conftest.er1
22762
18270
  cat conftest.err >&5
22763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18271
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764
18272
  (exit $ac_status); } && {
22765
18273
         test -z "$ac_cxx_werror_flag" ||
22766
18274
         test ! -s conftest.err
22767
18275
       } && test -s conftest.$ac_objext; then
22768
18276
  :
22769
18277
else
22770
 
  echo "$as_me: failed program was:" >&5
 
18278
  $as_echo "$as_me: failed program was:" >&5
22771
18279
sed 's/^/| /' conftest.$ac_ext >&5
22772
18280
 
22773
 
        { { echo "$as_me:$LINENO: error:
 
18281
        { { $as_echo "$as_me:$LINENO: error:
22774
18282
Could not compile code using fd_set.  There is something seriously wrong, or
22775
18283
maybe your warning options are too strict.  If you are using GNU libc (as will
22776
18284
be the case on a GNU/Linux system) and are telling the compiler to treat
22779
18287
 
22780
18288
See config.log for more details; look for the last error message in the file.
22781
18289
" >&5
22782
 
echo "$as_me: error:
 
18290
$as_echo "$as_me: error:
22783
18291
Could not compile code using fd_set.  There is something seriously wrong, or
22784
18292
maybe your warning options are too strict.  If you are using GNU libc (as will
22785
18293
be the case on a GNU/Linux system) and are telling the compiler to treat
22793
18301
 
22794
18302
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22795
18303
fi
22796
 
{ echo "$as_me:$LINENO: result: yes" >&5
22797
 
echo "${ECHO_T}yes" >&6; }
22798
 
 
22799
 
 
22800
 
{ echo "$as_me:$LINENO: checking if select() accepts NULL fdsets" >&5
22801
 
echo $ECHO_N "checking if select() accepts NULL fdsets... $ECHO_C" >&6; }
 
18304
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
18305
$as_echo "yes" >&6; }
 
18306
 
 
18307
 
 
18308
{ $as_echo "$as_me:$LINENO: checking if select() accepts NULL fdsets" >&5
 
18309
$as_echo_n "checking if select() accepts NULL fdsets... " >&6; }
22802
18310
select_accepts_null=yes
22803
18311
if test "$cross_compiling" = yes; then
22804
18312
  select_accepts_null=no
22827
18335
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22828
18336
  *) ac_try_echo=$ac_try;;
22829
18337
esac
22830
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18338
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18339
$as_echo "$ac_try_echo") >&5
22831
18340
  (eval "$ac_link") 2>&5
22832
18341
  ac_status=$?
22833
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18342
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22834
18343
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22835
18344
  { (case "(($ac_try" in
22836
18345
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22837
18346
  *) ac_try_echo=$ac_try;;
22838
18347
esac
22839
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18348
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18349
$as_echo "$ac_try_echo") >&5
22840
18350
  (eval "$ac_try") 2>&5
22841
18351
  ac_status=$?
22842
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18352
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22843
18353
  (exit $ac_status); }; }; then
22844
18354
 
22845
18355
cat >>confdefs.h <<\_ACEOF
22847
18357
_ACEOF
22848
18358
 
22849
18359
else
22850
 
  echo "$as_me: program exited with status $ac_status" >&5
22851
 
echo "$as_me: failed program was:" >&5
 
18360
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
18361
$as_echo "$as_me: failed program was:" >&5
22852
18362
sed 's/^/| /' conftest.$ac_ext >&5
22853
18363
 
22854
18364
( exit $ac_status )
22855
18365
select_accepts_null=no
22856
18366
fi
 
18367
rm -rf conftest.dSYM
22857
18368
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22858
18369
fi
22859
18370
 
22860
18371
 
22861
 
{ echo "$as_me:$LINENO: result: $select_accepts_null" >&5
22862
 
echo "${ECHO_T}$select_accepts_null" >&6; }
22863
 
 
22864
 
 
22865
 
{ echo "$as_me:$LINENO: checking sleep()" >&5
22866
 
echo $ECHO_N "checking sleep()... $ECHO_C" >&6; }
 
18372
{ $as_echo "$as_me:$LINENO: result: $select_accepts_null" >&5
 
18373
$as_echo "$select_accepts_null" >&6; }
 
18374
 
 
18375
 
 
18376
{ $as_echo "$as_me:$LINENO: checking sleep()" >&5
 
18377
$as_echo_n "checking sleep()... " >&6; }
22867
18378
sleep=yes
22868
18379
cat >conftest.$ac_ext <<_ACEOF
22869
18380
/* confdefs.h.  */
22889
18400
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22890
18401
  *) ac_try_echo=$ac_try;;
22891
18402
esac
22892
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18403
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18404
$as_echo "$ac_try_echo") >&5
22893
18405
  (eval "$ac_compile") 2>conftest.er1
22894
18406
  ac_status=$?
22895
18407
  grep -v '^ *+' conftest.er1 >conftest.err
22896
18408
  rm -f conftest.er1
22897
18409
  cat conftest.err >&5
22898
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18410
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899
18411
  (exit $ac_status); } && {
22900
18412
         test -z "$ac_cxx_werror_flag" ||
22901
18413
         test ! -s conftest.err
22906
18418
_ACEOF
22907
18419
 
22908
18420
else
22909
 
  echo "$as_me: failed program was:" >&5
 
18421
  $as_echo "$as_me: failed program was:" >&5
22910
18422
sed 's/^/| /' conftest.$ac_ext >&5
22911
18423
 
22912
18424
        sleep=no
22914
18426
fi
22915
18427
 
22916
18428
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22917
 
{ echo "$as_me:$LINENO: result: $sleep" >&5
22918
 
echo "${ECHO_T}$sleep" >&6; }
 
18429
{ $as_echo "$as_me:$LINENO: result: $sleep" >&5
 
18430
$as_echo "$sleep" >&6; }
22919
18431
 
22920
 
{ echo "$as_me:$LINENO: checking PQserverVersion()" >&5
22921
 
echo $ECHO_N "checking PQserverVersion()... $ECHO_C" >&6; }
 
18432
{ $as_echo "$as_me:$LINENO: checking PQserverVersion()" >&5
 
18433
$as_echo_n "checking PQserverVersion()... " >&6; }
22922
18434
pqserverversion=yes
22923
18435
cat >conftest.$ac_ext <<_ACEOF
22924
18436
/* confdefs.h.  */
22941
18453
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22942
18454
  *) ac_try_echo=$ac_try;;
22943
18455
esac
22944
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18456
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18457
$as_echo "$ac_try_echo") >&5
22945
18458
  (eval "$ac_compile") 2>conftest.er1
22946
18459
  ac_status=$?
22947
18460
  grep -v '^ *+' conftest.er1 >conftest.err
22948
18461
  rm -f conftest.er1
22949
18462
  cat conftest.err >&5
22950
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18463
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951
18464
  (exit $ac_status); } && {
22952
18465
         test -z "$ac_cxx_werror_flag" ||
22953
18466
         test ! -s conftest.err
22958
18471
_ACEOF
22959
18472
 
22960
18473
else
22961
 
  echo "$as_me: failed program was:" >&5
 
18474
  $as_echo "$as_me: failed program was:" >&5
22962
18475
sed 's/^/| /' conftest.$ac_ext >&5
22963
18476
 
22964
18477
        pqserverversion=no
22966
18479
fi
22967
18480
 
22968
18481
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22969
 
{ echo "$as_me:$LINENO: result: $pqserverversion" >&5
22970
 
echo "${ECHO_T}$pqserverversion" >&6; }
 
18482
{ $as_echo "$as_me:$LINENO: result: $pqserverversion" >&5
 
18483
$as_echo "$pqserverversion" >&6; }
22971
18484
 
22972
 
{ echo "$as_me:$LINENO: checking PQprotocolVersion()" >&5
22973
 
echo $ECHO_N "checking PQprotocolVersion()... $ECHO_C" >&6; }
 
18485
{ $as_echo "$as_me:$LINENO: checking PQprotocolVersion()" >&5
 
18486
$as_echo_n "checking PQprotocolVersion()... " >&6; }
22974
18487
pqprotocolversion=yes
22975
18488
cat >conftest.$ac_ext <<_ACEOF
22976
18489
/* confdefs.h.  */
22993
18506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22994
18507
  *) ac_try_echo=$ac_try;;
22995
18508
esac
22996
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18509
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18510
$as_echo "$ac_try_echo") >&5
22997
18511
  (eval "$ac_compile") 2>conftest.er1
22998
18512
  ac_status=$?
22999
18513
  grep -v '^ *+' conftest.er1 >conftest.err
23000
18514
  rm -f conftest.er1
23001
18515
  cat conftest.err >&5
23002
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18516
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23003
18517
  (exit $ac_status); } && {
23004
18518
         test -z "$ac_cxx_werror_flag" ||
23005
18519
         test ! -s conftest.err
23010
18524
_ACEOF
23011
18525
 
23012
18526
else
23013
 
  echo "$as_me: failed program was:" >&5
 
18527
  $as_echo "$as_me: failed program was:" >&5
23014
18528
sed 's/^/| /' conftest.$ac_ext >&5
23015
18529
 
23016
18530
        pqprotocolversion=no
23018
18532
fi
23019
18533
 
23020
18534
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23021
 
{ echo "$as_me:$LINENO: result: $pqprotocolversion" >&5
23022
 
echo "${ECHO_T}$pqprotocolversion" >&6; }
23023
 
 
23024
 
 
23025
 
{ echo "$as_me:$LINENO: checking PQescapeString()" >&5
23026
 
echo $ECHO_N "checking PQescapeString()... $ECHO_C" >&6; }
 
18535
{ $as_echo "$as_me:$LINENO: result: $pqprotocolversion" >&5
 
18536
$as_echo "$pqprotocolversion" >&6; }
 
18537
 
 
18538
 
 
18539
{ $as_echo "$as_me:$LINENO: checking PQescapeString()" >&5
 
18540
$as_echo_n "checking PQescapeString()... " >&6; }
23027
18541
pqescapestring=yes
23028
18542
cat >conftest.$ac_ext <<_ACEOF
23029
18543
/* confdefs.h.  */
23046
18560
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23047
18561
  *) ac_try_echo=$ac_try;;
23048
18562
esac
23049
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18563
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18564
$as_echo "$ac_try_echo") >&5
23050
18565
  (eval "$ac_compile") 2>conftest.er1
23051
18566
  ac_status=$?
23052
18567
  grep -v '^ *+' conftest.er1 >conftest.err
23053
18568
  rm -f conftest.er1
23054
18569
  cat conftest.err >&5
23055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18570
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23056
18571
  (exit $ac_status); } && {
23057
18572
         test -z "$ac_cxx_werror_flag" ||
23058
18573
         test ! -s conftest.err
23063
18578
_ACEOF
23064
18579
 
23065
18580
else
23066
 
  echo "$as_me: failed program was:" >&5
 
18581
  $as_echo "$as_me: failed program was:" >&5
23067
18582
sed 's/^/| /' conftest.$ac_ext >&5
23068
18583
 
23069
18584
        pqescapestring=no
23071
18586
fi
23072
18587
 
23073
18588
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23074
 
{ echo "$as_me:$LINENO: result: $pqescapestring" >&5
23075
 
echo "${ECHO_T}$pqescapestring" >&6; }
 
18589
{ $as_echo "$as_me:$LINENO: result: $pqescapestring" >&5
 
18590
$as_echo "$pqescapestring" >&6; }
23076
18591
if test "$pqescapestring" != yes ; then
23077
 
        { echo "$as_me:$LINENO: WARNING:
 
18592
        { $as_echo "$as_me:$LINENO: WARNING:
23078
18593
You appear to be building with a very old libpq version that does not have
23079
18594
PQescapeString().  This can cause serious problems when non-ASCII data is used
23080
18595
in SQL strings.
23081
18596
Please consider upgrading to at least the libpq that came with PostgreSQL 7.2
23082
18597
before going any further!
23083
18598
" >&5
23084
 
echo "$as_me: WARNING:
 
18599
$as_echo "$as_me: WARNING:
23085
18600
You appear to be building with a very old libpq version that does not have
23086
18601
PQescapeString().  This can cause serious problems when non-ASCII data is used
23087
18602
in SQL strings.
23090
18605
" >&2;}
23091
18606
fi
23092
18607
 
23093
 
{ echo "$as_me:$LINENO: checking PQescapeStringConn()" >&5
23094
 
echo $ECHO_N "checking PQescapeStringConn()... $ECHO_C" >&6; }
 
18608
{ $as_echo "$as_me:$LINENO: checking PQescapeStringConn()" >&5
 
18609
$as_echo_n "checking PQescapeStringConn()... " >&6; }
23095
18610
pqescapestringconn=yes
23096
18611
cat >conftest.$ac_ext <<_ACEOF
23097
18612
/* confdefs.h.  */
23114
18629
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23115
18630
  *) ac_try_echo=$ac_try;;
23116
18631
esac
23117
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18632
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18633
$as_echo "$ac_try_echo") >&5
23118
18634
  (eval "$ac_compile") 2>conftest.er1
23119
18635
  ac_status=$?
23120
18636
  grep -v '^ *+' conftest.er1 >conftest.err
23121
18637
  rm -f conftest.er1
23122
18638
  cat conftest.err >&5
23123
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18639
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23124
18640
  (exit $ac_status); } && {
23125
18641
         test -z "$ac_cxx_werror_flag" ||
23126
18642
         test ! -s conftest.err
23131
18647
_ACEOF
23132
18648
 
23133
18649
else
23134
 
  echo "$as_me: failed program was:" >&5
 
18650
  $as_echo "$as_me: failed program was:" >&5
23135
18651
sed 's/^/| /' conftest.$ac_ext >&5
23136
18652
 
23137
18653
        pqescapestringconn=no
23139
18655
fi
23140
18656
 
23141
18657
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23142
 
{ echo "$as_me:$LINENO: result: $pqescapestringconn" >&5
23143
 
echo "${ECHO_T}$pqescapestringconn" >&6; }
 
18658
{ $as_echo "$as_me:$LINENO: result: $pqescapestringconn" >&5
 
18659
$as_echo "$pqescapestringconn" >&6; }
23144
18660
 
23145
 
{ echo "$as_me:$LINENO: checking PQescapeBytea()" >&5
23146
 
echo $ECHO_N "checking PQescapeBytea()... $ECHO_C" >&6; }
 
18661
{ $as_echo "$as_me:$LINENO: checking PQescapeBytea()" >&5
 
18662
$as_echo_n "checking PQescapeBytea()... " >&6; }
23147
18663
pqescapebytea=yes
23148
18664
cat >conftest.$ac_ext <<_ACEOF
23149
18665
/* confdefs.h.  */
23168
18684
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23169
18685
  *) ac_try_echo=$ac_try;;
23170
18686
esac
23171
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18687
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18688
$as_echo "$ac_try_echo") >&5
23172
18689
  (eval "$ac_compile") 2>conftest.er1
23173
18690
  ac_status=$?
23174
18691
  grep -v '^ *+' conftest.er1 >conftest.err
23175
18692
  rm -f conftest.er1
23176
18693
  cat conftest.err >&5
23177
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18694
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178
18695
  (exit $ac_status); } && {
23179
18696
         test -z "$ac_cxx_werror_flag" ||
23180
18697
         test ! -s conftest.err
23185
18702
_ACEOF
23186
18703
 
23187
18704
else
23188
 
  echo "$as_me: failed program was:" >&5
 
18705
  $as_echo "$as_me: failed program was:" >&5
23189
18706
sed 's/^/| /' conftest.$ac_ext >&5
23190
18707
 
23191
18708
        pqescapebytea=no
23193
18710
fi
23194
18711
 
23195
18712
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23196
 
{ echo "$as_me:$LINENO: result: $pqescapebytea" >&5
23197
 
echo "${ECHO_T}$pqescapebytea" >&6; }
 
18713
{ $as_echo "$as_me:$LINENO: result: $pqescapebytea" >&5
 
18714
$as_echo "$pqescapebytea" >&6; }
23198
18715
 
23199
 
{ echo "$as_me:$LINENO: checking PQescapeByteaConn()" >&5
23200
 
echo $ECHO_N "checking PQescapeByteaConn()... $ECHO_C" >&6; }
 
18716
{ $as_echo "$as_me:$LINENO: checking PQescapeByteaConn()" >&5
 
18717
$as_echo_n "checking PQescapeByteaConn()... " >&6; }
23201
18718
pqescapebyteaconn=yes
23202
18719
cat >conftest.$ac_ext <<_ACEOF
23203
18720
/* confdefs.h.  */
23222
18739
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23223
18740
  *) ac_try_echo=$ac_try;;
23224
18741
esac
23225
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18742
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18743
$as_echo "$ac_try_echo") >&5
23226
18744
  (eval "$ac_compile") 2>conftest.er1
23227
18745
  ac_status=$?
23228
18746
  grep -v '^ *+' conftest.er1 >conftest.err
23229
18747
  rm -f conftest.er1
23230
18748
  cat conftest.err >&5
23231
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18749
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232
18750
  (exit $ac_status); } && {
23233
18751
         test -z "$ac_cxx_werror_flag" ||
23234
18752
         test ! -s conftest.err
23239
18757
_ACEOF
23240
18758
 
23241
18759
else
23242
 
  echo "$as_me: failed program was:" >&5
 
18760
  $as_echo "$as_me: failed program was:" >&5
23243
18761
sed 's/^/| /' conftest.$ac_ext >&5
23244
18762
 
23245
18763
        pqescapebyteaconn=no
23247
18765
fi
23248
18766
 
23249
18767
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23250
 
{ echo "$as_me:$LINENO: result: $pqescapebyteaconn" >&5
23251
 
echo "${ECHO_T}$pqescapebyteaconn" >&6; }
 
18768
{ $as_echo "$as_me:$LINENO: result: $pqescapebyteaconn" >&5
 
18769
$as_echo "$pqescapebyteaconn" >&6; }
23252
18770
 
23253
 
{ echo "$as_me:$LINENO: checking PQunescapeBytea()" >&5
23254
 
echo $ECHO_N "checking PQunescapeBytea()... $ECHO_C" >&6; }
 
18771
{ $as_echo "$as_me:$LINENO: checking PQunescapeBytea()" >&5
 
18772
$as_echo_n "checking PQunescapeBytea()... " >&6; }
23255
18773
pqunescapebytea=yes
23256
18774
cat >conftest.$ac_ext <<_ACEOF
23257
18775
/* confdefs.h.  */
23275
18793
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23276
18794
  *) ac_try_echo=$ac_try;;
23277
18795
esac
23278
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18796
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18797
$as_echo "$ac_try_echo") >&5
23279
18798
  (eval "$ac_compile") 2>conftest.er1
23280
18799
  ac_status=$?
23281
18800
  grep -v '^ *+' conftest.er1 >conftest.err
23282
18801
  rm -f conftest.er1
23283
18802
  cat conftest.err >&5
23284
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18803
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285
18804
  (exit $ac_status); } && {
23286
18805
         test -z "$ac_cxx_werror_flag" ||
23287
18806
         test ! -s conftest.err
23292
18811
_ACEOF
23293
18812
 
23294
18813
else
23295
 
  echo "$as_me: failed program was:" >&5
 
18814
  $as_echo "$as_me: failed program was:" >&5
23296
18815
sed 's/^/| /' conftest.$ac_ext >&5
23297
18816
 
23298
18817
        pqunescapebytea=no
23300
18819
fi
23301
18820
 
23302
18821
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23303
 
{ echo "$as_me:$LINENO: result: $pqunescapebytea" >&5
23304
 
echo "${ECHO_T}$pqunescapebytea" >&6; }
 
18822
{ $as_echo "$as_me:$LINENO: result: $pqunescapebytea" >&5
 
18823
$as_echo "$pqunescapebytea" >&6; }
23305
18824
 
23306
 
{ echo "$as_me:$LINENO: checking PQfreemem()" >&5
23307
 
echo $ECHO_N "checking PQfreemem()... $ECHO_C" >&6; }
 
18825
{ $as_echo "$as_me:$LINENO: checking PQfreemem()" >&5
 
18826
$as_echo_n "checking PQfreemem()... " >&6; }
23308
18827
pqfreemem=yes
23309
18828
cat >conftest.$ac_ext <<_ACEOF
23310
18829
/* confdefs.h.  */
23327
18846
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23328
18847
  *) ac_try_echo=$ac_try;;
23329
18848
esac
23330
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18849
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18850
$as_echo "$ac_try_echo") >&5
23331
18851
  (eval "$ac_compile") 2>conftest.er1
23332
18852
  ac_status=$?
23333
18853
  grep -v '^ *+' conftest.er1 >conftest.err
23334
18854
  rm -f conftest.er1
23335
18855
  cat conftest.err >&5
23336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18856
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337
18857
  (exit $ac_status); } && {
23338
18858
         test -z "$ac_cxx_werror_flag" ||
23339
18859
         test ! -s conftest.err
23344
18864
_ACEOF
23345
18865
 
23346
18866
else
23347
 
  echo "$as_me: failed program was:" >&5
 
18867
  $as_echo "$as_me: failed program was:" >&5
23348
18868
sed 's/^/| /' conftest.$ac_ext >&5
23349
18869
 
23350
18870
        pqfreemem=no
23352
18872
fi
23353
18873
 
23354
18874
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23355
 
{ echo "$as_me:$LINENO: result: $pqfreemem" >&5
23356
 
echo "${ECHO_T}$pqfreemem" >&6; }
 
18875
{ $as_echo "$as_me:$LINENO: result: $pqfreemem" >&5
 
18876
$as_echo "$pqfreemem" >&6; }
23357
18877
 
23358
 
{ echo "$as_me:$LINENO: checking PQfreeNotify()" >&5
23359
 
echo $ECHO_N "checking PQfreeNotify()... $ECHO_C" >&6; }
 
18878
{ $as_echo "$as_me:$LINENO: checking PQfreeNotify()" >&5
 
18879
$as_echo_n "checking PQfreeNotify()... " >&6; }
23360
18880
pqfreenotify=yes
23361
18881
cat >conftest.$ac_ext <<_ACEOF
23362
18882
/* confdefs.h.  */
23379
18899
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23380
18900
  *) ac_try_echo=$ac_try;;
23381
18901
esac
23382
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18902
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18903
$as_echo "$ac_try_echo") >&5
23383
18904
  (eval "$ac_compile") 2>conftest.er1
23384
18905
  ac_status=$?
23385
18906
  grep -v '^ *+' conftest.er1 >conftest.err
23386
18907
  rm -f conftest.er1
23387
18908
  cat conftest.err >&5
23388
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18909
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389
18910
  (exit $ac_status); } && {
23390
18911
         test -z "$ac_cxx_werror_flag" ||
23391
18912
         test ! -s conftest.err
23396
18917
_ACEOF
23397
18918
 
23398
18919
else
23399
 
  echo "$as_me: failed program was:" >&5
 
18920
  $as_echo "$as_me: failed program was:" >&5
23400
18921
sed 's/^/| /' conftest.$ac_ext >&5
23401
18922
 
23402
18923
        pqfreenotify=no
23404
18925
fi
23405
18926
 
23406
18927
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23407
 
{ echo "$as_me:$LINENO: result: $pqfreenotify" >&5
23408
 
echo "${ECHO_T}$pqfreenotify" >&6; }
 
18928
{ $as_echo "$as_me:$LINENO: result: $pqfreenotify" >&5
 
18929
$as_echo "$pqfreenotify" >&6; }
23409
18930
 
23410
 
{ echo "$as_me:$LINENO: checking PQftable()" >&5
23411
 
echo $ECHO_N "checking PQftable()... $ECHO_C" >&6; }
 
18931
{ $as_echo "$as_me:$LINENO: checking PQftable()" >&5
 
18932
$as_echo_n "checking PQftable()... " >&6; }
23412
18933
pqftable=yes
23413
18934
cat >conftest.$ac_ext <<_ACEOF
23414
18935
/* confdefs.h.  */
23431
18952
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23432
18953
  *) ac_try_echo=$ac_try;;
23433
18954
esac
23434
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18955
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18956
$as_echo "$ac_try_echo") >&5
23435
18957
  (eval "$ac_compile") 2>conftest.er1
23436
18958
  ac_status=$?
23437
18959
  grep -v '^ *+' conftest.er1 >conftest.err
23438
18960
  rm -f conftest.er1
23439
18961
  cat conftest.err >&5
23440
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18962
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23441
18963
  (exit $ac_status); } && {
23442
18964
         test -z "$ac_cxx_werror_flag" ||
23443
18965
         test ! -s conftest.err
23448
18970
_ACEOF
23449
18971
 
23450
18972
else
23451
 
  echo "$as_me: failed program was:" >&5
 
18973
  $as_echo "$as_me: failed program was:" >&5
23452
18974
sed 's/^/| /' conftest.$ac_ext >&5
23453
18975
 
23454
18976
        pqftable=no
23456
18978
fi
23457
18979
 
23458
18980
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23459
 
{ echo "$as_me:$LINENO: result: $pqftable" >&5
23460
 
echo "${ECHO_T}$pqftable" >&6; }
 
18981
{ $as_echo "$as_me:$LINENO: result: $pqftable" >&5
 
18982
$as_echo "$pqftable" >&6; }
23461
18983
 
23462
 
{ echo "$as_me:$LINENO: checking PQftablecol()" >&5
23463
 
echo $ECHO_N "checking PQftablecol()... $ECHO_C" >&6; }
 
18984
{ $as_echo "$as_me:$LINENO: checking PQftablecol()" >&5
 
18985
$as_echo_n "checking PQftablecol()... " >&6; }
23464
18986
pqftablecol=yes
23465
18987
cat >conftest.$ac_ext <<_ACEOF
23466
18988
/* confdefs.h.  */
23483
19005
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23484
19006
  *) ac_try_echo=$ac_try;;
23485
19007
esac
23486
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19008
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19009
$as_echo "$ac_try_echo") >&5
23487
19010
  (eval "$ac_compile") 2>conftest.er1
23488
19011
  ac_status=$?
23489
19012
  grep -v '^ *+' conftest.er1 >conftest.err
23490
19013
  rm -f conftest.er1
23491
19014
  cat conftest.err >&5
23492
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19015
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493
19016
  (exit $ac_status); } && {
23494
19017
         test -z "$ac_cxx_werror_flag" ||
23495
19018
         test ! -s conftest.err
23500
19023
_ACEOF
23501
19024
 
23502
19025
else
23503
 
  echo "$as_me: failed program was:" >&5
 
19026
  $as_echo "$as_me: failed program was:" >&5
23504
19027
sed 's/^/| /' conftest.$ac_ext >&5
23505
19028
 
23506
19029
        pqftablecol=no
23508
19031
fi
23509
19032
 
23510
19033
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23511
 
{ echo "$as_me:$LINENO: result: $pqftablecol" >&5
23512
 
echo "${ECHO_T}$pqftablecol" >&6; }
 
19034
{ $as_echo "$as_me:$LINENO: result: $pqftablecol" >&5
 
19035
$as_echo "$pqftablecol" >&6; }
23513
19036
 
23514
 
{ echo "$as_me:$LINENO: checking for new COPY functions" >&5
23515
 
echo $ECHO_N "checking for new COPY functions... $ECHO_C" >&6; }
 
19037
{ $as_echo "$as_me:$LINENO: checking for new COPY functions" >&5
 
19038
$as_echo_n "checking for new COPY functions... " >&6; }
23516
19039
pqputcopy=yes
23517
19040
cat >conftest.$ac_ext <<_ACEOF
23518
19041
/* confdefs.h.  */
23535
19058
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23536
19059
  *) ac_try_echo=$ac_try;;
23537
19060
esac
23538
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19061
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19062
$as_echo "$ac_try_echo") >&5
23539
19063
  (eval "$ac_compile") 2>conftest.er1
23540
19064
  ac_status=$?
23541
19065
  grep -v '^ *+' conftest.er1 >conftest.err
23542
19066
  rm -f conftest.er1
23543
19067
  cat conftest.err >&5
23544
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19068
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545
19069
  (exit $ac_status); } && {
23546
19070
         test -z "$ac_cxx_werror_flag" ||
23547
19071
         test ! -s conftest.err
23552
19076
_ACEOF
23553
19077
 
23554
19078
else
23555
 
  echo "$as_me: failed program was:" >&5
 
19079
  $as_echo "$as_me: failed program was:" >&5
23556
19080
sed 's/^/| /' conftest.$ac_ext >&5
23557
19081
 
23558
19082
        pqputcopy=no
23560
19084
fi
23561
19085
 
23562
19086
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23563
 
{ echo "$as_me:$LINENO: result: $pqputcopy" >&5
23564
 
echo "${ECHO_T}$pqputcopy" >&6; }
 
19087
{ $as_echo "$as_me:$LINENO: result: $pqputcopy" >&5
 
19088
$as_echo "$pqputcopy" >&6; }
23565
19089
 
23566
 
{ echo "$as_me:$LINENO: checking PQprepare()" >&5
23567
 
echo $ECHO_N "checking PQprepare()... $ECHO_C" >&6; }
 
19090
{ $as_echo "$as_me:$LINENO: checking PQprepare()" >&5
 
19091
$as_echo_n "checking PQprepare()... " >&6; }
23568
19092
pqprepare=yes
23569
19093
cat >conftest.$ac_ext <<_ACEOF
23570
19094
/* confdefs.h.  */
23587
19111
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23588
19112
  *) ac_try_echo=$ac_try;;
23589
19113
esac
23590
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19114
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19115
$as_echo "$ac_try_echo") >&5
23591
19116
  (eval "$ac_compile") 2>conftest.er1
23592
19117
  ac_status=$?
23593
19118
  grep -v '^ *+' conftest.er1 >conftest.err
23594
19119
  rm -f conftest.er1
23595
19120
  cat conftest.err >&5
23596
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19121
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597
19122
  (exit $ac_status); } && {
23598
19123
         test -z "$ac_cxx_werror_flag" ||
23599
19124
         test ! -s conftest.err
23604
19129
_ACEOF
23605
19130
 
23606
19131
else
23607
 
  echo "$as_me: failed program was:" >&5
 
19132
  $as_echo "$as_me: failed program was:" >&5
23608
19133
sed 's/^/| /' conftest.$ac_ext >&5
23609
19134
 
23610
19135
        pqprepare=no
23612
19137
fi
23613
19138
 
23614
19139
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23615
 
{ echo "$as_me:$LINENO: result: $pqprepare" >&5
23616
 
echo "${ECHO_T}$pqprepare" >&6; }
 
19140
{ $as_echo "$as_me:$LINENO: result: $pqprepare" >&5
 
19141
$as_echo "$pqprepare" >&6; }
23617
19142
 
23618
 
{ echo "$as_me:$LINENO: checking PQexecPrepared()" >&5
23619
 
echo $ECHO_N "checking PQexecPrepared()... $ECHO_C" >&6; }
 
19143
{ $as_echo "$as_me:$LINENO: checking PQexecPrepared()" >&5
 
19144
$as_echo_n "checking PQexecPrepared()... " >&6; }
23620
19145
pqexecprepared=yes
23621
19146
cat >conftest.$ac_ext <<_ACEOF
23622
19147
/* confdefs.h.  */
23639
19164
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23640
19165
  *) ac_try_echo=$ac_try;;
23641
19166
esac
23642
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19167
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19168
$as_echo "$ac_try_echo") >&5
23643
19169
  (eval "$ac_compile") 2>conftest.er1
23644
19170
  ac_status=$?
23645
19171
  grep -v '^ *+' conftest.er1 >conftest.err
23646
19172
  rm -f conftest.er1
23647
19173
  cat conftest.err >&5
23648
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19174
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23649
19175
  (exit $ac_status); } && {
23650
19176
         test -z "$ac_cxx_werror_flag" ||
23651
19177
         test ! -s conftest.err
23656
19182
_ACEOF
23657
19183
 
23658
19184
else
23659
 
  echo "$as_me: failed program was:" >&5
 
19185
  $as_echo "$as_me: failed program was:" >&5
23660
19186
sed 's/^/| /' conftest.$ac_ext >&5
23661
19187
 
23662
19188
        pqexecprepared=no
23664
19190
fi
23665
19191
 
23666
19192
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23667
 
{ echo "$as_me:$LINENO: result: $pqexecprepared" >&5
23668
 
echo "${ECHO_T}$pqexecprepared" >&6; }
 
19193
{ $as_echo "$as_me:$LINENO: result: $pqexecprepared" >&5
 
19194
$as_echo "$pqexecprepared" >&6; }
23669
19195
 
23670
 
{ echo "$as_me:$LINENO: checking PQresultErrorField()" >&5
23671
 
echo $ECHO_N "checking PQresultErrorField()... $ECHO_C" >&6; }
 
19196
{ $as_echo "$as_me:$LINENO: checking PQresultErrorField()" >&5
 
19197
$as_echo_n "checking PQresultErrorField()... " >&6; }
23672
19198
pqresulterrorfield=yes
23673
19199
cat >conftest.$ac_ext <<_ACEOF
23674
19200
/* confdefs.h.  */
23691
19217
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23692
19218
  *) ac_try_echo=$ac_try;;
23693
19219
esac
23694
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19220
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19221
$as_echo "$ac_try_echo") >&5
23695
19222
  (eval "$ac_compile") 2>conftest.er1
23696
19223
  ac_status=$?
23697
19224
  grep -v '^ *+' conftest.er1 >conftest.err
23698
19225
  rm -f conftest.er1
23699
19226
  cat conftest.err >&5
23700
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19227
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23701
19228
  (exit $ac_status); } && {
23702
19229
         test -z "$ac_cxx_werror_flag" ||
23703
19230
         test ! -s conftest.err
23708
19235
_ACEOF
23709
19236
 
23710
19237
else
23711
 
  echo "$as_me: failed program was:" >&5
 
19238
  $as_echo "$as_me: failed program was:" >&5
23712
19239
sed 's/^/| /' conftest.$ac_ext >&5
23713
19240
 
23714
19241
        pqresulterrorfield=no
23716
19243
fi
23717
19244
 
23718
19245
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23719
 
{ echo "$as_me:$LINENO: result: $pqresulterrorfield" >&5
23720
 
echo "${ECHO_T}$pqresulterrorfield" >&6; }
 
19246
{ $as_echo "$as_me:$LINENO: result: $pqresulterrorfield" >&5
 
19247
$as_echo "$pqresulterrorfield" >&6; }
23721
19248
 
23722
 
{ echo "$as_me:$LINENO: checking PQencryptPassword()" >&5
23723
 
echo $ECHO_N "checking PQencryptPassword()... $ECHO_C" >&6; }
 
19249
{ $as_echo "$as_me:$LINENO: checking PQencryptPassword()" >&5
 
19250
$as_echo_n "checking PQencryptPassword()... " >&6; }
23724
19251
pqencryptpassword=yes
23725
19252
cat >conftest.$ac_ext <<_ACEOF
23726
19253
/* confdefs.h.  */
23743
19270
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23744
19271
  *) ac_try_echo=$ac_try;;
23745
19272
esac
23746
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19273
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19274
$as_echo "$ac_try_echo") >&5
23747
19275
  (eval "$ac_compile") 2>conftest.er1
23748
19276
  ac_status=$?
23749
19277
  grep -v '^ *+' conftest.er1 >conftest.err
23750
19278
  rm -f conftest.er1
23751
19279
  cat conftest.err >&5
23752
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19280
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753
19281
  (exit $ac_status); } && {
23754
19282
         test -z "$ac_cxx_werror_flag" ||
23755
19283
         test ! -s conftest.err
23760
19288
_ACEOF
23761
19289
 
23762
19290
else
23763
 
  echo "$as_me: failed program was:" >&5
 
19291
  $as_echo "$as_me: failed program was:" >&5
23764
19292
sed 's/^/| /' conftest.$ac_ext >&5
23765
19293
 
23766
19294
        pqencryptpassword=no
23768
19296
fi
23769
19297
 
23770
19298
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23771
 
{ echo "$as_me:$LINENO: result: $pqencryptpassword" >&5
23772
 
echo "${ECHO_T}$pqencryptpassword" >&6; }
23773
 
 
23774
 
 
23775
 
{ echo "$as_me:$LINENO: checking PQclientEncoding()" >&5
23776
 
echo $ECHO_N "checking PQclientEncoding()... $ECHO_C" >&6; }
 
19299
{ $as_echo "$as_me:$LINENO: result: $pqencryptpassword" >&5
 
19300
$as_echo "$pqencryptpassword" >&6; }
 
19301
 
 
19302
 
 
19303
{ $as_echo "$as_me:$LINENO: checking PQclientEncoding()" >&5
 
19304
$as_echo_n "checking PQclientEncoding()... " >&6; }
23777
19305
pqclientencoding=yes
23778
19306
cat >conftest.$ac_ext <<_ACEOF
23779
19307
/* confdefs.h.  */
23796
19324
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23797
19325
  *) ac_try_echo=$ac_try;;
23798
19326
esac
23799
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19327
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19328
$as_echo "$ac_try_echo") >&5
23800
19329
  (eval "$ac_compile") 2>conftest.er1
23801
19330
  ac_status=$?
23802
19331
  grep -v '^ *+' conftest.er1 >conftest.err
23803
19332
  rm -f conftest.er1
23804
19333
  cat conftest.err >&5
23805
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19334
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806
19335
  (exit $ac_status); } && {
23807
19336
         test -z "$ac_cxx_werror_flag" ||
23808
19337
         test ! -s conftest.err
23813
19342
_ACEOF
23814
19343
 
23815
19344
else
23816
 
  echo "$as_me: failed program was:" >&5
 
19345
  $as_echo "$as_me: failed program was:" >&5
23817
19346
sed 's/^/| /' conftest.$ac_ext >&5
23818
19347
 
23819
19348
        pqclientencoding=no
23821
19350
fi
23822
19351
 
23823
19352
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23824
 
{ echo "$as_me:$LINENO: result: $pqclientencoding" >&5
23825
 
echo "${ECHO_T}$pqclientencoding" >&6; }
23826
 
 
23827
 
 
23828
 
{ echo "$as_me:$LINENO: checking PQmblen()" >&5
23829
 
echo $ECHO_N "checking PQmblen()... $ECHO_C" >&6; }
 
19353
{ $as_echo "$as_me:$LINENO: result: $pqclientencoding" >&5
 
19354
$as_echo "$pqclientencoding" >&6; }
 
19355
 
 
19356
 
 
19357
{ $as_echo "$as_me:$LINENO: checking PQmblen()" >&5
 
19358
$as_echo_n "checking PQmblen()... " >&6; }
23830
19359
pqmblen=yes
23831
19360
cat >conftest.$ac_ext <<_ACEOF
23832
19361
/* confdefs.h.  */
23849
19378
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23850
19379
  *) ac_try_echo=$ac_try;;
23851
19380
esac
23852
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19381
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19382
$as_echo "$ac_try_echo") >&5
23853
19383
  (eval "$ac_compile") 2>conftest.er1
23854
19384
  ac_status=$?
23855
19385
  grep -v '^ *+' conftest.er1 >conftest.err
23856
19386
  rm -f conftest.er1
23857
19387
  cat conftest.err >&5
23858
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19388
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859
19389
  (exit $ac_status); } && {
23860
19390
         test -z "$ac_cxx_werror_flag" ||
23861
19391
         test ! -s conftest.err
23866
19396
_ACEOF
23867
19397
 
23868
19398
else
23869
 
  echo "$as_me: failed program was:" >&5
 
19399
  $as_echo "$as_me: failed program was:" >&5
23870
19400
sed 's/^/| /' conftest.$ac_ext >&5
23871
19401
 
23872
19402
        pqmblen=no
23874
19404
fi
23875
19405
 
23876
19406
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23877
 
{ echo "$as_me:$LINENO: result: $pqmblen" >&5
23878
 
echo "${ECHO_T}$pqmblen" >&6; }
23879
 
 
23880
 
 
23881
 
{ echo "$as_me:$LINENO: checking PQdescribePortal()" >&5
23882
 
echo $ECHO_N "checking PQdescribePortal()... $ECHO_C" >&6; }
 
19407
{ $as_echo "$as_me:$LINENO: result: $pqmblen" >&5
 
19408
$as_echo "$pqmblen" >&6; }
 
19409
 
 
19410
 
 
19411
{ $as_echo "$as_me:$LINENO: checking PQdescribePortal()" >&5
 
19412
$as_echo_n "checking PQdescribePortal()... " >&6; }
23883
19413
pqdescribeportal=yes
23884
19414
cat >conftest.$ac_ext <<_ACEOF
23885
19415
/* confdefs.h.  */
23902
19432
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23903
19433
  *) ac_try_echo=$ac_try;;
23904
19434
esac
23905
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19435
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19436
$as_echo "$ac_try_echo") >&5
23906
19437
  (eval "$ac_compile") 2>conftest.er1
23907
19438
  ac_status=$?
23908
19439
  grep -v '^ *+' conftest.er1 >conftest.err
23909
19440
  rm -f conftest.er1
23910
19441
  cat conftest.err >&5
23911
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19442
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912
19443
  (exit $ac_status); } && {
23913
19444
         test -z "$ac_cxx_werror_flag" ||
23914
19445
         test ! -s conftest.err
23919
19450
_ACEOF
23920
19451
 
23921
19452
else
23922
 
  echo "$as_me: failed program was:" >&5
 
19453
  $as_echo "$as_me: failed program was:" >&5
23923
19454
sed 's/^/| /' conftest.$ac_ext >&5
23924
19455
 
23925
19456
        pqdescribeportal=no
23927
19458
fi
23928
19459
 
23929
19460
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23930
 
{ echo "$as_me:$LINENO: result: $pqdescribeportal" >&5
23931
 
echo "${ECHO_T}$pqdescribeportal" >&6; }
23932
 
 
23933
 
 
23934
 
{ echo "$as_me:$LINENO: checking PQcancel()" >&5
23935
 
echo $ECHO_N "checking PQcancel()... $ECHO_C" >&6; }
 
19461
{ $as_echo "$as_me:$LINENO: result: $pqdescribeportal" >&5
 
19462
$as_echo "$pqdescribeportal" >&6; }
 
19463
 
 
19464
 
 
19465
{ $as_echo "$as_me:$LINENO: checking PQcancel()" >&5
 
19466
$as_echo_n "checking PQcancel()... " >&6; }
23936
19467
pqcancel=yes
23937
19468
cat >conftest.$ac_ext <<_ACEOF
23938
19469
/* confdefs.h.  */
23955
19486
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23956
19487
  *) ac_try_echo=$ac_try;;
23957
19488
esac
23958
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19489
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19490
$as_echo "$ac_try_echo") >&5
23959
19491
  (eval "$ac_compile") 2>conftest.er1
23960
19492
  ac_status=$?
23961
19493
  grep -v '^ *+' conftest.er1 >conftest.err
23962
19494
  rm -f conftest.er1
23963
19495
  cat conftest.err >&5
23964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19496
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23965
19497
  (exit $ac_status); } && {
23966
19498
         test -z "$ac_cxx_werror_flag" ||
23967
19499
         test ! -s conftest.err
23972
19504
_ACEOF
23973
19505
 
23974
19506
else
23975
 
  echo "$as_me: failed program was:" >&5
 
19507
  $as_echo "$as_me: failed program was:" >&5
23976
19508
sed 's/^/| /' conftest.$ac_ext >&5
23977
19509
 
23978
19510
        pqcancel=no
23980
19512
fi
23981
19513
 
23982
19514
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23983
 
{ echo "$as_me:$LINENO: result: $pqcancel" >&5
23984
 
echo "${ECHO_T}$pqcancel" >&6; }
 
19515
{ $as_echo "$as_me:$LINENO: result: $pqcancel" >&5
 
19516
$as_echo "$pqcancel" >&6; }
23985
19517
 
23986
19518
if test "${ac_cv_header_limits+set}" = set; then
23987
 
  { echo "$as_me:$LINENO: checking for limits" >&5
23988
 
echo $ECHO_N "checking for limits... $ECHO_C" >&6; }
 
19519
  { $as_echo "$as_me:$LINENO: checking for limits" >&5
 
19520
$as_echo_n "checking for limits... " >&6; }
23989
19521
if test "${ac_cv_header_limits+set}" = set; then
23990
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19522
  $as_echo_n "(cached) " >&6
23991
19523
fi
23992
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_limits" >&5
23993
 
echo "${ECHO_T}$ac_cv_header_limits" >&6; }
 
19524
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_limits" >&5
 
19525
$as_echo "$ac_cv_header_limits" >&6; }
23994
19526
else
23995
19527
  # Is the header compilable?
23996
 
{ echo "$as_me:$LINENO: checking limits usability" >&5
23997
 
echo $ECHO_N "checking limits usability... $ECHO_C" >&6; }
 
19528
{ $as_echo "$as_me:$LINENO: checking limits usability" >&5
 
19529
$as_echo_n "checking limits usability... " >&6; }
23998
19530
cat >conftest.$ac_ext <<_ACEOF
23999
19531
/* confdefs.h.  */
24000
19532
_ACEOF
24010
19542
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24011
19543
  *) ac_try_echo=$ac_try;;
24012
19544
esac
24013
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19545
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19546
$as_echo "$ac_try_echo") >&5
24014
19547
  (eval "$ac_compile") 2>conftest.er1
24015
19548
  ac_status=$?
24016
19549
  grep -v '^ *+' conftest.er1 >conftest.err
24017
19550
  rm -f conftest.er1
24018
19551
  cat conftest.err >&5
24019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19552
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020
19553
  (exit $ac_status); } && {
24021
19554
         test -z "$ac_cxx_werror_flag" ||
24022
19555
         test ! -s conftest.err
24023
19556
       } && test -s conftest.$ac_objext; then
24024
19557
  ac_header_compiler=yes
24025
19558
else
24026
 
  echo "$as_me: failed program was:" >&5
 
19559
  $as_echo "$as_me: failed program was:" >&5
24027
19560
sed 's/^/| /' conftest.$ac_ext >&5
24028
19561
 
24029
19562
        ac_header_compiler=no
24030
19563
fi
24031
19564
 
24032
19565
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24033
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24034
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
19566
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
19567
$as_echo "$ac_header_compiler" >&6; }
24035
19568
 
24036
19569
# Is the header present?
24037
 
{ echo "$as_me:$LINENO: checking limits presence" >&5
24038
 
echo $ECHO_N "checking limits presence... $ECHO_C" >&6; }
 
19570
{ $as_echo "$as_me:$LINENO: checking limits presence" >&5
 
19571
$as_echo_n "checking limits presence... " >&6; }
24039
19572
cat >conftest.$ac_ext <<_ACEOF
24040
19573
/* confdefs.h.  */
24041
19574
_ACEOF
24049
19582
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24050
19583
  *) ac_try_echo=$ac_try;;
24051
19584
esac
24052
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19585
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19586
$as_echo "$ac_try_echo") >&5
24053
19587
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24054
19588
  ac_status=$?
24055
19589
  grep -v '^ *+' conftest.er1 >conftest.err
24056
19590
  rm -f conftest.er1
24057
19591
  cat conftest.err >&5
24058
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19592
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24059
19593
  (exit $ac_status); } >/dev/null && {
24060
19594
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
24061
19595
         test ! -s conftest.err
24062
19596
       }; then
24063
19597
  ac_header_preproc=yes
24064
19598
else
24065
 
  echo "$as_me: failed program was:" >&5
 
19599
  $as_echo "$as_me: failed program was:" >&5
24066
19600
sed 's/^/| /' conftest.$ac_ext >&5
24067
19601
 
24068
19602
  ac_header_preproc=no
24069
19603
fi
24070
19604
 
24071
19605
rm -f conftest.err conftest.$ac_ext
24072
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24073
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
19606
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
19607
$as_echo "$ac_header_preproc" >&6; }
24074
19608
 
24075
19609
# So?  What about this header?
24076
19610
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24077
19611
  yes:no: )
24078
 
    { echo "$as_me:$LINENO: WARNING: limits: accepted by the compiler, rejected by the preprocessor!" >&5
24079
 
echo "$as_me: WARNING: limits: accepted by the compiler, rejected by the preprocessor!" >&2;}
24080
 
    { echo "$as_me:$LINENO: WARNING: limits: proceeding with the compiler's result" >&5
24081
 
echo "$as_me: WARNING: limits: proceeding with the compiler's result" >&2;}
 
19612
    { $as_echo "$as_me:$LINENO: WARNING: limits: accepted by the compiler, rejected by the preprocessor!" >&5
 
19613
$as_echo "$as_me: WARNING: limits: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
19614
    { $as_echo "$as_me:$LINENO: WARNING: limits: proceeding with the compiler's result" >&5
 
19615
$as_echo "$as_me: WARNING: limits: proceeding with the compiler's result" >&2;}
24082
19616
    ac_header_preproc=yes
24083
19617
    ;;
24084
19618
  no:yes:* )
24085
 
    { echo "$as_me:$LINENO: WARNING: limits: present but cannot be compiled" >&5
24086
 
echo "$as_me: WARNING: limits: present but cannot be compiled" >&2;}
24087
 
    { echo "$as_me:$LINENO: WARNING: limits:     check for missing prerequisite headers?" >&5
24088
 
echo "$as_me: WARNING: limits:     check for missing prerequisite headers?" >&2;}
24089
 
    { echo "$as_me:$LINENO: WARNING: limits: see the Autoconf documentation" >&5
24090
 
echo "$as_me: WARNING: limits: see the Autoconf documentation" >&2;}
24091
 
    { echo "$as_me:$LINENO: WARNING: limits:     section \"Present But Cannot Be Compiled\"" >&5
24092
 
echo "$as_me: WARNING: limits:     section \"Present But Cannot Be Compiled\"" >&2;}
24093
 
    { echo "$as_me:$LINENO: WARNING: limits: proceeding with the preprocessor's result" >&5
24094
 
echo "$as_me: WARNING: limits: proceeding with the preprocessor's result" >&2;}
24095
 
    { echo "$as_me:$LINENO: WARNING: limits: in the future, the compiler will take precedence" >&5
24096
 
echo "$as_me: WARNING: limits: in the future, the compiler will take precedence" >&2;}
 
19619
    { $as_echo "$as_me:$LINENO: WARNING: limits: present but cannot be compiled" >&5
 
19620
$as_echo "$as_me: WARNING: limits: present but cannot be compiled" >&2;}
 
19621
    { $as_echo "$as_me:$LINENO: WARNING: limits:     check for missing prerequisite headers?" >&5
 
19622
$as_echo "$as_me: WARNING: limits:     check for missing prerequisite headers?" >&2;}
 
19623
    { $as_echo "$as_me:$LINENO: WARNING: limits: see the Autoconf documentation" >&5
 
19624
$as_echo "$as_me: WARNING: limits: see the Autoconf documentation" >&2;}
 
19625
    { $as_echo "$as_me:$LINENO: WARNING: limits:     section \"Present But Cannot Be Compiled\"" >&5
 
19626
$as_echo "$as_me: WARNING: limits:     section \"Present But Cannot Be Compiled\"" >&2;}
 
19627
    { $as_echo "$as_me:$LINENO: WARNING: limits: proceeding with the preprocessor's result" >&5
 
19628
$as_echo "$as_me: WARNING: limits: proceeding with the preprocessor's result" >&2;}
 
19629
    { $as_echo "$as_me:$LINENO: WARNING: limits: in the future, the compiler will take precedence" >&5
 
19630
$as_echo "$as_me: WARNING: limits: in the future, the compiler will take precedence" >&2;}
24097
19631
    ( cat <<\_ASBOX
24098
19632
## -------------------------------------------------- ##
24099
19633
## Report this to Jeroen T. Vermeulen <jtv@xs4all.nl> ##
24102
19636
     ) | sed "s/^/$as_me: WARNING:     /" >&2
24103
19637
    ;;
24104
19638
esac
24105
 
{ echo "$as_me:$LINENO: checking for limits" >&5
24106
 
echo $ECHO_N "checking for limits... $ECHO_C" >&6; }
 
19639
{ $as_echo "$as_me:$LINENO: checking for limits" >&5
 
19640
$as_echo_n "checking for limits... " >&6; }
24107
19641
if test "${ac_cv_header_limits+set}" = set; then
24108
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19642
  $as_echo_n "(cached) " >&6
24109
19643
else
24110
19644
  ac_cv_header_limits=$ac_header_preproc
24111
19645
fi
24112
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_limits" >&5
24113
 
echo "${ECHO_T}$ac_cv_header_limits" >&6; }
 
19646
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_limits" >&5
 
19647
$as_echo "$ac_cv_header_limits" >&6; }
24114
19648
 
24115
19649
fi
24116
 
if test $ac_cv_header_limits = yes; then
 
19650
if test "x$ac_cv_header_limits" = x""yes; then
24117
19651
 
24118
19652
cat >>confdefs.h <<\_ACEOF
24119
19653
#define PQXX_HAVE_LIMITS 1
24123
19657
 
24124
19658
 
24125
19659
 
24126
 
{ echo "$as_me:$LINENO: checking for C99 isnan()" >&5
24127
 
echo $ECHO_N "checking for C99 isnan()... $ECHO_C" >&6; }
 
19660
{ $as_echo "$as_me:$LINENO: checking for C99 isnan()" >&5
 
19661
$as_echo_n "checking for C99 isnan()... " >&6; }
24128
19662
c_isnan=yes
24129
19663
cat >conftest.$ac_ext <<_ACEOF
24130
19664
/* confdefs.h.  */
24149
19683
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24150
19684
  *) ac_try_echo=$ac_try;;
24151
19685
esac
24152
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19686
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19687
$as_echo "$ac_try_echo") >&5
24153
19688
  (eval "$ac_compile") 2>conftest.er1
24154
19689
  ac_status=$?
24155
19690
  grep -v '^ *+' conftest.er1 >conftest.err
24156
19691
  rm -f conftest.er1
24157
19692
  cat conftest.err >&5
24158
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19693
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24159
19694
  (exit $ac_status); } && {
24160
19695
         test -z "$ac_cxx_werror_flag" ||
24161
19696
         test ! -s conftest.err
24166
19701
_ACEOF
24167
19702
 
24168
19703
else
24169
 
  echo "$as_me: failed program was:" >&5
 
19704
  $as_echo "$as_me: failed program was:" >&5
24170
19705
sed 's/^/| /' conftest.$ac_ext >&5
24171
19706
 
24172
19707
        c_isnan=no
24174
19709
fi
24175
19710
 
24176
19711
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24177
 
{ echo "$as_me:$LINENO: result: $c_isnan" >&5
24178
 
echo "${ECHO_T}$c_isnan" >&6; }
 
19712
{ $as_echo "$as_me:$LINENO: result: $c_isnan" >&5
 
19713
$as_echo "$c_isnan" >&6; }
24179
19714
 
24180
 
{ echo "$as_me:$LINENO: checking for std::numeric_limits<>::quiet_NaN()" >&5
24181
 
echo $ECHO_N "checking for std::numeric_limits<>::quiet_NaN()... $ECHO_C" >&6; }
 
19715
{ $as_echo "$as_me:$LINENO: checking for std::numeric_limits<>::quiet_NaN()" >&5
 
19716
$as_echo_n "checking for std::numeric_limits<>::quiet_NaN()... " >&6; }
24182
19717
quiet_nan=yes
24183
19718
cat >conftest.$ac_ext <<_ACEOF
24184
19719
/* confdefs.h.  */
24203
19738
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24204
19739
  *) ac_try_echo=$ac_try;;
24205
19740
esac
24206
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19741
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19742
$as_echo "$ac_try_echo") >&5
24207
19743
  (eval "$ac_compile") 2>conftest.er1
24208
19744
  ac_status=$?
24209
19745
  grep -v '^ *+' conftest.er1 >conftest.err
24210
19746
  rm -f conftest.er1
24211
19747
  cat conftest.err >&5
24212
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19748
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24213
19749
  (exit $ac_status); } && {
24214
19750
         test -z "$ac_cxx_werror_flag" ||
24215
19751
         test ! -s conftest.err
24220
19756
_ACEOF
24221
19757
 
24222
19758
else
24223
 
  echo "$as_me: failed program was:" >&5
 
19759
  $as_echo "$as_me: failed program was:" >&5
24224
19760
sed 's/^/| /' conftest.$ac_ext >&5
24225
19761
 
24226
19762
        quiet_nan=no
24227
19763
fi
24228
19764
 
24229
19765
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24230
 
{ echo "$as_me:$LINENO: result: $quiet_nan" >&5
24231
 
echo "${ECHO_T}$quiet_nan" >&6; }
 
19766
{ $as_echo "$as_me:$LINENO: result: $quiet_nan" >&5
 
19767
$as_echo "$quiet_nan" >&6; }
24232
19768
 
24233
 
{ echo "$as_me:$LINENO: checking for C NAN macro" >&5
24234
 
echo $ECHO_N "checking for C NAN macro... $ECHO_C" >&6; }
 
19769
{ $as_echo "$as_me:$LINENO: checking for C NAN macro" >&5
 
19770
$as_echo_n "checking for C NAN macro... " >&6; }
24235
19771
c_nan=yes
24236
19772
cat >conftest.$ac_ext <<_ACEOF
24237
19773
/* confdefs.h.  */
24256
19792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24257
19793
  *) ac_try_echo=$ac_try;;
24258
19794
esac
24259
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19795
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19796
$as_echo "$ac_try_echo") >&5
24260
19797
  (eval "$ac_compile") 2>conftest.er1
24261
19798
  ac_status=$?
24262
19799
  grep -v '^ *+' conftest.er1 >conftest.err
24263
19800
  rm -f conftest.er1
24264
19801
  cat conftest.err >&5
24265
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19802
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24266
19803
  (exit $ac_status); } && {
24267
19804
         test -z "$ac_cxx_werror_flag" ||
24268
19805
         test ! -s conftest.err
24273
19810
_ACEOF
24274
19811
 
24275
19812
else
24276
 
  echo "$as_me: failed program was:" >&5
 
19813
  $as_echo "$as_me: failed program was:" >&5
24277
19814
sed 's/^/| /' conftest.$ac_ext >&5
24278
19815
 
24279
19816
        c_nan=no
24280
19817
fi
24281
19818
 
24282
19819
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24283
 
{ echo "$as_me:$LINENO: result: $c_nan" >&5
24284
 
echo "${ECHO_T}$c_nan" >&6; }
 
19820
{ $as_echo "$as_me:$LINENO: result: $c_nan" >&5
 
19821
$as_echo "$c_nan" >&6; }
24285
19822
 
24286
 
{ echo "$as_me:$LINENO: checking for C99 nan() family" >&5
24287
 
echo $ECHO_N "checking for C99 nan() family... $ECHO_C" >&6; }
 
19823
{ $as_echo "$as_me:$LINENO: checking for C99 nan() family" >&5
 
19824
$as_echo_n "checking for C99 nan() family... " >&6; }
24288
19825
nan=yes
24289
19826
cat >conftest.$ac_ext <<_ACEOF
24290
19827
/* confdefs.h.  */
24309
19846
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24310
19847
  *) ac_try_echo=$ac_try;;
24311
19848
esac
24312
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19849
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19850
$as_echo "$ac_try_echo") >&5
24313
19851
  (eval "$ac_compile") 2>conftest.er1
24314
19852
  ac_status=$?
24315
19853
  grep -v '^ *+' conftest.er1 >conftest.err
24316
19854
  rm -f conftest.er1
24317
19855
  cat conftest.err >&5
24318
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19856
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24319
19857
  (exit $ac_status); } && {
24320
19858
         test -z "$ac_cxx_werror_flag" ||
24321
19859
         test ! -s conftest.err
24326
19864
_ACEOF
24327
19865
 
24328
19866
else
24329
 
  echo "$as_me: failed program was:" >&5
 
19867
  $as_echo "$as_me: failed program was:" >&5
24330
19868
sed 's/^/| /' conftest.$ac_ext >&5
24331
19869
 
24332
19870
        nan=no
24333
19871
fi
24334
19872
 
24335
19873
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24336
 
{ echo "$as_me:$LINENO: result: $nan" >&5
24337
 
echo "${ECHO_T}$nan" >&6; }
 
19874
{ $as_echo "$as_me:$LINENO: result: $nan" >&5
 
19875
$as_echo "$nan" >&6; }
24338
19876
 
24339
 
{ echo "$as_me:$LINENO: checking for C99 isinf()" >&5
24340
 
echo $ECHO_N "checking for C99 isinf()... $ECHO_C" >&6; }
 
19877
{ $as_echo "$as_me:$LINENO: checking for C99 isinf()" >&5
 
19878
$as_echo_n "checking for C99 isinf()... " >&6; }
24341
19879
c_isnan=yes
24342
19880
cat >conftest.$ac_ext <<_ACEOF
24343
19881
/* confdefs.h.  */
24362
19900
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24363
19901
  *) ac_try_echo=$ac_try;;
24364
19902
esac
24365
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19903
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19904
$as_echo "$ac_try_echo") >&5
24366
19905
  (eval "$ac_compile") 2>conftest.er1
24367
19906
  ac_status=$?
24368
19907
  grep -v '^ *+' conftest.er1 >conftest.err
24369
19908
  rm -f conftest.er1
24370
19909
  cat conftest.err >&5
24371
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19910
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372
19911
  (exit $ac_status); } && {
24373
19912
         test -z "$ac_cxx_werror_flag" ||
24374
19913
         test ! -s conftest.err
24379
19918
_ACEOF
24380
19919
 
24381
19920
else
24382
 
  echo "$as_me: failed program was:" >&5
 
19921
  $as_echo "$as_me: failed program was:" >&5
24383
19922
sed 's/^/| /' conftest.$ac_ext >&5
24384
19923
 
24385
19924
        c_isinf=no
24387
19926
fi
24388
19927
 
24389
19928
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24390
 
{ echo "$as_me:$LINENO: result: $c_isinf" >&5
24391
 
echo "${ECHO_T}$c_isinf" >&6; }
 
19929
{ $as_echo "$as_me:$LINENO: result: $c_isinf" >&5
 
19930
$as_echo "$c_isinf" >&6; }
24392
19931
 
24393
 
{ echo "$as_me:$LINENO: checking whether std::string has a clear() function" >&5
24394
 
echo $ECHO_N "checking whether std::string has a clear() function... $ECHO_C" >&6; }
 
19932
{ $as_echo "$as_me:$LINENO: checking whether std::string has a clear() function" >&5
 
19933
$as_echo_n "checking whether std::string has a clear() function... " >&6; }
24395
19934
string_clear=yes
24396
19935
cat >conftest.$ac_ext <<_ACEOF
24397
19936
/* confdefs.h.  */
24415
19954
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24416
19955
  *) ac_try_echo=$ac_try;;
24417
19956
esac
24418
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19957
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19958
$as_echo "$ac_try_echo") >&5
24419
19959
  (eval "$ac_compile") 2>conftest.er1
24420
19960
  ac_status=$?
24421
19961
  grep -v '^ *+' conftest.er1 >conftest.err
24422
19962
  rm -f conftest.er1
24423
19963
  cat conftest.err >&5
24424
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19964
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24425
19965
  (exit $ac_status); } && {
24426
19966
         test -z "$ac_cxx_werror_flag" ||
24427
19967
         test ! -s conftest.err
24432
19972
_ACEOF
24433
19973
 
24434
19974
else
24435
 
  echo "$as_me: failed program was:" >&5
 
19975
  $as_echo "$as_me: failed program was:" >&5
24436
19976
sed 's/^/| /' conftest.$ac_ext >&5
24437
19977
 
24438
19978
        string_clear=no
24439
19979
fi
24440
19980
 
24441
19981
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24442
 
{ echo "$as_me:$LINENO: result: $string_clear" >&5
24443
 
echo "${ECHO_T}$string_clear" >&6; }
 
19982
{ $as_echo "$as_me:$LINENO: result: $string_clear" >&5
 
19983
$as_echo "$string_clear" >&6; }
24444
19984
 
24445
 
{ echo "$as_me:$LINENO: checking for standard distance()" >&5
24446
 
echo $ECHO_N "checking for standard distance()... $ECHO_C" >&6; }
 
19985
{ $as_echo "$as_me:$LINENO: checking for standard distance()" >&5
 
19986
$as_echo_n "checking for standard distance()... " >&6; }
24447
19987
distance=yes
24448
19988
cat >conftest.$ac_ext <<_ACEOF
24449
19989
/* confdefs.h.  */
24467
20007
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24468
20008
  *) ac_try_echo=$ac_try;;
24469
20009
esac
24470
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20010
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20011
$as_echo "$ac_try_echo") >&5
24471
20012
  (eval "$ac_compile") 2>conftest.er1
24472
20013
  ac_status=$?
24473
20014
  grep -v '^ *+' conftest.er1 >conftest.err
24474
20015
  rm -f conftest.er1
24475
20016
  cat conftest.err >&5
24476
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20017
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24477
20018
  (exit $ac_status); } && {
24478
20019
         test -z "$ac_cxx_werror_flag" ||
24479
20020
         test ! -s conftest.err
24484
20025
_ACEOF
24485
20026
 
24486
20027
else
24487
 
  echo "$as_me: failed program was:" >&5
 
20028
  $as_echo "$as_me: failed program was:" >&5
24488
20029
sed 's/^/| /' conftest.$ac_ext >&5
24489
20030
 
24490
20031
        distance='no'
24491
20032
fi
24492
20033
 
24493
20034
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24494
 
{ echo "$as_me:$LINENO: result: $distance" >&5
24495
 
echo "${ECHO_T}$distance" >&6; }
 
20035
{ $as_echo "$as_me:$LINENO: result: $distance" >&5
 
20036
$as_echo "$distance" >&6; }
24496
20037
 
24497
 
{ echo "$as_me:$LINENO: checking if count_if() works as expected" >&5
24498
 
echo $ECHO_N "checking if count_if() works as expected... $ECHO_C" >&6; }
 
20038
{ $as_echo "$as_me:$LINENO: checking if count_if() works as expected" >&5
 
20039
$as_echo_n "checking if count_if() works as expected... " >&6; }
24499
20040
count_if='yes'
24500
20041
cat >conftest.$ac_ext <<_ACEOF
24501
20042
/* confdefs.h.  */
24521
20062
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24522
20063
  *) ac_try_echo=$ac_try;;
24523
20064
esac
24524
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20065
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20066
$as_echo "$ac_try_echo") >&5
24525
20067
  (eval "$ac_compile") 2>conftest.er1
24526
20068
  ac_status=$?
24527
20069
  grep -v '^ *+' conftest.er1 >conftest.err
24528
20070
  rm -f conftest.er1
24529
20071
  cat conftest.err >&5
24530
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20072
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24531
20073
  (exit $ac_status); } && {
24532
20074
         test -z "$ac_cxx_werror_flag" ||
24533
20075
         test ! -s conftest.err
24538
20080
_ACEOF
24539
20081
 
24540
20082
else
24541
 
  echo "$as_me: failed program was:" >&5
 
20083
  $as_echo "$as_me: failed program was:" >&5
24542
20084
sed 's/^/| /' conftest.$ac_ext >&5
24543
20085
 
24544
20086
        count_if='no'
24545
20087
fi
24546
20088
 
24547
20089
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24548
 
{ echo "$as_me:$LINENO: result: $count_if" >&5
24549
 
echo "${ECHO_T}$count_if" >&6; }
 
20090
{ $as_echo "$as_me:$LINENO: result: $count_if" >&5
 
20091
$as_echo "$count_if" >&6; }
24550
20092
 
24551
 
{ echo "$as_me:$LINENO: checking whether <iterator> defines a usable iterator template" >&5
24552
 
echo $ECHO_N "checking whether <iterator> defines a usable iterator template... $ECHO_C" >&6; }
 
20093
{ $as_echo "$as_me:$LINENO: checking whether <iterator> defines a usable iterator template" >&5
 
20094
$as_echo_n "checking whether <iterator> defines a usable iterator template... " >&6; }
24553
20095
cat >conftest.$ac_ext <<_ACEOF
24554
20096
/* confdefs.h.  */
24555
20097
_ACEOF
24572
20114
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24573
20115
  *) ac_try_echo=$ac_try;;
24574
20116
esac
24575
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20117
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20118
$as_echo "$ac_try_echo") >&5
24576
20119
  (eval "$ac_compile") 2>conftest.er1
24577
20120
  ac_status=$?
24578
20121
  grep -v '^ *+' conftest.er1 >conftest.err
24579
20122
  rm -f conftest.er1
24580
20123
  cat conftest.err >&5
24581
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20124
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24582
20125
  (exit $ac_status); } && {
24583
20126
         test -z "$ac_cxx_werror_flag" ||
24584
20127
         test ! -s conftest.err
24585
20128
       } && test -s conftest.$ac_objext; then
24586
20129
  it='yes'
24587
20130
else
24588
 
  echo "$as_me: failed program was:" >&5
 
20131
  $as_echo "$as_me: failed program was:" >&5
24589
20132
sed 's/^/| /' conftest.$ac_ext >&5
24590
20133
 
24591
20134
 
24597
20140
fi
24598
20141
 
24599
20142
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24600
 
{ echo "$as_me:$LINENO: result: $it" >&5
24601
 
echo "${ECHO_T}$it" >&6; }
 
20143
{ $as_echo "$as_me:$LINENO: result: $it" >&5
 
20144
$as_echo "$it" >&6; }
24602
20145
 
24603
 
{ echo "$as_me:$LINENO: checking for reverse_iterator template" >&5
24604
 
echo $ECHO_N "checking for reverse_iterator template... $ECHO_C" >&6; }
 
20146
{ $as_echo "$as_me:$LINENO: checking for reverse_iterator template" >&5
 
20147
$as_echo_n "checking for reverse_iterator template... " >&6; }
24605
20148
reverseit='yes'
24606
20149
cat >conftest.$ac_ext <<_ACEOF
24607
20150
/* confdefs.h.  */
24625
20168
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24626
20169
  *) ac_try_echo=$ac_try;;
24627
20170
esac
24628
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20171
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20172
$as_echo "$ac_try_echo") >&5
24629
20173
  (eval "$ac_compile") 2>conftest.er1
24630
20174
  ac_status=$?
24631
20175
  grep -v '^ *+' conftest.er1 >conftest.err
24632
20176
  rm -f conftest.er1
24633
20177
  cat conftest.err >&5
24634
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20178
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24635
20179
  (exit $ac_status); } && {
24636
20180
         test -z "$ac_cxx_werror_flag" ||
24637
20181
         test ! -s conftest.err
24642
20186
_ACEOF
24643
20187
 
24644
20188
else
24645
 
  echo "$as_me: failed program was:" >&5
 
20189
  $as_echo "$as_me: failed program was:" >&5
24646
20190
sed 's/^/| /' conftest.$ac_ext >&5
24647
20191
 
24648
20192
        reverseit='no'
24649
20193
fi
24650
20194
 
24651
20195
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24652
 
{ echo "$as_me:$LINENO: result: $reverseit" >&5
24653
 
echo "${ECHO_T}$reverseit" >&6; }
24654
 
 
24655
 
 
24656
 
{ echo "$as_me:$LINENO: checking whether overloaded using-declarations work" >&5
24657
 
echo $ECHO_N "checking whether overloaded using-declarations work... $ECHO_C" >&6; }
 
20196
{ $as_echo "$as_me:$LINENO: result: $reverseit" >&5
 
20197
$as_echo "$reverseit" >&6; }
 
20198
 
 
20199
 
 
20200
{ $as_echo "$as_me:$LINENO: checking whether overloaded using-declarations work" >&5
 
20201
$as_echo_n "checking whether overloaded using-declarations work... " >&6; }
24658
20202
cat >conftest.$ac_ext <<_ACEOF
24659
20203
/* confdefs.h.  */
24660
20204
_ACEOF
24676
20220
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24677
20221
  *) ac_try_echo=$ac_try;;
24678
20222
esac
24679
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20223
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20224
$as_echo "$ac_try_echo") >&5
24680
20225
  (eval "$ac_compile") 2>conftest.er1
24681
20226
  ac_status=$?
24682
20227
  grep -v '^ *+' conftest.er1 >conftest.err
24683
20228
  rm -f conftest.er1
24684
20229
  cat conftest.err >&5
24685
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20230
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686
20231
  (exit $ac_status); } && {
24687
20232
         test -z "$ac_cxx_werror_flag" ||
24688
20233
         test ! -s conftest.err
24689
20234
       } && test -s conftest.$ac_objext; then
24690
20235
  usingdecl='yes'
24691
20236
else
24692
 
  echo "$as_me: failed program was:" >&5
 
20237
  $as_echo "$as_me: failed program was:" >&5
24693
20238
sed 's/^/| /' conftest.$ac_ext >&5
24694
20239
 
24695
20240
 
24701
20246
fi
24702
20247
 
24703
20248
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24704
 
{ echo "$as_me:$LINENO: result: $usingdecl" >&5
24705
 
echo "${ECHO_T}$usingdecl" >&6; }
24706
 
 
24707
 
 
24708
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
24709
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
24710
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
20249
{ $as_echo "$as_me:$LINENO: result: $usingdecl" >&5
 
20250
$as_echo "$usingdecl" >&6; }
 
20251
 
 
20252
 
 
20253
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
20254
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
20255
set x ${MAKE-make}
 
20256
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
24711
20257
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
24712
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20258
  $as_echo_n "(cached) " >&6
24713
20259
else
24714
20260
  cat >conftest.make <<\_ACEOF
24715
20261
SHELL = /bin/sh
24726
20272
rm -f conftest.make
24727
20273
fi
24728
20274
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
24729
 
  { echo "$as_me:$LINENO: result: yes" >&5
24730
 
echo "${ECHO_T}yes" >&6; }
 
20275
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
20276
$as_echo "yes" >&6; }
24731
20277
  SET_MAKE=
24732
20278
else
24733
 
  { echo "$as_me:$LINENO: result: no" >&5
24734
 
echo "${ECHO_T}no" >&6; }
 
20279
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
20280
$as_echo "no" >&6; }
24735
20281
  SET_MAKE="MAKE=${MAKE-make}"
24736
20282
fi
24737
20283
 
24770
20316
    case $ac_val in #(
24771
20317
    *${as_nl}*)
24772
20318
      case $ac_var in #(
24773
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24774
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
20319
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
20320
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24775
20321
      esac
24776
20322
      case $ac_var in #(
24777
20323
      _ | IFS | as_nl) ;; #(
 
20324
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24778
20325
      *) $as_unset $ac_var ;;
24779
20326
      esac ;;
24780
20327
    esac
24807
20354
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24808
20355
  if test -w "$cache_file"; then
24809
20356
    test "x$cache_file" != "x/dev/null" &&
24810
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24811
 
echo "$as_me: updating cache $cache_file" >&6;}
 
20357
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
20358
$as_echo "$as_me: updating cache $cache_file" >&6;}
24812
20359
    cat confcache >$cache_file
24813
20360
  else
24814
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24815
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
20361
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
20362
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24816
20363
  fi
24817
20364
fi
24818
20365
rm -f confcache
24828
20375
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24829
20376
  # 1. Remove the extension, and $U if already installed.
24830
20377
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24831
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
20378
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
24832
20379
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
24833
20380
  #    will be set to the directory where LIBOBJS objects are built.
24834
20381
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24840
20387
 
24841
20388
 
24842
20389
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24843
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
20390
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24844
20391
Usually this means the macro was only invoked conditionally." >&5
24845
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
20392
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
24846
20393
Usually this means the macro was only invoked conditionally." >&2;}
24847
20394
   { (exit 1); exit 1; }; }
24848
20395
fi
24849
20396
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24850
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
20397
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
24851
20398
Usually this means the macro was only invoked conditionally." >&5
24852
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
20399
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
24853
20400
Usually this means the macro was only invoked conditionally." >&2;}
24854
20401
   { (exit 1); exit 1; }; }
24855
20402
fi
24856
20403
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24857
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24858
 
Usually this means the macro was only invoked conditionally." >&5
24859
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
20404
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
20405
Usually this means the macro was only invoked conditionally." >&5
 
20406
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
20407
Usually this means the macro was only invoked conditionally." >&2;}
 
20408
   { (exit 1); exit 1; }; }
 
20409
fi
 
20410
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
20411
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
20412
Usually this means the macro was only invoked conditionally." >&5
 
20413
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
24860
20414
Usually this means the macro was only invoked conditionally." >&2;}
24861
20415
   { (exit 1); exit 1; }; }
24862
20416
fi
24863
20417
if test -z "${BUILD_REFERENCE_TRUE}" && test -z "${BUILD_REFERENCE_FALSE}"; then
24864
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_REFERENCE\" was never defined.
 
20418
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_REFERENCE\" was never defined.
24865
20419
Usually this means the macro was only invoked conditionally." >&5
24866
 
echo "$as_me: error: conditional \"BUILD_REFERENCE\" was never defined.
 
20420
$as_echo "$as_me: error: conditional \"BUILD_REFERENCE\" was never defined.
24867
20421
Usually this means the macro was only invoked conditionally." >&2;}
24868
20422
   { (exit 1); exit 1; }; }
24869
20423
fi
24870
20424
if test -z "${BUILD_TUTORIAL_TRUE}" && test -z "${BUILD_TUTORIAL_FALSE}"; then
24871
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_TUTORIAL\" was never defined.
 
20425
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_TUTORIAL\" was never defined.
24872
20426
Usually this means the macro was only invoked conditionally." >&5
24873
 
echo "$as_me: error: conditional \"BUILD_TUTORIAL\" was never defined.
 
20427
$as_echo "$as_me: error: conditional \"BUILD_TUTORIAL\" was never defined.
24874
20428
Usually this means the macro was only invoked conditionally." >&2;}
24875
20429
   { (exit 1); exit 1; }; }
24876
20430
fi
24877
20431
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24878
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 
20432
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24879
20433
Usually this means the macro was only invoked conditionally." >&5
24880
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 
20434
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24881
20435
Usually this means the macro was only invoked conditionally." >&2;}
24882
20436
   { (exit 1); exit 1; }; }
24883
20437
fi
24884
20438
 
24885
20439
: ${CONFIG_STATUS=./config.status}
 
20440
ac_write_fail=0
24886
20441
ac_clean_files_save=$ac_clean_files
24887
20442
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24888
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24889
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
24890
 
cat >$CONFIG_STATUS <<_ACEOF
 
20443
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
20444
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
20445
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24891
20446
#! $SHELL
24892
20447
# Generated by $as_me.
24893
20448
# Run this file to recreate the current configuration.
24900
20455
SHELL=\${CONFIG_SHELL-$SHELL}
24901
20456
_ACEOF
24902
20457
 
24903
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
20458
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24904
20459
## --------------------- ##
24905
20460
## M4sh Initialization.  ##
24906
20461
## --------------------- ##
24910
20465
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24911
20466
  emulate sh
24912
20467
  NULLCMD=:
24913
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
20468
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24914
20469
  # is contrary to our usage.  Disable this feature.
24915
20470
  alias -g '${1+"$@"}'='"$@"'
24916
20471
  setopt NO_GLOB_SUBST
24932
20487
as_cr_digits='0123456789'
24933
20488
as_cr_alnum=$as_cr_Letters$as_cr_digits
24934
20489
 
 
20490
as_nl='
 
20491
'
 
20492
export as_nl
 
20493
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
20494
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
20495
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
20496
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
20497
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
20498
  as_echo='printf %s\n'
 
20499
  as_echo_n='printf %s'
 
20500
else
 
20501
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
20502
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
20503
    as_echo_n='/usr/ucb/echo -n'
 
20504
  else
 
20505
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
20506
    as_echo_n_body='eval
 
20507
      arg=$1;
 
20508
      case $arg in
 
20509
      *"$as_nl"*)
 
20510
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
20511
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
20512
      esac;
 
20513
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
20514
    '
 
20515
    export as_echo_n_body
 
20516
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
20517
  fi
 
20518
  export as_echo_body
 
20519
  as_echo='sh -c $as_echo_body as_echo'
 
20520
fi
 
20521
 
24935
20522
# The user is always right.
24936
20523
if test "${PATH_SEPARATOR+set}" != set; then
24937
 
  echo "#! /bin/sh" >conf$$.sh
24938
 
  echo  "exit 0"   >>conf$$.sh
24939
 
  chmod +x conf$$.sh
24940
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24941
 
    PATH_SEPARATOR=';'
24942
 
  else
24943
 
    PATH_SEPARATOR=:
24944
 
  fi
24945
 
  rm -f conf$$.sh
 
20524
  PATH_SEPARATOR=:
 
20525
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
20526
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
20527
      PATH_SEPARATOR=';'
 
20528
  }
24946
20529
fi
24947
20530
 
24948
20531
# Support unset when possible.
24958
20541
# there to prevent editors from complaining about space-tab.
24959
20542
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
24960
20543
# splitting by setting IFS to empty value.)
24961
 
as_nl='
24962
 
'
24963
20544
IFS=" ""        $as_nl"
24964
20545
 
24965
20546
# Find who we are.  Look in the path if we contain no directory separator.
24982
20563
  as_myself=$0
24983
20564
fi
24984
20565
if test ! -f "$as_myself"; then
24985
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
20566
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24986
20567
  { (exit 1); exit 1; }
24987
20568
fi
24988
20569
 
24995
20576
PS4='+ '
24996
20577
 
24997
20578
# NLS nuisances.
24998
 
for as_var in \
24999
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
25000
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
25001
 
  LC_TELEPHONE LC_TIME
25002
 
do
25003
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
25004
 
    eval $as_var=C; export $as_var
25005
 
  else
25006
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
25007
 
  fi
25008
 
done
 
20579
LC_ALL=C
 
20580
export LC_ALL
 
20581
LANGUAGE=C
 
20582
export LANGUAGE
25009
20583
 
25010
20584
# Required to use basename.
25011
20585
if expr a : '\(a\)' >/dev/null 2>&1 &&
25027
20601
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25028
20602
         X"$0" : 'X\(//\)$' \| \
25029
20603
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25030
 
echo X/"$0" |
 
20604
$as_echo X/"$0" |
25031
20605
    sed '/^.*\/\([^/][^/]*\)\/*$/{
25032
20606
            s//\1/
25033
20607
            q
25078
20652
      s/-\n.*//
25079
20653
    ' >$as_me.lineno &&
25080
20654
  chmod +x "$as_me.lineno" ||
25081
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
20655
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
25082
20656
   { (exit 1); exit 1; }; }
25083
20657
 
25084
20658
  # Don't try to exec as it changes $[0], causing all sort of problems
25106
20680
*)
25107
20681
  ECHO_N='-n';;
25108
20682
esac
25109
 
 
25110
20683
if expr a : '\(a\)' >/dev/null 2>&1 &&
25111
20684
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
25112
20685
  as_expr=expr
25119
20692
  rm -f conf$$.dir/conf$$.file
25120
20693
else
25121
20694
  rm -f conf$$.dir
25122
 
  mkdir conf$$.dir
 
20695
  mkdir conf$$.dir 2>/dev/null
25123
20696
fi
25124
 
echo >conf$$.file
25125
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
25126
 
  as_ln_s='ln -s'
25127
 
  # ... but there are two gotchas:
25128
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25129
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25130
 
  # In both cases, we have to default to `cp -p'.
25131
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
20697
if (echo >conf$$.file) 2>/dev/null; then
 
20698
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
20699
    as_ln_s='ln -s'
 
20700
    # ... but there are two gotchas:
 
20701
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
20702
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
20703
    # In both cases, we have to default to `cp -p'.
 
20704
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
20705
      as_ln_s='cp -p'
 
20706
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
20707
    as_ln_s=ln
 
20708
  else
25132
20709
    as_ln_s='cp -p'
25133
 
elif ln conf$$.file conf$$ 2>/dev/null; then
25134
 
  as_ln_s=ln
 
20710
  fi
25135
20711
else
25136
20712
  as_ln_s='cp -p'
25137
20713
fi
25156
20732
  as_test_x='
25157
20733
    eval sh -c '\''
25158
20734
      if test -d "$1"; then
25159
 
        test -d "$1/.";
 
20735
        test -d "$1/.";
25160
20736
      else
25161
20737
        case $1 in
25162
 
        -*)set "./$1";;
 
20738
        -*)set "./$1";;
25163
20739
        esac;
25164
20740
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
25165
20741
        ???[sx]*):;;*)false;;esac;fi
25181
20757
# report actual input values of CONFIG_FILES etc. instead of their
25182
20758
# values after options handling.
25183
20759
ac_log="
25184
 
This file was extended by libpqxx $as_me 3.0, which was
25185
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
20760
This file was extended by libpqxx $as_me 3.0.2, which was
 
20761
generated by GNU Autoconf 2.63.  Invocation command line was
25186
20762
 
25187
20763
  CONFIG_FILES    = $CONFIG_FILES
25188
20764
  CONFIG_HEADERS  = $CONFIG_HEADERS
25195
20771
 
25196
20772
_ACEOF
25197
20773
 
25198
 
cat >>$CONFIG_STATUS <<_ACEOF
 
20774
case $ac_config_files in *"
 
20775
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
20776
esac
 
20777
 
 
20778
case $ac_config_headers in *"
 
20779
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
20780
esac
 
20781
 
 
20782
 
 
20783
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25199
20784
# Files that config.status was made for.
25200
20785
config_files="$ac_config_files"
25201
20786
config_headers="$ac_config_headers"
25203
20788
 
25204
20789
_ACEOF
25205
20790
 
25206
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
20791
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25207
20792
ac_cs_usage="\
25208
20793
\`$as_me' instantiates files from templates according to the
25209
20794
current configuration.
25210
20795
 
25211
 
Usage: $0 [OPTIONS] [FILE]...
 
20796
Usage: $0 [OPTION]... [FILE]...
25212
20797
 
25213
20798
  -h, --help       print this help, then exit
25214
20799
  -V, --version    print version number and configuration settings, then exit
25215
 
  -q, --quiet      do not print progress messages
 
20800
  -q, --quiet, --silent
 
20801
                   do not print progress messages
25216
20802
  -d, --debug      don't remove temporary files
25217
20803
      --recheck    update $as_me by reconfiguring in the same conditions
25218
 
  --file=FILE[:TEMPLATE]
25219
 
                   instantiate the configuration file FILE
25220
 
  --header=FILE[:TEMPLATE]
25221
 
                   instantiate the configuration header FILE
 
20804
      --file=FILE[:TEMPLATE]
 
20805
                   instantiate the configuration file FILE
 
20806
      --header=FILE[:TEMPLATE]
 
20807
                   instantiate the configuration header FILE
25222
20808
 
25223
20809
Configuration files:
25224
20810
$config_files
25232
20818
Report bugs to <bug-autoconf@gnu.org>."
25233
20819
 
25234
20820
_ACEOF
25235
 
cat >>$CONFIG_STATUS <<_ACEOF
 
20821
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25236
20822
ac_cs_version="\\
25237
 
libpqxx config.status 3.0
25238
 
configured by $0, generated by GNU Autoconf 2.61,
25239
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
20823
libpqxx config.status 3.0.2
 
20824
configured by $0, generated by GNU Autoconf 2.63,
 
20825
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25240
20826
 
25241
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
20827
Copyright (C) 2008 Free Software Foundation, Inc.
25242
20828
This config.status script is free software; the Free Software Foundation
25243
20829
gives unlimited permission to copy, distribute and modify it."
25244
20830
 
25246
20832
srcdir='$srcdir'
25247
20833
INSTALL='$INSTALL'
25248
20834
MKDIR_P='$MKDIR_P'
 
20835
AWK='$AWK'
 
20836
test -n "\$AWK" || AWK=awk
25249
20837
_ACEOF
25250
20838
 
25251
 
cat >>$CONFIG_STATUS <<\_ACEOF
25252
 
# If no file are specified by the user, then we need to provide default
25253
 
# value.  By we need to know if files were specified by the user.
 
20839
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
20840
# The default lists apply if the user does not specify any file.
25254
20841
ac_need_defaults=:
25255
20842
while test $# != 0
25256
20843
do
25272
20859
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25273
20860
    ac_cs_recheck=: ;;
25274
20861
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25275
 
    echo "$ac_cs_version"; exit ;;
 
20862
    $as_echo "$ac_cs_version"; exit ;;
25276
20863
  --debug | --debu | --deb | --de | --d | -d )
25277
20864
    debug=: ;;
25278
20865
  --file | --fil | --fi | --f )
25279
20866
    $ac_shift
25280
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
20867
    case $ac_optarg in
 
20868
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
20869
    esac
 
20870
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
25281
20871
    ac_need_defaults=false;;
25282
20872
  --header | --heade | --head | --hea )
25283
20873
    $ac_shift
25284
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
20874
    case $ac_optarg in
 
20875
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
20876
    esac
 
20877
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
25285
20878
    ac_need_defaults=false;;
25286
20879
  --he | --h)
25287
20880
    # Conflict between --help and --header
25288
 
    { echo "$as_me: error: ambiguous option: $1
 
20881
    { $as_echo "$as_me: error: ambiguous option: $1
25289
20882
Try \`$0 --help' for more information." >&2
25290
20883
   { (exit 1); exit 1; }; };;
25291
20884
  --help | --hel | -h )
25292
 
    echo "$ac_cs_usage"; exit ;;
 
20885
    $as_echo "$ac_cs_usage"; exit ;;
25293
20886
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25294
20887
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
25295
20888
    ac_cs_silent=: ;;
25296
20889
 
25297
20890
  # This is an error.
25298
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
20891
  -*) { $as_echo "$as_me: error: unrecognized option: $1
25299
20892
Try \`$0 --help' for more information." >&2
25300
20893
   { (exit 1); exit 1; }; } ;;
25301
20894
 
25314
20907
fi
25315
20908
 
25316
20909
_ACEOF
25317
 
cat >>$CONFIG_STATUS <<_ACEOF
 
20910
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25318
20911
if \$ac_cs_recheck; then
25319
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
25320
 
  CONFIG_SHELL=$SHELL
 
20912
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
20913
  shift
 
20914
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
20915
  CONFIG_SHELL='$SHELL'
25321
20916
  export CONFIG_SHELL
25322
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
20917
  exec "\$@"
25323
20918
fi
25324
20919
 
25325
20920
_ACEOF
25326
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
20921
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25327
20922
exec 5>>config.log
25328
20923
{
25329
20924
  echo
25330
20925
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25331
20926
## Running $as_me. ##
25332
20927
_ASBOX
25333
 
  echo "$ac_log"
 
20928
  $as_echo "$ac_log"
25334
20929
} >&5
25335
20930
 
25336
20931
_ACEOF
25337
 
cat >>$CONFIG_STATUS <<_ACEOF
 
20932
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25338
20933
#
25339
20934
# INIT-COMMANDS
25340
20935
#
25341
20936
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25342
20937
 
 
20938
 
 
20939
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
20940
# if CDPATH is set.
 
20941
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
20942
 
 
20943
sed_quote_subst='$sed_quote_subst'
 
20944
double_quote_subst='$double_quote_subst'
 
20945
delay_variable_subst='$delay_variable_subst'
 
20946
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
20947
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
20948
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
20949
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
20950
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
20951
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
20952
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
20953
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
20954
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
20955
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
20956
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
20957
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
20958
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
20959
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
20960
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
20961
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
20962
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
20963
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
20964
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
20965
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
20966
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
20967
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
20968
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
20969
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
20970
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
20971
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
20972
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
20973
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20974
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
20975
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
20976
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
20977
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
20978
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
20979
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
20980
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
20981
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20982
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20983
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20984
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
20985
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
20986
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
20987
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
20988
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
20989
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
20990
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"`'
 
20991
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"`'
 
20992
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
20993
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
20994
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
20995
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
20996
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
20997
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
20998
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
20999
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
21000
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
21001
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
21002
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
21003
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
21004
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
21005
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
21006
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
21007
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
21008
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21009
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21010
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
21011
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
21012
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21013
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21014
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
21015
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21016
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21017
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21018
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21019
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21020
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21021
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
21022
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
21023
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
21024
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21025
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
21026
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
21027
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
21028
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
21029
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
21030
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
21031
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
21032
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
21033
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
21034
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
21035
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
21036
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21037
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
21038
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
21039
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21040
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21041
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
21042
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
21043
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
21044
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
21045
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
21046
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
21047
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
21048
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21049
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21050
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21051
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21052
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21053
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21054
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
21055
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
21056
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21057
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21058
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
21059
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
21060
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
21061
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
21062
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
21063
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
21064
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
 
21065
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
21066
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
21067
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
 
21068
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
 
21069
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
 
21070
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21071
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21072
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21073
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21074
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21075
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21076
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21077
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21078
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21079
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21080
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21081
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21082
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21083
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21084
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21085
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21086
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21087
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21088
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21089
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21090
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21091
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21092
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21093
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21094
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21095
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21096
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21097
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21098
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21099
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21100
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21101
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21102
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21103
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21104
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21105
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21106
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21107
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21108
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21109
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21110
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21111
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21112
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21113
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21114
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21115
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21116
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21117
 
 
21118
LTCC='$LTCC'
 
21119
LTCFLAGS='$LTCFLAGS'
 
21120
compiler='$compiler_DEFAULT'
 
21121
 
 
21122
# Quote evaled strings.
 
21123
for var in SED \
 
21124
GREP \
 
21125
EGREP \
 
21126
FGREP \
 
21127
LD \
 
21128
NM \
 
21129
LN_S \
 
21130
lt_SP2NL \
 
21131
lt_NL2SP \
 
21132
reload_flag \
 
21133
OBJDUMP \
 
21134
deplibs_check_method \
 
21135
file_magic_cmd \
 
21136
AR \
 
21137
AR_FLAGS \
 
21138
STRIP \
 
21139
RANLIB \
 
21140
CC \
 
21141
CFLAGS \
 
21142
compiler \
 
21143
lt_cv_sys_global_symbol_pipe \
 
21144
lt_cv_sys_global_symbol_to_cdecl \
 
21145
lt_cv_sys_global_symbol_to_c_name_address \
 
21146
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
21147
SHELL \
 
21148
ECHO \
 
21149
lt_prog_compiler_no_builtin_flag \
 
21150
lt_prog_compiler_wl \
 
21151
lt_prog_compiler_pic \
 
21152
lt_prog_compiler_static \
 
21153
lt_cv_prog_compiler_c_o \
 
21154
need_locks \
 
21155
DSYMUTIL \
 
21156
NMEDIT \
 
21157
LIPO \
 
21158
OTOOL \
 
21159
OTOOL64 \
 
21160
shrext_cmds \
 
21161
export_dynamic_flag_spec \
 
21162
whole_archive_flag_spec \
 
21163
compiler_needs_object \
 
21164
with_gnu_ld \
 
21165
allow_undefined_flag \
 
21166
no_undefined_flag \
 
21167
hardcode_libdir_flag_spec \
 
21168
hardcode_libdir_flag_spec_ld \
 
21169
hardcode_libdir_separator \
 
21170
fix_srcfile_path \
 
21171
exclude_expsyms \
 
21172
include_expsyms \
 
21173
file_list_spec \
 
21174
variables_saved_for_relink \
 
21175
libname_spec \
 
21176
library_names_spec \
 
21177
soname_spec \
 
21178
finish_eval \
 
21179
old_striplib \
 
21180
striplib \
 
21181
compiler_lib_search_dirs \
 
21182
predep_objects \
 
21183
postdep_objects \
 
21184
predeps \
 
21185
postdeps \
 
21186
compiler_lib_search_path \
 
21187
LD_CXX \
 
21188
compiler_CXX \
 
21189
lt_prog_compiler_no_builtin_flag_CXX \
 
21190
lt_prog_compiler_wl_CXX \
 
21191
lt_prog_compiler_pic_CXX \
 
21192
lt_prog_compiler_static_CXX \
 
21193
lt_cv_prog_compiler_c_o_CXX \
 
21194
export_dynamic_flag_spec_CXX \
 
21195
whole_archive_flag_spec_CXX \
 
21196
compiler_needs_object_CXX \
 
21197
with_gnu_ld_CXX \
 
21198
allow_undefined_flag_CXX \
 
21199
no_undefined_flag_CXX \
 
21200
hardcode_libdir_flag_spec_CXX \
 
21201
hardcode_libdir_flag_spec_ld_CXX \
 
21202
hardcode_libdir_separator_CXX \
 
21203
fix_srcfile_path_CXX \
 
21204
exclude_expsyms_CXX \
 
21205
include_expsyms_CXX \
 
21206
file_list_spec_CXX \
 
21207
compiler_lib_search_dirs_CXX \
 
21208
predep_objects_CXX \
 
21209
postdep_objects_CXX \
 
21210
predeps_CXX \
 
21211
postdeps_CXX \
 
21212
compiler_lib_search_path_CXX; do
 
21213
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
21214
    *[\\\\\\\`\\"\\\$]*)
 
21215
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
21216
      ;;
 
21217
    *)
 
21218
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
21219
      ;;
 
21220
    esac
 
21221
done
 
21222
 
 
21223
# Double-quote double-evaled strings.
 
21224
for var in reload_cmds \
 
21225
old_postinstall_cmds \
 
21226
old_postuninstall_cmds \
 
21227
old_archive_cmds \
 
21228
extract_expsyms_cmds \
 
21229
old_archive_from_new_cmds \
 
21230
old_archive_from_expsyms_cmds \
 
21231
archive_cmds \
 
21232
archive_expsym_cmds \
 
21233
module_cmds \
 
21234
module_expsym_cmds \
 
21235
export_symbols_cmds \
 
21236
prelink_cmds \
 
21237
postinstall_cmds \
 
21238
postuninstall_cmds \
 
21239
finish_cmds \
 
21240
sys_lib_search_path_spec \
 
21241
sys_lib_dlsearch_path_spec \
 
21242
old_archive_cmds_CXX \
 
21243
old_archive_from_new_cmds_CXX \
 
21244
old_archive_from_expsyms_cmds_CXX \
 
21245
archive_cmds_CXX \
 
21246
archive_expsym_cmds_CXX \
 
21247
module_cmds_CXX \
 
21248
module_expsym_cmds_CXX \
 
21249
export_symbols_cmds_CXX \
 
21250
prelink_cmds_CXX; do
 
21251
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
21252
    *[\\\\\\\`\\"\\\$]*)
 
21253
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
21254
      ;;
 
21255
    *)
 
21256
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
21257
      ;;
 
21258
    esac
 
21259
done
 
21260
 
 
21261
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
21262
case \$lt_ECHO in
 
21263
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
21264
  ;;
 
21265
esac
 
21266
 
 
21267
ac_aux_dir='$ac_aux_dir'
 
21268
xsi_shell='$xsi_shell'
 
21269
lt_shell_append='$lt_shell_append'
 
21270
 
 
21271
# See if we are running on zsh, and set the options which allow our
 
21272
# commands through without removal of \ escapes INIT.
 
21273
if test -n "\${ZSH_VERSION+set}" ; then
 
21274
   setopt NO_GLOB_SUBST
 
21275
fi
 
21276
 
 
21277
 
 
21278
    PACKAGE='$PACKAGE'
 
21279
    VERSION='$VERSION'
 
21280
    TIMESTAMP='$TIMESTAMP'
 
21281
    RM='$RM'
 
21282
    ofile='$ofile'
 
21283
 
 
21284
 
 
21285
 
 
21286
 
 
21287
 
 
21288
 
25343
21289
_ACEOF
25344
21290
 
25345
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
21291
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25346
21292
 
25347
21293
# Handling of arguments.
25348
21294
for ac_config_target in $ac_config_targets
25350
21296
  case $ac_config_target in
25351
21297
    "include/pqxx/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/pqxx/config.h" ;;
25352
21298
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
21299
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
25353
21300
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25354
21301
    "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
25355
21302
    "debian/Makefile") CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;;
25367
21314
    "libpqxx.spec") CONFIG_FILES="$CONFIG_FILES libpqxx.spec" ;;
25368
21315
    "configitems") CONFIG_COMMANDS="$CONFIG_COMMANDS configitems" ;;
25369
21316
 
25370
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25371
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
21317
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
21318
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25372
21319
   { (exit 1); exit 1; }; };;
25373
21320
  esac
25374
21321
done
25409
21356
  (umask 077 && mkdir "$tmp")
25410
21357
} ||
25411
21358
{
25412
 
   echo "$me: cannot create a temporary directory in ." >&2
 
21359
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
25413
21360
   { (exit 1); exit 1; }
25414
21361
}
25415
21362
 
25416
 
#
25417
 
# Set up the sed scripts for CONFIG_FILES section.
25418
 
#
25419
 
 
25420
 
# No need to generate the scripts if there are no CONFIG_FILES.
25421
 
# This happens for instance when ./config.status config.h
 
21363
# Set up the scripts for CONFIG_FILES section.
 
21364
# No need to generate them if there are no CONFIG_FILES.
 
21365
# This happens for instance with `./config.status config.h'.
25422
21366
if test -n "$CONFIG_FILES"; then
25423
21367
 
25424
 
_ACEOF
25425
 
 
25426
 
 
25427
 
 
25428
 
ac_delim='%!_!# '
25429
 
for ac_last_try in false false false false false :; do
25430
 
  cat >conf$$subs.sed <<_ACEOF
25431
 
SHELL!$SHELL$ac_delim
25432
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25433
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
25434
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
25435
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25436
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25437
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25438
 
exec_prefix!$exec_prefix$ac_delim
25439
 
prefix!$prefix$ac_delim
25440
 
program_transform_name!$program_transform_name$ac_delim
25441
 
bindir!$bindir$ac_delim
25442
 
sbindir!$sbindir$ac_delim
25443
 
libexecdir!$libexecdir$ac_delim
25444
 
datarootdir!$datarootdir$ac_delim
25445
 
datadir!$datadir$ac_delim
25446
 
sysconfdir!$sysconfdir$ac_delim
25447
 
sharedstatedir!$sharedstatedir$ac_delim
25448
 
localstatedir!$localstatedir$ac_delim
25449
 
includedir!$includedir$ac_delim
25450
 
oldincludedir!$oldincludedir$ac_delim
25451
 
docdir!$docdir$ac_delim
25452
 
infodir!$infodir$ac_delim
25453
 
htmldir!$htmldir$ac_delim
25454
 
dvidir!$dvidir$ac_delim
25455
 
pdfdir!$pdfdir$ac_delim
25456
 
psdir!$psdir$ac_delim
25457
 
libdir!$libdir$ac_delim
25458
 
localedir!$localedir$ac_delim
25459
 
mandir!$mandir$ac_delim
25460
 
DEFS!$DEFS$ac_delim
25461
 
ECHO_C!$ECHO_C$ac_delim
25462
 
ECHO_N!$ECHO_N$ac_delim
25463
 
ECHO_T!$ECHO_T$ac_delim
25464
 
LIBS!$LIBS$ac_delim
25465
 
build_alias!$build_alias$ac_delim
25466
 
host_alias!$host_alias$ac_delim
25467
 
target_alias!$target_alias$ac_delim
25468
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25469
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25470
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
25471
 
am__isrc!$am__isrc$ac_delim
25472
 
CYGPATH_W!$CYGPATH_W$ac_delim
25473
 
PACKAGE!$PACKAGE$ac_delim
25474
 
VERSION!$VERSION$ac_delim
25475
 
ACLOCAL!$ACLOCAL$ac_delim
25476
 
AUTOCONF!$AUTOCONF$ac_delim
25477
 
AUTOMAKE!$AUTOMAKE$ac_delim
25478
 
AUTOHEADER!$AUTOHEADER$ac_delim
25479
 
MAKEINFO!$MAKEINFO$ac_delim
25480
 
install_sh!$install_sh$ac_delim
25481
 
STRIP!$STRIP$ac_delim
25482
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
25483
 
mkdir_p!$mkdir_p$ac_delim
25484
 
AWK!$AWK$ac_delim
25485
 
SET_MAKE!$SET_MAKE$ac_delim
25486
 
am__leading_dot!$am__leading_dot$ac_delim
25487
 
AMTAR!$AMTAR$ac_delim
25488
 
am__tar!$am__tar$ac_delim
25489
 
am__untar!$am__untar$ac_delim
25490
 
PQXXVERSION!$PQXXVERSION$ac_delim
25491
 
CXX!$CXX$ac_delim
25492
 
CXXFLAGS!$CXXFLAGS$ac_delim
25493
 
LDFLAGS!$LDFLAGS$ac_delim
25494
 
CPPFLAGS!$CPPFLAGS$ac_delim
25495
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
25496
 
EXEEXT!$EXEEXT$ac_delim
25497
 
OBJEXT!$OBJEXT$ac_delim
25498
 
DEPDIR!$DEPDIR$ac_delim
25499
 
am__include!$am__include$ac_delim
25500
 
am__quote!$am__quote$ac_delim
25501
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
25502
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
25503
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
25504
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
25505
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
25506
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
25507
 
CC!$CC$ac_delim
25508
 
CFLAGS!$CFLAGS$ac_delim
25509
 
ac_ct_CC!$ac_ct_CC$ac_delim
25510
 
CCDEPMODE!$CCDEPMODE$ac_delim
25511
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
25512
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
25513
 
build!$build$ac_delim
25514
 
build_cpu!$build_cpu$ac_delim
25515
 
build_vendor!$build_vendor$ac_delim
25516
 
build_os!$build_os$ac_delim
25517
 
host!$host$ac_delim
25518
 
host_cpu!$host_cpu$ac_delim
25519
 
host_vendor!$host_vendor$ac_delim
25520
 
host_os!$host_os$ac_delim
25521
 
SED!$SED$ac_delim
25522
 
GREP!$GREP$ac_delim
25523
 
EGREP!$EGREP$ac_delim
25524
 
LN_S!$LN_S$ac_delim
25525
 
ECHO!$ECHO$ac_delim
25526
 
AR!$AR$ac_delim
25527
 
RANLIB!$RANLIB$ac_delim
25528
 
_ACEOF
25529
 
 
25530
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
25531
 
    break
25532
 
  elif $ac_last_try; then
25533
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25534
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25535
 
   { (exit 1); exit 1; }; }
25536
 
  else
25537
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25538
 
  fi
25539
 
done
25540
 
 
25541
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25542
 
if test -n "$ac_eof"; then
25543
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25544
 
  ac_eof=`expr $ac_eof + 1`
25545
 
fi
25546
 
 
25547
 
cat >>$CONFIG_STATUS <<_ACEOF
25548
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25549
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25550
 
_ACEOF
25551
 
sed '
25552
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25553
 
s/^/s,@/; s/!/@,|#_!!_#|/
25554
 
:n
25555
 
t n
25556
 
s/'"$ac_delim"'$/,g/; t
25557
 
s/$/\\/; p
25558
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25559
 
' >>$CONFIG_STATUS <conf$$subs.sed
25560
 
rm -f conf$$subs.sed
25561
 
cat >>$CONFIG_STATUS <<_ACEOF
25562
 
CEOF$ac_eof
25563
 
_ACEOF
25564
 
 
25565
 
 
25566
 
ac_delim='%!_!# '
25567
 
for ac_last_try in false false false false false :; do
25568
 
  cat >conf$$subs.sed <<_ACEOF
25569
 
DSYMUTIL!$DSYMUTIL$ac_delim
25570
 
NMEDIT!$NMEDIT$ac_delim
25571
 
CPP!$CPP$ac_delim
25572
 
CXXCPP!$CXXCPP$ac_delim
25573
 
F77!$F77$ac_delim
25574
 
FFLAGS!$FFLAGS$ac_delim
25575
 
ac_ct_F77!$ac_ct_F77$ac_delim
25576
 
LIBTOOL!$LIBTOOL$ac_delim
25577
 
MKDIR!$MKDIR$ac_delim
25578
 
DOXYGEN!$DOXYGEN$ac_delim
25579
 
BUILD_REFERENCE_TRUE!$BUILD_REFERENCE_TRUE$ac_delim
25580
 
BUILD_REFERENCE_FALSE!$BUILD_REFERENCE_FALSE$ac_delim
25581
 
HAVE_DOT!$HAVE_DOT$ac_delim
25582
 
XMLTO!$XMLTO$ac_delim
25583
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
25584
 
BUILD_TUTORIAL_TRUE!$BUILD_TUTORIAL_TRUE$ac_delim
25585
 
BUILD_TUTORIAL_FALSE!$BUILD_TUTORIAL_FALSE$ac_delim
25586
 
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
25587
 
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
25588
 
MAINT!$MAINT$ac_delim
25589
 
PG_CONFIG!$PG_CONFIG$ac_delim
25590
 
with_postgres_lib!$with_postgres_lib$ac_delim
25591
 
with_postgres_include!$with_postgres_include$ac_delim
25592
 
POSTGRES_LIB!$POSTGRES_LIB$ac_delim
25593
 
POSTGRES_INCLUDE!$POSTGRES_INCLUDE$ac_delim
25594
 
LIBOBJS!$LIBOBJS$ac_delim
25595
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
25596
 
_ACEOF
25597
 
 
25598
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 27; then
25599
 
    break
25600
 
  elif $ac_last_try; then
25601
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25602
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25603
 
   { (exit 1); exit 1; }; }
25604
 
  else
25605
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25606
 
  fi
25607
 
done
25608
 
 
25609
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25610
 
if test -n "$ac_eof"; then
25611
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25612
 
  ac_eof=`expr $ac_eof + 1`
25613
 
fi
25614
 
 
25615
 
cat >>$CONFIG_STATUS <<_ACEOF
25616
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25617
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25618
 
_ACEOF
25619
 
sed '
25620
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25621
 
s/^/s,@/; s/!/@,|#_!!_#|/
25622
 
:n
25623
 
t n
25624
 
s/'"$ac_delim"'$/,g/; t
25625
 
s/$/\\/; p
25626
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25627
 
' >>$CONFIG_STATUS <conf$$subs.sed
25628
 
rm -f conf$$subs.sed
25629
 
cat >>$CONFIG_STATUS <<_ACEOF
25630
 
:end
25631
 
s/|#_!!_#|//g
25632
 
CEOF$ac_eof
25633
 
_ACEOF
25634
 
 
 
21368
 
 
21369
ac_cr='
 
 
b"'"
 
21370
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
21371
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
21372
  ac_cs_awk_cr='\\r'
 
21373
else
 
21374
  ac_cs_awk_cr=$ac_cr
 
21375
fi
 
21376
 
 
21377
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
21378
_ACEOF
 
21379
 
 
21380
 
 
21381
{
 
21382
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
21383
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
21384
  echo "_ACEOF"
 
21385
} >conf$$subs.sh ||
 
21386
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
21387
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
21388
   { (exit 1); exit 1; }; }
 
21389
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
21390
ac_delim='%!_!# '
 
21391
for ac_last_try in false false false false false :; do
 
21392
  . ./conf$$subs.sh ||
 
21393
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
21394
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
21395
   { (exit 1); exit 1; }; }
 
21396
 
 
21397
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
21398
  if test $ac_delim_n = $ac_delim_num; then
 
21399
    break
 
21400
  elif $ac_last_try; then
 
21401
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
21402
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
21403
   { (exit 1); exit 1; }; }
 
21404
  else
 
21405
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
21406
  fi
 
21407
done
 
21408
rm -f conf$$subs.sh
 
21409
 
 
21410
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
21411
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
21412
_ACEOF
 
21413
sed -n '
 
21414
h
 
21415
s/^/S["/; s/!.*/"]=/
 
21416
p
 
21417
g
 
21418
s/^[^!]*!//
 
21419
:repl
 
21420
t repl
 
21421
s/'"$ac_delim"'$//
 
21422
t delim
 
21423
:nl
 
21424
h
 
21425
s/\(.\{148\}\).*/\1/
 
21426
t more1
 
21427
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
21428
p
 
21429
n
 
21430
b repl
 
21431
:more1
 
21432
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
21433
p
 
21434
g
 
21435
s/.\{148\}//
 
21436
t nl
 
21437
:delim
 
21438
h
 
21439
s/\(.\{148\}\).*/\1/
 
21440
t more2
 
21441
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
21442
p
 
21443
b
 
21444
:more2
 
21445
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
21446
p
 
21447
g
 
21448
s/.\{148\}//
 
21449
t delim
 
21450
' <conf$$subs.awk | sed '
 
21451
/^[^""]/{
 
21452
  N
 
21453
  s/\n//
 
21454
}
 
21455
' >>$CONFIG_STATUS || ac_write_fail=1
 
21456
rm -f conf$$subs.awk
 
21457
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
21458
_ACAWK
 
21459
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
21460
  for (key in S) S_is_set[key] = 1
 
21461
  FS = ""
 
21462
 
 
21463
}
 
21464
{
 
21465
  line = $ 0
 
21466
  nfields = split(line, field, "@")
 
21467
  substed = 0
 
21468
  len = length(field[1])
 
21469
  for (i = 2; i < nfields; i++) {
 
21470
    key = field[i]
 
21471
    keylen = length(key)
 
21472
    if (S_is_set[key]) {
 
21473
      value = S[key]
 
21474
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
21475
      len += length(value) + length(field[++i])
 
21476
      substed = 1
 
21477
    } else
 
21478
      len += 1 + keylen
 
21479
  }
 
21480
 
 
21481
  print line
 
21482
}
 
21483
 
 
21484
_ACAWK
 
21485
_ACEOF
 
21486
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
21487
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
21488
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
21489
else
 
21490
  cat
 
21491
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
21492
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
21493
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
21494
   { (exit 1); exit 1; }; }
 
21495
_ACEOF
25635
21496
 
25636
21497
# VPATH may cause trouble with some makes, so we remove $(srcdir),
25637
21498
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25648
21509
}'
25649
21510
fi
25650
21511
 
25651
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
21512
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25652
21513
fi # test -n "$CONFIG_FILES"
25653
21514
 
25654
 
 
25655
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
21515
# Set up the scripts for CONFIG_HEADERS section.
 
21516
# No need to generate them if there are no CONFIG_HEADERS.
 
21517
# This happens for instance with `./config.status Makefile'.
 
21518
if test -n "$CONFIG_HEADERS"; then
 
21519
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
21520
BEGIN {
 
21521
_ACEOF
 
21522
 
 
21523
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
21524
# here-document in config.status, that substitutes the proper values into
 
21525
# config.h.in to produce config.h.
 
21526
 
 
21527
# Create a delimiter string that does not exist in confdefs.h, to ease
 
21528
# handling of long lines.
 
21529
ac_delim='%!_!# '
 
21530
for ac_last_try in false false :; do
 
21531
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
21532
  if test -z "$ac_t"; then
 
21533
    break
 
21534
  elif $ac_last_try; then
 
21535
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
21536
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
21537
   { (exit 1); exit 1; }; }
 
21538
  else
 
21539
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
21540
  fi
 
21541
done
 
21542
 
 
21543
# For the awk script, D is an array of macro values keyed by name,
 
21544
# likewise P contains macro parameters if any.  Preserve backslash
 
21545
# newline sequences.
 
21546
 
 
21547
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
21548
sed -n '
 
21549
s/.\{148\}/&'"$ac_delim"'/g
 
21550
t rset
 
21551
:rset
 
21552
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
21553
t def
 
21554
d
 
21555
:def
 
21556
s/\\$//
 
21557
t bsnl
 
21558
s/["\\]/\\&/g
 
21559
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
21560
D["\1"]=" \3"/p
 
21561
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
21562
d
 
21563
:bsnl
 
21564
s/["\\]/\\&/g
 
21565
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
21566
D["\1"]=" \3\\\\\\n"\\/p
 
21567
t cont
 
21568
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
21569
t cont
 
21570
d
 
21571
:cont
 
21572
n
 
21573
s/.\{148\}/&'"$ac_delim"'/g
 
21574
t clear
 
21575
:clear
 
21576
s/\\$//
 
21577
t bsnlc
 
21578
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
21579
d
 
21580
:bsnlc
 
21581
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
21582
b cont
 
21583
' <confdefs.h | sed '
 
21584
s/'"$ac_delim"'/"\\\
 
21585
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
21586
 
 
21587
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
21588
  for (key in D) D_is_set[key] = 1
 
21589
  FS = ""
 
21590
}
 
21591
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
21592
  line = \$ 0
 
21593
  split(line, arg, " ")
 
21594
  if (arg[1] == "#") {
 
21595
    defundef = arg[2]
 
21596
    mac1 = arg[3]
 
21597
  } else {
 
21598
    defundef = substr(arg[1], 2)
 
21599
    mac1 = arg[2]
 
21600
  }
 
21601
  split(mac1, mac2, "(") #)
 
21602
  macro = mac2[1]
 
21603
  prefix = substr(line, 1, index(line, defundef) - 1)
 
21604
  if (D_is_set[macro]) {
 
21605
    # Preserve the white space surrounding the "#".
 
21606
    print prefix "define", macro P[macro] D[macro]
 
21607
    next
 
21608
  } else {
 
21609
    # Replace #undef with comments.  This is necessary, for example,
 
21610
    # in the case of _POSIX_SOURCE, which is predefined and required
 
21611
    # on some systems where configure will not decide to define it.
 
21612
    if (defundef == "undef") {
 
21613
      print "/*", prefix defundef, macro, "*/"
 
21614
      next
 
21615
    }
 
21616
  }
 
21617
}
 
21618
{ print }
 
21619
_ACAWK
 
21620
_ACEOF
 
21621
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
21622
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
21623
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
21624
   { (exit 1); exit 1; }; }
 
21625
fi # test -n "$CONFIG_HEADERS"
 
21626
 
 
21627
 
 
21628
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
21629
shift
 
21630
for ac_tag
25656
21631
do
25657
21632
  case $ac_tag in
25658
21633
  :[FHLC]) ac_mode=$ac_tag; continue;;
25659
21634
  esac
25660
21635
  case $ac_mode$ac_tag in
25661
21636
  :[FHL]*:*);;
25662
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25663
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
21637
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
21638
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
25664
21639
   { (exit 1); exit 1; }; };;
25665
21640
  :[FH]-) ac_tag=-:-;;
25666
21641
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25689
21664
           [\\/$]*) false;;
25690
21665
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25691
21666
           esac ||
25692
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25693
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
21667
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
21668
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25694
21669
   { (exit 1); exit 1; }; };;
25695
21670
      esac
25696
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
21671
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
21672
      ac_file_inputs="$ac_file_inputs '$ac_f'"
25697
21673
    done
25698
21674
 
25699
21675
    # Let's still pretend it is `configure' which instantiates (i.e., don't
25700
21676
    # use $as_me), people would be surprised to read:
25701
21677
    #    /* config.h.  Generated by config.status.  */
25702
 
    configure_input="Generated from "`IFS=:
25703
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
21678
    configure_input='Generated from '`
 
21679
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
21680
        `' by configure.'
25704
21681
    if test x"$ac_file" != x-; then
25705
21682
      configure_input="$ac_file.  $configure_input"
25706
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
25707
 
echo "$as_me: creating $ac_file" >&6;}
 
21683
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
21684
$as_echo "$as_me: creating $ac_file" >&6;}
25708
21685
    fi
 
21686
    # Neutralize special characters interpreted by sed in replacement strings.
 
21687
    case $configure_input in #(
 
21688
    *\&* | *\|* | *\\* )
 
21689
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
21690
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
21691
    *) ac_sed_conf_input=$configure_input;;
 
21692
    esac
25709
21693
 
25710
21694
    case $ac_tag in
25711
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
21695
    *:-:* | *:-) cat >"$tmp/stdin" \
 
21696
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
21697
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
21698
   { (exit 1); exit 1; }; } ;;
25712
21699
    esac
25713
21700
    ;;
25714
21701
  esac
25718
21705
         X"$ac_file" : 'X\(//\)[^/]' \| \
25719
21706
         X"$ac_file" : 'X\(//\)$' \| \
25720
21707
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25721
 
echo X"$ac_file" |
 
21708
$as_echo X"$ac_file" |
25722
21709
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25723
21710
            s//\1/
25724
21711
            q
25744
21731
    as_dirs=
25745
21732
    while :; do
25746
21733
      case $as_dir in #(
25747
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
21734
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25748
21735
      *) as_qdir=$as_dir;;
25749
21736
      esac
25750
21737
      as_dirs="'$as_qdir' $as_dirs"
25753
21740
         X"$as_dir" : 'X\(//\)[^/]' \| \
25754
21741
         X"$as_dir" : 'X\(//\)$' \| \
25755
21742
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25756
 
echo X"$as_dir" |
 
21743
$as_echo X"$as_dir" |
25757
21744
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25758
21745
            s//\1/
25759
21746
            q
25774
21761
      test -d "$as_dir" && break
25775
21762
    done
25776
21763
    test -z "$as_dirs" || eval "mkdir $as_dirs"
25777
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25778
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
21764
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
21765
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
25779
21766
   { (exit 1); exit 1; }; }; }
25780
21767
  ac_builddir=.
25781
21768
 
25782
21769
case "$ac_dir" in
25783
21770
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25784
21771
*)
25785
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
21772
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
25786
21773
  # A ".." for each directory in $ac_dir_suffix.
25787
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
21774
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25788
21775
  case $ac_top_builddir_sub in
25789
21776
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25790
21777
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25829
21816
  esac
25830
21817
_ACEOF
25831
21818
 
25832
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
21819
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25833
21820
# If the template does not know about datarootdir, expand it.
25834
21821
# FIXME: This hack should be removed a few years after 2.60.
25835
21822
ac_datarootdir_hack=; ac_datarootdir_seen=
25836
21823
 
25837
 
case `sed -n '/datarootdir/ {
 
21824
ac_sed_dataroot='
 
21825
/datarootdir/ {
25838
21826
  p
25839
21827
  q
25840
21828
}
25843
21831
/@infodir@/p
25844
21832
/@localedir@/p
25845
21833
/@mandir@/p
25846
 
' $ac_file_inputs` in
 
21834
'
 
21835
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25847
21836
*datarootdir*) ac_datarootdir_seen=yes;;
25848
21837
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25849
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25850
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
21838
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
21839
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25851
21840
_ACEOF
25852
 
cat >>$CONFIG_STATUS <<_ACEOF
 
21841
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25853
21842
  ac_datarootdir_hack='
25854
21843
  s&@datadir@&$datadir&g
25855
21844
  s&@docdir@&$docdir&g
25863
21852
# Neutralize VPATH when `$srcdir' = `.'.
25864
21853
# Shell code in configure.ac might set extrasub.
25865
21854
# FIXME: do we really want to maintain this feature?
25866
 
cat >>$CONFIG_STATUS <<_ACEOF
25867
 
  sed "$ac_vpsub
 
21855
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
21856
ac_sed_extra="$ac_vpsub
25868
21857
$extrasub
25869
21858
_ACEOF
25870
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
21859
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25871
21860
:t
25872
21861
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25873
 
s&@configure_input@&$configure_input&;t t
 
21862
s|@configure_input@|$ac_sed_conf_input|;t t
25874
21863
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
21864
s&@top_build_prefix@&$ac_top_build_prefix&;t t
25875
21865
s&@srcdir@&$ac_srcdir&;t t
25876
21866
s&@abs_srcdir@&$ac_abs_srcdir&;t t
25877
21867
s&@top_srcdir@&$ac_top_srcdir&;t t
25882
21872
s&@INSTALL@&$ac_INSTALL&;t t
25883
21873
s&@MKDIR_P@&$ac_MKDIR_P&;t t
25884
21874
$ac_datarootdir_hack
25885
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
21875
"
 
21876
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
21877
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
21878
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
21879
   { (exit 1); exit 1; }; }
25886
21880
 
25887
21881
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25888
21882
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25889
21883
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25890
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
21884
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25891
21885
which seems to be undefined.  Please make sure it is defined." >&5
25892
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
21886
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25893
21887
which seems to be undefined.  Please make sure it is defined." >&2;}
25894
21888
 
25895
21889
  rm -f "$tmp/stdin"
25896
21890
  case $ac_file in
25897
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
25898
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25899
 
  esac
 
21891
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
21892
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
21893
  esac \
 
21894
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
21895
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
21896
   { (exit 1); exit 1; }; }
25900
21897
 ;;
25901
21898
  :H)
25902
21899
  #
25903
21900
  # CONFIG_HEADER
25904
21901
  #
25905
 
_ACEOF
25906
 
 
25907
 
# Transform confdefs.h into a sed script `conftest.defines', that
25908
 
# substitutes the proper values into config.h.in to produce config.h.
25909
 
rm -f conftest.defines conftest.tail
25910
 
# First, append a space to every undef/define line, to ease matching.
25911
 
echo 's/$/ /' >conftest.defines
25912
 
# Then, protect against being on the right side of a sed subst, or in
25913
 
# an unquoted here document, in config.status.  If some macros were
25914
 
# called several times there might be several #defines for the same
25915
 
# symbol, which is useless.  But do not sort them, since the last
25916
 
# AC_DEFINE must be honored.
25917
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25918
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25919
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
25920
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
25921
 
# just an empty string.
25922
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
25923
 
ac_dB='\\)[      (].*,\\1define\\2'
25924
 
ac_dC=' '
25925
 
ac_dD=' ,'
25926
 
 
25927
 
uniq confdefs.h |
25928
 
  sed -n '
25929
 
        t rset
25930
 
        :rset
25931
 
        s/^[     ]*#[    ]*define[       ][      ]*//
25932
 
        t ok
25933
 
        d
25934
 
        :ok
25935
 
        s/[\\&,]/\\&/g
25936
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25937
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25938
 
  ' >>conftest.defines
25939
 
 
25940
 
# Remove the space that was appended to ease matching.
25941
 
# Then replace #undef with comments.  This is necessary, for
25942
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
25943
 
# on some systems where configure will not decide to define it.
25944
 
# (The regexp can be short, since the line contains either #define or #undef.)
25945
 
echo 's/ $//
25946
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
25947
 
 
25948
 
# Break up conftest.defines:
25949
 
ac_max_sed_lines=50
25950
 
 
25951
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25952
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25953
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25954
 
# et cetera.
25955
 
ac_in='$ac_file_inputs'
25956
 
ac_out='"$tmp/out1"'
25957
 
ac_nxt='"$tmp/out2"'
25958
 
 
25959
 
while :
25960
 
do
25961
 
  # Write a here document:
25962
 
    cat >>$CONFIG_STATUS <<_ACEOF
25963
 
    # First, check the format of the line:
25964
 
    cat >"\$tmp/defines.sed" <<\\CEOF
25965
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
25966
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
25967
 
b
25968
 
:def
25969
 
_ACEOF
25970
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25971
 
  echo 'CEOF
25972
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25973
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25974
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25975
 
  grep . conftest.tail >/dev/null || break
25976
 
  rm -f conftest.defines
25977
 
  mv conftest.tail conftest.defines
25978
 
done
25979
 
rm -f conftest.defines conftest.tail
25980
 
 
25981
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
25982
 
cat >>$CONFIG_STATUS <<\_ACEOF
25983
21902
  if test x"$ac_file" != x-; then
25984
 
    echo "/* $configure_input  */" >"$tmp/config.h"
25985
 
    cat "$ac_result" >>"$tmp/config.h"
25986
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25987
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25988
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
21903
    {
 
21904
      $as_echo "/* $configure_input  */" \
 
21905
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
21906
    } >"$tmp/config.h" \
 
21907
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
21908
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
21909
   { (exit 1); exit 1; }; }
 
21910
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
21911
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
21912
$as_echo "$as_me: $ac_file is unchanged" >&6;}
25989
21913
    else
25990
 
      rm -f $ac_file
25991
 
      mv "$tmp/config.h" $ac_file
 
21914
      rm -f "$ac_file"
 
21915
      mv "$tmp/config.h" "$ac_file" \
 
21916
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
21917
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
21918
   { (exit 1); exit 1; }; }
25992
21919
    fi
25993
21920
  else
25994
 
    echo "/* $configure_input  */"
25995
 
    cat "$ac_result"
 
21921
    $as_echo "/* $configure_input  */" \
 
21922
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
21923
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
21924
$as_echo "$as_me: error: could not create -" >&2;}
 
21925
   { (exit 1); exit 1; }; }
25996
21926
  fi
25997
 
  rm -f "$tmp/out12"
25998
 
# Compute $ac_file's index in $config_headers.
25999
 
_am_arg=$ac_file
 
21927
# Compute "$ac_file"'s index in $config_headers.
 
21928
_am_arg="$ac_file"
26000
21929
_am_stamp_count=1
26001
21930
for _am_header in $config_headers :; do
26002
21931
  case $_am_header in
26011
21940
         X"$_am_arg" : 'X\(//\)[^/]' \| \
26012
21941
         X"$_am_arg" : 'X\(//\)$' \| \
26013
21942
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26014
 
echo X"$_am_arg" |
 
21943
$as_echo X"$_am_arg" |
26015
21944
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26016
21945
            s//\1/
26017
21946
            q
26031
21960
          s/.*/./; q'`/stamp-h$_am_stamp_count
26032
21961
 ;;
26033
21962
 
26034
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
26035
 
echo "$as_me: executing $ac_file commands" >&6;}
 
21963
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
21964
$as_echo "$as_me: executing $ac_file commands" >&6;}
26036
21965
 ;;
26037
21966
  esac
26038
21967
 
26039
21968
 
26040
21969
  case $ac_file$ac_mode in
26041
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
26042
 
  # Strip MF so we end up with the name of the file.
26043
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
26044
 
  # Check whether this is an Automake generated Makefile or not.
26045
 
  # We used to match only the files named `Makefile.in', but
26046
 
  # some people rename them; so instead we look at the file content.
26047
 
  # Grep'ing the first line is not enough: some people post-process
26048
 
  # each Makefile.in and add a new line on top of each file to say so.
26049
 
  # Grep'ing the whole file is not good either: AIX grep has a line
26050
 
  # limit of 2048, but all sed's we know have understand at least 4000.
26051
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
26052
 
    dirpart=`$as_dirname -- "$mf" ||
 
21970
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
21971
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
21972
  # are listed without --file.  Let's play safe and only enable the eval
 
21973
  # if we detect the quoting.
 
21974
  case $CONFIG_FILES in
 
21975
  *\'*) eval set x "$CONFIG_FILES" ;;
 
21976
  *)   set x $CONFIG_FILES ;;
 
21977
  esac
 
21978
  shift
 
21979
  for mf
 
21980
  do
 
21981
    # Strip MF so we end up with the name of the file.
 
21982
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
21983
    # Check whether this is an Automake generated Makefile or not.
 
21984
    # We used to match only the files named `Makefile.in', but
 
21985
    # some people rename them; so instead we look at the file content.
 
21986
    # Grep'ing the first line is not enough: some people post-process
 
21987
    # each Makefile.in and add a new line on top of each file to say so.
 
21988
    # Grep'ing the whole file is not good either: AIX grep has a line
 
21989
    # limit of 2048, but all sed's we know have understand at least 4000.
 
21990
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
21991
      dirpart=`$as_dirname -- "$mf" ||
26053
21992
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26054
21993
         X"$mf" : 'X\(//\)[^/]' \| \
26055
21994
         X"$mf" : 'X\(//\)$' \| \
26056
21995
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26057
 
echo X"$mf" |
 
21996
$as_echo X"$mf" |
26058
21997
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26059
21998
            s//\1/
26060
21999
            q
26072
22011
            q
26073
22012
          }
26074
22013
          s/.*/./; q'`
26075
 
  else
26076
 
    continue
26077
 
  fi
26078
 
  # Extract the definition of DEPDIR, am__include, and am__quote
26079
 
  # from the Makefile without running `make'.
26080
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26081
 
  test -z "$DEPDIR" && continue
26082
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
26083
 
  test -z "am__include" && continue
26084
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26085
 
  # When using ansi2knr, U may be empty or an underscore; expand it
26086
 
  U=`sed -n 's/^U = //p' < "$mf"`
26087
 
  # Find all dependency output files, they are included files with
26088
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
26089
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
26090
 
  # expansion.
26091
 
  for file in `sed -n "
26092
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26093
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26094
 
    # Make sure the directory exists.
26095
 
    test -f "$dirpart/$file" && continue
26096
 
    fdir=`$as_dirname -- "$file" ||
 
22014
    else
 
22015
      continue
 
22016
    fi
 
22017
    # Extract the definition of DEPDIR, am__include, and am__quote
 
22018
    # from the Makefile without running `make'.
 
22019
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
22020
    test -z "$DEPDIR" && continue
 
22021
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
22022
    test -z "am__include" && continue
 
22023
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
22024
    # When using ansi2knr, U may be empty or an underscore; expand it
 
22025
    U=`sed -n 's/^U = //p' < "$mf"`
 
22026
    # Find all dependency output files, they are included files with
 
22027
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
22028
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
22029
    # expansion.
 
22030
    for file in `sed -n "
 
22031
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
22032
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
22033
      # Make sure the directory exists.
 
22034
      test -f "$dirpart/$file" && continue
 
22035
      fdir=`$as_dirname -- "$file" ||
26097
22036
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26098
22037
         X"$file" : 'X\(//\)[^/]' \| \
26099
22038
         X"$file" : 'X\(//\)$' \| \
26100
22039
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26101
 
echo X"$file" |
 
22040
$as_echo X"$file" |
26102
22041
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26103
22042
            s//\1/
26104
22043
            q
26116
22055
            q
26117
22056
          }
26118
22057
          s/.*/./; q'`
26119
 
    { as_dir=$dirpart/$fdir
 
22058
      { as_dir=$dirpart/$fdir
26120
22059
  case $as_dir in #(
26121
22060
  -*) as_dir=./$as_dir;;
26122
22061
  esac
26124
22063
    as_dirs=
26125
22064
    while :; do
26126
22065
      case $as_dir in #(
26127
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
22066
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26128
22067
      *) as_qdir=$as_dir;;
26129
22068
      esac
26130
22069
      as_dirs="'$as_qdir' $as_dirs"
26133
22072
         X"$as_dir" : 'X\(//\)[^/]' \| \
26134
22073
         X"$as_dir" : 'X\(//\)$' \| \
26135
22074
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26136
 
echo X"$as_dir" |
 
22075
$as_echo X"$as_dir" |
26137
22076
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26138
22077
            s//\1/
26139
22078
            q
26154
22093
      test -d "$as_dir" && break
26155
22094
    done
26156
22095
    test -z "$as_dirs" || eval "mkdir $as_dirs"
26157
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26158
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
22096
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
22097
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
26159
22098
   { (exit 1); exit 1; }; }; }
26160
 
    # echo "creating $dirpart/$file"
26161
 
    echo '# dummy' > "$dirpart/$file"
 
22099
      # echo "creating $dirpart/$file"
 
22100
      echo '# dummy' > "$dirpart/$file"
 
22101
    done
26162
22102
  done
26163
 
done
 
22103
}
 
22104
 ;;
 
22105
    "libtool":C)
 
22106
 
 
22107
    # See if we are running on zsh, and set the options which allow our
 
22108
    # commands through without removal of \ escapes.
 
22109
    if test -n "${ZSH_VERSION+set}" ; then
 
22110
      setopt NO_GLOB_SUBST
 
22111
    fi
 
22112
 
 
22113
    cfgfile="${ofile}T"
 
22114
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
22115
    $RM "$cfgfile"
 
22116
 
 
22117
    cat <<_LT_EOF >> "$cfgfile"
 
22118
#! $SHELL
 
22119
 
 
22120
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
22121
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
22122
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
22123
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
22124
#
 
22125
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
22126
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
22127
#   Written by Gordon Matzigkeit, 1996
 
22128
#
 
22129
#   This file is part of GNU Libtool.
 
22130
#
 
22131
# GNU Libtool is free software; you can redistribute it and/or
 
22132
# modify it under the terms of the GNU General Public License as
 
22133
# published by the Free Software Foundation; either version 2 of
 
22134
# the License, or (at your option) any later version.
 
22135
#
 
22136
# As a special exception to the GNU General Public License,
 
22137
# if you distribute this file as part of a program or library that
 
22138
# is built using GNU Libtool, you may include this file under the
 
22139
# same distribution terms that you use for the rest of that program.
 
22140
#
 
22141
# GNU Libtool is distributed in the hope that it will be useful,
 
22142
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
22143
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
22144
# GNU General Public License for more details.
 
22145
#
 
22146
# You should have received a copy of the GNU General Public License
 
22147
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
22148
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
22149
# obtained by writing to the Free Software Foundation, Inc.,
 
22150
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
22151
 
 
22152
 
 
22153
# The names of the tagged configurations supported by this script.
 
22154
available_tags="CXX "
 
22155
 
 
22156
# ### BEGIN LIBTOOL CONFIG
 
22157
 
 
22158
# Whether or not to build shared libraries.
 
22159
build_libtool_libs=$enable_shared
 
22160
 
 
22161
# Which release of libtool.m4 was used?
 
22162
macro_version=$macro_version
 
22163
macro_revision=$macro_revision
 
22164
 
 
22165
# Whether or not to build static libraries.
 
22166
build_old_libs=$enable_static
 
22167
 
 
22168
# What type of objects to build.
 
22169
pic_mode=$pic_mode
 
22170
 
 
22171
# Whether or not to optimize for fast installation.
 
22172
fast_install=$enable_fast_install
 
22173
 
 
22174
# The host system.
 
22175
host_alias=$host_alias
 
22176
host=$host
 
22177
host_os=$host_os
 
22178
 
 
22179
# The build system.
 
22180
build_alias=$build_alias
 
22181
build=$build
 
22182
build_os=$build_os
 
22183
 
 
22184
# A sed program that does not truncate output.
 
22185
SED=$lt_SED
 
22186
 
 
22187
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
22188
Xsed="\$SED -e 1s/^X//"
 
22189
 
 
22190
# A grep program that handles long lines.
 
22191
GREP=$lt_GREP
 
22192
 
 
22193
# An ERE matcher.
 
22194
EGREP=$lt_EGREP
 
22195
 
 
22196
# A literal string matcher.
 
22197
FGREP=$lt_FGREP
 
22198
 
 
22199
# A BSD- or MS-compatible name lister.
 
22200
NM=$lt_NM
 
22201
 
 
22202
# Whether we need soft or hard links.
 
22203
LN_S=$lt_LN_S
 
22204
 
 
22205
# What is the maximum length of a command?
 
22206
max_cmd_len=$max_cmd_len
 
22207
 
 
22208
# Object file suffix (normally "o").
 
22209
objext=$ac_objext
 
22210
 
 
22211
# Executable file suffix (normally "").
 
22212
exeext=$exeext
 
22213
 
 
22214
# whether the shell understands "unset".
 
22215
lt_unset=$lt_unset
 
22216
 
 
22217
# turn spaces into newlines.
 
22218
SP2NL=$lt_lt_SP2NL
 
22219
 
 
22220
# turn newlines into spaces.
 
22221
NL2SP=$lt_lt_NL2SP
 
22222
 
 
22223
# How to create reloadable object files.
 
22224
reload_flag=$lt_reload_flag
 
22225
reload_cmds=$lt_reload_cmds
 
22226
 
 
22227
# An object symbol dumper.
 
22228
OBJDUMP=$lt_OBJDUMP
 
22229
 
 
22230
# Method to check whether dependent libraries are shared objects.
 
22231
deplibs_check_method=$lt_deplibs_check_method
 
22232
 
 
22233
# Command to use when deplibs_check_method == "file_magic".
 
22234
file_magic_cmd=$lt_file_magic_cmd
 
22235
 
 
22236
# The archiver.
 
22237
AR=$lt_AR
 
22238
AR_FLAGS=$lt_AR_FLAGS
 
22239
 
 
22240
# A symbol stripping program.
 
22241
STRIP=$lt_STRIP
 
22242
 
 
22243
# Commands used to install an old-style archive.
 
22244
RANLIB=$lt_RANLIB
 
22245
old_postinstall_cmds=$lt_old_postinstall_cmds
 
22246
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
22247
 
 
22248
# A C compiler.
 
22249
LTCC=$lt_CC
 
22250
 
 
22251
# LTCC compiler flags.
 
22252
LTCFLAGS=$lt_CFLAGS
 
22253
 
 
22254
# Take the output of nm and produce a listing of raw symbols and C names.
 
22255
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
22256
 
 
22257
# Transform the output of nm in a proper C declaration.
 
22258
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
22259
 
 
22260
# Transform the output of nm in a C name address pair.
 
22261
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
22262
 
 
22263
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
22264
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
22265
 
 
22266
# The name of the directory that contains temporary libtool files.
 
22267
objdir=$objdir
 
22268
 
 
22269
# Shell to use when invoking shell scripts.
 
22270
SHELL=$lt_SHELL
 
22271
 
 
22272
# An echo program that does not interpret backslashes.
 
22273
ECHO=$lt_ECHO
 
22274
 
 
22275
# Used to examine libraries when file_magic_cmd begins with "file".
 
22276
MAGIC_CMD=$MAGIC_CMD
 
22277
 
 
22278
# Must we lock files when doing compilation?
 
22279
need_locks=$lt_need_locks
 
22280
 
 
22281
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
22282
DSYMUTIL=$lt_DSYMUTIL
 
22283
 
 
22284
# Tool to change global to local symbols on Mac OS X.
 
22285
NMEDIT=$lt_NMEDIT
 
22286
 
 
22287
# Tool to manipulate fat objects and archives on Mac OS X.
 
22288
LIPO=$lt_LIPO
 
22289
 
 
22290
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
22291
OTOOL=$lt_OTOOL
 
22292
 
 
22293
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
22294
OTOOL64=$lt_OTOOL64
 
22295
 
 
22296
# Old archive suffix (normally "a").
 
22297
libext=$libext
 
22298
 
 
22299
# Shared library suffix (normally ".so").
 
22300
shrext_cmds=$lt_shrext_cmds
 
22301
 
 
22302
# The commands to extract the exported symbol list from a shared archive.
 
22303
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
22304
 
 
22305
# Variables whose values should be saved in libtool wrapper scripts and
 
22306
# restored at link time.
 
22307
variables_saved_for_relink=$lt_variables_saved_for_relink
 
22308
 
 
22309
# Do we need the "lib" prefix for modules?
 
22310
need_lib_prefix=$need_lib_prefix
 
22311
 
 
22312
# Do we need a version for libraries?
 
22313
need_version=$need_version
 
22314
 
 
22315
# Library versioning type.
 
22316
version_type=$version_type
 
22317
 
 
22318
# Shared library runtime path variable.
 
22319
runpath_var=$runpath_var
 
22320
 
 
22321
# Shared library path variable.
 
22322
shlibpath_var=$shlibpath_var
 
22323
 
 
22324
# Is shlibpath searched before the hard-coded library search path?
 
22325
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
22326
 
 
22327
# Format of library name prefix.
 
22328
libname_spec=$lt_libname_spec
 
22329
 
 
22330
# List of archive names.  First name is the real one, the rest are links.
 
22331
# The last name is the one that the linker finds with -lNAME
 
22332
library_names_spec=$lt_library_names_spec
 
22333
 
 
22334
# The coded name of the library, if different from the real name.
 
22335
soname_spec=$lt_soname_spec
 
22336
 
 
22337
# Command to use after installation of a shared archive.
 
22338
postinstall_cmds=$lt_postinstall_cmds
 
22339
 
 
22340
# Command to use after uninstallation of a shared archive.
 
22341
postuninstall_cmds=$lt_postuninstall_cmds
 
22342
 
 
22343
# Commands used to finish a libtool library installation in a directory.
 
22344
finish_cmds=$lt_finish_cmds
 
22345
 
 
22346
# As "finish_cmds", except a single script fragment to be evaled but
 
22347
# not shown.
 
22348
finish_eval=$lt_finish_eval
 
22349
 
 
22350
# Whether we should hardcode library paths into libraries.
 
22351
hardcode_into_libs=$hardcode_into_libs
 
22352
 
 
22353
# Compile-time system search path for libraries.
 
22354
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
22355
 
 
22356
# Run-time system search path for libraries.
 
22357
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
22358
 
 
22359
# Whether dlopen is supported.
 
22360
dlopen_support=$enable_dlopen
 
22361
 
 
22362
# Whether dlopen of programs is supported.
 
22363
dlopen_self=$enable_dlopen_self
 
22364
 
 
22365
# Whether dlopen of statically linked programs is supported.
 
22366
dlopen_self_static=$enable_dlopen_self_static
 
22367
 
 
22368
# Commands to strip libraries.
 
22369
old_striplib=$lt_old_striplib
 
22370
striplib=$lt_striplib
 
22371
 
 
22372
 
 
22373
# The linker used to build libraries.
 
22374
LD=$lt_LD
 
22375
 
 
22376
# Commands used to build an old-style archive.
 
22377
old_archive_cmds=$lt_old_archive_cmds
 
22378
 
 
22379
# A language specific compiler.
 
22380
CC=$lt_compiler
 
22381
 
 
22382
# Is the compiler the GNU compiler?
 
22383
with_gcc=$GCC
 
22384
 
 
22385
# Compiler flag to turn off builtin functions.
 
22386
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
22387
 
 
22388
# How to pass a linker flag through the compiler.
 
22389
wl=$lt_lt_prog_compiler_wl
 
22390
 
 
22391
# Additional compiler flags for building library objects.
 
22392
pic_flag=$lt_lt_prog_compiler_pic
 
22393
 
 
22394
# Compiler flag to prevent dynamic linking.
 
22395
link_static_flag=$lt_lt_prog_compiler_static
 
22396
 
 
22397
# Does compiler simultaneously support -c and -o options?
 
22398
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
22399
 
 
22400
# Whether or not to add -lc for building shared libraries.
 
22401
build_libtool_need_lc=$archive_cmds_need_lc
 
22402
 
 
22403
# Whether or not to disallow shared libs when runtime libs are static.
 
22404
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
22405
 
 
22406
# Compiler flag to allow reflexive dlopens.
 
22407
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
22408
 
 
22409
# Compiler flag to generate shared objects directly from archives.
 
22410
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
22411
 
 
22412
# Whether the compiler copes with passing no objects directly.
 
22413
compiler_needs_object=$lt_compiler_needs_object
 
22414
 
 
22415
# Create an old-style archive from a shared archive.
 
22416
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
22417
 
 
22418
# Create a temporary old-style archive to link instead of a shared archive.
 
22419
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
22420
 
 
22421
# Commands used to build a shared archive.
 
22422
archive_cmds=$lt_archive_cmds
 
22423
archive_expsym_cmds=$lt_archive_expsym_cmds
 
22424
 
 
22425
# Commands used to build a loadable module if different from building
 
22426
# a shared archive.
 
22427
module_cmds=$lt_module_cmds
 
22428
module_expsym_cmds=$lt_module_expsym_cmds
 
22429
 
 
22430
# Whether we are building with GNU ld or not.
 
22431
with_gnu_ld=$lt_with_gnu_ld
 
22432
 
 
22433
# Flag that allows shared libraries with undefined symbols to be built.
 
22434
allow_undefined_flag=$lt_allow_undefined_flag
 
22435
 
 
22436
# Flag that enforces no undefined symbols.
 
22437
no_undefined_flag=$lt_no_undefined_flag
 
22438
 
 
22439
# Flag to hardcode \$libdir into a binary during linking.
 
22440
# This must work even if \$libdir does not exist
 
22441
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
22442
 
 
22443
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
22444
# during linking.  This must work even if \$libdir does not exist.
 
22445
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
22446
 
 
22447
# Whether we need a single "-rpath" flag with a separated argument.
 
22448
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
22449
 
 
22450
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
22451
# DIR into the resulting binary.
 
22452
hardcode_direct=$hardcode_direct
 
22453
 
 
22454
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
22455
# DIR into the resulting binary and the resulting library dependency is
 
22456
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
22457
# library is relocated.
 
22458
hardcode_direct_absolute=$hardcode_direct_absolute
 
22459
 
 
22460
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
22461
# into the resulting binary.
 
22462
hardcode_minus_L=$hardcode_minus_L
 
22463
 
 
22464
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
22465
# into the resulting binary.
 
22466
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
22467
 
 
22468
# Set to "yes" if building a shared library automatically hardcodes DIR
 
22469
# into the library and all subsequent libraries and executables linked
 
22470
# against it.
 
22471
hardcode_automatic=$hardcode_automatic
 
22472
 
 
22473
# Set to yes if linker adds runtime paths of dependent libraries
 
22474
# to runtime path list.
 
22475
inherit_rpath=$inherit_rpath
 
22476
 
 
22477
# Whether libtool must link a program against all its dependency libraries.
 
22478
link_all_deplibs=$link_all_deplibs
 
22479
 
 
22480
# Fix the shell variable \$srcfile for the compiler.
 
22481
fix_srcfile_path=$lt_fix_srcfile_path
 
22482
 
 
22483
# Set to "yes" if exported symbols are required.
 
22484
always_export_symbols=$always_export_symbols
 
22485
 
 
22486
# The commands to list exported symbols.
 
22487
export_symbols_cmds=$lt_export_symbols_cmds
 
22488
 
 
22489
# Symbols that should not be listed in the preloaded symbols.
 
22490
exclude_expsyms=$lt_exclude_expsyms
 
22491
 
 
22492
# Symbols that must always be exported.
 
22493
include_expsyms=$lt_include_expsyms
 
22494
 
 
22495
# Commands necessary for linking programs (against libraries) with templates.
 
22496
prelink_cmds=$lt_prelink_cmds
 
22497
 
 
22498
# Specify filename containing input files.
 
22499
file_list_spec=$lt_file_list_spec
 
22500
 
 
22501
# How to hardcode a shared library path into an executable.
 
22502
hardcode_action=$hardcode_action
 
22503
 
 
22504
# The directories searched by this compiler when creating a shared library.
 
22505
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
22506
 
 
22507
# Dependencies to place before and after the objects being linked to
 
22508
# create a shared library.
 
22509
predep_objects=$lt_predep_objects
 
22510
postdep_objects=$lt_postdep_objects
 
22511
predeps=$lt_predeps
 
22512
postdeps=$lt_postdeps
 
22513
 
 
22514
# The library search path used internally by the compiler when linking
 
22515
# a shared library.
 
22516
compiler_lib_search_path=$lt_compiler_lib_search_path
 
22517
 
 
22518
# ### END LIBTOOL CONFIG
 
22519
 
 
22520
_LT_EOF
 
22521
 
 
22522
  case $host_os in
 
22523
  aix3*)
 
22524
    cat <<\_LT_EOF >> "$cfgfile"
 
22525
# AIX sometimes has problems with the GCC collect2 program.  For some
 
22526
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
22527
# vanish in a puff of smoke.
 
22528
if test "X${COLLECT_NAMES+set}" != Xset; then
 
22529
  COLLECT_NAMES=
 
22530
  export COLLECT_NAMES
 
22531
fi
 
22532
_LT_EOF
 
22533
    ;;
 
22534
  esac
 
22535
 
 
22536
 
 
22537
ltmain="$ac_aux_dir/ltmain.sh"
 
22538
 
 
22539
 
 
22540
  # We use sed instead of cat because bash on DJGPP gets confused if
 
22541
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
22542
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
22543
  # is reportedly fixed, but why not run on old versions too?
 
22544
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
22545
    || (rm -f "$cfgfile"; exit 1)
 
22546
 
 
22547
  case $xsi_shell in
 
22548
  yes)
 
22549
    cat << \_LT_EOF >> "$cfgfile"
 
22550
 
 
22551
# func_dirname file append nondir_replacement
 
22552
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
22553
# otherwise set result to NONDIR_REPLACEMENT.
 
22554
func_dirname ()
 
22555
{
 
22556
  case ${1} in
 
22557
    */*) func_dirname_result="${1%/*}${2}" ;;
 
22558
    *  ) func_dirname_result="${3}" ;;
 
22559
  esac
 
22560
}
 
22561
 
 
22562
# func_basename file
 
22563
func_basename ()
 
22564
{
 
22565
  func_basename_result="${1##*/}"
 
22566
}
 
22567
 
 
22568
# func_dirname_and_basename file append nondir_replacement
 
22569
# perform func_basename and func_dirname in a single function
 
22570
# call:
 
22571
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
22572
#             add APPEND to the result, otherwise set result
 
22573
#             to NONDIR_REPLACEMENT.
 
22574
#             value returned in "$func_dirname_result"
 
22575
#   basename: Compute filename of FILE.
 
22576
#             value retuned in "$func_basename_result"
 
22577
# Implementation must be kept synchronized with func_dirname
 
22578
# and func_basename. For efficiency, we do not delegate to
 
22579
# those functions but instead duplicate the functionality here.
 
22580
func_dirname_and_basename ()
 
22581
{
 
22582
  case ${1} in
 
22583
    */*) func_dirname_result="${1%/*}${2}" ;;
 
22584
    *  ) func_dirname_result="${3}" ;;
 
22585
  esac
 
22586
  func_basename_result="${1##*/}"
 
22587
}
 
22588
 
 
22589
# func_stripname prefix suffix name
 
22590
# strip PREFIX and SUFFIX off of NAME.
 
22591
# PREFIX and SUFFIX must not contain globbing or regex special
 
22592
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
22593
# dot (in which case that matches only a dot).
 
22594
func_stripname ()
 
22595
{
 
22596
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
22597
  # positional parameters, so assign one to ordinary parameter first.
 
22598
  func_stripname_result=${3}
 
22599
  func_stripname_result=${func_stripname_result#"${1}"}
 
22600
  func_stripname_result=${func_stripname_result%"${2}"}
 
22601
}
 
22602
 
 
22603
# func_opt_split
 
22604
func_opt_split ()
 
22605
{
 
22606
  func_opt_split_opt=${1%%=*}
 
22607
  func_opt_split_arg=${1#*=}
 
22608
}
 
22609
 
 
22610
# func_lo2o object
 
22611
func_lo2o ()
 
22612
{
 
22613
  case ${1} in
 
22614
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
22615
    *)    func_lo2o_result=${1} ;;
 
22616
  esac
 
22617
}
 
22618
 
 
22619
# func_xform libobj-or-source
 
22620
func_xform ()
 
22621
{
 
22622
  func_xform_result=${1%.*}.lo
 
22623
}
 
22624
 
 
22625
# func_arith arithmetic-term...
 
22626
func_arith ()
 
22627
{
 
22628
  func_arith_result=$(( $* ))
 
22629
}
 
22630
 
 
22631
# func_len string
 
22632
# STRING may not start with a hyphen.
 
22633
func_len ()
 
22634
{
 
22635
  func_len_result=${#1}
 
22636
}
 
22637
 
 
22638
_LT_EOF
 
22639
    ;;
 
22640
  *) # Bourne compatible functions.
 
22641
    cat << \_LT_EOF >> "$cfgfile"
 
22642
 
 
22643
# func_dirname file append nondir_replacement
 
22644
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
22645
# otherwise set result to NONDIR_REPLACEMENT.
 
22646
func_dirname ()
 
22647
{
 
22648
  # Extract subdirectory from the argument.
 
22649
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
22650
  if test "X$func_dirname_result" = "X${1}"; then
 
22651
    func_dirname_result="${3}"
 
22652
  else
 
22653
    func_dirname_result="$func_dirname_result${2}"
 
22654
  fi
 
22655
}
 
22656
 
 
22657
# func_basename file
 
22658
func_basename ()
 
22659
{
 
22660
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
22661
}
 
22662
 
 
22663
 
 
22664
# func_stripname prefix suffix name
 
22665
# strip PREFIX and SUFFIX off of NAME.
 
22666
# PREFIX and SUFFIX must not contain globbing or regex special
 
22667
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
22668
# dot (in which case that matches only a dot).
 
22669
# func_strip_suffix prefix name
 
22670
func_stripname ()
 
22671
{
 
22672
  case ${2} in
 
22673
    .*) func_stripname_result=`$ECHO "X${3}" \
 
22674
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
22675
    *)  func_stripname_result=`$ECHO "X${3}" \
 
22676
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
22677
  esac
 
22678
}
 
22679
 
 
22680
# sed scripts:
 
22681
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
22682
my_sed_long_arg='1s/^-[^=]*=//'
 
22683
 
 
22684
# func_opt_split
 
22685
func_opt_split ()
 
22686
{
 
22687
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
22688
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
22689
}
 
22690
 
 
22691
# func_lo2o object
 
22692
func_lo2o ()
 
22693
{
 
22694
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
22695
}
 
22696
 
 
22697
# func_xform libobj-or-source
 
22698
func_xform ()
 
22699
{
 
22700
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
22701
}
 
22702
 
 
22703
# func_arith arithmetic-term...
 
22704
func_arith ()
 
22705
{
 
22706
  func_arith_result=`expr "$@"`
 
22707
}
 
22708
 
 
22709
# func_len string
 
22710
# STRING may not start with a hyphen.
 
22711
func_len ()
 
22712
{
 
22713
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
22714
}
 
22715
 
 
22716
_LT_EOF
 
22717
esac
 
22718
 
 
22719
case $lt_shell_append in
 
22720
  yes)
 
22721
    cat << \_LT_EOF >> "$cfgfile"
 
22722
 
 
22723
# func_append var value
 
22724
# Append VALUE to the end of shell variable VAR.
 
22725
func_append ()
 
22726
{
 
22727
  eval "$1+=\$2"
 
22728
}
 
22729
_LT_EOF
 
22730
    ;;
 
22731
  *)
 
22732
    cat << \_LT_EOF >> "$cfgfile"
 
22733
 
 
22734
# func_append var value
 
22735
# Append VALUE to the end of shell variable VAR.
 
22736
func_append ()
 
22737
{
 
22738
  eval "$1=\$$1\$2"
 
22739
}
 
22740
 
 
22741
_LT_EOF
 
22742
    ;;
 
22743
  esac
 
22744
 
 
22745
 
 
22746
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
22747
    || (rm -f "$cfgfile"; exit 1)
 
22748
 
 
22749
  mv -f "$cfgfile" "$ofile" ||
 
22750
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
22751
  chmod +x "$ofile"
 
22752
 
 
22753
 
 
22754
    cat <<_LT_EOF >> "$ofile"
 
22755
 
 
22756
# ### BEGIN LIBTOOL TAG CONFIG: CXX
 
22757
 
 
22758
# The linker used to build libraries.
 
22759
LD=$lt_LD_CXX
 
22760
 
 
22761
# Commands used to build an old-style archive.
 
22762
old_archive_cmds=$lt_old_archive_cmds_CXX
 
22763
 
 
22764
# A language specific compiler.
 
22765
CC=$lt_compiler_CXX
 
22766
 
 
22767
# Is the compiler the GNU compiler?
 
22768
with_gcc=$GCC_CXX
 
22769
 
 
22770
# Compiler flag to turn off builtin functions.
 
22771
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
22772
 
 
22773
# How to pass a linker flag through the compiler.
 
22774
wl=$lt_lt_prog_compiler_wl_CXX
 
22775
 
 
22776
# Additional compiler flags for building library objects.
 
22777
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
22778
 
 
22779
# Compiler flag to prevent dynamic linking.
 
22780
link_static_flag=$lt_lt_prog_compiler_static_CXX
 
22781
 
 
22782
# Does compiler simultaneously support -c and -o options?
 
22783
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 
22784
 
 
22785
# Whether or not to add -lc for building shared libraries.
 
22786
build_libtool_need_lc=$archive_cmds_need_lc_CXX
 
22787
 
 
22788
# Whether or not to disallow shared libs when runtime libs are static.
 
22789
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 
22790
 
 
22791
# Compiler flag to allow reflexive dlopens.
 
22792
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 
22793
 
 
22794
# Compiler flag to generate shared objects directly from archives.
 
22795
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 
22796
 
 
22797
# Whether the compiler copes with passing no objects directly.
 
22798
compiler_needs_object=$lt_compiler_needs_object_CXX
 
22799
 
 
22800
# Create an old-style archive from a shared archive.
 
22801
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 
22802
 
 
22803
# Create a temporary old-style archive to link instead of a shared archive.
 
22804
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 
22805
 
 
22806
# Commands used to build a shared archive.
 
22807
archive_cmds=$lt_archive_cmds_CXX
 
22808
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 
22809
 
 
22810
# Commands used to build a loadable module if different from building
 
22811
# a shared archive.
 
22812
module_cmds=$lt_module_cmds_CXX
 
22813
module_expsym_cmds=$lt_module_expsym_cmds_CXX
 
22814
 
 
22815
# Whether we are building with GNU ld or not.
 
22816
with_gnu_ld=$lt_with_gnu_ld_CXX
 
22817
 
 
22818
# Flag that allows shared libraries with undefined symbols to be built.
 
22819
allow_undefined_flag=$lt_allow_undefined_flag_CXX
 
22820
 
 
22821
# Flag that enforces no undefined symbols.
 
22822
no_undefined_flag=$lt_no_undefined_flag_CXX
 
22823
 
 
22824
# Flag to hardcode \$libdir into a binary during linking.
 
22825
# This must work even if \$libdir does not exist
 
22826
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
22827
 
 
22828
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
22829
# during linking.  This must work even if \$libdir does not exist.
 
22830
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 
22831
 
 
22832
# Whether we need a single "-rpath" flag with a separated argument.
 
22833
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
22834
 
 
22835
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
22836
# DIR into the resulting binary.
 
22837
hardcode_direct=$hardcode_direct_CXX
 
22838
 
 
22839
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
22840
# DIR into the resulting binary and the resulting library dependency is
 
22841
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
22842
# library is relocated.
 
22843
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
 
22844
 
 
22845
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
22846
# into the resulting binary.
 
22847
hardcode_minus_L=$hardcode_minus_L_CXX
 
22848
 
 
22849
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
22850
# into the resulting binary.
 
22851
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 
22852
 
 
22853
# Set to "yes" if building a shared library automatically hardcodes DIR
 
22854
# into the library and all subsequent libraries and executables linked
 
22855
# against it.
 
22856
hardcode_automatic=$hardcode_automatic_CXX
 
22857
 
 
22858
# Set to yes if linker adds runtime paths of dependent libraries
 
22859
# to runtime path list.
 
22860
inherit_rpath=$inherit_rpath_CXX
 
22861
 
 
22862
# Whether libtool must link a program against all its dependency libraries.
 
22863
link_all_deplibs=$link_all_deplibs_CXX
 
22864
 
 
22865
# Fix the shell variable \$srcfile for the compiler.
 
22866
fix_srcfile_path=$lt_fix_srcfile_path_CXX
 
22867
 
 
22868
# Set to "yes" if exported symbols are required.
 
22869
always_export_symbols=$always_export_symbols_CXX
 
22870
 
 
22871
# The commands to list exported symbols.
 
22872
export_symbols_cmds=$lt_export_symbols_cmds_CXX
 
22873
 
 
22874
# Symbols that should not be listed in the preloaded symbols.
 
22875
exclude_expsyms=$lt_exclude_expsyms_CXX
 
22876
 
 
22877
# Symbols that must always be exported.
 
22878
include_expsyms=$lt_include_expsyms_CXX
 
22879
 
 
22880
# Commands necessary for linking programs (against libraries) with templates.
 
22881
prelink_cmds=$lt_prelink_cmds_CXX
 
22882
 
 
22883
# Specify filename containing input files.
 
22884
file_list_spec=$lt_file_list_spec_CXX
 
22885
 
 
22886
# How to hardcode a shared library path into an executable.
 
22887
hardcode_action=$hardcode_action_CXX
 
22888
 
 
22889
# The directories searched by this compiler when creating a shared library.
 
22890
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
22891
 
 
22892
# Dependencies to place before and after the objects being linked to
 
22893
# create a shared library.
 
22894
predep_objects=$lt_predep_objects_CXX
 
22895
postdep_objects=$lt_postdep_objects_CXX
 
22896
predeps=$lt_predeps_CXX
 
22897
postdeps=$lt_postdeps_CXX
 
22898
 
 
22899
# The library search path used internally by the compiler when linking
 
22900
# a shared library.
 
22901
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 
22902
 
 
22903
# ### END LIBTOOL TAG CONFIG: CXX
 
22904
_LT_EOF
 
22905
 
26164
22906
 ;;
26165
22907
    "configitems":C) "${srcdir}/tools/splitconfig" "${srcdir}" ;;
26166
22908
 
26173
22915
chmod +x $CONFIG_STATUS
26174
22916
ac_clean_files=$ac_clean_files_save
26175
22917
 
 
22918
test $ac_write_fail = 0 ||
 
22919
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
22920
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
22921
   { (exit 1); exit 1; }; }
 
22922
 
26176
22923
 
26177
22924
# configure is writing to config.log, and then calls config.status.
26178
22925
# config.status does its own redirection, appending to config.log.
26194
22941
  # would make configure fail if this is the last instruction.
26195
22942
  $ac_cs_success || { (exit 1); exit 1; }
26196
22943
fi
 
22944
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
22945
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
22946
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
22947
fi
26197
22948
 
26198
22949