~ubuntu-branches/ubuntu/vivid/slurm-llnl/vivid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Gennaro Oliva
  • Date: 2009-09-24 23:28:15 UTC
  • mfrom: (1.1.11 upstream) (3.2.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090924232815-enh65jn32q1ebg07
Tags: 2.0.5-1
* New upstream release 
* Changed dependecy from lib-mysqlclient15 to lib-mysqlclient 
* Added Default-Start for runlevel 2 and 4 and $remote_fs requirement in
  init.d scripts (Closes: #541252)
* Postinst checks for wrong runlevels 2 and 4 links
* Upgraded to standard version 3.8.3
* Add lintian overrides for missing slurm-llnl-configurator.html in doc
  base registration
* modified postrm scripts to ignore pkill return value in order to avoid
  postrm failure when no slurm process is running
* Checking for slurmctld.pid before cancelling running and pending
  jobs during package removal 

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.
 
3
# Generated by GNU Autoconf 2.63.
4
4
#
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7
7
# This configure script is free software; the Free Software Foundation
8
8
# gives unlimited permission to copy, distribute and modify it.
9
9
## --------------------- ##
15
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
16
  emulate sh
17
17
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
18
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
19
  # is contrary to our usage.  Disable this feature.
20
20
  alias -g '${1+"$@"}'='"$@"'
21
21
  setopt NO_GLOB_SUBST
37
37
as_cr_digits='0123456789'
38
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
39
 
 
40
as_nl='
 
41
'
 
42
export as_nl
 
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
47
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
48
  as_echo='printf %s\n'
 
49
  as_echo_n='printf %s'
 
50
else
 
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
53
    as_echo_n='/usr/ucb/echo -n'
 
54
  else
 
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
56
    as_echo_n_body='eval
 
57
      arg=$1;
 
58
      case $arg in
 
59
      *"$as_nl"*)
 
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
62
      esac;
 
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
64
    '
 
65
    export as_echo_n_body
 
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
67
  fi
 
68
  export as_echo_body
 
69
  as_echo='sh -c $as_echo_body as_echo'
 
70
fi
 
71
 
40
72
# The user is always right.
41
73
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
 
74
  PATH_SEPARATOR=:
 
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
77
      PATH_SEPARATOR=';'
 
78
  }
51
79
fi
52
80
 
53
81
# Support unset when possible.
63
91
# there to prevent editors from complaining about space-tab.
64
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
93
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
94
IFS=" ""        $as_nl"
69
95
 
70
96
# Find who we are.  Look in the path if we contain no directory separator.
87
113
  as_myself=$0
88
114
fi
89
115
if test ! -f "$as_myself"; then
90
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
116
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
117
  { (exit 1); exit 1; }
92
118
fi
93
119
 
100
126
PS4='+ '
101
127
 
102
128
# NLS nuisances.
103
 
for as_var in \
104
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
 
  LC_TELEPHONE LC_TIME
107
 
do
108
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
 
    eval $as_var=C; export $as_var
110
 
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
 
  fi
113
 
done
 
129
LC_ALL=C
 
130
export LC_ALL
 
131
LANGUAGE=C
 
132
export LANGUAGE
114
133
 
115
134
# Required to use basename.
116
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
132
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
152
         X"$0" : 'X\(//\)$' \| \
134
153
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
 
echo X/"$0" |
 
154
$as_echo X/"$0" |
136
155
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
156
            s//\1/
138
157
            q
158
177
  as_have_required=no
159
178
fi
160
179
 
161
 
  if test $as_have_required = yes &&     (eval ":
 
180
  if test $as_have_required = yes &&     (eval ":
162
181
(as_func_return () {
163
182
  (exit \$1)
164
183
}
240
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
260
  emulate sh
242
261
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
262
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
244
263
  # is contrary to our usage.  Disable this feature.
245
264
  alias -g '${1+"$@"}'='"$@"'
246
265
  setopt NO_GLOB_SUBST
261
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
281
  emulate sh
263
282
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
283
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
284
  # is contrary to our usage.  Disable this feature.
266
285
  alias -g '${1+"$@"}'='"$@"'
267
286
  setopt NO_GLOB_SUBST
341
360
 
342
361
      if test "x$CONFIG_SHELL" != x; then
343
362
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
363
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
364
        done
 
365
        export CONFIG_SHELL
 
366
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
367
fi
349
368
 
350
369
 
413
432
 
414
433
test \$exitcode = 0") || {
415
434
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
 
435
  echo Please tell bug-autoconf@gnu.org about your system,
 
436
  echo including any error possibly output before this message.
 
437
  echo This can help us improve future autoconf versions.
 
438
  echo Configuration will now proceed without shell functions.
419
439
}
420
440
 
421
441
 
451
471
      s/-\n.*//
452
472
    ' >$as_me.lineno &&
453
473
  chmod +x "$as_me.lineno" ||
454
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
474
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
475
   { (exit 1); exit 1; }; }
456
476
 
457
477
  # Don't try to exec as it changes $[0], causing all sort of problems
479
499
*)
480
500
  ECHO_N='-n';;
481
501
esac
482
 
 
483
502
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
503
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
504
  as_expr=expr
492
511
  rm -f conf$$.dir/conf$$.file
493
512
else
494
513
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
 
514
  mkdir conf$$.dir 2>/dev/null
496
515
fi
497
 
echo >conf$$.file
498
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
516
if (echo >conf$$.file) 2>/dev/null; then
 
517
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
518
    as_ln_s='ln -s'
 
519
    # ... but there are two gotchas:
 
520
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
521
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
522
    # In both cases, we have to default to `cp -p'.
 
523
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
524
      as_ln_s='cp -p'
 
525
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
526
    as_ln_s=ln
 
527
  else
505
528
    as_ln_s='cp -p'
506
 
elif ln conf$$.file conf$$ 2>/dev/null; then
507
 
  as_ln_s=ln
 
529
  fi
508
530
else
509
531
  as_ln_s='cp -p'
510
532
fi
529
551
  as_test_x='
530
552
    eval sh -c '\''
531
553
      if test -d "$1"; then
532
 
        test -d "$1/.";
 
554
        test -d "$1/.";
533
555
      else
534
556
        case $1 in
535
 
        -*)set "./$1";;
 
557
        -*)set "./$1";;
536
558
        esac;
537
559
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
560
        ???[sx]*):;;*)false;;esac;fi
553
575
# Check that we are running under the correct shell.
554
576
SHELL=${CONFIG_SHELL-/bin/sh}
555
577
 
556
 
case X$ECHO in
 
578
case X$lt_ECHO in
557
579
X*--fallback-echo)
558
580
  # Remove one level of quotation (which was required for Make).
559
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
581
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
560
582
  ;;
561
583
esac
562
584
 
563
 
echo=${ECHO-echo}
 
585
ECHO=${lt_ECHO-echo}
564
586
if test "X$1" = X--no-reexec; then
565
587
  # Discard the --no-reexec flag, and continue.
566
588
  shift
567
589
elif test "X$1" = X--fallback-echo; then
568
590
  # Avoid inline document here, it may be left over
569
591
  :
570
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571
 
  # Yippee, $echo works!
 
592
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
593
  # Yippee, $ECHO works!
572
594
  :
573
595
else
574
596
  # Restart under the correct shell.
578
600
if test "X$1" = X--fallback-echo; then
579
601
  # used as fallback echo
580
602
  shift
581
 
  cat <<EOF
 
603
  cat <<_LT_EOF
582
604
$*
583
 
EOF
 
605
_LT_EOF
584
606
  exit 0
585
607
fi
586
608
 
588
610
# if CDPATH is set.
589
611
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
590
612
 
591
 
if test -z "$ECHO"; then
592
 
if test "X${echo_test_string+set}" != Xset; then
593
 
# find a string as large as possible, as long as the shell can cope with it
594
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597
 
       echo_test_string=`eval $cmd` &&
598
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
599
 
    then
600
 
      break
601
 
    fi
602
 
  done
603
 
fi
604
 
 
605
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
608
 
  :
609
 
else
610
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
611
 
  # backslashes.  This makes it impossible to quote backslashes using
612
 
  #   echo "$something" | sed 's/\\/\\\\/g'
613
 
  #
614
 
  # So, first we look for a working echo in the user's PATH.
615
 
 
616
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617
 
  for dir in $PATH /usr/ucb; do
 
613
if test -z "$lt_ECHO"; then
 
614
  if test "X${echo_test_string+set}" != Xset; then
 
615
    # find a string as large as possible, as long as the shell can cope with it
 
616
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
617
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
618
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
619
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
620
      then
 
621
        break
 
622
      fi
 
623
    done
 
624
  fi
 
625
 
 
626
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
627
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
628
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
629
    :
 
630
  else
 
631
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
632
    # backslashes.  This makes it impossible to quote backslashes using
 
633
    #   echo "$something" | sed 's/\\/\\\\/g'
 
634
    #
 
635
    # So, first we look for a working echo in the user's PATH.
 
636
 
 
637
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
638
    for dir in $PATH /usr/ucb; do
 
639
      IFS="$lt_save_ifs"
 
640
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
641
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
642
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
643
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
644
        ECHO="$dir/echo"
 
645
        break
 
646
      fi
 
647
    done
618
648
    IFS="$lt_save_ifs"
619
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
623
 
      echo="$dir/echo"
624
 
      break
625
 
    fi
626
 
  done
627
 
  IFS="$lt_save_ifs"
628
649
 
629
 
  if test "X$echo" = Xecho; then
630
 
    # We didn't find a better echo, so look for alternatives.
631
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
634
 
      # This shell has a builtin print -r that does the trick.
635
 
      echo='print -r'
636
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
638
 
      # If we have ksh, try running configure again with it.
639
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640
 
      export ORIGINAL_CONFIG_SHELL
641
 
      CONFIG_SHELL=/bin/ksh
642
 
      export CONFIG_SHELL
643
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
644
 
    else
645
 
      # Try using printf.
646
 
      echo='printf %s\n'
647
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
650
 
        # Cool, printf works
651
 
        :
652
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653
 
           test "X$echo_testing_string" = 'X\t' &&
654
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
656
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657
 
        export CONFIG_SHELL
658
 
        SHELL="$CONFIG_SHELL"
659
 
        export SHELL
660
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
661
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662
 
           test "X$echo_testing_string" = 'X\t' &&
663
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
665
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
650
    if test "X$ECHO" = Xecho; then
 
651
      # We didn't find a better echo, so look for alternatives.
 
652
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
653
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
654
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
655
        # This shell has a builtin print -r that does the trick.
 
656
        ECHO='print -r'
 
657
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
658
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
659
        # If we have ksh, try running configure again with it.
 
660
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
661
        export ORIGINAL_CONFIG_SHELL
 
662
        CONFIG_SHELL=/bin/ksh
 
663
        export CONFIG_SHELL
 
664
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
666
665
      else
667
 
        # maybe with a smaller string...
668
 
        prev=:
669
 
 
670
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
672
 
          then
673
 
            break
 
666
        # Try using printf.
 
667
        ECHO='printf %s\n'
 
668
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
669
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
670
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
671
          # Cool, printf works
 
672
          :
 
673
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
674
             test "X$echo_testing_string" = 'X\t' &&
 
675
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
676
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
677
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
678
          export CONFIG_SHELL
 
679
          SHELL="$CONFIG_SHELL"
 
680
          export SHELL
 
681
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
682
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
683
             test "X$echo_testing_string" = 'X\t' &&
 
684
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
685
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
686
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
687
        else
 
688
          # maybe with a smaller string...
 
689
          prev=:
 
690
 
 
691
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
692
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
693
            then
 
694
              break
 
695
            fi
 
696
            prev="$cmd"
 
697
          done
 
698
 
 
699
          if test "$prev" != 'sed 50q "$0"'; then
 
700
            echo_test_string=`eval $prev`
 
701
            export echo_test_string
 
702
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
703
          else
 
704
            # Oops.  We lost completely, so just stick with echo.
 
705
            ECHO=echo
674
706
          fi
675
 
          prev="$cmd"
676
 
        done
677
 
 
678
 
        if test "$prev" != 'sed 50q "$0"'; then
679
 
          echo_test_string=`eval $prev`
680
 
          export echo_test_string
681
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682
 
        else
683
 
          # Oops.  We lost completely, so just stick with echo.
684
 
          echo=echo
685
 
        fi
 
707
        fi
686
708
      fi
687
709
    fi
688
710
  fi
689
711
fi
690
 
fi
691
712
 
692
713
# Copy echo and quote the copy suitably for passing to libtool from
693
714
# the Makefile, instead of quoting the original, which is used later.
694
 
ECHO=$echo
695
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
715
lt_ECHO=$ECHO
 
716
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
717
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
697
718
fi
698
719
 
699
720
 
700
721
 
701
722
 
702
 
tagnames=${tagnames+${tagnames},}CXX
703
 
 
704
 
tagnames=${tagnames+${tagnames},}F77
705
 
 
706
723
exec 7<&0 </dev/null 6>&1
707
724
 
708
725
# Name of the host.
767
784
# include <unistd.h>
768
785
#endif"
769
786
 
770
 
ac_subst_vars='SHELL
771
 
PATH_SEPARATOR
772
 
PACKAGE_NAME
773
 
PACKAGE_TARNAME
774
 
PACKAGE_VERSION
775
 
PACKAGE_STRING
776
 
PACKAGE_BUGREPORT
777
 
exec_prefix
778
 
prefix
779
 
program_transform_name
780
 
bindir
781
 
sbindir
782
 
libexecdir
783
 
datarootdir
784
 
datadir
785
 
sysconfdir
786
 
sharedstatedir
787
 
localstatedir
788
 
includedir
789
 
oldincludedir
790
 
docdir
791
 
infodir
792
 
htmldir
793
 
dvidir
794
 
pdfdir
795
 
psdir
796
 
libdir
797
 
localedir
798
 
mandir
799
 
DEFS
800
 
ECHO_C
801
 
ECHO_N
802
 
ECHO_T
803
 
LIBS
804
 
build_alias
805
 
host_alias
806
 
target_alias
807
 
build
808
 
build_cpu
809
 
build_vendor
810
 
build_os
811
 
host
812
 
host_cpu
813
 
host_vendor
814
 
host_os
815
 
target
816
 
target_cpu
817
 
target_vendor
818
 
target_os
819
 
PROJECT
820
 
SLURM_API_VERSION
821
 
SLURM_API_CURRENT
822
 
SLURM_API_MAJOR
823
 
SLURM_API_AGE
824
 
SLURM_API_REVISION
825
 
VERSION
826
 
SLURM_MAJOR
827
 
SLURM_MINOR
828
 
SLURM_MICRO
829
 
RELEASE
830
 
SLURM_VERSION
831
 
INSTALL_PROGRAM
832
 
INSTALL_SCRIPT
833
 
INSTALL_DATA
834
 
am__isrc
835
 
CYGPATH_W
836
 
PACKAGE
837
 
ACLOCAL
838
 
AUTOCONF
839
 
AUTOMAKE
840
 
AUTOHEADER
841
 
MAKEINFO
842
 
install_sh
843
 
STRIP
844
 
INSTALL_STRIP_PROGRAM
845
 
mkdir_p
846
 
AWK
847
 
SET_MAKE
848
 
am__leading_dot
849
 
AMTAR
850
 
am__tar
851
 
am__untar
852
 
MAINTAINER_MODE_TRUE
853
 
MAINTAINER_MODE_FALSE
854
 
MAINT
855
 
CC
856
 
CFLAGS
857
 
LDFLAGS
858
 
CPPFLAGS
859
 
ac_ct_CC
860
 
EXEEXT
861
 
OBJEXT
862
 
DEPDIR
863
 
am__include
864
 
am__quote
865
 
AMDEP_TRUE
866
 
AMDEP_FALSE
867
 
AMDEPBACKSLASH
868
 
CCDEPMODE
869
 
am__fastdepCC_TRUE
870
 
am__fastdepCC_FALSE
871
 
BG_INCLUDES
872
 
BLUEGENE_LOADED_TRUE
873
 
BLUEGENE_LOADED_FALSE
874
 
BLUEGENE_LOADED
875
 
CMD_LDFLAGS
876
 
LIB_LDFLAGS
877
 
SO_LDFLAGS
878
 
HAVE_AIX_TRUE
879
 
HAVE_AIX_FALSE
880
 
HAVE_AIX
881
 
PROCTRACKDIR
882
 
CPP
883
 
GREP
884
 
EGREP
885
 
HAVE_AIX_PROCTRACK_TRUE
886
 
HAVE_AIX_PROCTRACK_FALSE
887
 
CXX
888
 
CXXFLAGS
889
 
ac_ct_CXX
890
 
CXXDEPMODE
891
 
am__fastdepCXX_TRUE
892
 
am__fastdepCXX_FALSE
 
787
ac_subst_vars='LTLIBOBJS
 
788
WITH_BLCR_FALSE
 
789
WITH_BLCR_TRUE
 
790
BLCR_LDFLAGS
 
791
BLCR_CPPFLAGS
 
792
BLCR_LIBS
 
793
BLCR_HOME
 
794
UTIL_LIBS
 
795
WITH_AUTHD_FALSE
 
796
WITH_AUTHD_TRUE
 
797
AUTHD_CFLAGS
 
798
AUTHD_LIBS
 
799
WITH_MUNGE_FALSE
 
800
WITH_MUNGE_TRUE
 
801
MUNGE_LDFLAGS
 
802
MUNGE_CPPFLAGS
 
803
MUNGE_LIBS
 
804
HAVE_OPENSSL
 
805
HAVE_OPENSSL_FALSE
 
806
HAVE_OPENSSL_TRUE
 
807
SSL_CPPFLAGS
 
808
SSL_LIBS
 
809
SSL_LDFLAGS
 
810
READLINE_LIBS
 
811
HAVE_SGI_JOB_FALSE
 
812
HAVE_SGI_JOB_TRUE
 
813
HAVE_FEDERATION
 
814
HAVE_FEDERATION_FALSE
 
815
HAVE_FEDERATION_TRUE
 
816
FEDERATION_LDFLAGS
 
817
HAVE_ELAN
 
818
HAVE_ELAN_FALSE
 
819
HAVE_ELAN_TRUE
 
820
ELAN_LIBS
 
821
SLURM_PREFIX
 
822
SLURMDBD_PORT
 
823
SLURMD_PORT
 
824
SLURMCTLD_PORT
 
825
DEBUG_MODULES_FALSE
 
826
DEBUG_MODULES_TRUE
 
827
WITH_PGSQL_FALSE
 
828
WITH_PGSQL_TRUE
 
829
PGSQL_CFLAGS
 
830
PGSQL_LIBS
 
831
HAVEPGCONFIG
 
832
WITH_MYSQL_FALSE
 
833
WITH_MYSQL_TRUE
 
834
MYSQL_CFLAGS
 
835
MYSQL_LIBS
 
836
HAVEMYSQLCONFIG
 
837
HAVE_GTK_FALSE
 
838
HAVE_GTK_TRUE
 
839
GTK2_LIBS
 
840
GTK2_CFLAGS
 
841
HAVEPKGCONFIG
 
842
HAVE_SOME_CURSES
 
843
HAVE_SOME_CURSES_FALSE
 
844
HAVE_SOME_CURSES_TRUE
 
845
NCURSES
 
846
SEMAPHORE_LIBS
 
847
SEMAPHORE_SOURCES
 
848
PTHREAD_CFLAGS
 
849
PTHREAD_LIBS
 
850
PTHREAD_CC
 
851
HAVE_UNSETENV_FALSE
 
852
HAVE_UNSETENV_TRUE
 
853
LIBOBJS
 
854
HAVE_PAM_FALSE
 
855
HAVE_PAM_TRUE
 
856
PAM_LIBS
 
857
HAVE_SCHED_SETAFFINITY_FALSE
 
858
HAVE_SCHED_SETAFFINITY_TRUE
 
859
PLPA_LIBS
 
860
HAVE_NUMA_FALSE
 
861
HAVE_NUMA_TRUE
 
862
NUMA_LIBS
 
863
WITH_GNU_LD_FALSE
 
864
WITH_GNU_LD_TRUE
 
865
CXXCPP
 
866
OTOOL64
 
867
OTOOL
 
868
LIPO
 
869
NMEDIT
 
870
DSYMUTIL
 
871
lt_ECHO
 
872
RANLIB
 
873
AR
 
874
OBJDUMP
 
875
LN_S
 
876
NM
 
877
ac_ct_DUMPBIN
 
878
DUMPBIN
 
879
LD
 
880
FGREP
893
881
SED
894
 
LN_S
895
 
ECHO
896
 
AR
897
 
RANLIB
898
 
DSYMUTIL
899
 
NMEDIT
900
 
CXXCPP
901
 
F77
902
 
FFLAGS
903
 
ac_ct_F77
904
882
LIBTOOL
905
 
WITH_GNU_LD_TRUE
906
 
WITH_GNU_LD_FALSE
907
 
NUMA_LIBS
908
 
HAVE_NUMA_TRUE
909
 
HAVE_NUMA_FALSE
910
 
PLPA_LIBS
911
 
HAVE_SCHED_SETAFFINITY_TRUE
912
 
HAVE_SCHED_SETAFFINITY_FALSE
913
 
PAM_LIBS
914
 
HAVE_PAM_TRUE
915
 
HAVE_PAM_FALSE
916
 
LIBOBJS
917
 
HAVE_UNSETENV_TRUE
918
 
HAVE_UNSETENV_FALSE
919
 
PTHREAD_CC
920
 
PTHREAD_LIBS
921
 
PTHREAD_CFLAGS
922
 
SEMAPHORE_SOURCES
923
 
SEMAPHORE_LIBS
924
 
NCURSES
925
 
HAVE_SOME_CURSES_TRUE
926
 
HAVE_SOME_CURSES_FALSE
927
 
HAVE_SOME_CURSES
928
 
HAVEPKGCONFIG
929
 
GTK2_CFLAGS
930
 
GTK2_LIBS
931
 
HAVE_GTK_TRUE
932
 
HAVE_GTK_FALSE
933
 
HAVEMYSQLCONFIG
934
 
MYSQL_LIBS
935
 
MYSQL_CFLAGS
936
 
HAVEPGCONFIG
937
 
PGSQL_LIBS
938
 
PGSQL_CFLAGS
939
 
DEBUG_MODULES_TRUE
940
 
DEBUG_MODULES_FALSE
941
 
SLURMCTLD_PORT
942
 
SLURMD_PORT
943
 
SLURMDBD_PORT
944
 
SLURM_PREFIX
945
 
ELAN_LIBS
946
 
HAVE_ELAN_TRUE
947
 
HAVE_ELAN_FALSE
948
 
HAVE_ELAN
949
 
FEDERATION_LDFLAGS
950
 
HAVE_FEDERATION_TRUE
951
 
HAVE_FEDERATION_FALSE
952
 
HAVE_FEDERATION
953
 
HAVE_SGI_JOB_TRUE
954
 
HAVE_SGI_JOB_FALSE
955
 
READLINE_LIBS
956
 
SSL_LDFLAGS
957
 
SSL_LIBS
958
 
SSL_CPPFLAGS
959
 
HAVE_OPENSSL_TRUE
960
 
HAVE_OPENSSL_FALSE
961
 
HAVE_OPENSSL
962
 
MUNGE_LIBS
963
 
MUNGE_CPPFLAGS
964
 
MUNGE_LDFLAGS
965
 
WITH_MUNGE_TRUE
966
 
WITH_MUNGE_FALSE
967
 
AUTHD_LIBS
968
 
AUTHD_CFLAGS
969
 
WITH_AUTHD_TRUE
970
 
WITH_AUTHD_FALSE
971
 
UTIL_LIBS
972
 
LTLIBOBJS'
 
883
am__fastdepCXX_FALSE
 
884
am__fastdepCXX_TRUE
 
885
CXXDEPMODE
 
886
ac_ct_CXX
 
887
CXXFLAGS
 
888
CXX
 
889
HAVE_AIX_PROCTRACK_FALSE
 
890
HAVE_AIX_PROCTRACK_TRUE
 
891
EGREP
 
892
GREP
 
893
CPP
 
894
PROCTRACKDIR
 
895
HAVE_AIX
 
896
HAVE_AIX_FALSE
 
897
HAVE_AIX_TRUE
 
898
SO_LDFLAGS
 
899
LIB_LDFLAGS
 
900
CMD_LDFLAGS
 
901
BLUEGENE_LOADED
 
902
BLUEGENE_LOADED_FALSE
 
903
BLUEGENE_LOADED_TRUE
 
904
BG_INCLUDES
 
905
am__fastdepCC_FALSE
 
906
am__fastdepCC_TRUE
 
907
CCDEPMODE
 
908
AMDEPBACKSLASH
 
909
AMDEP_FALSE
 
910
AMDEP_TRUE
 
911
am__quote
 
912
am__include
 
913
DEPDIR
 
914
OBJEXT
 
915
EXEEXT
 
916
ac_ct_CC
 
917
CPPFLAGS
 
918
LDFLAGS
 
919
CFLAGS
 
920
CC
 
921
MAINT
 
922
MAINTAINER_MODE_FALSE
 
923
MAINTAINER_MODE_TRUE
 
924
am__untar
 
925
am__tar
 
926
AMTAR
 
927
am__leading_dot
 
928
SET_MAKE
 
929
AWK
 
930
mkdir_p
 
931
MKDIR_P
 
932
INSTALL_STRIP_PROGRAM
 
933
STRIP
 
934
install_sh
 
935
MAKEINFO
 
936
AUTOHEADER
 
937
AUTOMAKE
 
938
AUTOCONF
 
939
ACLOCAL
 
940
PACKAGE
 
941
CYGPATH_W
 
942
am__isrc
 
943
INSTALL_DATA
 
944
INSTALL_SCRIPT
 
945
INSTALL_PROGRAM
 
946
SLURM_VERSION
 
947
RELEASE
 
948
SLURM_MICRO
 
949
SLURM_MINOR
 
950
SLURM_MAJOR
 
951
VERSION
 
952
SLURM_API_REVISION
 
953
SLURM_API_AGE
 
954
SLURM_API_MAJOR
 
955
SLURM_API_CURRENT
 
956
SLURM_API_VERSION
 
957
PROJECT
 
958
target_os
 
959
target_vendor
 
960
target_cpu
 
961
target
 
962
host_os
 
963
host_vendor
 
964
host_cpu
 
965
host
 
966
build_os
 
967
build_vendor
 
968
build_cpu
 
969
build
 
970
target_alias
 
971
host_alias
 
972
build_alias
 
973
LIBS
 
974
ECHO_T
 
975
ECHO_N
 
976
ECHO_C
 
977
DEFS
 
978
mandir
 
979
localedir
 
980
libdir
 
981
psdir
 
982
pdfdir
 
983
dvidir
 
984
htmldir
 
985
infodir
 
986
docdir
 
987
oldincludedir
 
988
includedir
 
989
localstatedir
 
990
sharedstatedir
 
991
sysconfdir
 
992
datadir
 
993
datarootdir
 
994
libexecdir
 
995
sbindir
 
996
bindir
 
997
program_transform_name
 
998
prefix
 
999
exec_prefix
 
1000
PACKAGE_BUGREPORT
 
1001
PACKAGE_STRING
 
1002
PACKAGE_VERSION
 
1003
PACKAGE_TARNAME
 
1004
PACKAGE_NAME
 
1005
PATH_SEPARATOR
 
1006
SHELL'
973
1007
ac_subst_files=''
 
1008
ac_user_opts='
 
1009
enable_option_checking
 
1010
enable_maintainer_mode
 
1011
with_db2_dir
 
1012
enable_bluegene_emulation
 
1013
enable_bgl_emulation
 
1014
enable_dependency_tracking
 
1015
with_bg_serial
 
1016
enable_bgp_emulation
 
1017
with_proctrack
 
1018
enable_largefile
 
1019
enable_shared
 
1020
enable_static
 
1021
with_pic
 
1022
enable_fast_install
 
1023
with_gnu_ld
 
1024
enable_libtool_lock
 
1025
with_cpusetdir
 
1026
enable_pam
 
1027
enable_iso8601
 
1028
enable_load_env_no_login
 
1029
enable_cray_xt
 
1030
with_apbasil
 
1031
enable_sun_const
 
1032
with_xcpu
 
1033
with_pkg_config
 
1034
with_mysql_config
 
1035
with_pg_config
 
1036
enable_debug
 
1037
enable_memory_leak_debug
 
1038
enable_front_end
 
1039
with_slurmctld_port
 
1040
with_slurmd_port
 
1041
with_slurmdbd_port
 
1042
with_readline
 
1043
with_ssl
 
1044
with_munge
 
1045
enable_multiple_slurmd
 
1046
with_blcr
 
1047
'
974
1048
      ac_precious_vars='build_alias
975
1049
host_alias
976
1050
target_alias
983
1057
CXX
984
1058
CXXFLAGS
985
1059
CCC
986
 
CXXCPP
987
 
F77
988
 
FFLAGS'
 
1060
CXXCPP'
989
1061
 
990
1062
 
991
1063
# Initialize some variables set by options.
992
1064
ac_init_help=
993
1065
ac_init_version=false
 
1066
ac_unrecognized_opts=
 
1067
ac_unrecognized_sep=
994
1068
# The variables have the same names as the options, with
995
1069
# dashes changed to underlines.
996
1070
cache_file=/dev/null
1089
1163
    datarootdir=$ac_optarg ;;
1090
1164
 
1091
1165
  -disable-* | --disable-*)
1092
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1166
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1093
1167
    # Reject names that are not valid shell variable names.
1094
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1095
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1168
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1169
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1096
1170
   { (exit 1); exit 1; }; }
1097
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1098
 
    eval enable_$ac_feature=no ;;
 
1171
    ac_useropt_orig=$ac_useropt
 
1172
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1173
    case $ac_user_opts in
 
1174
      *"
 
1175
"enable_$ac_useropt"
 
1176
"*) ;;
 
1177
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1178
         ac_unrecognized_sep=', ';;
 
1179
    esac
 
1180
    eval enable_$ac_useropt=no ;;
1099
1181
 
1100
1182
  -docdir | --docdir | --docdi | --doc | --do)
1101
1183
    ac_prev=docdir ;;
1108
1190
    dvidir=$ac_optarg ;;
1109
1191
 
1110
1192
  -enable-* | --enable-*)
1111
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1193
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1112
1194
    # Reject names that are not valid shell variable names.
1113
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1114
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1195
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1196
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1115
1197
   { (exit 1); exit 1; }; }
1116
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1117
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1198
    ac_useropt_orig=$ac_useropt
 
1199
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1200
    case $ac_user_opts in
 
1201
      *"
 
1202
"enable_$ac_useropt"
 
1203
"*) ;;
 
1204
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1205
         ac_unrecognized_sep=', ';;
 
1206
    esac
 
1207
    eval enable_$ac_useropt=\$ac_optarg ;;
1118
1208
 
1119
1209
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1120
1210
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1305
1395
    ac_init_version=: ;;
1306
1396
 
1307
1397
  -with-* | --with-*)
1308
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1398
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1309
1399
    # Reject names that are not valid shell variable names.
1310
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1311
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1400
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1401
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1312
1402
   { (exit 1); exit 1; }; }
1313
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1314
 
    eval with_$ac_package=\$ac_optarg ;;
 
1403
    ac_useropt_orig=$ac_useropt
 
1404
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1405
    case $ac_user_opts in
 
1406
      *"
 
1407
"with_$ac_useropt"
 
1408
"*) ;;
 
1409
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1410
         ac_unrecognized_sep=', ';;
 
1411
    esac
 
1412
    eval with_$ac_useropt=\$ac_optarg ;;
1315
1413
 
1316
1414
  -without-* | --without-*)
1317
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1415
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1318
1416
    # Reject names that are not valid shell variable names.
1319
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1320
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1417
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1418
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1321
1419
   { (exit 1); exit 1; }; }
1322
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1323
 
    eval with_$ac_package=no ;;
 
1420
    ac_useropt_orig=$ac_useropt
 
1421
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1422
    case $ac_user_opts in
 
1423
      *"
 
1424
"with_$ac_useropt"
 
1425
"*) ;;
 
1426
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1427
         ac_unrecognized_sep=', ';;
 
1428
    esac
 
1429
    eval with_$ac_useropt=no ;;
1324
1430
 
1325
1431
  --x)
1326
1432
    # Obsolete; use --with-x.
1340
1446
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1341
1447
    x_libraries=$ac_optarg ;;
1342
1448
 
1343
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1449
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1344
1450
Try \`$0 --help' for more information." >&2
1345
1451
   { (exit 1); exit 1; }; }
1346
1452
    ;;
1349
1455
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1350
1456
    # Reject names that are not valid shell variable names.
1351
1457
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1352
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1458
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1353
1459
   { (exit 1); exit 1; }; }
1354
1460
    eval $ac_envvar=\$ac_optarg
1355
1461
    export $ac_envvar ;;
1356
1462
 
1357
1463
  *)
1358
1464
    # FIXME: should be removed in autoconf 3.0.
1359
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1465
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1360
1466
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1361
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1467
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1362
1468
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1363
1469
    ;;
1364
1470
 
1367
1473
 
1368
1474
if test -n "$ac_prev"; then
1369
1475
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1370
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1476
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1371
1477
   { (exit 1); exit 1; }; }
1372
1478
fi
1373
1479
 
1374
 
# Be sure to have absolute directory names.
 
1480
if test -n "$ac_unrecognized_opts"; then
 
1481
  case $enable_option_checking in
 
1482
    no) ;;
 
1483
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1484
   { (exit 1); exit 1; }; } ;;
 
1485
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1486
  esac
 
1487
fi
 
1488
 
 
1489
# Check all directory arguments for consistency.
1375
1490
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1376
1491
                datadir sysconfdir sharedstatedir localstatedir includedir \
1377
1492
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1378
1493
                libdir localedir mandir
1379
1494
do
1380
1495
  eval ac_val=\$$ac_var
 
1496
  # Remove trailing slashes.
 
1497
  case $ac_val in
 
1498
    */ )
 
1499
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1500
      eval $ac_var=\$ac_val;;
 
1501
  esac
 
1502
  # Be sure to have absolute directory names.
1381
1503
  case $ac_val in
1382
1504
    [\\/$]* | ?:[\\/]* )  continue;;
1383
1505
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1384
1506
  esac
1385
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1507
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1386
1508
   { (exit 1); exit 1; }; }
1387
1509
done
1388
1510
 
1397
1519
if test "x$host_alias" != x; then
1398
1520
  if test "x$build_alias" = x; then
1399
1521
    cross_compiling=maybe
1400
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1522
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1401
1523
    If a cross compiler is detected then cross compile mode will be used." >&2
1402
1524
  elif test "x$build_alias" != "x$host_alias"; then
1403
1525
    cross_compiling=yes
1413
1535
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1414
1536
ac_ls_di=`ls -di .` &&
1415
1537
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1416
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1538
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1417
1539
   { (exit 1); exit 1; }; }
1418
1540
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1419
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1541
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1420
1542
   { (exit 1); exit 1; }; }
1421
1543
 
1422
1544
 
1424
1546
if test -z "$srcdir"; then
1425
1547
  ac_srcdir_defaulted=yes
1426
1548
  # Try the directory containing this script, then the parent directory.
1427
 
  ac_confdir=`$as_dirname -- "$0" ||
1428
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1429
 
         X"$0" : 'X\(//\)[^/]' \| \
1430
 
         X"$0" : 'X\(//\)$' \| \
1431
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1432
 
echo X"$0" |
 
1549
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1550
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1551
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1552
         X"$as_myself" : 'X\(//\)$' \| \
 
1553
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1554
$as_echo X"$as_myself" |
1433
1555
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1434
1556
            s//\1/
1435
1557
            q
1456
1578
fi
1457
1579
if test ! -r "$srcdir/$ac_unique_file"; then
1458
1580
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1459
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1581
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1460
1582
   { (exit 1); exit 1; }; }
1461
1583
fi
1462
1584
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1463
1585
ac_abs_confdir=`(
1464
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1586
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1465
1587
   { (exit 1); exit 1; }; }
1466
1588
        pwd)`
1467
1589
# When building in place, set srcdir=.
1510
1632
 
1511
1633
Installation directories:
1512
1634
  --prefix=PREFIX         install architecture-independent files in PREFIX
1513
 
                          [$ac_default_prefix]
 
1635
                          [$ac_default_prefix]
1514
1636
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1515
 
                          [PREFIX]
 
1637
                          [PREFIX]
1516
1638
 
1517
1639
By default, \`make install' will install all the files in
1518
1640
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1522
1644
For better control, use the options below.
1523
1645
 
1524
1646
Fine tuning of the installation directories:
1525
 
  --bindir=DIR           user executables [EPREFIX/bin]
1526
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1527
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1528
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1529
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1530
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1531
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1532
 
  --includedir=DIR       C header files [PREFIX/include]
1533
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1534
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1535
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1536
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1537
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1538
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1539
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1540
 
  --htmldir=DIR          html documentation [DOCDIR]
1541
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1542
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1543
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1647
  --bindir=DIR            user executables [EPREFIX/bin]
 
1648
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1649
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1650
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1651
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1652
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1653
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1654
  --includedir=DIR        C header files [PREFIX/include]
 
1655
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1656
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1657
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1658
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1659
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1660
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1661
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 
1662
  --htmldir=DIR           html documentation [DOCDIR]
 
1663
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1664
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1665
  --psdir=DIR             ps documentation [DOCDIR]
1544
1666
_ACEOF
1545
1667
 
1546
1668
  cat <<\_ACEOF
1562
1684
  cat <<\_ACEOF
1563
1685
 
1564
1686
Optional Features:
 
1687
  --disable-option-checking  ignore unrecognized --enable/--with options
1565
1688
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1566
1689
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1567
1690
  --enable-maintainer-mode  enable make rules and dependencies not useful
1580
1703
  --disable-libtool-lock  avoid locking (might break parallel builds)
1581
1704
  --enable-pam            enable PAM (Pluggable Authentication Modules)
1582
1705
                          support
 
1706
  --disable-iso8601       disable ISO 8601 time format support
 
1707
  --enable-load-env-no-login
 
1708
                          enable --get-user-env option to load user
 
1709
                          environment without .login
 
1710
  --enable-cray-xt        enable Cray XT system support
1583
1711
  --enable-sun-const      enable Sun Constellation system support
1584
1712
  --enable-debug          enable debugging code for development
1585
1713
  --enable-memory-leak-debug
1586
1714
                          enable memory leak debugging code for development
1587
1715
  --enable-front-end      enable slurmd operation on a front-end
1588
 
  --enable-load-env-no-login
1589
 
                          enable --get-user-env option to load user
1590
 
                          environment without login
1591
1716
  --enable-multiple-slurmd
1592
1717
                          enable multiple-slurmd support
1593
1718
 
1598
1723
  --with-bg-serial=NAME   set BG_SERIAL value
1599
1724
 
1600
1725
  --with-proctrack=PATH   Specify path to proctrack sources
1601
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1602
1726
  --with-pic              try to use only PIC/non-PIC objects [default=use
1603
1727
                          both]
1604
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1728
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1729
  --with-cpusetdir=PATH   specify path to cpuset directory default is
 
1730
                          /dev/cpuset
 
1731
  --with-apbasil=PATH     Specify path to apbasil command
1605
1732
  --with-xcpu=PATH        specify path to XCPU directory
1606
1733
  --with-pkg-config=PATH  Specify path to pkg-config binary
1607
1734
  --with-mysql_config=PATH
1613
1740
  --without-readline      compile without readline support
1614
1741
  --with-ssl=PATH         Specify path to OpenSSL installation
1615
1742
  --with-munge=PATH       Specify path to munge installation
 
1743
  --with-blcr=PATH        Specify path to BLCR installation
1616
1744
 
1617
1745
Some influential environment variables:
1618
1746
  CC          C compiler command
1626
1754
  CXX         C++ compiler command
1627
1755
  CXXFLAGS    C++ compiler flags
1628
1756
  CXXCPP      C++ preprocessor
1629
 
  F77         Fortran 77 compiler command
1630
 
  FFLAGS      Fortran 77 compiler flags
1631
1757
 
1632
1758
Use these variables to override the choices made by `configure' or to help
1633
1759
it to find libraries and programs with nonstandard names/locations.
1639
1765
if test "$ac_init_help" = "recursive"; then
1640
1766
  # If there are subdirs, report their specific --help.
1641
1767
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1642
 
    test -d "$ac_dir" || continue
 
1768
    test -d "$ac_dir" ||
 
1769
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1770
      continue
1643
1771
    ac_builddir=.
1644
1772
 
1645
1773
case "$ac_dir" in
1646
1774
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1647
1775
*)
1648
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1776
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1649
1777
  # A ".." for each directory in $ac_dir_suffix.
1650
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1778
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1651
1779
  case $ac_top_builddir_sub in
1652
1780
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653
1781
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1683
1811
      echo &&
1684
1812
      $SHELL "$ac_srcdir/configure" --help=recursive
1685
1813
    else
1686
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1814
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1687
1815
    fi || ac_status=$?
1688
1816
    cd "$ac_pwd" || { ac_status=$?; break; }
1689
1817
  done
1693
1821
if $ac_init_version; then
1694
1822
  cat <<\_ACEOF
1695
1823
configure
1696
 
generated by GNU Autoconf 2.61
 
1824
generated by GNU Autoconf 2.63
1697
1825
 
1698
1826
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1699
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1827
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1700
1828
This configure script is free software; the Free Software Foundation
1701
1829
gives unlimited permission to copy, distribute and modify it.
1702
1830
_ACEOF
1707
1835
running configure, to aid debugging if configure makes a mistake.
1708
1836
 
1709
1837
It was created by $as_me, which was
1710
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1838
generated by GNU Autoconf 2.63.  Invocation command line was
1711
1839
 
1712
1840
  $ $0 $@
1713
1841
 
1743
1871
do
1744
1872
  IFS=$as_save_IFS
1745
1873
  test -z "$as_dir" && as_dir=.
1746
 
  echo "PATH: $as_dir"
 
1874
  $as_echo "PATH: $as_dir"
1747
1875
done
1748
1876
IFS=$as_save_IFS
1749
1877
 
1778
1906
    | -silent | --silent | --silen | --sile | --sil)
1779
1907
      continue ;;
1780
1908
    *\'*)
1781
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1909
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1782
1910
    esac
1783
1911
    case $ac_pass in
1784
1912
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1830
1958
    case $ac_val in #(
1831
1959
    *${as_nl}*)
1832
1960
      case $ac_var in #(
1833
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1834
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1961
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1962
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1835
1963
      esac
1836
1964
      case $ac_var in #(
1837
1965
      _ | IFS | as_nl) ;; #(
 
1966
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1838
1967
      *) $as_unset $ac_var ;;
1839
1968
      esac ;;
1840
1969
    esac
1864
1993
    do
1865
1994
      eval ac_val=\$$ac_var
1866
1995
      case $ac_val in
1867
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1996
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1868
1997
      esac
1869
 
      echo "$ac_var='\''$ac_val'\''"
 
1998
      $as_echo "$ac_var='\''$ac_val'\''"
1870
1999
    done | sort
1871
2000
    echo
1872
2001
 
1881
2010
      do
1882
2011
        eval ac_val=\$$ac_var
1883
2012
        case $ac_val in
1884
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2013
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1885
2014
        esac
1886
 
        echo "$ac_var='\''$ac_val'\''"
 
2015
        $as_echo "$ac_var='\''$ac_val'\''"
1887
2016
      done | sort
1888
2017
      echo
1889
2018
    fi
1899
2028
      echo
1900
2029
    fi
1901
2030
    test "$ac_signal" != 0 &&
1902
 
      echo "$as_me: caught signal $ac_signal"
1903
 
    echo "$as_me: exit $exit_status"
 
2031
      $as_echo "$as_me: caught signal $ac_signal"
 
2032
    $as_echo "$as_me: exit $exit_status"
1904
2033
  } >&5
1905
2034
  rm -f core *.core core.conftest.* &&
1906
2035
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1942
2071
 
1943
2072
 
1944
2073
# Let the site file select an alternate cache file if it wants to.
1945
 
# Prefer explicitly selected file to automatically selected ones.
 
2074
# Prefer an explicitly selected file to automatically selected ones.
 
2075
ac_site_file1=NONE
 
2076
ac_site_file2=NONE
1946
2077
if test -n "$CONFIG_SITE"; then
1947
 
  set x "$CONFIG_SITE"
 
2078
  ac_site_file1=$CONFIG_SITE
1948
2079
elif test "x$prefix" != xNONE; then
1949
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
2080
  ac_site_file1=$prefix/share/config.site
 
2081
  ac_site_file2=$prefix/etc/config.site
1950
2082
else
1951
 
  set x "$ac_default_prefix/share/config.site" \
1952
 
        "$ac_default_prefix/etc/config.site"
 
2083
  ac_site_file1=$ac_default_prefix/share/config.site
 
2084
  ac_site_file2=$ac_default_prefix/etc/config.site
1953
2085
fi
1954
 
shift
1955
 
for ac_site_file
 
2086
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1956
2087
do
 
2088
  test "x$ac_site_file" = xNONE && continue
1957
2089
  if test -r "$ac_site_file"; then
1958
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1959
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2090
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2091
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1960
2092
    sed 's/^/| /' "$ac_site_file" >&5
1961
2093
    . "$ac_site_file"
1962
2094
  fi
1966
2098
  # Some versions of bash will fail to source /dev/null (special
1967
2099
  # files actually), so we avoid doing that.
1968
2100
  if test -f "$cache_file"; then
1969
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1970
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2101
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2102
$as_echo "$as_me: loading cache $cache_file" >&6;}
1971
2103
    case $cache_file in
1972
2104
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1973
2105
      *)                      . "./$cache_file";;
1974
2106
    esac
1975
2107
  fi
1976
2108
else
1977
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1978
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2109
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2110
$as_echo "$as_me: creating cache $cache_file" >&6;}
1979
2111
  >$cache_file
1980
2112
fi
1981
2113
 
1989
2121
  eval ac_new_val=\$ac_env_${ac_var}_value
1990
2122
  case $ac_old_set,$ac_new_set in
1991
2123
    set,)
1992
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1993
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2124
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2125
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1994
2126
      ac_cache_corrupted=: ;;
1995
2127
    ,set)
1996
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1997
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2128
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2129
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1998
2130
      ac_cache_corrupted=: ;;
1999
2131
    ,);;
2000
2132
    *)
2001
2133
      if test "x$ac_old_val" != "x$ac_new_val"; then
2002
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2003
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2004
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2005
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
2006
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2007
 
echo "$as_me:   current value: $ac_new_val" >&2;}
2008
 
        ac_cache_corrupted=:
 
2134
        # differences in whitespace do not lead to failure.
 
2135
        ac_old_val_w=`echo x $ac_old_val`
 
2136
        ac_new_val_w=`echo x $ac_new_val`
 
2137
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2138
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2139
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2140
          ac_cache_corrupted=:
 
2141
        else
 
2142
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2143
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2144
          eval $ac_var=\$ac_old_val
 
2145
        fi
 
2146
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2147
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2148
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2149
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2009
2150
      fi;;
2010
2151
  esac
2011
2152
  # Pass precious variables to config.status.
2012
2153
  if test "$ac_new_set" = set; then
2013
2154
    case $ac_new_val in
2014
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2155
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2015
2156
    *) ac_arg=$ac_var=$ac_new_val ;;
2016
2157
    esac
2017
2158
    case " $ac_configure_args " in
2021
2162
  fi
2022
2163
done
2023
2164
if $ac_cache_corrupted; then
2024
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2025
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2026
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2027
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2165
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2166
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2167
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2168
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2169
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2170
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2028
2171
   { (exit 1); exit 1; }; }
2029
2172
fi
2030
2173
 
2070
2213
  fi
2071
2214
done
2072
2215
if test -z "$ac_aux_dir"; then
2073
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in auxdir \"$srcdir\"/auxdir" >&5
2074
 
echo "$as_me: error: cannot find install-sh or install.sh in auxdir \"$srcdir\"/auxdir" >&2;}
 
2216
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in auxdir \"$srcdir\"/auxdir" >&5
 
2217
$as_echo "$as_me: error: cannot find install-sh or install.sh in auxdir \"$srcdir\"/auxdir" >&2;}
2075
2218
   { (exit 1); exit 1; }; }
2076
2219
fi
2077
2220
 
2086
2229
 
2087
2230
# Make sure we can run config.sub.
2088
2231
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2089
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2090
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
2232
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2233
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2091
2234
   { (exit 1); exit 1; }; }
2092
2235
 
2093
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2094
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
2236
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
2237
$as_echo_n "checking build system type... " >&6; }
2095
2238
if test "${ac_cv_build+set}" = set; then
2096
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2239
  $as_echo_n "(cached) " >&6
2097
2240
else
2098
2241
  ac_build_alias=$build_alias
2099
2242
test "x$ac_build_alias" = x &&
2100
2243
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2101
2244
test "x$ac_build_alias" = x &&
2102
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2103
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
2245
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
2246
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2104
2247
   { (exit 1); exit 1; }; }
2105
2248
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2106
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2107
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
2249
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2250
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2108
2251
   { (exit 1); exit 1; }; }
2109
2252
 
2110
2253
fi
2111
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2112
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2254
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2255
$as_echo "$ac_cv_build" >&6; }
2113
2256
case $ac_cv_build in
2114
2257
*-*-*) ;;
2115
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2116
 
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2258
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2259
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2117
2260
   { (exit 1); exit 1; }; };;
2118
2261
esac
2119
2262
build=$ac_cv_build
2130
2273
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2131
2274
 
2132
2275
 
2133
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2134
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
2276
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
2277
$as_echo_n "checking host system type... " >&6; }
2135
2278
if test "${ac_cv_host+set}" = set; then
2136
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2279
  $as_echo_n "(cached) " >&6
2137
2280
else
2138
2281
  if test "x$host_alias" = x; then
2139
2282
  ac_cv_host=$ac_cv_build
2140
2283
else
2141
2284
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2142
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2143
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
2285
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2286
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2144
2287
   { (exit 1); exit 1; }; }
2145
2288
fi
2146
2289
 
2147
2290
fi
2148
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2149
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2291
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2292
$as_echo "$ac_cv_host" >&6; }
2150
2293
case $ac_cv_host in
2151
2294
*-*-*) ;;
2152
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2153
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2295
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2296
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2154
2297
   { (exit 1); exit 1; }; };;
2155
2298
esac
2156
2299
host=$ac_cv_host
2167
2310
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2168
2311
 
2169
2312
 
2170
 
{ echo "$as_me:$LINENO: checking target system type" >&5
2171
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
 
2313
{ $as_echo "$as_me:$LINENO: checking target system type" >&5
 
2314
$as_echo_n "checking target system type... " >&6; }
2172
2315
if test "${ac_cv_target+set}" = set; then
2173
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2316
  $as_echo_n "(cached) " >&6
2174
2317
else
2175
2318
  if test "x$target_alias" = x; then
2176
2319
  ac_cv_target=$ac_cv_host
2177
2320
else
2178
2321
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2179
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2180
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
 
2322
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
 
2323
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2181
2324
   { (exit 1); exit 1; }; }
2182
2325
fi
2183
2326
 
2184
2327
fi
2185
 
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2186
 
echo "${ECHO_T}$ac_cv_target" >&6; }
 
2328
{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 
2329
$as_echo "$ac_cv_target" >&6; }
2187
2330
case $ac_cv_target in
2188
2331
*-*-*) ;;
2189
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2190
 
echo "$as_me: error: invalid value of canonical target" >&2;}
 
2332
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 
2333
$as_echo "$as_me: error: invalid value of canonical target" >&2;}
2191
2334
   { (exit 1); exit 1; }; };;
2192
2335
esac
2193
2336
target=$ac_cv_target
2300
2443
RELEASE="`perl -ne 'print,exit if s/^\s*RELEASE:\s*(\S*).*/\1/i' $srcdir/META`"
2301
2444
 
2302
2445
if test "$SLURM_MAJOR.$SLURM_MINOR.$SLURM_MICRO" != "$VERSION"; then
2303
 
    { { echo "$as_me:$LINENO: error: META information is inconsistent: $VERSION != $SLURM_MAJOR.$SLURM_MINOR.$SLURM_MICRO!" >&5
2304
 
echo "$as_me: error: META information is inconsistent: $VERSION != $SLURM_MAJOR.$SLURM_MINOR.$SLURM_MICRO!" >&2;}
 
2446
    { { $as_echo "$as_me:$LINENO: error: META information is inconsistent: $VERSION != $SLURM_MAJOR.$SLURM_MINOR.$SLURM_MICRO!" >&5
 
2447
$as_echo "$as_me: error: META information is inconsistent: $VERSION != $SLURM_MAJOR.$SLURM_MINOR.$SLURM_MICRO!" >&2;}
2305
2448
   { (exit 1); exit 1; }; }
2306
2449
fi
2307
2450
 
2368
2511
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2369
2512
# OS/2's system install, which has a completely different semantic
2370
2513
# ./install, which can be erroneously created by make from ./install.sh.
2371
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2372
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2514
# Reject install programs that cannot install multiple files.
 
2515
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2516
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2373
2517
if test -z "$INSTALL"; then
2374
2518
if test "${ac_cv_path_install+set}" = set; then
2375
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2519
  $as_echo_n "(cached) " >&6
2376
2520
else
2377
2521
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2378
2522
for as_dir in $PATH
2401
2545
            # program-specific install script used by HP pwplus--don't use.
2402
2546
            :
2403
2547
          else
2404
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2405
 
            break 3
 
2548
            rm -rf conftest.one conftest.two conftest.dir
 
2549
            echo one > conftest.one
 
2550
            echo two > conftest.two
 
2551
            mkdir conftest.dir
 
2552
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2553
              test -s conftest.one && test -s conftest.two &&
 
2554
              test -s conftest.dir/conftest.one &&
 
2555
              test -s conftest.dir/conftest.two
 
2556
            then
 
2557
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2558
              break 3
 
2559
            fi
2406
2560
          fi
2407
2561
        fi
2408
2562
      done
2409
2563
    done
2410
2564
    ;;
2411
2565
esac
 
2566
 
2412
2567
done
2413
2568
IFS=$as_save_IFS
2414
2569
 
 
2570
rm -rf conftest.one conftest.two conftest.dir
2415
2571
 
2416
2572
fi
2417
2573
  if test "${ac_cv_path_install+set}" = set; then
2424
2580
    INSTALL=$ac_install_sh
2425
2581
  fi
2426
2582
fi
2427
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2428
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2583
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2584
$as_echo "$INSTALL" >&6; }
2429
2585
 
2430
2586
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2431
2587
# It thinks the first close brace ends the variable substitution.
2435
2591
 
2436
2592
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2437
2593
 
2438
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2439
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2594
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2595
$as_echo_n "checking whether build environment is sane... " >&6; }
2440
2596
# Just in case
2441
2597
sleep 1
2442
2598
echo timestamp > conftest.file
2459
2615
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2460
2616
      # broken ls alias from the environment.  This has actually
2461
2617
      # happened.  Such a system could not be considered "sane".
2462
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2618
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2463
2619
alias in your environment" >&5
2464
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2620
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2465
2621
alias in your environment" >&2;}
2466
2622
   { (exit 1); exit 1; }; }
2467
2623
   fi
2472
2628
   # Ok.
2473
2629
   :
2474
2630
else
2475
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2631
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2476
2632
Check your system clock" >&5
2477
 
echo "$as_me: error: newly created file is older than distributed files!
 
2633
$as_echo "$as_me: error: newly created file is older than distributed files!
2478
2634
Check your system clock" >&2;}
2479
2635
   { (exit 1); exit 1; }; }
2480
2636
fi
2481
 
{ echo "$as_me:$LINENO: result: yes" >&5
2482
 
echo "${ECHO_T}yes" >&6; }
 
2637
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2638
$as_echo "yes" >&6; }
2483
2639
test "$program_prefix" != NONE &&
2484
2640
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2485
2641
# Use a double $ so make ignores it.
2486
2642
test "$program_suffix" != NONE &&
2487
2643
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2488
 
# Double any \ or $.  echo might interpret backslashes.
 
2644
# Double any \ or $.
2489
2645
# By default was `s,x,x', remove it if useless.
2490
 
cat <<\_ACEOF >conftest.sed
2491
 
s/[\\$]/&&/g;s/;s,x,x,$//
2492
 
_ACEOF
2493
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2494
 
rm -f conftest.sed
 
2646
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2647
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2495
2648
 
2496
2649
# expand $ac_aux_dir to an absolute path
2497
2650
am_aux_dir=`cd $ac_aux_dir && pwd`
2502
2655
  am_missing_run="$MISSING --run "
2503
2656
else
2504
2657
  am_missing_run=
2505
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2506
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2658
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2659
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2507
2660
fi
2508
2661
 
2509
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2510
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2662
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2663
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2511
2664
if test -z "$MKDIR_P"; then
2512
2665
  if test "${ac_cv_path_mkdir+set}" = set; then
2513
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2666
  $as_echo_n "(cached) " >&6
2514
2667
else
2515
2668
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2516
2669
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2545
2698
    MKDIR_P="$ac_install_sh -d"
2546
2699
  fi
2547
2700
fi
2548
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2549
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2701
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2702
$as_echo "$MKDIR_P" >&6; }
2550
2703
 
2551
2704
mkdir_p="$MKDIR_P"
2552
2705
case $mkdir_p in
2558
2711
do
2559
2712
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2560
2713
set dummy $ac_prog; ac_word=$2
2561
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2562
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2714
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2715
$as_echo_n "checking for $ac_word... " >&6; }
2563
2716
if test "${ac_cv_prog_AWK+set}" = set; then
2564
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2717
  $as_echo_n "(cached) " >&6
2565
2718
else
2566
2719
  if test -n "$AWK"; then
2567
2720
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2574
2727
  for ac_exec_ext in '' $ac_executable_extensions; do
2575
2728
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2576
2729
    ac_cv_prog_AWK="$ac_prog"
2577
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2730
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2578
2731
    break 2
2579
2732
  fi
2580
2733
done
2585
2738
fi
2586
2739
AWK=$ac_cv_prog_AWK
2587
2740
if test -n "$AWK"; then
2588
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2589
 
echo "${ECHO_T}$AWK" >&6; }
 
2741
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2742
$as_echo "$AWK" >&6; }
2590
2743
else
2591
 
  { echo "$as_me:$LINENO: result: no" >&5
2592
 
echo "${ECHO_T}no" >&6; }
 
2744
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2745
$as_echo "no" >&6; }
2593
2746
fi
2594
2747
 
2595
2748
 
2596
2749
  test -n "$AWK" && break
2597
2750
done
2598
2751
 
2599
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2600
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2601
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2752
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2753
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2754
set x ${MAKE-make}
 
2755
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2602
2756
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2603
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2757
  $as_echo_n "(cached) " >&6
2604
2758
else
2605
2759
  cat >conftest.make <<\_ACEOF
2606
2760
SHELL = /bin/sh
2617
2771
rm -f conftest.make
2618
2772
fi
2619
2773
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2620
 
  { echo "$as_me:$LINENO: result: yes" >&5
2621
 
echo "${ECHO_T}yes" >&6; }
 
2774
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2775
$as_echo "yes" >&6; }
2622
2776
  SET_MAKE=
2623
2777
else
2624
 
  { echo "$as_me:$LINENO: result: no" >&5
2625
 
echo "${ECHO_T}no" >&6; }
 
2778
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2779
$as_echo "no" >&6; }
2626
2780
  SET_MAKE="MAKE=${MAKE-make}"
2627
2781
fi
2628
2782
 
2641
2795
  am__isrc=' -I$(srcdir)'
2642
2796
  # test to see if srcdir already configured
2643
2797
  if test -f $srcdir/config.status; then
2644
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2645
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2798
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2799
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2646
2800
   { (exit 1); exit 1; }; }
2647
2801
  fi
2648
2802
fi
2697
2851
  if test -n "$ac_tool_prefix"; then
2698
2852
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2699
2853
set dummy ${ac_tool_prefix}strip; ac_word=$2
2700
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2701
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2854
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2855
$as_echo_n "checking for $ac_word... " >&6; }
2702
2856
if test "${ac_cv_prog_STRIP+set}" = set; then
2703
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2857
  $as_echo_n "(cached) " >&6
2704
2858
else
2705
2859
  if test -n "$STRIP"; then
2706
2860
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2713
2867
  for ac_exec_ext in '' $ac_executable_extensions; do
2714
2868
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2715
2869
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2716
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2870
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2717
2871
    break 2
2718
2872
  fi
2719
2873
done
2724
2878
fi
2725
2879
STRIP=$ac_cv_prog_STRIP
2726
2880
if test -n "$STRIP"; then
2727
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2728
 
echo "${ECHO_T}$STRIP" >&6; }
 
2881
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2882
$as_echo "$STRIP" >&6; }
2729
2883
else
2730
 
  { echo "$as_me:$LINENO: result: no" >&5
2731
 
echo "${ECHO_T}no" >&6; }
 
2884
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2885
$as_echo "no" >&6; }
2732
2886
fi
2733
2887
 
2734
2888
 
2737
2891
  ac_ct_STRIP=$STRIP
2738
2892
  # Extract the first word of "strip", so it can be a program name with args.
2739
2893
set dummy strip; ac_word=$2
2740
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2741
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2894
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2895
$as_echo_n "checking for $ac_word... " >&6; }
2742
2896
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2743
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2897
  $as_echo_n "(cached) " >&6
2744
2898
else
2745
2899
  if test -n "$ac_ct_STRIP"; then
2746
2900
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2753
2907
  for ac_exec_ext in '' $ac_executable_extensions; do
2754
2908
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2755
2909
    ac_cv_prog_ac_ct_STRIP="strip"
2756
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2910
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2757
2911
    break 2
2758
2912
  fi
2759
2913
done
2764
2918
fi
2765
2919
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2766
2920
if test -n "$ac_ct_STRIP"; then
2767
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2768
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2921
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2922
$as_echo "$ac_ct_STRIP" >&6; }
2769
2923
else
2770
 
  { echo "$as_me:$LINENO: result: no" >&5
2771
 
echo "${ECHO_T}no" >&6; }
 
2924
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2925
$as_echo "no" >&6; }
2772
2926
fi
2773
2927
 
2774
2928
  if test "x$ac_ct_STRIP" = x; then
2776
2930
  else
2777
2931
    case $cross_compiling:$ac_tool_warned in
2778
2932
yes:)
2779
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2780
 
whose name does not start with the host triplet.  If you think this
2781
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2782
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2783
 
whose name does not start with the host triplet.  If you think this
2784
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2933
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2934
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2785
2935
ac_tool_warned=yes ;;
2786
2936
esac
2787
2937
    STRIP=$ac_ct_STRIP
2805
2955
 
2806
2956
 
2807
2957
 
2808
 
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2809
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2958
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2959
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2810
2960
    # Check whether --enable-maintainer-mode was given.
2811
2961
if test "${enable_maintainer_mode+set}" = set; then
2812
2962
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2814
2964
  USE_MAINTAINER_MODE=no
2815
2965
fi
2816
2966
 
2817
 
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2818
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
2967
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2968
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2819
2969
   if test $USE_MAINTAINER_MODE = yes; then
2820
2970
  MAINTAINER_MODE_TRUE=
2821
2971
  MAINTAINER_MODE_FALSE='#'
2844
2994
.PHONY: am__doit
2845
2995
END
2846
2996
# If we don't find an include directive, just comment out the code.
2847
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2848
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
2997
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2998
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2849
2999
am__include="#"
2850
3000
am__quote=
2851
3001
_am_result=none
2872
3022
fi
2873
3023
 
2874
3024
 
2875
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2876
 
echo "${ECHO_T}$_am_result" >&6; }
 
3025
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3026
$as_echo "$_am_result" >&6; }
2877
3027
rm -f confinc confmf
2878
3028
 
2879
3029
# Check whether --enable-dependency-tracking was given.
2902
3052
if test -n "$ac_tool_prefix"; then
2903
3053
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2904
3054
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2905
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2906
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3055
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3056
$as_echo_n "checking for $ac_word... " >&6; }
2907
3057
if test "${ac_cv_prog_CC+set}" = set; then
2908
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3058
  $as_echo_n "(cached) " >&6
2909
3059
else
2910
3060
  if test -n "$CC"; then
2911
3061
  ac_cv_prog_CC="$CC" # Let the user override the test.
2918
3068
  for ac_exec_ext in '' $ac_executable_extensions; do
2919
3069
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2920
3070
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2921
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3071
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2922
3072
    break 2
2923
3073
  fi
2924
3074
done
2929
3079
fi
2930
3080
CC=$ac_cv_prog_CC
2931
3081
if test -n "$CC"; then
2932
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2933
 
echo "${ECHO_T}$CC" >&6; }
 
3082
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3083
$as_echo "$CC" >&6; }
2934
3084
else
2935
 
  { echo "$as_me:$LINENO: result: no" >&5
2936
 
echo "${ECHO_T}no" >&6; }
 
3085
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3086
$as_echo "no" >&6; }
2937
3087
fi
2938
3088
 
2939
3089
 
2942
3092
  ac_ct_CC=$CC
2943
3093
  # Extract the first word of "gcc", so it can be a program name with args.
2944
3094
set dummy gcc; ac_word=$2
2945
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2946
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3095
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3096
$as_echo_n "checking for $ac_word... " >&6; }
2947
3097
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2948
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3098
  $as_echo_n "(cached) " >&6
2949
3099
else
2950
3100
  if test -n "$ac_ct_CC"; then
2951
3101
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2958
3108
  for ac_exec_ext in '' $ac_executable_extensions; do
2959
3109
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2960
3110
    ac_cv_prog_ac_ct_CC="gcc"
2961
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3111
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2962
3112
    break 2
2963
3113
  fi
2964
3114
done
2969
3119
fi
2970
3120
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2971
3121
if test -n "$ac_ct_CC"; then
2972
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2973
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3122
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3123
$as_echo "$ac_ct_CC" >&6; }
2974
3124
else
2975
 
  { echo "$as_me:$LINENO: result: no" >&5
2976
 
echo "${ECHO_T}no" >&6; }
 
3125
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3126
$as_echo "no" >&6; }
2977
3127
fi
2978
3128
 
2979
3129
  if test "x$ac_ct_CC" = x; then
2981
3131
  else
2982
3132
    case $cross_compiling:$ac_tool_warned in
2983
3133
yes:)
2984
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2985
 
whose name does not start with the host triplet.  If you think this
2986
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2987
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2988
 
whose name does not start with the host triplet.  If you think this
2989
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3134
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3135
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2990
3136
ac_tool_warned=yes ;;
2991
3137
esac
2992
3138
    CC=$ac_ct_CC
2999
3145
          if test -n "$ac_tool_prefix"; then
3000
3146
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3001
3147
set dummy ${ac_tool_prefix}cc; ac_word=$2
3002
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3003
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3148
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3149
$as_echo_n "checking for $ac_word... " >&6; }
3004
3150
if test "${ac_cv_prog_CC+set}" = set; then
3005
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3151
  $as_echo_n "(cached) " >&6
3006
3152
else
3007
3153
  if test -n "$CC"; then
3008
3154
  ac_cv_prog_CC="$CC" # Let the user override the test.
3015
3161
  for ac_exec_ext in '' $ac_executable_extensions; do
3016
3162
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3017
3163
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3018
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3164
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3019
3165
    break 2
3020
3166
  fi
3021
3167
done
3026
3172
fi
3027
3173
CC=$ac_cv_prog_CC
3028
3174
if test -n "$CC"; then
3029
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3030
 
echo "${ECHO_T}$CC" >&6; }
 
3175
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3176
$as_echo "$CC" >&6; }
3031
3177
else
3032
 
  { echo "$as_me:$LINENO: result: no" >&5
3033
 
echo "${ECHO_T}no" >&6; }
 
3178
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3179
$as_echo "no" >&6; }
3034
3180
fi
3035
3181
 
3036
3182
 
3039
3185
if test -z "$CC"; then
3040
3186
  # Extract the first word of "cc", so it can be a program name with args.
3041
3187
set dummy cc; ac_word=$2
3042
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3043
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3188
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3189
$as_echo_n "checking for $ac_word... " >&6; }
3044
3190
if test "${ac_cv_prog_CC+set}" = set; then
3045
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3191
  $as_echo_n "(cached) " >&6
3046
3192
else
3047
3193
  if test -n "$CC"; then
3048
3194
  ac_cv_prog_CC="$CC" # Let the user override the test.
3060
3206
       continue
3061
3207
     fi
3062
3208
    ac_cv_prog_CC="cc"
3063
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3209
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3064
3210
    break 2
3065
3211
  fi
3066
3212
done
3083
3229
fi
3084
3230
CC=$ac_cv_prog_CC
3085
3231
if test -n "$CC"; then
3086
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3087
 
echo "${ECHO_T}$CC" >&6; }
 
3232
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3233
$as_echo "$CC" >&6; }
3088
3234
else
3089
 
  { echo "$as_me:$LINENO: result: no" >&5
3090
 
echo "${ECHO_T}no" >&6; }
 
3235
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3236
$as_echo "no" >&6; }
3091
3237
fi
3092
3238
 
3093
3239
 
3098
3244
  do
3099
3245
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3100
3246
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3101
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3102
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3247
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3248
$as_echo_n "checking for $ac_word... " >&6; }
3103
3249
if test "${ac_cv_prog_CC+set}" = set; then
3104
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3250
  $as_echo_n "(cached) " >&6
3105
3251
else
3106
3252
  if test -n "$CC"; then
3107
3253
  ac_cv_prog_CC="$CC" # Let the user override the test.
3114
3260
  for ac_exec_ext in '' $ac_executable_extensions; do
3115
3261
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3116
3262
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3117
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3263
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3118
3264
    break 2
3119
3265
  fi
3120
3266
done
3125
3271
fi
3126
3272
CC=$ac_cv_prog_CC
3127
3273
if test -n "$CC"; then
3128
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3129
 
echo "${ECHO_T}$CC" >&6; }
 
3274
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3275
$as_echo "$CC" >&6; }
3130
3276
else
3131
 
  { echo "$as_me:$LINENO: result: no" >&5
3132
 
echo "${ECHO_T}no" >&6; }
 
3277
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3278
$as_echo "no" >&6; }
3133
3279
fi
3134
3280
 
3135
3281
 
3142
3288
do
3143
3289
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3144
3290
set dummy $ac_prog; ac_word=$2
3145
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3146
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3291
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3292
$as_echo_n "checking for $ac_word... " >&6; }
3147
3293
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3148
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3294
  $as_echo_n "(cached) " >&6
3149
3295
else
3150
3296
  if test -n "$ac_ct_CC"; then
3151
3297
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3158
3304
  for ac_exec_ext in '' $ac_executable_extensions; do
3159
3305
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3160
3306
    ac_cv_prog_ac_ct_CC="$ac_prog"
3161
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3307
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3162
3308
    break 2
3163
3309
  fi
3164
3310
done
3169
3315
fi
3170
3316
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3171
3317
if test -n "$ac_ct_CC"; then
3172
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3173
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3318
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3319
$as_echo "$ac_ct_CC" >&6; }
3174
3320
else
3175
 
  { echo "$as_me:$LINENO: result: no" >&5
3176
 
echo "${ECHO_T}no" >&6; }
 
3321
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3322
$as_echo "no" >&6; }
3177
3323
fi
3178
3324
 
3179
3325
 
3185
3331
  else
3186
3332
    case $cross_compiling:$ac_tool_warned in
3187
3333
yes:)
3188
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3189
 
whose name does not start with the host triplet.  If you think this
3190
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3191
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3192
 
whose name does not start with the host triplet.  If you think this
3193
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3334
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3335
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3194
3336
ac_tool_warned=yes ;;
3195
3337
esac
3196
3338
    CC=$ac_ct_CC
3200
3342
fi
3201
3343
 
3202
3344
 
3203
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3345
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3346
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3347
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3204
3348
See \`config.log' for more details." >&5
3205
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
3349
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3206
3350
See \`config.log' for more details." >&2;}
3207
 
   { (exit 1); exit 1; }; }
 
3351
   { (exit 1); exit 1; }; }; }
3208
3352
 
3209
3353
# Provide some information about the compiler.
3210
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
3211
 
ac_compiler=`set X $ac_compile; echo $2`
 
3354
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3355
set X $ac_compile
 
3356
ac_compiler=$2
3212
3357
{ (ac_try="$ac_compiler --version >&5"
3213
3358
case "(($ac_try" in
3214
3359
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215
3360
  *) ac_try_echo=$ac_try;;
3216
3361
esac
3217
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3362
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3363
$as_echo "$ac_try_echo") >&5
3218
3364
  (eval "$ac_compiler --version >&5") 2>&5
3219
3365
  ac_status=$?
3220
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3366
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221
3367
  (exit $ac_status); }
3222
3368
{ (ac_try="$ac_compiler -v >&5"
3223
3369
case "(($ac_try" in
3224
3370
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225
3371
  *) ac_try_echo=$ac_try;;
3226
3372
esac
3227
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3373
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3374
$as_echo "$ac_try_echo") >&5
3228
3375
  (eval "$ac_compiler -v >&5") 2>&5
3229
3376
  ac_status=$?
3230
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3377
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231
3378
  (exit $ac_status); }
3232
3379
{ (ac_try="$ac_compiler -V >&5"
3233
3380
case "(($ac_try" in
3234
3381
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3235
3382
  *) ac_try_echo=$ac_try;;
3236
3383
esac
3237
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3384
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3385
$as_echo "$ac_try_echo") >&5
3238
3386
  (eval "$ac_compiler -V >&5") 2>&5
3239
3387
  ac_status=$?
3240
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3388
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3241
3389
  (exit $ac_status); }
3242
3390
 
3243
3391
cat >conftest.$ac_ext <<_ACEOF
3256
3404
}
3257
3405
_ACEOF
3258
3406
ac_clean_files_save=$ac_clean_files
3259
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3407
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3260
3408
# Try to create an executable without -o first, disregard a.out.
3261
3409
# It will help us diagnose broken compilers, and finding out an intuition
3262
3410
# of exeext.
3263
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3264
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3265
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3266
 
#
3267
 
# List of possible output files, starting from the most likely.
3268
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3269
 
# only as a last resort.  b.out is created by i960 compilers.
3270
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3271
 
#
3272
 
# The IRIX 6 linker writes into existing files which may not be
3273
 
# executable, retaining their permissions.  Remove them first so a
3274
 
# subsequent execution test works.
 
3411
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3412
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3413
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3414
 
 
3415
# The possible output files:
 
3416
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3417
 
3275
3418
ac_rmfiles=
3276
3419
for ac_file in $ac_files
3277
3420
do
3278
3421
  case $ac_file in
3279
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3422
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3280
3423
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3281
3424
  esac
3282
3425
done
3287
3430
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3288
3431
  *) ac_try_echo=$ac_try;;
3289
3432
esac
3290
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3433
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3434
$as_echo "$ac_try_echo") >&5
3291
3435
  (eval "$ac_link_default") 2>&5
3292
3436
  ac_status=$?
3293
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3437
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294
3438
  (exit $ac_status); }; then
3295
3439
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3296
3440
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3301
3445
do
3302
3446
  test -f "$ac_file" || continue
3303
3447
  case $ac_file in
3304
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3448
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3305
3449
        ;;
3306
3450
    [ab].out )
3307
3451
        # We found the default executable, but exeext='' is most
3328
3472
  ac_file=''
3329
3473
fi
3330
3474
 
3331
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3332
 
echo "${ECHO_T}$ac_file" >&6; }
 
3475
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3476
$as_echo "$ac_file" >&6; }
3333
3477
if test -z "$ac_file"; then
3334
 
  echo "$as_me: failed program was:" >&5
 
3478
  $as_echo "$as_me: failed program was:" >&5
3335
3479
sed 's/^/| /' conftest.$ac_ext >&5
3336
3480
 
3337
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3481
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3482
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3483
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3338
3484
See \`config.log' for more details." >&5
3339
 
echo "$as_me: error: C compiler cannot create executables
 
3485
$as_echo "$as_me: error: C compiler cannot create executables
3340
3486
See \`config.log' for more details." >&2;}
3341
 
   { (exit 77); exit 77; }; }
 
3487
   { (exit 77); exit 77; }; }; }
3342
3488
fi
3343
3489
 
3344
3490
ac_exeext=$ac_cv_exeext
3345
3491
 
3346
3492
# Check that the compiler produces executables we can run.  If not, either
3347
3493
# the compiler is broken, or we cross compile.
3348
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3349
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
3494
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3495
$as_echo_n "checking whether the C compiler works... " >&6; }
3350
3496
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3351
3497
# If not cross compiling, check that we can run a simple program.
3352
3498
if test "$cross_compiling" != yes; then
3355
3501
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356
3502
  *) ac_try_echo=$ac_try;;
3357
3503
esac
3358
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3504
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3505
$as_echo "$ac_try_echo") >&5
3359
3506
  (eval "$ac_try") 2>&5
3360
3507
  ac_status=$?
3361
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3508
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362
3509
  (exit $ac_status); }; }; then
3363
3510
    cross_compiling=no
3364
3511
  else
3365
3512
    if test "$cross_compiling" = maybe; then
3366
3513
        cross_compiling=yes
3367
3514
    else
3368
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3515
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3516
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3517
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3369
3518
If you meant to cross compile, use \`--host'.
3370
3519
See \`config.log' for more details." >&5
3371
 
echo "$as_me: error: cannot run C compiled programs.
 
3520
$as_echo "$as_me: error: cannot run C compiled programs.
3372
3521
If you meant to cross compile, use \`--host'.
3373
3522
See \`config.log' for more details." >&2;}
3374
 
   { (exit 1); exit 1; }; }
 
3523
   { (exit 1); exit 1; }; }; }
3375
3524
    fi
3376
3525
  fi
3377
3526
fi
3378
 
{ echo "$as_me:$LINENO: result: yes" >&5
3379
 
echo "${ECHO_T}yes" >&6; }
 
3527
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3528
$as_echo "yes" >&6; }
3380
3529
 
3381
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3530
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3382
3531
ac_clean_files=$ac_clean_files_save
3383
3532
# Check that the compiler produces executables we can run.  If not, either
3384
3533
# the compiler is broken, or we cross compile.
3385
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3386
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3387
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3388
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
3534
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3535
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3536
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3537
$as_echo "$cross_compiling" >&6; }
3389
3538
 
3390
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3391
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3539
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3540
$as_echo_n "checking for suffix of executables... " >&6; }
3392
3541
if { (ac_try="$ac_link"
3393
3542
case "(($ac_try" in
3394
3543
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3395
3544
  *) ac_try_echo=$ac_try;;
3396
3545
esac
3397
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3546
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3547
$as_echo "$ac_try_echo") >&5
3398
3548
  (eval "$ac_link") 2>&5
3399
3549
  ac_status=$?
3400
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3550
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401
3551
  (exit $ac_status); }; then
3402
3552
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3403
3553
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3406
3556
for ac_file in conftest.exe conftest conftest.*; do
3407
3557
  test -f "$ac_file" || continue
3408
3558
  case $ac_file in
3409
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3559
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3410
3560
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3411
3561
          break;;
3412
3562
    * ) break;;
3413
3563
  esac
3414
3564
done
3415
3565
else
3416
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3566
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3567
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3568
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3417
3569
See \`config.log' for more details." >&5
3418
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3570
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3419
3571
See \`config.log' for more details." >&2;}
3420
 
   { (exit 1); exit 1; }; }
 
3572
   { (exit 1); exit 1; }; }; }
3421
3573
fi
3422
3574
 
3423
3575
rm -f conftest$ac_cv_exeext
3424
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3425
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3576
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3577
$as_echo "$ac_cv_exeext" >&6; }
3426
3578
 
3427
3579
rm -f conftest.$ac_ext
3428
3580
EXEEXT=$ac_cv_exeext
3429
3581
ac_exeext=$EXEEXT
3430
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3431
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
3582
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3583
$as_echo_n "checking for suffix of object files... " >&6; }
3432
3584
if test "${ac_cv_objext+set}" = set; then
3433
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3585
  $as_echo_n "(cached) " >&6
3434
3586
else
3435
3587
  cat >conftest.$ac_ext <<_ACEOF
3436
3588
/* confdefs.h.  */
3453
3605
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454
3606
  *) ac_try_echo=$ac_try;;
3455
3607
esac
3456
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3608
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3609
$as_echo "$ac_try_echo") >&5
3457
3610
  (eval "$ac_compile") 2>&5
3458
3611
  ac_status=$?
3459
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3612
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460
3613
  (exit $ac_status); }; then
3461
3614
  for ac_file in conftest.o conftest.obj conftest.*; do
3462
3615
  test -f "$ac_file" || continue;
3463
3616
  case $ac_file in
3464
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3617
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3465
3618
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3466
3619
       break;;
3467
3620
  esac
3468
3621
done
3469
3622
else
3470
 
  echo "$as_me: failed program was:" >&5
 
3623
  $as_echo "$as_me: failed program was:" >&5
3471
3624
sed 's/^/| /' conftest.$ac_ext >&5
3472
3625
 
3473
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3626
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3627
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3628
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3474
3629
See \`config.log' for more details." >&5
3475
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3630
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3476
3631
See \`config.log' for more details." >&2;}
3477
 
   { (exit 1); exit 1; }; }
 
3632
   { (exit 1); exit 1; }; }; }
3478
3633
fi
3479
3634
 
3480
3635
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3481
3636
fi
3482
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3483
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3637
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3638
$as_echo "$ac_cv_objext" >&6; }
3484
3639
OBJEXT=$ac_cv_objext
3485
3640
ac_objext=$OBJEXT
3486
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3487
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
3641
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3642
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3488
3643
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3489
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3644
  $as_echo_n "(cached) " >&6
3490
3645
else
3491
3646
  cat >conftest.$ac_ext <<_ACEOF
3492
3647
/* confdefs.h.  */
3512
3667
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513
3668
  *) ac_try_echo=$ac_try;;
3514
3669
esac
3515
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3670
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3671
$as_echo "$ac_try_echo") >&5
3516
3672
  (eval "$ac_compile") 2>conftest.er1
3517
3673
  ac_status=$?
3518
3674
  grep -v '^ *+' conftest.er1 >conftest.err
3519
3675
  rm -f conftest.er1
3520
3676
  cat conftest.err >&5
3521
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3677
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522
3678
  (exit $ac_status); } && {
3523
3679
         test -z "$ac_c_werror_flag" ||
3524
3680
         test ! -s conftest.err
3525
3681
       } && test -s conftest.$ac_objext; then
3526
3682
  ac_compiler_gnu=yes
3527
3683
else
3528
 
  echo "$as_me: failed program was:" >&5
 
3684
  $as_echo "$as_me: failed program was:" >&5
3529
3685
sed 's/^/| /' conftest.$ac_ext >&5
3530
3686
 
3531
3687
        ac_compiler_gnu=no
3535
3691
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3536
3692
 
3537
3693
fi
3538
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3539
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3540
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3694
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3695
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3696
if test $ac_compiler_gnu = yes; then
 
3697
  GCC=yes
 
3698
else
 
3699
  GCC=
 
3700
fi
3541
3701
ac_test_CFLAGS=${CFLAGS+set}
3542
3702
ac_save_CFLAGS=$CFLAGS
3543
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3544
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3703
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3704
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3545
3705
if test "${ac_cv_prog_cc_g+set}" = set; then
3546
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3706
  $as_echo_n "(cached) " >&6
3547
3707
else
3548
3708
  ac_save_c_werror_flag=$ac_c_werror_flag
3549
3709
   ac_c_werror_flag=yes
3570
3730
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571
3731
  *) ac_try_echo=$ac_try;;
3572
3732
esac
3573
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3733
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3734
$as_echo "$ac_try_echo") >&5
3574
3735
  (eval "$ac_compile") 2>conftest.er1
3575
3736
  ac_status=$?
3576
3737
  grep -v '^ *+' conftest.er1 >conftest.err
3577
3738
  rm -f conftest.er1
3578
3739
  cat conftest.err >&5
3579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3740
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580
3741
  (exit $ac_status); } && {
3581
3742
         test -z "$ac_c_werror_flag" ||
3582
3743
         test ! -s conftest.err
3583
3744
       } && test -s conftest.$ac_objext; then
3584
3745
  ac_cv_prog_cc_g=yes
3585
3746
else
3586
 
  echo "$as_me: failed program was:" >&5
 
3747
  $as_echo "$as_me: failed program was:" >&5
3587
3748
sed 's/^/| /' conftest.$ac_ext >&5
3588
3749
 
3589
3750
        CFLAGS=""
3608
3769
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609
3770
  *) ac_try_echo=$ac_try;;
3610
3771
esac
3611
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3772
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3773
$as_echo "$ac_try_echo") >&5
3612
3774
  (eval "$ac_compile") 2>conftest.er1
3613
3775
  ac_status=$?
3614
3776
  grep -v '^ *+' conftest.er1 >conftest.err
3615
3777
  rm -f conftest.er1
3616
3778
  cat conftest.err >&5
3617
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3779
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618
3780
  (exit $ac_status); } && {
3619
3781
         test -z "$ac_c_werror_flag" ||
3620
3782
         test ! -s conftest.err
3621
3783
       } && test -s conftest.$ac_objext; then
3622
3784
  :
3623
3785
else
3624
 
  echo "$as_me: failed program was:" >&5
 
3786
  $as_echo "$as_me: failed program was:" >&5
3625
3787
sed 's/^/| /' conftest.$ac_ext >&5
3626
3788
 
3627
3789
        ac_c_werror_flag=$ac_save_c_werror_flag
3647
3809
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3648
3810
  *) ac_try_echo=$ac_try;;
3649
3811
esac
3650
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3812
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3813
$as_echo "$ac_try_echo") >&5
3651
3814
  (eval "$ac_compile") 2>conftest.er1
3652
3815
  ac_status=$?
3653
3816
  grep -v '^ *+' conftest.er1 >conftest.err
3654
3817
  rm -f conftest.er1
3655
3818
  cat conftest.err >&5
3656
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3819
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657
3820
  (exit $ac_status); } && {
3658
3821
         test -z "$ac_c_werror_flag" ||
3659
3822
         test ! -s conftest.err
3660
3823
       } && test -s conftest.$ac_objext; then
3661
3824
  ac_cv_prog_cc_g=yes
3662
3825
else
3663
 
  echo "$as_me: failed program was:" >&5
 
3826
  $as_echo "$as_me: failed program was:" >&5
3664
3827
sed 's/^/| /' conftest.$ac_ext >&5
3665
3828
 
3666
3829
 
3675
3838
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3676
3839
   ac_c_werror_flag=$ac_save_c_werror_flag
3677
3840
fi
3678
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3679
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3841
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3842
$as_echo "$ac_cv_prog_cc_g" >&6; }
3680
3843
if test "$ac_test_CFLAGS" = set; then
3681
3844
  CFLAGS=$ac_save_CFLAGS
3682
3845
elif test $ac_cv_prog_cc_g = yes; then
3692
3855
    CFLAGS=
3693
3856
  fi
3694
3857
fi
3695
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3696
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3858
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3859
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3697
3860
if test "${ac_cv_prog_cc_c89+set}" = set; then
3698
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3861
  $as_echo_n "(cached) " >&6
3699
3862
else
3700
3863
  ac_cv_prog_cc_c89=no
3701
3864
ac_save_CC=$CC
3766
3929
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3767
3930
  *) ac_try_echo=$ac_try;;
3768
3931
esac
3769
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3932
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3933
$as_echo "$ac_try_echo") >&5
3770
3934
  (eval "$ac_compile") 2>conftest.er1
3771
3935
  ac_status=$?
3772
3936
  grep -v '^ *+' conftest.er1 >conftest.err
3773
3937
  rm -f conftest.er1
3774
3938
  cat conftest.err >&5
3775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3939
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776
3940
  (exit $ac_status); } && {
3777
3941
         test -z "$ac_c_werror_flag" ||
3778
3942
         test ! -s conftest.err
3779
3943
       } && test -s conftest.$ac_objext; then
3780
3944
  ac_cv_prog_cc_c89=$ac_arg
3781
3945
else
3782
 
  echo "$as_me: failed program was:" >&5
 
3946
  $as_echo "$as_me: failed program was:" >&5
3783
3947
sed 's/^/| /' conftest.$ac_ext >&5
3784
3948
 
3785
3949
 
3795
3959
# AC_CACHE_VAL
3796
3960
case "x$ac_cv_prog_cc_c89" in
3797
3961
  x)
3798
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3799
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3962
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3963
$as_echo "none needed" >&6; } ;;
3800
3964
  xno)
3801
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3802
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3965
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3966
$as_echo "unsupported" >&6; } ;;
3803
3967
  *)
3804
3968
    CC="$CC $ac_cv_prog_cc_c89"
3805
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3806
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3969
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3970
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3807
3971
esac
3808
3972
 
3809
3973
 
3815
3979
 
3816
3980
depcc="$CC"   am_compiler_list=
3817
3981
 
3818
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3819
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3982
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3983
$as_echo_n "checking dependency style of $depcc... " >&6; }
3820
3984
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3821
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3985
  $as_echo_n "(cached) " >&6
3822
3986
else
3823
3987
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3824
3988
  # We make a subdir and do the tests there.  Otherwise we can end up
3906
4070
fi
3907
4071
 
3908
4072
fi
3909
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3910
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
4073
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4074
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3911
4075
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3912
4076
 
3913
4077
 if
3939
4103
  enableval=$enable_bluegene_emulation;  case "$enableval" in
3940
4104
          yes) bluegene_emulation=yes ;;
3941
4105
          no)  bluegene_emulation=no ;;
3942
 
          *)   { { echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-bluegene-emulation" >&5
3943
 
echo "$as_me: error: bad value \"$enableval\" for --enable-bluegene-emulation" >&2;}
 
4106
          *)   { { $as_echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-bluegene-emulation" >&5
 
4107
$as_echo "$as_me: error: bad value \"$enableval\" for --enable-bluegene-emulation" >&2;}
3944
4108
   { (exit 1); exit 1; }; }  ;;
3945
4109
        esac
3946
4110
fi
3951
4115
  enableval=$enable_bgl_emulation;  case "$enableval" in
3952
4116
          yes) bgl_emulation=yes ;;
3953
4117
          no)  bgl_emulation=no ;;
3954
 
          *)   { { echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-bgl-emulation" >&5
3955
 
echo "$as_me: error: bad value \"$enableval\" for --enable-bgl-emulation" >&2;}
 
4118
          *)   { { $as_echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-bgl-emulation" >&5
 
4119
$as_echo "$as_me: error: bad value \"$enableval\" for --enable-bgl-emulation" >&2;}
3956
4120
   { (exit 1); exit 1; }; }  ;;
3957
4121
        esac
3958
4122
fi
3979
4143
#define HAVE_FRONT_END 1
3980
4144
_ACEOF
3981
4145
 
3982
 
                { echo "$as_me:$LINENO: Running in BG/L emulation mode" >&5
3983
 
echo "$as_me: Running in BG/L emulation mode" >&6;}
 
4146
                { $as_echo "$as_me:$LINENO: Running in BG/L emulation mode" >&5
 
4147
$as_echo "$as_me: Running in BG/L emulation mode" >&6;}
3984
4148
                bg_default_dirs=""
3985
4149
                #define ac_bluegene_loaded so we don't load another bluegene conf
3986
4150
                ac_bluegene_loaded=yes
4042
4206
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043
4207
  *) ac_try_echo=$ac_try;;
4044
4208
esac
4045
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4209
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4210
$as_echo "$ac_try_echo") >&5
4046
4211
  (eval "$ac_link") 2>conftest.er1
4047
4212
  ac_status=$?
4048
4213
  grep -v '^ *+' conftest.er1 >conftest.err
4049
4214
  rm -f conftest.er1
4050
4215
  cat conftest.err >&5
4051
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4216
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052
4217
  (exit $ac_status); } && {
4053
4218
         test -z "$ac_c_werror_flag" ||
4054
4219
         test ! -s conftest.err
4055
 
       } && test -s conftest$ac_exeext &&
4056
 
       $as_test_x conftest$ac_exeext; then
 
4220
       } && test -s conftest$ac_exeext && {
 
4221
         test "$cross_compiling" = yes ||
 
4222
         $as_test_x conftest$ac_exeext
 
4223
       }; then
4057
4224
  have_bg_files=yes
4058
4225
else
4059
 
  echo "$as_me: failed program was:" >&5
 
4226
  $as_echo "$as_me: failed program was:" >&5
4060
4227
sed 's/^/| /' conftest.$ac_ext >&5
4061
4228
 
4062
 
        { { echo "$as_me:$LINENO: error: There is a problem linking to the BG/L api." >&5
4063
 
echo "$as_me: error: There is a problem linking to the BG/L api." >&2;}
 
4229
        { { $as_echo "$as_me:$LINENO: error: There is a problem linking to the BG/L api." >&5
 
4230
$as_echo "$as_me: error: There is a problem linking to the BG/L api." >&2;}
4064
4231
   { (exit 1); exit 1; }; }
4065
4232
fi
4066
4233
 
 
4234
rm -rf conftest.dSYM
4067
4235
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4068
4236
      conftest$ac_exeext conftest.$ac_ext
4069
4237
                LDFLAGS="$saved_LDFLAGS"
4108
4276
#define BG_DB2_SO "$bg_db2_so"
4109
4277
_ACEOF
4110
4278
 
4111
 
                { echo "$as_me:$LINENO: checking for BG serial value" >&5
4112
 
echo $ECHO_N "checking for BG serial value... $ECHO_C" >&6; }
 
4279
                { $as_echo "$as_me:$LINENO: checking for BG serial value" >&5
 
4280
$as_echo_n "checking for BG serial value... " >&6; }
4113
4281
                bg_serial="BGL"
4114
4282
 
4115
4283
# Check whether --with-bg-serial was given.
4117
4285
  withval=$with_bg_serial; bg_serial="$withval"
4118
4286
fi
4119
4287
 
4120
 
                { echo "$as_me:$LINENO: result: $bg_serial" >&5
4121
 
echo "${ECHO_T}$bg_serial" >&6; }
 
4288
                { $as_echo "$as_me:$LINENO: result: $bg_serial" >&5
 
4289
$as_echo "$bg_serial" >&6; }
4122
4290
 
4123
4291
cat >>confdefs.h <<_ACEOF
4124
4292
#define BG_SERIAL "$bg_serial"
4137
4305
  enableval=$enable_bgp_emulation;  case "$enableval" in
4138
4306
          yes) bgp_emulation=yes ;;
4139
4307
          no)  bgp_emulation=no ;;
4140
 
          *)   { { echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-bgp-emulation" >&5
4141
 
echo "$as_me: error: bad value \"$enableval\" for --enable-bgp-emulation" >&2;}
 
4308
          *)   { { $as_echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-bgp-emulation" >&5
 
4309
$as_echo "$as_me: error: bad value \"$enableval\" for --enable-bgp-emulation" >&2;}
4142
4310
   { (exit 1); exit 1; }; }  ;;
4143
4311
        esac
4144
4312
fi
4168
4336
#define HAVE_FRONT_END 1
4169
4337
_ACEOF
4170
4338
 
4171
 
                { echo "$as_me:$LINENO: Running in BG/P emulation mode" >&5
4172
 
echo "$as_me: Running in BG/P emulation mode" >&6;}
 
4339
                { $as_echo "$as_me:$LINENO: Running in BG/P emulation mode" >&5
 
4340
$as_echo "$as_me: Running in BG/P emulation mode" >&6;}
4173
4341
                bg_default_dirs=""
4174
4342
                #define ac_bluegene_loaded so we don't load another bluegene conf
4175
4343
                ac_bluegene_loaded=yes
4225
4393
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4226
4394
  *) ac_try_echo=$ac_try;;
4227
4395
esac
4228
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4396
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4397
$as_echo "$ac_try_echo") >&5
4229
4398
  (eval "$ac_link") 2>conftest.er1
4230
4399
  ac_status=$?
4231
4400
  grep -v '^ *+' conftest.er1 >conftest.err
4232
4401
  rm -f conftest.er1
4233
4402
  cat conftest.err >&5
4234
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4403
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235
4404
  (exit $ac_status); } && {
4236
4405
         test -z "$ac_c_werror_flag" ||
4237
4406
         test ! -s conftest.err
4238
 
       } && test -s conftest$ac_exeext &&
4239
 
       $as_test_x conftest$ac_exeext; then
 
4407
       } && test -s conftest$ac_exeext && {
 
4408
         test "$cross_compiling" = yes ||
 
4409
         $as_test_x conftest$ac_exeext
 
4410
       }; then
4240
4411
  have_bgp_files=yes
4241
4412
else
4242
 
  echo "$as_me: failed program was:" >&5
 
4413
  $as_echo "$as_me: failed program was:" >&5
4243
4414
sed 's/^/| /' conftest.$ac_ext >&5
4244
4415
 
4245
 
        { { echo "$as_me:$LINENO: error: There is a problem linking to the BG/P api." >&5
4246
 
echo "$as_me: error: There is a problem linking to the BG/P api." >&2;}
 
4416
        { { $as_echo "$as_me:$LINENO: error: There is a problem linking to the BG/P api." >&5
 
4417
$as_echo "$as_me: error: There is a problem linking to the BG/P api." >&2;}
4247
4418
   { (exit 1); exit 1; }; }
4248
4419
fi
4249
4420
 
 
4421
rm -rf conftest.dSYM
4250
4422
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4251
4423
      conftest$ac_exeext conftest.$ac_ext
4252
4424
                LDFLAGS="$saved_LDFLAGS"
4286
4458
_ACEOF
4287
4459
 
4288
4460
 
4289
 
                { echo "$as_me:$LINENO: checking for BG serial value" >&5
4290
 
echo $ECHO_N "checking for BG serial value... $ECHO_C" >&6; }
 
4461
                { $as_echo "$as_me:$LINENO: checking for BG serial value" >&5
 
4462
$as_echo_n "checking for BG serial value... " >&6; }
4291
4463
                bg_serial="BGP"
4292
4464
 
4293
4465
# Check whether --with-bg-serial was given.
4295
4467
  withval=$with_bg_serial; bg_serial="$withval"
4296
4468
fi
4297
4469
 
4298
 
                { echo "$as_me:$LINENO: result: $bg_serial" >&5
4299
 
echo "${ECHO_T}$bg_serial" >&6; }
 
4470
                { $as_echo "$as_me:$LINENO: result: $bg_serial" >&5
 
4471
$as_echo "$bg_serial" >&6; }
4300
4472
 
4301
4473
cat >>confdefs.h <<_ACEOF
4302
4474
#define BG_SERIAL "$bg_serial"
4323
4495
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4324
4496
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4325
4497
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4326
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4327
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
4498
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4499
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4328
4500
# On Suns, sometimes $CPP names a directory.
4329
4501
if test -n "$CPP" && test -d "$CPP"; then
4330
4502
  CPP=
4331
4503
fi
4332
4504
if test -z "$CPP"; then
4333
4505
  if test "${ac_cv_prog_CPP+set}" = set; then
4334
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4506
  $as_echo_n "(cached) " >&6
4335
4507
else
4336
4508
      # Double quotes because CPP needs to be expanded
4337
4509
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4363
4535
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4364
4536
  *) ac_try_echo=$ac_try;;
4365
4537
esac
4366
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4538
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4539
$as_echo "$ac_try_echo") >&5
4367
4540
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4368
4541
  ac_status=$?
4369
4542
  grep -v '^ *+' conftest.er1 >conftest.err
4370
4543
  rm -f conftest.er1
4371
4544
  cat conftest.err >&5
4372
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4545
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373
4546
  (exit $ac_status); } >/dev/null && {
4374
4547
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4375
4548
         test ! -s conftest.err
4376
4549
       }; then
4377
4550
  :
4378
4551
else
4379
 
  echo "$as_me: failed program was:" >&5
 
4552
  $as_echo "$as_me: failed program was:" >&5
4380
4553
sed 's/^/| /' conftest.$ac_ext >&5
4381
4554
 
4382
4555
  # Broken: fails on valid input.
4400
4573
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4401
4574
  *) ac_try_echo=$ac_try;;
4402
4575
esac
4403
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4576
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4577
$as_echo "$ac_try_echo") >&5
4404
4578
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4405
4579
  ac_status=$?
4406
4580
  grep -v '^ *+' conftest.er1 >conftest.err
4407
4581
  rm -f conftest.er1
4408
4582
  cat conftest.err >&5
4409
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4583
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410
4584
  (exit $ac_status); } >/dev/null && {
4411
4585
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4412
4586
         test ! -s conftest.err
4414
4588
  # Broken: success on invalid input.
4415
4589
continue
4416
4590
else
4417
 
  echo "$as_me: failed program was:" >&5
 
4591
  $as_echo "$as_me: failed program was:" >&5
4418
4592
sed 's/^/| /' conftest.$ac_ext >&5
4419
4593
 
4420
4594
  # Passes both tests.
4439
4613
else
4440
4614
  ac_cv_prog_CPP=$CPP
4441
4615
fi
4442
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
4443
 
echo "${ECHO_T}$CPP" >&6; }
 
4616
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
4617
$as_echo "$CPP" >&6; }
4444
4618
ac_preproc_ok=false
4445
4619
for ac_c_preproc_warn_flag in '' yes
4446
4620
do
4468
4642
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4469
4643
  *) ac_try_echo=$ac_try;;
4470
4644
esac
4471
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4645
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4646
$as_echo "$ac_try_echo") >&5
4472
4647
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4473
4648
  ac_status=$?
4474
4649
  grep -v '^ *+' conftest.er1 >conftest.err
4475
4650
  rm -f conftest.er1
4476
4651
  cat conftest.err >&5
4477
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4652
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4478
4653
  (exit $ac_status); } >/dev/null && {
4479
4654
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4480
4655
         test ! -s conftest.err
4481
4656
       }; then
4482
4657
  :
4483
4658
else
4484
 
  echo "$as_me: failed program was:" >&5
 
4659
  $as_echo "$as_me: failed program was:" >&5
4485
4660
sed 's/^/| /' conftest.$ac_ext >&5
4486
4661
 
4487
4662
  # Broken: fails on valid input.
4505
4680
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4506
4681
  *) ac_try_echo=$ac_try;;
4507
4682
esac
4508
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4683
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4684
$as_echo "$ac_try_echo") >&5
4509
4685
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4510
4686
  ac_status=$?
4511
4687
  grep -v '^ *+' conftest.er1 >conftest.err
4512
4688
  rm -f conftest.er1
4513
4689
  cat conftest.err >&5
4514
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4690
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515
4691
  (exit $ac_status); } >/dev/null && {
4516
4692
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4517
4693
         test ! -s conftest.err
4519
4695
  # Broken: success on invalid input.
4520
4696
continue
4521
4697
else
4522
 
  echo "$as_me: failed program was:" >&5
 
4698
  $as_echo "$as_me: failed program was:" >&5
4523
4699
sed 's/^/| /' conftest.$ac_ext >&5
4524
4700
 
4525
4701
  # Passes both tests.
4535
4711
if $ac_preproc_ok; then
4536
4712
  :
4537
4713
else
4538
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
4714
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4715
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4716
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4539
4717
See \`config.log' for more details." >&5
4540
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
4718
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4541
4719
See \`config.log' for more details." >&2;}
4542
 
   { (exit 1); exit 1; }; }
 
4720
   { (exit 1); exit 1; }; }; }
4543
4721
fi
4544
4722
 
4545
4723
ac_ext=c
4549
4727
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4550
4728
 
4551
4729
 
4552
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4553
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4554
 
if test "${ac_cv_path_GREP+set}" = set; then
4555
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4556
 
else
4557
 
  # Extract the first word of "grep ggrep" to use in msg output
4558
 
if test -z "$GREP"; then
4559
 
set dummy grep ggrep; ac_prog_name=$2
4560
 
if test "${ac_cv_path_GREP+set}" = set; then
4561
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4562
 
else
 
4730
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4731
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4732
if test "${ac_cv_path_GREP+set}" = set; then
 
4733
  $as_echo_n "(cached) " >&6
 
4734
else
 
4735
  if test -z "$GREP"; then
4563
4736
  ac_path_GREP_found=false
4564
 
# Loop through the user's path and test for each of PROGNAME-LIST
4565
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4737
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4738
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4566
4739
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4567
4740
do
4568
4741
  IFS=$as_save_IFS
4569
4742
  test -z "$as_dir" && as_dir=.
4570
4743
  for ac_prog in grep ggrep; do
4571
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4572
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4573
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4574
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
4744
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4745
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4746
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4747
# Check for GNU ac_path_GREP and select it if it is found.
4575
4748
  # Check for GNU $ac_path_GREP
4576
4749
case `"$ac_path_GREP" --version 2>&1` in
4577
4750
*GNU*)
4578
4751
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4579
4752
*)
4580
4753
  ac_count=0
4581
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4754
  $as_echo_n 0123456789 >"conftest.in"
4582
4755
  while :
4583
4756
  do
4584
4757
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4585
4758
    mv "conftest.tmp" "conftest.in"
4586
4759
    cp "conftest.in" "conftest.nl"
4587
 
    echo 'GREP' >> "conftest.nl"
 
4760
    $as_echo 'GREP' >> "conftest.nl"
4588
4761
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4589
4762
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4590
4763
    ac_count=`expr $ac_count + 1`
4599
4772
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4600
4773
esac
4601
4774
 
4602
 
 
4603
 
    $ac_path_GREP_found && break 3
 
4775
      $ac_path_GREP_found && break 3
 
4776
    done
4604
4777
  done
4605
4778
done
4606
 
 
4607
 
done
4608
4779
IFS=$as_save_IFS
4609
 
 
4610
 
 
4611
 
fi
4612
 
 
4613
 
GREP="$ac_cv_path_GREP"
4614
 
if test -z "$GREP"; then
4615
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4616
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4780
  if test -z "$ac_cv_path_GREP"; then
 
4781
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4782
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4617
4783
   { (exit 1); exit 1; }; }
4618
 
fi
4619
 
 
 
4784
  fi
4620
4785
else
4621
4786
  ac_cv_path_GREP=$GREP
4622
4787
fi
4623
4788
 
4624
 
 
4625
4789
fi
4626
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4627
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4790
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4791
$as_echo "$ac_cv_path_GREP" >&6; }
4628
4792
 GREP="$ac_cv_path_GREP"
4629
4793
 
4630
4794
 
4631
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4632
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4795
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4796
$as_echo_n "checking for egrep... " >&6; }
4633
4797
if test "${ac_cv_path_EGREP+set}" = set; then
4634
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4798
  $as_echo_n "(cached) " >&6
4635
4799
else
4636
4800
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4637
4801
   then ac_cv_path_EGREP="$GREP -E"
4638
4802
   else
4639
 
     # Extract the first word of "egrep" to use in msg output
4640
 
if test -z "$EGREP"; then
4641
 
set dummy egrep; ac_prog_name=$2
4642
 
if test "${ac_cv_path_EGREP+set}" = set; then
4643
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4644
 
else
 
4803
     if test -z "$EGREP"; then
4645
4804
  ac_path_EGREP_found=false
4646
 
# Loop through the user's path and test for each of PROGNAME-LIST
4647
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4805
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4806
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4648
4807
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4649
4808
do
4650
4809
  IFS=$as_save_IFS
4651
4810
  test -z "$as_dir" && as_dir=.
4652
4811
  for ac_prog in egrep; do
4653
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4654
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4655
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4656
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4812
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4813
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4814
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4815
# Check for GNU ac_path_EGREP and select it if it is found.
4657
4816
  # Check for GNU $ac_path_EGREP
4658
4817
case `"$ac_path_EGREP" --version 2>&1` in
4659
4818
*GNU*)
4660
4819
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4661
4820
*)
4662
4821
  ac_count=0
4663
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4822
  $as_echo_n 0123456789 >"conftest.in"
4664
4823
  while :
4665
4824
  do
4666
4825
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4667
4826
    mv "conftest.tmp" "conftest.in"
4668
4827
    cp "conftest.in" "conftest.nl"
4669
 
    echo 'EGREP' >> "conftest.nl"
 
4828
    $as_echo 'EGREP' >> "conftest.nl"
4670
4829
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4671
4830
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4672
4831
    ac_count=`expr $ac_count + 1`
4681
4840
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4682
4841
esac
4683
4842
 
4684
 
 
4685
 
    $ac_path_EGREP_found && break 3
 
4843
      $ac_path_EGREP_found && break 3
 
4844
    done
4686
4845
  done
4687
4846
done
4688
 
 
4689
 
done
4690
4847
IFS=$as_save_IFS
4691
 
 
4692
 
 
4693
 
fi
4694
 
 
4695
 
EGREP="$ac_cv_path_EGREP"
4696
 
if test -z "$EGREP"; then
4697
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4698
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4848
  if test -z "$ac_cv_path_EGREP"; then
 
4849
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4850
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4699
4851
   { (exit 1); exit 1; }; }
4700
 
fi
4701
 
 
 
4852
  fi
4702
4853
else
4703
4854
  ac_cv_path_EGREP=$EGREP
4704
4855
fi
4705
4856
 
4706
 
 
4707
4857
   fi
4708
4858
fi
4709
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4710
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4859
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4860
$as_echo "$ac_cv_path_EGREP" >&6; }
4711
4861
 EGREP="$ac_cv_path_EGREP"
4712
4862
 
4713
4863
 
4714
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4715
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
4864
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4865
$as_echo_n "checking for ANSI C header files... " >&6; }
4716
4866
if test "${ac_cv_header_stdc+set}" = set; then
4717
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4867
  $as_echo_n "(cached) " >&6
4718
4868
else
4719
4869
  cat >conftest.$ac_ext <<_ACEOF
4720
4870
/* confdefs.h.  */
4741
4891
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4742
4892
  *) ac_try_echo=$ac_try;;
4743
4893
esac
4744
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4894
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4895
$as_echo "$ac_try_echo") >&5
4745
4896
  (eval "$ac_compile") 2>conftest.er1
4746
4897
  ac_status=$?
4747
4898
  grep -v '^ *+' conftest.er1 >conftest.err
4748
4899
  rm -f conftest.er1
4749
4900
  cat conftest.err >&5
4750
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4901
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751
4902
  (exit $ac_status); } && {
4752
4903
         test -z "$ac_c_werror_flag" ||
4753
4904
         test ! -s conftest.err
4754
4905
       } && test -s conftest.$ac_objext; then
4755
4906
  ac_cv_header_stdc=yes
4756
4907
else
4757
 
  echo "$as_me: failed program was:" >&5
 
4908
  $as_echo "$as_me: failed program was:" >&5
4758
4909
sed 's/^/| /' conftest.$ac_ext >&5
4759
4910
 
4760
4911
        ac_cv_header_stdc=no
4846
4997
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4847
4998
  *) ac_try_echo=$ac_try;;
4848
4999
esac
4849
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5000
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5001
$as_echo "$ac_try_echo") >&5
4850
5002
  (eval "$ac_link") 2>&5
4851
5003
  ac_status=$?
4852
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5004
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853
5005
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4854
5006
  { (case "(($ac_try" in
4855
5007
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4856
5008
  *) ac_try_echo=$ac_try;;
4857
5009
esac
4858
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5010
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5011
$as_echo "$ac_try_echo") >&5
4859
5012
  (eval "$ac_try") 2>&5
4860
5013
  ac_status=$?
4861
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5014
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862
5015
  (exit $ac_status); }; }; then
4863
5016
  :
4864
5017
else
4865
 
  echo "$as_me: program exited with status $ac_status" >&5
4866
 
echo "$as_me: failed program was:" >&5
 
5018
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
5019
$as_echo "$as_me: failed program was:" >&5
4867
5020
sed 's/^/| /' conftest.$ac_ext >&5
4868
5021
 
4869
5022
( exit $ac_status )
4870
5023
ac_cv_header_stdc=no
4871
5024
fi
 
5025
rm -rf conftest.dSYM
4872
5026
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4873
5027
fi
4874
5028
 
4875
5029
 
4876
5030
fi
4877
5031
fi
4878
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4879
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
5032
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5033
$as_echo "$ac_cv_header_stdc" >&6; }
4880
5034
if test $ac_cv_header_stdc = yes; then
4881
5035
 
4882
5036
cat >>confdefs.h <<\_ACEOF
4898
5052
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4899
5053
                  inttypes.h stdint.h unistd.h
4900
5054
do
4901
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4902
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4903
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5055
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5056
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5057
$as_echo_n "checking for $ac_header... " >&6; }
4904
5058
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4905
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5059
  $as_echo_n "(cached) " >&6
4906
5060
else
4907
5061
  cat >conftest.$ac_ext <<_ACEOF
4908
5062
/* confdefs.h.  */
4920
5074
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4921
5075
  *) ac_try_echo=$ac_try;;
4922
5076
esac
4923
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5077
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5078
$as_echo "$ac_try_echo") >&5
4924
5079
  (eval "$ac_compile") 2>conftest.er1
4925
5080
  ac_status=$?
4926
5081
  grep -v '^ *+' conftest.er1 >conftest.err
4927
5082
  rm -f conftest.er1
4928
5083
  cat conftest.err >&5
4929
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5084
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930
5085
  (exit $ac_status); } && {
4931
5086
         test -z "$ac_c_werror_flag" ||
4932
5087
         test ! -s conftest.err
4933
5088
       } && test -s conftest.$ac_objext; then
4934
5089
  eval "$as_ac_Header=yes"
4935
5090
else
4936
 
  echo "$as_me: failed program was:" >&5
 
5091
  $as_echo "$as_me: failed program was:" >&5
4937
5092
sed 's/^/| /' conftest.$ac_ext >&5
4938
5093
 
4939
5094
        eval "$as_ac_Header=no"
4941
5096
 
4942
5097
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4943
5098
fi
4944
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4945
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4946
 
echo "${ECHO_T}$ac_res" >&6; }
4947
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5099
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5100
                 $as_echo "$as_val"'`
 
5101
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5102
$as_echo "$ac_res" >&6; }
 
5103
as_val=`eval 'as_val=${'$as_ac_Header'}
 
5104
                 $as_echo "$as_val"'`
 
5105
   if test "x$as_val" = x""yes; then
4948
5106
  cat >>confdefs.h <<_ACEOF
4949
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5107
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4950
5108
_ACEOF
4951
5109
 
4952
5110
fi
5001
5159
fi
5002
5160
 
5003
5161
      if test -f "$PROCTRACKDIR/lib/proctrackext.exp"; then
 
5162
         PROCTRACKDIR="$PROCTRACKDIR/lib"
 
5163
 
5004
5164
         CPPFLAGS="-I$PROCTRACKDIR/include $CPPFLAGS"
5005
 
         PROCTRACKDIR="$PROCTRACKDIR/lib"
5006
 
 
5007
5165
 
5008
5166
for ac_header in proctrack.h
5009
5167
do
5010
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5011
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5012
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5013
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5014
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5015
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5168
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5169
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5170
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5171
$as_echo_n "checking for $ac_header... " >&6; }
 
5172
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5173
  $as_echo_n "(cached) " >&6
5016
5174
fi
5017
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5018
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5019
 
echo "${ECHO_T}$ac_res" >&6; }
 
5175
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5176
                 $as_echo "$as_val"'`
 
5177
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5178
$as_echo "$ac_res" >&6; }
5020
5179
else
5021
5180
  # Is the header compilable?
5022
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5023
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
5181
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5182
$as_echo_n "checking $ac_header usability... " >&6; }
5024
5183
cat >conftest.$ac_ext <<_ACEOF
5025
5184
/* confdefs.h.  */
5026
5185
_ACEOF
5036
5195
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5037
5196
  *) ac_try_echo=$ac_try;;
5038
5197
esac
5039
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5198
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5199
$as_echo "$ac_try_echo") >&5
5040
5200
  (eval "$ac_compile") 2>conftest.er1
5041
5201
  ac_status=$?
5042
5202
  grep -v '^ *+' conftest.er1 >conftest.err
5043
5203
  rm -f conftest.er1
5044
5204
  cat conftest.err >&5
5045
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5205
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046
5206
  (exit $ac_status); } && {
5047
5207
         test -z "$ac_c_werror_flag" ||
5048
5208
         test ! -s conftest.err
5049
5209
       } && test -s conftest.$ac_objext; then
5050
5210
  ac_header_compiler=yes
5051
5211
else
5052
 
  echo "$as_me: failed program was:" >&5
 
5212
  $as_echo "$as_me: failed program was:" >&5
5053
5213
sed 's/^/| /' conftest.$ac_ext >&5
5054
5214
 
5055
5215
        ac_header_compiler=no
5056
5216
fi
5057
5217
 
5058
5218
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5059
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5060
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
5219
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5220
$as_echo "$ac_header_compiler" >&6; }
5061
5221
 
5062
5222
# Is the header present?
5063
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5064
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
5223
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5224
$as_echo_n "checking $ac_header presence... " >&6; }
5065
5225
cat >conftest.$ac_ext <<_ACEOF
5066
5226
/* confdefs.h.  */
5067
5227
_ACEOF
5075
5235
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5076
5236
  *) ac_try_echo=$ac_try;;
5077
5237
esac
5078
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5238
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5239
$as_echo "$ac_try_echo") >&5
5079
5240
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5080
5241
  ac_status=$?
5081
5242
  grep -v '^ *+' conftest.er1 >conftest.err
5082
5243
  rm -f conftest.er1
5083
5244
  cat conftest.err >&5
5084
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5245
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5085
5246
  (exit $ac_status); } >/dev/null && {
5086
5247
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5087
5248
         test ! -s conftest.err
5088
5249
       }; then
5089
5250
  ac_header_preproc=yes
5090
5251
else
5091
 
  echo "$as_me: failed program was:" >&5
 
5252
  $as_echo "$as_me: failed program was:" >&5
5092
5253
sed 's/^/| /' conftest.$ac_ext >&5
5093
5254
 
5094
5255
  ac_header_preproc=no
5095
5256
fi
5096
5257
 
5097
5258
rm -f conftest.err conftest.$ac_ext
5098
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5099
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
5259
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5260
$as_echo "$ac_header_preproc" >&6; }
5100
5261
 
5101
5262
# So?  What about this header?
5102
5263
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5103
5264
  yes:no: )
5104
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5105
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5106
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5107
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5265
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
5266
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5267
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5268
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5108
5269
    ac_header_preproc=yes
5109
5270
    ;;
5110
5271
  no:yes:* )
5111
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5112
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5113
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5114
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5115
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5116
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5117
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5118
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5119
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5120
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5121
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5122
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
5272
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
5273
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
5274
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5275
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5276
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5277
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5278
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5279
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5280
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
5281
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5282
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5283
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5123
5284
 
5124
5285
    ;;
5125
5286
esac
5126
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5127
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5287
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5288
$as_echo_n "checking for $ac_header... " >&6; }
5128
5289
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5129
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5290
  $as_echo_n "(cached) " >&6
5130
5291
else
5131
5292
  eval "$as_ac_Header=\$ac_header_preproc"
5132
5293
fi
5133
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5134
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5135
 
echo "${ECHO_T}$ac_res" >&6; }
 
5294
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5295
                 $as_echo "$as_val"'`
 
5296
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5297
$as_echo "$ac_res" >&6; }
5136
5298
 
5137
5299
fi
5138
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5300
as_val=`eval 'as_val=${'$as_ac_Header'}
 
5301
                 $as_echo "$as_val"'`
 
5302
   if test "x$as_val" = x""yes; then
5139
5303
  cat >>confdefs.h <<_ACEOF
5140
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5304
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5141
5305
_ACEOF
5142
5306
 
5143
5307
fi
5152
5316
 
5153
5317
for ac_header in proctrack.h
5154
5318
do
5155
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5156
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5157
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5158
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5159
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5160
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5319
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5320
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5321
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5322
$as_echo_n "checking for $ac_header... " >&6; }
 
5323
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5324
  $as_echo_n "(cached) " >&6
5161
5325
fi
5162
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5163
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5164
 
echo "${ECHO_T}$ac_res" >&6; }
 
5326
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5327
                 $as_echo "$as_val"'`
 
5328
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5329
$as_echo "$ac_res" >&6; }
5165
5330
else
5166
5331
  # Is the header compilable?
5167
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5168
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
5332
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5333
$as_echo_n "checking $ac_header usability... " >&6; }
5169
5334
cat >conftest.$ac_ext <<_ACEOF
5170
5335
/* confdefs.h.  */
5171
5336
_ACEOF
5181
5346
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5182
5347
  *) ac_try_echo=$ac_try;;
5183
5348
esac
5184
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5349
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5350
$as_echo "$ac_try_echo") >&5
5185
5351
  (eval "$ac_compile") 2>conftest.er1
5186
5352
  ac_status=$?
5187
5353
  grep -v '^ *+' conftest.er1 >conftest.err
5188
5354
  rm -f conftest.er1
5189
5355
  cat conftest.err >&5
5190
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5356
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5191
5357
  (exit $ac_status); } && {
5192
5358
         test -z "$ac_c_werror_flag" ||
5193
5359
         test ! -s conftest.err
5194
5360
       } && test -s conftest.$ac_objext; then
5195
5361
  ac_header_compiler=yes
5196
5362
else
5197
 
  echo "$as_me: failed program was:" >&5
 
5363
  $as_echo "$as_me: failed program was:" >&5
5198
5364
sed 's/^/| /' conftest.$ac_ext >&5
5199
5365
 
5200
5366
        ac_header_compiler=no
5201
5367
fi
5202
5368
 
5203
5369
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5204
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5205
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
5370
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5371
$as_echo "$ac_header_compiler" >&6; }
5206
5372
 
5207
5373
# Is the header present?
5208
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5209
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
5374
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5375
$as_echo_n "checking $ac_header presence... " >&6; }
5210
5376
cat >conftest.$ac_ext <<_ACEOF
5211
5377
/* confdefs.h.  */
5212
5378
_ACEOF
5220
5386
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5221
5387
  *) ac_try_echo=$ac_try;;
5222
5388
esac
5223
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5389
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5390
$as_echo "$ac_try_echo") >&5
5224
5391
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5225
5392
  ac_status=$?
5226
5393
  grep -v '^ *+' conftest.er1 >conftest.err
5227
5394
  rm -f conftest.er1
5228
5395
  cat conftest.err >&5
5229
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5396
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230
5397
  (exit $ac_status); } >/dev/null && {
5231
5398
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5232
5399
         test ! -s conftest.err
5233
5400
       }; then
5234
5401
  ac_header_preproc=yes
5235
5402
else
5236
 
  echo "$as_me: failed program was:" >&5
 
5403
  $as_echo "$as_me: failed program was:" >&5
5237
5404
sed 's/^/| /' conftest.$ac_ext >&5
5238
5405
 
5239
5406
  ac_header_preproc=no
5240
5407
fi
5241
5408
 
5242
5409
rm -f conftest.err conftest.$ac_ext
5243
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5244
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
5410
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5411
$as_echo "$ac_header_preproc" >&6; }
5245
5412
 
5246
5413
# So?  What about this header?
5247
5414
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5248
5415
  yes:no: )
5249
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5250
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5251
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5252
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5416
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
5417
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5418
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5419
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5253
5420
    ac_header_preproc=yes
5254
5421
    ;;
5255
5422
  no:yes:* )
5256
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5257
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5258
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5259
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5260
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5261
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5262
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5263
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5264
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5265
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5266
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5267
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
5423
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
5424
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
5425
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5426
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5427
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5428
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5429
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5430
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5431
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
5432
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5433
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5434
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5268
5435
 
5269
5436
    ;;
5270
5437
esac
5271
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5272
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5438
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5439
$as_echo_n "checking for $ac_header... " >&6; }
5273
5440
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5274
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5441
  $as_echo_n "(cached) " >&6
5275
5442
else
5276
5443
  eval "$as_ac_Header=\$ac_header_preproc"
5277
5444
fi
5278
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5279
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5280
 
echo "${ECHO_T}$ac_res" >&6; }
 
5445
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5446
                 $as_echo "$as_val"'`
 
5447
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5448
$as_echo "$ac_res" >&6; }
5281
5449
 
5282
5450
fi
5283
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5451
as_val=`eval 'as_val=${'$as_ac_Header'}
 
5452
                 $as_echo "$as_val"'`
 
5453
   if test "x$as_val" = x""yes; then
5284
5454
  cat >>confdefs.h <<_ACEOF
5285
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5455
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5286
5456
_ACEOF
5287
5457
 
5288
5458
fi
5291
5461
 
5292
5462
         ac_have_aix_proctrack="yes"
5293
5463
      else
5294
 
         { echo "$as_me:$LINENO: WARNING: proctrackext.exp is required for AIX proctrack support, specify location with --with-proctrack" >&5
5295
 
echo "$as_me: WARNING: proctrackext.exp is required for AIX proctrack support, specify location with --with-proctrack" >&2;}
 
5464
         { $as_echo "$as_me:$LINENO: WARNING: proctrackext.exp is required for AIX proctrack support, specify location with --with-proctrack" >&5
 
5465
$as_echo "$as_me: WARNING: proctrackext.exp is required for AIX proctrack support, specify location with --with-proctrack" >&2;}
5296
5466
         ac_have_aix_proctrack="no"
5297
5467
      fi
5298
5468
   else
5304
5474
 
5305
5475
if test "$enable_largefile" != no; then
5306
5476
 
5307
 
  { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
5308
 
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
 
5477
  { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
 
5478
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5309
5479
if test "${ac_cv_sys_largefile_CC+set}" = set; then
5310
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5480
  $as_echo_n "(cached) " >&6
5311
5481
else
5312
5482
  ac_cv_sys_largefile_CC=no
5313
5483
     if test "$GCC" != yes; then
5344
5514
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5345
5515
  *) ac_try_echo=$ac_try;;
5346
5516
esac
5347
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5517
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5518
$as_echo "$ac_try_echo") >&5
5348
5519
  (eval "$ac_compile") 2>conftest.er1
5349
5520
  ac_status=$?
5350
5521
  grep -v '^ *+' conftest.er1 >conftest.err
5351
5522
  rm -f conftest.er1
5352
5523
  cat conftest.err >&5
5353
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5524
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354
5525
  (exit $ac_status); } && {
5355
5526
         test -z "$ac_c_werror_flag" ||
5356
5527
         test ! -s conftest.err
5357
5528
       } && test -s conftest.$ac_objext; then
5358
5529
  break
5359
5530
else
5360
 
  echo "$as_me: failed program was:" >&5
 
5531
  $as_echo "$as_me: failed program was:" >&5
5361
5532
sed 's/^/| /' conftest.$ac_ext >&5
5362
5533
 
5363
5534
 
5371
5542
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5372
5543
  *) ac_try_echo=$ac_try;;
5373
5544
esac
5374
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5545
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5546
$as_echo "$ac_try_echo") >&5
5375
5547
  (eval "$ac_compile") 2>conftest.er1
5376
5548
  ac_status=$?
5377
5549
  grep -v '^ *+' conftest.er1 >conftest.err
5378
5550
  rm -f conftest.er1
5379
5551
  cat conftest.err >&5
5380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5552
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381
5553
  (exit $ac_status); } && {
5382
5554
         test -z "$ac_c_werror_flag" ||
5383
5555
         test ! -s conftest.err
5384
5556
       } && test -s conftest.$ac_objext; then
5385
5557
  ac_cv_sys_largefile_CC=' -n32'; break
5386
5558
else
5387
 
  echo "$as_me: failed program was:" >&5
 
5559
  $as_echo "$as_me: failed program was:" >&5
5388
5560
sed 's/^/| /' conftest.$ac_ext >&5
5389
5561
 
5390
5562
 
5397
5569
       rm -f conftest.$ac_ext
5398
5570
    fi
5399
5571
fi
5400
 
{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
5401
 
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
 
5572
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
 
5573
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
5402
5574
  if test "$ac_cv_sys_largefile_CC" != no; then
5403
5575
    CC=$CC$ac_cv_sys_largefile_CC
5404
5576
  fi
5405
5577
 
5406
 
  { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5407
 
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
 
5578
  { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
 
5579
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5408
5580
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
5409
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5581
  $as_echo_n "(cached) " >&6
5410
5582
else
5411
5583
  while :; do
5412
5584
  cat >conftest.$ac_ext <<_ACEOF
5438
5610
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5439
5611
  *) ac_try_echo=$ac_try;;
5440
5612
esac
5441
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5613
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5614
$as_echo "$ac_try_echo") >&5
5442
5615
  (eval "$ac_compile") 2>conftest.er1
5443
5616
  ac_status=$?
5444
5617
  grep -v '^ *+' conftest.er1 >conftest.err
5445
5618
  rm -f conftest.er1
5446
5619
  cat conftest.err >&5
5447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5620
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448
5621
  (exit $ac_status); } && {
5449
5622
         test -z "$ac_c_werror_flag" ||
5450
5623
         test ! -s conftest.err
5451
5624
       } && test -s conftest.$ac_objext; then
5452
5625
  ac_cv_sys_file_offset_bits=no; break
5453
5626
else
5454
 
  echo "$as_me: failed program was:" >&5
 
5627
  $as_echo "$as_me: failed program was:" >&5
5455
5628
sed 's/^/| /' conftest.$ac_ext >&5
5456
5629
 
5457
5630
 
5488
5661
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5489
5662
  *) ac_try_echo=$ac_try;;
5490
5663
esac
5491
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5664
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5665
$as_echo "$ac_try_echo") >&5
5492
5666
  (eval "$ac_compile") 2>conftest.er1
5493
5667
  ac_status=$?
5494
5668
  grep -v '^ *+' conftest.er1 >conftest.err
5495
5669
  rm -f conftest.er1
5496
5670
  cat conftest.err >&5
5497
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5671
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498
5672
  (exit $ac_status); } && {
5499
5673
         test -z "$ac_c_werror_flag" ||
5500
5674
         test ! -s conftest.err
5501
5675
       } && test -s conftest.$ac_objext; then
5502
5676
  ac_cv_sys_file_offset_bits=64; break
5503
5677
else
5504
 
  echo "$as_me: failed program was:" >&5
 
5678
  $as_echo "$as_me: failed program was:" >&5
5505
5679
sed 's/^/| /' conftest.$ac_ext >&5
5506
5680
 
5507
5681
 
5512
5686
  break
5513
5687
done
5514
5688
fi
5515
 
{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5516
 
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
 
5689
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
 
5690
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5517
5691
case $ac_cv_sys_file_offset_bits in #(
5518
5692
  no | unknown) ;;
5519
5693
  *)
5522
5696
_ACEOF
5523
5697
;;
5524
5698
esac
5525
 
rm -f conftest*
 
5699
rm -rf conftest*
5526
5700
  if test $ac_cv_sys_file_offset_bits = unknown; then
5527
 
    { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5528
 
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
 
5701
    { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
 
5702
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5529
5703
if test "${ac_cv_sys_large_files+set}" = set; then
5530
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5704
  $as_echo_n "(cached) " >&6
5531
5705
else
5532
5706
  while :; do
5533
5707
  cat >conftest.$ac_ext <<_ACEOF
5559
5733
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5560
5734
  *) ac_try_echo=$ac_try;;
5561
5735
esac
5562
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5736
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5737
$as_echo "$ac_try_echo") >&5
5563
5738
  (eval "$ac_compile") 2>conftest.er1
5564
5739
  ac_status=$?
5565
5740
  grep -v '^ *+' conftest.er1 >conftest.err
5566
5741
  rm -f conftest.er1
5567
5742
  cat conftest.err >&5
5568
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5743
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569
5744
  (exit $ac_status); } && {
5570
5745
         test -z "$ac_c_werror_flag" ||
5571
5746
         test ! -s conftest.err
5572
5747
       } && test -s conftest.$ac_objext; then
5573
5748
  ac_cv_sys_large_files=no; break
5574
5749
else
5575
 
  echo "$as_me: failed program was:" >&5
 
5750
  $as_echo "$as_me: failed program was:" >&5
5576
5751
sed 's/^/| /' conftest.$ac_ext >&5
5577
5752
 
5578
5753
 
5609
5784
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5610
5785
  *) ac_try_echo=$ac_try;;
5611
5786
esac
5612
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5787
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5788
$as_echo "$ac_try_echo") >&5
5613
5789
  (eval "$ac_compile") 2>conftest.er1
5614
5790
  ac_status=$?
5615
5791
  grep -v '^ *+' conftest.er1 >conftest.err
5616
5792
  rm -f conftest.er1
5617
5793
  cat conftest.err >&5
5618
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5794
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619
5795
  (exit $ac_status); } && {
5620
5796
         test -z "$ac_c_werror_flag" ||
5621
5797
         test ! -s conftest.err
5622
5798
       } && test -s conftest.$ac_objext; then
5623
5799
  ac_cv_sys_large_files=1; break
5624
5800
else
5625
 
  echo "$as_me: failed program was:" >&5
 
5801
  $as_echo "$as_me: failed program was:" >&5
5626
5802
sed 's/^/| /' conftest.$ac_ext >&5
5627
5803
 
5628
5804
 
5633
5809
  break
5634
5810
done
5635
5811
fi
5636
 
{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5637
 
echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
 
5812
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
 
5813
$as_echo "$ac_cv_sys_large_files" >&6; }
5638
5814
case $ac_cv_sys_large_files in #(
5639
5815
  no | unknown) ;;
5640
5816
  *)
5643
5819
_ACEOF
5644
5820
;;
5645
5821
esac
5646
 
rm -f conftest*
 
5822
rm -rf conftest*
5647
5823
  fi
5648
5824
fi
5649
5825
 
5684
5860
if test -n "$ac_tool_prefix"; then
5685
5861
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5686
5862
set dummy ${ac_tool_prefix}gcc; ac_word=$2
5687
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5688
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5863
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5864
$as_echo_n "checking for $ac_word... " >&6; }
5689
5865
if test "${ac_cv_prog_CC+set}" = set; then
5690
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5866
  $as_echo_n "(cached) " >&6
5691
5867
else
5692
5868
  if test -n "$CC"; then
5693
5869
  ac_cv_prog_CC="$CC" # Let the user override the test.
5700
5876
  for ac_exec_ext in '' $ac_executable_extensions; do
5701
5877
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5702
5878
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
5703
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5879
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5704
5880
    break 2
5705
5881
  fi
5706
5882
done
5711
5887
fi
5712
5888
CC=$ac_cv_prog_CC
5713
5889
if test -n "$CC"; then
5714
 
  { echo "$as_me:$LINENO: result: $CC" >&5
5715
 
echo "${ECHO_T}$CC" >&6; }
 
5890
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
5891
$as_echo "$CC" >&6; }
5716
5892
else
5717
 
  { echo "$as_me:$LINENO: result: no" >&5
5718
 
echo "${ECHO_T}no" >&6; }
 
5893
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5894
$as_echo "no" >&6; }
5719
5895
fi
5720
5896
 
5721
5897
 
5724
5900
  ac_ct_CC=$CC
5725
5901
  # Extract the first word of "gcc", so it can be a program name with args.
5726
5902
set dummy gcc; ac_word=$2
5727
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5728
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5903
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5904
$as_echo_n "checking for $ac_word... " >&6; }
5729
5905
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5730
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5906
  $as_echo_n "(cached) " >&6
5731
5907
else
5732
5908
  if test -n "$ac_ct_CC"; then
5733
5909
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5740
5916
  for ac_exec_ext in '' $ac_executable_extensions; do
5741
5917
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5742
5918
    ac_cv_prog_ac_ct_CC="gcc"
5743
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5919
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5744
5920
    break 2
5745
5921
  fi
5746
5922
done
5751
5927
fi
5752
5928
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5753
5929
if test -n "$ac_ct_CC"; then
5754
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5755
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
5930
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
5931
$as_echo "$ac_ct_CC" >&6; }
5756
5932
else
5757
 
  { echo "$as_me:$LINENO: result: no" >&5
5758
 
echo "${ECHO_T}no" >&6; }
 
5933
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5934
$as_echo "no" >&6; }
5759
5935
fi
5760
5936
 
5761
5937
  if test "x$ac_ct_CC" = x; then
5763
5939
  else
5764
5940
    case $cross_compiling:$ac_tool_warned in
5765
5941
yes:)
5766
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5767
 
whose name does not start with the host triplet.  If you think this
5768
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5769
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5770
 
whose name does not start with the host triplet.  If you think this
5771
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5942
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5943
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5772
5944
ac_tool_warned=yes ;;
5773
5945
esac
5774
5946
    CC=$ac_ct_CC
5781
5953
          if test -n "$ac_tool_prefix"; then
5782
5954
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5783
5955
set dummy ${ac_tool_prefix}cc; ac_word=$2
5784
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5785
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5956
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5957
$as_echo_n "checking for $ac_word... " >&6; }
5786
5958
if test "${ac_cv_prog_CC+set}" = set; then
5787
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5959
  $as_echo_n "(cached) " >&6
5788
5960
else
5789
5961
  if test -n "$CC"; then
5790
5962
  ac_cv_prog_CC="$CC" # Let the user override the test.
5797
5969
  for ac_exec_ext in '' $ac_executable_extensions; do
5798
5970
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5799
5971
    ac_cv_prog_CC="${ac_tool_prefix}cc"
5800
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5972
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5801
5973
    break 2
5802
5974
  fi
5803
5975
done
5808
5980
fi
5809
5981
CC=$ac_cv_prog_CC
5810
5982
if test -n "$CC"; then
5811
 
  { echo "$as_me:$LINENO: result: $CC" >&5
5812
 
echo "${ECHO_T}$CC" >&6; }
 
5983
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
5984
$as_echo "$CC" >&6; }
5813
5985
else
5814
 
  { echo "$as_me:$LINENO: result: no" >&5
5815
 
echo "${ECHO_T}no" >&6; }
 
5986
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5987
$as_echo "no" >&6; }
5816
5988
fi
5817
5989
 
5818
5990
 
5821
5993
if test -z "$CC"; then
5822
5994
  # Extract the first word of "cc", so it can be a program name with args.
5823
5995
set dummy cc; ac_word=$2
5824
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5825
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5996
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5997
$as_echo_n "checking for $ac_word... " >&6; }
5826
5998
if test "${ac_cv_prog_CC+set}" = set; then
5827
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5999
  $as_echo_n "(cached) " >&6
5828
6000
else
5829
6001
  if test -n "$CC"; then
5830
6002
  ac_cv_prog_CC="$CC" # Let the user override the test.
5842
6014
       continue
5843
6015
     fi
5844
6016
    ac_cv_prog_CC="cc"
5845
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6017
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5846
6018
    break 2
5847
6019
  fi
5848
6020
done
5865
6037
fi
5866
6038
CC=$ac_cv_prog_CC
5867
6039
if test -n "$CC"; then
5868
 
  { echo "$as_me:$LINENO: result: $CC" >&5
5869
 
echo "${ECHO_T}$CC" >&6; }
 
6040
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
6041
$as_echo "$CC" >&6; }
5870
6042
else
5871
 
  { echo "$as_me:$LINENO: result: no" >&5
5872
 
echo "${ECHO_T}no" >&6; }
 
6043
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6044
$as_echo "no" >&6; }
5873
6045
fi
5874
6046
 
5875
6047
 
5880
6052
  do
5881
6053
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5882
6054
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5883
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5884
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6055
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6056
$as_echo_n "checking for $ac_word... " >&6; }
5885
6057
if test "${ac_cv_prog_CC+set}" = set; then
5886
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6058
  $as_echo_n "(cached) " >&6
5887
6059
else
5888
6060
  if test -n "$CC"; then
5889
6061
  ac_cv_prog_CC="$CC" # Let the user override the test.
5896
6068
  for ac_exec_ext in '' $ac_executable_extensions; do
5897
6069
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5898
6070
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5899
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6071
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5900
6072
    break 2
5901
6073
  fi
5902
6074
done
5907
6079
fi
5908
6080
CC=$ac_cv_prog_CC
5909
6081
if test -n "$CC"; then
5910
 
  { echo "$as_me:$LINENO: result: $CC" >&5
5911
 
echo "${ECHO_T}$CC" >&6; }
 
6082
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
6083
$as_echo "$CC" >&6; }
5912
6084
else
5913
 
  { echo "$as_me:$LINENO: result: no" >&5
5914
 
echo "${ECHO_T}no" >&6; }
 
6085
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6086
$as_echo "no" >&6; }
5915
6087
fi
5916
6088
 
5917
6089
 
5924
6096
do
5925
6097
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5926
6098
set dummy $ac_prog; ac_word=$2
5927
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5928
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6099
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6100
$as_echo_n "checking for $ac_word... " >&6; }
5929
6101
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5930
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6102
  $as_echo_n "(cached) " >&6
5931
6103
else
5932
6104
  if test -n "$ac_ct_CC"; then
5933
6105
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5940
6112
  for ac_exec_ext in '' $ac_executable_extensions; do
5941
6113
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5942
6114
    ac_cv_prog_ac_ct_CC="$ac_prog"
5943
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6115
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5944
6116
    break 2
5945
6117
  fi
5946
6118
done
5951
6123
fi
5952
6124
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5953
6125
if test -n "$ac_ct_CC"; then
5954
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5955
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
6126
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
6127
$as_echo "$ac_ct_CC" >&6; }
5956
6128
else
5957
 
  { echo "$as_me:$LINENO: result: no" >&5
5958
 
echo "${ECHO_T}no" >&6; }
 
6129
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6130
$as_echo "no" >&6; }
5959
6131
fi
5960
6132
 
5961
6133
 
5967
6139
  else
5968
6140
    case $cross_compiling:$ac_tool_warned in
5969
6141
yes:)
5970
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5971
 
whose name does not start with the host triplet.  If you think this
5972
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5973
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5974
 
whose name does not start with the host triplet.  If you think this
5975
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6142
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6143
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5976
6144
ac_tool_warned=yes ;;
5977
6145
esac
5978
6146
    CC=$ac_ct_CC
5982
6150
fi
5983
6151
 
5984
6152
 
5985
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
6153
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
6154
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6155
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5986
6156
See \`config.log' for more details." >&5
5987
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
6157
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
5988
6158
See \`config.log' for more details." >&2;}
5989
 
   { (exit 1); exit 1; }; }
 
6159
   { (exit 1); exit 1; }; }; }
5990
6160
 
5991
6161
# Provide some information about the compiler.
5992
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
5993
 
ac_compiler=`set X $ac_compile; echo $2`
 
6162
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
6163
set X $ac_compile
 
6164
ac_compiler=$2
5994
6165
{ (ac_try="$ac_compiler --version >&5"
5995
6166
case "(($ac_try" in
5996
6167
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5997
6168
  *) ac_try_echo=$ac_try;;
5998
6169
esac
5999
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6170
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6171
$as_echo "$ac_try_echo") >&5
6000
6172
  (eval "$ac_compiler --version >&5") 2>&5
6001
6173
  ac_status=$?
6002
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6174
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003
6175
  (exit $ac_status); }
6004
6176
{ (ac_try="$ac_compiler -v >&5"
6005
6177
case "(($ac_try" in
6006
6178
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6007
6179
  *) ac_try_echo=$ac_try;;
6008
6180
esac
6009
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6181
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6182
$as_echo "$ac_try_echo") >&5
6010
6183
  (eval "$ac_compiler -v >&5") 2>&5
6011
6184
  ac_status=$?
6012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6185
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013
6186
  (exit $ac_status); }
6014
6187
{ (ac_try="$ac_compiler -V >&5"
6015
6188
case "(($ac_try" in
6016
6189
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6017
6190
  *) ac_try_echo=$ac_try;;
6018
6191
esac
6019
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6192
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6193
$as_echo "$ac_try_echo") >&5
6020
6194
  (eval "$ac_compiler -V >&5") 2>&5
6021
6195
  ac_status=$?
6022
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6196
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6023
6197
  (exit $ac_status); }
6024
6198
 
6025
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6026
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
6199
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
6200
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6027
6201
if test "${ac_cv_c_compiler_gnu+set}" = set; then
6028
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6202
  $as_echo_n "(cached) " >&6
6029
6203
else
6030
6204
  cat >conftest.$ac_ext <<_ACEOF
6031
6205
/* confdefs.h.  */
6051
6225
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6052
6226
  *) ac_try_echo=$ac_try;;
6053
6227
esac
6054
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6228
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6229
$as_echo "$ac_try_echo") >&5
6055
6230
  (eval "$ac_compile") 2>conftest.er1
6056
6231
  ac_status=$?
6057
6232
  grep -v '^ *+' conftest.er1 >conftest.err
6058
6233
  rm -f conftest.er1
6059
6234
  cat conftest.err >&5
6060
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6235
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6061
6236
  (exit $ac_status); } && {
6062
6237
         test -z "$ac_c_werror_flag" ||
6063
6238
         test ! -s conftest.err
6064
6239
       } && test -s conftest.$ac_objext; then
6065
6240
  ac_compiler_gnu=yes
6066
6241
else
6067
 
  echo "$as_me: failed program was:" >&5
 
6242
  $as_echo "$as_me: failed program was:" >&5
6068
6243
sed 's/^/| /' conftest.$ac_ext >&5
6069
6244
 
6070
6245
        ac_compiler_gnu=no
6074
6249
ac_cv_c_compiler_gnu=$ac_compiler_gnu
6075
6250
 
6076
6251
fi
6077
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6078
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
6079
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
6252
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
6253
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
6254
if test $ac_compiler_gnu = yes; then
 
6255
  GCC=yes
 
6256
else
 
6257
  GCC=
 
6258
fi
6080
6259
ac_test_CFLAGS=${CFLAGS+set}
6081
6260
ac_save_CFLAGS=$CFLAGS
6082
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6083
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
6261
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
6262
$as_echo_n "checking whether $CC accepts -g... " >&6; }
6084
6263
if test "${ac_cv_prog_cc_g+set}" = set; then
6085
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6264
  $as_echo_n "(cached) " >&6
6086
6265
else
6087
6266
  ac_save_c_werror_flag=$ac_c_werror_flag
6088
6267
   ac_c_werror_flag=yes
6109
6288
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6110
6289
  *) ac_try_echo=$ac_try;;
6111
6290
esac
6112
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6291
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6292
$as_echo "$ac_try_echo") >&5
6113
6293
  (eval "$ac_compile") 2>conftest.er1
6114
6294
  ac_status=$?
6115
6295
  grep -v '^ *+' conftest.er1 >conftest.err
6116
6296
  rm -f conftest.er1
6117
6297
  cat conftest.err >&5
6118
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6298
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6119
6299
  (exit $ac_status); } && {
6120
6300
         test -z "$ac_c_werror_flag" ||
6121
6301
         test ! -s conftest.err
6122
6302
       } && test -s conftest.$ac_objext; then
6123
6303
  ac_cv_prog_cc_g=yes
6124
6304
else
6125
 
  echo "$as_me: failed program was:" >&5
 
6305
  $as_echo "$as_me: failed program was:" >&5
6126
6306
sed 's/^/| /' conftest.$ac_ext >&5
6127
6307
 
6128
6308
        CFLAGS=""
6147
6327
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6148
6328
  *) ac_try_echo=$ac_try;;
6149
6329
esac
6150
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6330
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6331
$as_echo "$ac_try_echo") >&5
6151
6332
  (eval "$ac_compile") 2>conftest.er1
6152
6333
  ac_status=$?
6153
6334
  grep -v '^ *+' conftest.er1 >conftest.err
6154
6335
  rm -f conftest.er1
6155
6336
  cat conftest.err >&5
6156
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6337
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157
6338
  (exit $ac_status); } && {
6158
6339
         test -z "$ac_c_werror_flag" ||
6159
6340
         test ! -s conftest.err
6160
6341
       } && test -s conftest.$ac_objext; then
6161
6342
  :
6162
6343
else
6163
 
  echo "$as_me: failed program was:" >&5
 
6344
  $as_echo "$as_me: failed program was:" >&5
6164
6345
sed 's/^/| /' conftest.$ac_ext >&5
6165
6346
 
6166
6347
        ac_c_werror_flag=$ac_save_c_werror_flag
6186
6367
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6187
6368
  *) ac_try_echo=$ac_try;;
6188
6369
esac
6189
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6370
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6371
$as_echo "$ac_try_echo") >&5
6190
6372
  (eval "$ac_compile") 2>conftest.er1
6191
6373
  ac_status=$?
6192
6374
  grep -v '^ *+' conftest.er1 >conftest.err
6193
6375
  rm -f conftest.er1
6194
6376
  cat conftest.err >&5
6195
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6377
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196
6378
  (exit $ac_status); } && {
6197
6379
         test -z "$ac_c_werror_flag" ||
6198
6380
         test ! -s conftest.err
6199
6381
       } && test -s conftest.$ac_objext; then
6200
6382
  ac_cv_prog_cc_g=yes
6201
6383
else
6202
 
  echo "$as_me: failed program was:" >&5
 
6384
  $as_echo "$as_me: failed program was:" >&5
6203
6385
sed 's/^/| /' conftest.$ac_ext >&5
6204
6386
 
6205
6387
 
6214
6396
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6215
6397
   ac_c_werror_flag=$ac_save_c_werror_flag
6216
6398
fi
6217
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6218
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
6399
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
6400
$as_echo "$ac_cv_prog_cc_g" >&6; }
6219
6401
if test "$ac_test_CFLAGS" = set; then
6220
6402
  CFLAGS=$ac_save_CFLAGS
6221
6403
elif test $ac_cv_prog_cc_g = yes; then
6231
6413
    CFLAGS=
6232
6414
  fi
6233
6415
fi
6234
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
6235
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
6416
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
6417
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6236
6418
if test "${ac_cv_prog_cc_c89+set}" = set; then
6237
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6419
  $as_echo_n "(cached) " >&6
6238
6420
else
6239
6421
  ac_cv_prog_cc_c89=no
6240
6422
ac_save_CC=$CC
6305
6487
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6306
6488
  *) ac_try_echo=$ac_try;;
6307
6489
esac
6308
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6490
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6491
$as_echo "$ac_try_echo") >&5
6309
6492
  (eval "$ac_compile") 2>conftest.er1
6310
6493
  ac_status=$?
6311
6494
  grep -v '^ *+' conftest.er1 >conftest.err
6312
6495
  rm -f conftest.er1
6313
6496
  cat conftest.err >&5
6314
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6497
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6315
6498
  (exit $ac_status); } && {
6316
6499
         test -z "$ac_c_werror_flag" ||
6317
6500
         test ! -s conftest.err
6318
6501
       } && test -s conftest.$ac_objext; then
6319
6502
  ac_cv_prog_cc_c89=$ac_arg
6320
6503
else
6321
 
  echo "$as_me: failed program was:" >&5
 
6504
  $as_echo "$as_me: failed program was:" >&5
6322
6505
sed 's/^/| /' conftest.$ac_ext >&5
6323
6506
 
6324
6507
 
6334
6517
# AC_CACHE_VAL
6335
6518
case "x$ac_cv_prog_cc_c89" in
6336
6519
  x)
6337
 
    { echo "$as_me:$LINENO: result: none needed" >&5
6338
 
echo "${ECHO_T}none needed" >&6; } ;;
 
6520
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
6521
$as_echo "none needed" >&6; } ;;
6339
6522
  xno)
6340
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
6341
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
6523
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
6524
$as_echo "unsupported" >&6; } ;;
6342
6525
  *)
6343
6526
    CC="$CC $ac_cv_prog_cc_c89"
6344
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
6345
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
6527
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
6528
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6346
6529
esac
6347
6530
 
6348
6531
 
6354
6537
 
6355
6538
depcc="$CC"   am_compiler_list=
6356
6539
 
6357
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6358
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
6540
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
6541
$as_echo_n "checking dependency style of $depcc... " >&6; }
6359
6542
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6360
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6543
  $as_echo_n "(cached) " >&6
6361
6544
else
6362
6545
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6363
6546
  # We make a subdir and do the tests there.  Otherwise we can end up
6445
6628
fi
6446
6629
 
6447
6630
fi
6448
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6449
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
6631
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
6632
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6450
6633
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6451
6634
 
6452
6635
 if
6474
6657
  do
6475
6658
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6476
6659
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6477
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6478
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6660
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6661
$as_echo_n "checking for $ac_word... " >&6; }
6479
6662
if test "${ac_cv_prog_CXX+set}" = set; then
6480
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6663
  $as_echo_n "(cached) " >&6
6481
6664
else
6482
6665
  if test -n "$CXX"; then
6483
6666
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
6490
6673
  for ac_exec_ext in '' $ac_executable_extensions; do
6491
6674
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6492
6675
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6493
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6676
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6494
6677
    break 2
6495
6678
  fi
6496
6679
done
6501
6684
fi
6502
6685
CXX=$ac_cv_prog_CXX
6503
6686
if test -n "$CXX"; then
6504
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
6505
 
echo "${ECHO_T}$CXX" >&6; }
 
6687
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
6688
$as_echo "$CXX" >&6; }
6506
6689
else
6507
 
  { echo "$as_me:$LINENO: result: no" >&5
6508
 
echo "${ECHO_T}no" >&6; }
 
6690
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6691
$as_echo "no" >&6; }
6509
6692
fi
6510
6693
 
6511
6694
 
6518
6701
do
6519
6702
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6520
6703
set dummy $ac_prog; ac_word=$2
6521
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6522
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6704
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6705
$as_echo_n "checking for $ac_word... " >&6; }
6523
6706
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6524
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6707
  $as_echo_n "(cached) " >&6
6525
6708
else
6526
6709
  if test -n "$ac_ct_CXX"; then
6527
6710
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6534
6717
  for ac_exec_ext in '' $ac_executable_extensions; do
6535
6718
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6536
6719
    ac_cv_prog_ac_ct_CXX="$ac_prog"
6537
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6720
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6538
6721
    break 2
6539
6722
  fi
6540
6723
done
6545
6728
fi
6546
6729
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6547
6730
if test -n "$ac_ct_CXX"; then
6548
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6549
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
6731
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
6732
$as_echo "$ac_ct_CXX" >&6; }
6550
6733
else
6551
 
  { echo "$as_me:$LINENO: result: no" >&5
6552
 
echo "${ECHO_T}no" >&6; }
 
6734
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6735
$as_echo "no" >&6; }
6553
6736
fi
6554
6737
 
6555
6738
 
6561
6744
  else
6562
6745
    case $cross_compiling:$ac_tool_warned in
6563
6746
yes:)
6564
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6565
 
whose name does not start with the host triplet.  If you think this
6566
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6567
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6568
 
whose name does not start with the host triplet.  If you think this
6569
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6747
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6748
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6570
6749
ac_tool_warned=yes ;;
6571
6750
esac
6572
6751
    CXX=$ac_ct_CXX
6576
6755
  fi
6577
6756
fi
6578
6757
# Provide some information about the compiler.
6579
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6580
 
ac_compiler=`set X $ac_compile; echo $2`
 
6758
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
6759
set X $ac_compile
 
6760
ac_compiler=$2
6581
6761
{ (ac_try="$ac_compiler --version >&5"
6582
6762
case "(($ac_try" in
6583
6763
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6584
6764
  *) ac_try_echo=$ac_try;;
6585
6765
esac
6586
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6766
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6767
$as_echo "$ac_try_echo") >&5
6587
6768
  (eval "$ac_compiler --version >&5") 2>&5
6588
6769
  ac_status=$?
6589
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6770
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590
6771
  (exit $ac_status); }
6591
6772
{ (ac_try="$ac_compiler -v >&5"
6592
6773
case "(($ac_try" in
6593
6774
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6594
6775
  *) ac_try_echo=$ac_try;;
6595
6776
esac
6596
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6777
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6778
$as_echo "$ac_try_echo") >&5
6597
6779
  (eval "$ac_compiler -v >&5") 2>&5
6598
6780
  ac_status=$?
6599
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6781
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600
6782
  (exit $ac_status); }
6601
6783
{ (ac_try="$ac_compiler -V >&5"
6602
6784
case "(($ac_try" in
6603
6785
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6604
6786
  *) ac_try_echo=$ac_try;;
6605
6787
esac
6606
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6788
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6789
$as_echo "$ac_try_echo") >&5
6607
6790
  (eval "$ac_compiler -V >&5") 2>&5
6608
6791
  ac_status=$?
6609
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6792
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610
6793
  (exit $ac_status); }
6611
6794
 
6612
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6613
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
 
6795
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
6796
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6614
6797
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6615
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6798
  $as_echo_n "(cached) " >&6
6616
6799
else
6617
6800
  cat >conftest.$ac_ext <<_ACEOF
6618
6801
/* confdefs.h.  */
6638
6821
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6639
6822
  *) ac_try_echo=$ac_try;;
6640
6823
esac
6641
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6824
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6825
$as_echo "$ac_try_echo") >&5
6642
6826
  (eval "$ac_compile") 2>conftest.er1
6643
6827
  ac_status=$?
6644
6828
  grep -v '^ *+' conftest.er1 >conftest.err
6645
6829
  rm -f conftest.er1
6646
6830
  cat conftest.err >&5
6647
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6831
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648
6832
  (exit $ac_status); } && {
6649
6833
         test -z "$ac_cxx_werror_flag" ||
6650
6834
         test ! -s conftest.err
6651
6835
       } && test -s conftest.$ac_objext; then
6652
6836
  ac_compiler_gnu=yes
6653
6837
else
6654
 
  echo "$as_me: failed program was:" >&5
 
6838
  $as_echo "$as_me: failed program was:" >&5
6655
6839
sed 's/^/| /' conftest.$ac_ext >&5
6656
6840
 
6657
6841
        ac_compiler_gnu=no
6661
6845
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6662
6846
 
6663
6847
fi
6664
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6665
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6666
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
6848
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
6849
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
6850
if test $ac_compiler_gnu = yes; then
 
6851
  GXX=yes
 
6852
else
 
6853
  GXX=
 
6854
fi
6667
6855
ac_test_CXXFLAGS=${CXXFLAGS+set}
6668
6856
ac_save_CXXFLAGS=$CXXFLAGS
6669
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6670
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
 
6857
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
6858
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
6671
6859
if test "${ac_cv_prog_cxx_g+set}" = set; then
6672
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6860
  $as_echo_n "(cached) " >&6
6673
6861
else
6674
6862
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6675
6863
   ac_cxx_werror_flag=yes
6696
6884
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6697
6885
  *) ac_try_echo=$ac_try;;
6698
6886
esac
6699
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6887
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6888
$as_echo "$ac_try_echo") >&5
6700
6889
  (eval "$ac_compile") 2>conftest.er1
6701
6890
  ac_status=$?
6702
6891
  grep -v '^ *+' conftest.er1 >conftest.err
6703
6892
  rm -f conftest.er1
6704
6893
  cat conftest.err >&5
6705
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6894
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706
6895
  (exit $ac_status); } && {
6707
6896
         test -z "$ac_cxx_werror_flag" ||
6708
6897
         test ! -s conftest.err
6709
6898
       } && test -s conftest.$ac_objext; then
6710
6899
  ac_cv_prog_cxx_g=yes
6711
6900
else
6712
 
  echo "$as_me: failed program was:" >&5
 
6901
  $as_echo "$as_me: failed program was:" >&5
6713
6902
sed 's/^/| /' conftest.$ac_ext >&5
6714
6903
 
6715
6904
        CXXFLAGS=""
6734
6923
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6735
6924
  *) ac_try_echo=$ac_try;;
6736
6925
esac
6737
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6926
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6927
$as_echo "$ac_try_echo") >&5
6738
6928
  (eval "$ac_compile") 2>conftest.er1
6739
6929
  ac_status=$?
6740
6930
  grep -v '^ *+' conftest.er1 >conftest.err
6741
6931
  rm -f conftest.er1
6742
6932
  cat conftest.err >&5
6743
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6933
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744
6934
  (exit $ac_status); } && {
6745
6935
         test -z "$ac_cxx_werror_flag" ||
6746
6936
         test ! -s conftest.err
6747
6937
       } && test -s conftest.$ac_objext; then
6748
6938
  :
6749
6939
else
6750
 
  echo "$as_me: failed program was:" >&5
 
6940
  $as_echo "$as_me: failed program was:" >&5
6751
6941
sed 's/^/| /' conftest.$ac_ext >&5
6752
6942
 
6753
6943
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6773
6963
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6774
6964
  *) ac_try_echo=$ac_try;;
6775
6965
esac
6776
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6966
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6967
$as_echo "$ac_try_echo") >&5
6777
6968
  (eval "$ac_compile") 2>conftest.er1
6778
6969
  ac_status=$?
6779
6970
  grep -v '^ *+' conftest.er1 >conftest.err
6780
6971
  rm -f conftest.er1
6781
6972
  cat conftest.err >&5
6782
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6973
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783
6974
  (exit $ac_status); } && {
6784
6975
         test -z "$ac_cxx_werror_flag" ||
6785
6976
         test ! -s conftest.err
6786
6977
       } && test -s conftest.$ac_objext; then
6787
6978
  ac_cv_prog_cxx_g=yes
6788
6979
else
6789
 
  echo "$as_me: failed program was:" >&5
 
6980
  $as_echo "$as_me: failed program was:" >&5
6790
6981
sed 's/^/| /' conftest.$ac_ext >&5
6791
6982
 
6792
6983
 
6801
6992
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6802
6993
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6803
6994
fi
6804
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6805
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
6995
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
6996
$as_echo "$ac_cv_prog_cxx_g" >&6; }
6806
6997
if test "$ac_test_CXXFLAGS" = set; then
6807
6998
  CXXFLAGS=$ac_save_CXXFLAGS
6808
6999
elif test $ac_cv_prog_cxx_g = yes; then
6826
7017
 
6827
7018
depcc="$CXX"  am_compiler_list=
6828
7019
 
6829
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6830
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
7020
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
7021
$as_echo_n "checking dependency style of $depcc... " >&6; }
6831
7022
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6832
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7023
  $as_echo_n "(cached) " >&6
6833
7024
else
6834
7025
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6835
7026
  # We make a subdir and do the tests there.  Otherwise we can end up
6917
7108
fi
6918
7109
 
6919
7110
fi
6920
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6921
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
7111
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
7112
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6922
7113
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6923
7114
 
6924
7115
 if
6932
7123
fi
6933
7124
 
6934
7125
 
6935
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6936
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
6937
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
7126
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
7127
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
7128
set x ${MAKE-make}
 
7129
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6938
7130
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
6939
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7131
  $as_echo_n "(cached) " >&6
6940
7132
else
6941
7133
  cat >conftest.make <<\_ACEOF
6942
7134
SHELL = /bin/sh
6953
7145
rm -f conftest.make
6954
7146
fi
6955
7147
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6956
 
  { echo "$as_me:$LINENO: result: yes" >&5
6957
 
echo "${ECHO_T}yes" >&6; }
 
7148
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7149
$as_echo "yes" >&6; }
6958
7150
  SET_MAKE=
6959
7151
else
6960
 
  { echo "$as_me:$LINENO: result: no" >&5
6961
 
echo "${ECHO_T}no" >&6; }
 
7152
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7153
$as_echo "no" >&6; }
6962
7154
  SET_MAKE="MAKE=${MAKE-make}"
6963
7155
fi
6964
7156
 
6965
 
# Check whether --enable-shared was given.
6966
 
if test "${enable_shared+set}" = set; then
6967
 
  enableval=$enable_shared; p=${PACKAGE-default}
6968
 
    case $enableval in
6969
 
    yes) enable_shared=yes ;;
6970
 
    no) enable_shared=no ;;
6971
 
    *)
6972
 
      enable_shared=no
6973
 
      # Look at the argument we got.  We use all the common list separators.
6974
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6975
 
      for pkg in $enableval; do
6976
 
        IFS="$lt_save_ifs"
6977
 
        if test "X$pkg" = "X$p"; then
6978
 
          enable_shared=yes
6979
 
        fi
6980
 
      done
6981
 
      IFS="$lt_save_ifs"
6982
 
      ;;
6983
 
    esac
6984
 
else
6985
 
  enable_shared=yes
6986
 
fi
6987
 
 
6988
 
 
6989
 
# Check whether --enable-static was given.
6990
 
if test "${enable_static+set}" = set; then
6991
 
  enableval=$enable_static; p=${PACKAGE-default}
6992
 
    case $enableval in
6993
 
    yes) enable_static=yes ;;
6994
 
    no) enable_static=no ;;
6995
 
    *)
6996
 
     enable_static=no
6997
 
      # Look at the argument we got.  We use all the common list separators.
6998
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6999
 
      for pkg in $enableval; do
7000
 
        IFS="$lt_save_ifs"
7001
 
        if test "X$pkg" = "X$p"; then
7002
 
          enable_static=yes
7003
 
        fi
7004
 
      done
7005
 
      IFS="$lt_save_ifs"
7006
 
      ;;
7007
 
    esac
7008
 
else
7009
 
  enable_static=yes
7010
 
fi
7011
 
 
7012
 
 
7013
 
# Check whether --enable-fast-install was given.
7014
 
if test "${enable_fast_install+set}" = set; then
7015
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
7016
 
    case $enableval in
7017
 
    yes) enable_fast_install=yes ;;
7018
 
    no) enable_fast_install=no ;;
7019
 
    *)
7020
 
      enable_fast_install=no
7021
 
      # Look at the argument we got.  We use all the common list separators.
7022
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7023
 
      for pkg in $enableval; do
7024
 
        IFS="$lt_save_ifs"
7025
 
        if test "X$pkg" = "X$p"; then
7026
 
          enable_fast_install=yes
7027
 
        fi
7028
 
      done
7029
 
      IFS="$lt_save_ifs"
7030
 
      ;;
7031
 
    esac
7032
 
else
7033
 
  enable_fast_install=yes
7034
 
fi
7035
 
 
7036
 
 
7037
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7038
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
7039
 
if test "${lt_cv_path_SED+set}" = set; then
7040
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7041
 
else
7042
 
  # Loop through the user's path and test for sed and gsed.
7043
 
# Then use that list of sed's as ones to test for truncation.
7044
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7157
case `pwd` in
 
7158
  *\ * | *\     *)
 
7159
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
7160
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
7161
esac
 
7162
 
 
7163
 
 
7164
 
 
7165
macro_version='2.2.6'
 
7166
macro_revision='1.3012'
 
7167
 
 
7168
 
 
7169
 
 
7170
 
 
7171
 
 
7172
 
 
7173
 
 
7174
 
 
7175
 
 
7176
 
 
7177
 
 
7178
 
 
7179
 
 
7180
ltmain="$ac_aux_dir/ltmain.sh"
 
7181
 
 
7182
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
7183
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
7184
if test "${ac_cv_path_SED+set}" = set; then
 
7185
  $as_echo_n "(cached) " >&6
 
7186
else
 
7187
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
7188
     for ac_i in 1 2 3 4 5 6 7; do
 
7189
       ac_script="$ac_script$as_nl$ac_script"
 
7190
     done
 
7191
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
7192
     $as_unset ac_script || ac_script=
 
7193
     if test -z "$SED"; then
 
7194
  ac_path_SED_found=false
 
7195
  # Loop through the user's path and test for each of PROGNAME-LIST
 
7196
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7045
7197
for as_dir in $PATH
7046
7198
do
7047
7199
  IFS=$as_save_IFS
7048
7200
  test -z "$as_dir" && as_dir=.
7049
 
  for lt_ac_prog in sed gsed; do
7050
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7051
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
7052
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7053
 
      fi
7054
 
    done
7055
 
  done
7056
 
done
7057
 
IFS=$as_save_IFS
7058
 
lt_ac_max=0
7059
 
lt_ac_count=0
7060
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
7061
 
# along with /bin/sed that truncates output.
7062
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7063
 
  test ! -f $lt_ac_sed && continue
7064
 
  cat /dev/null > conftest.in
7065
 
  lt_ac_count=0
7066
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7067
 
  # Check for GNU sed and select it if it is found.
7068
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7069
 
    lt_cv_path_SED=$lt_ac_sed
7070
 
    break
7071
 
  fi
7072
 
  while true; do
7073
 
    cat conftest.in conftest.in >conftest.tmp
7074
 
    mv conftest.tmp conftest.in
7075
 
    cp conftest.in conftest.nl
7076
 
    echo >>conftest.nl
7077
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7078
 
    cmp -s conftest.out conftest.nl || break
7079
 
    # 10000 chars as input seems more than enough
7080
 
    test $lt_ac_count -gt 10 && break
7081
 
    lt_ac_count=`expr $lt_ac_count + 1`
7082
 
    if test $lt_ac_count -gt $lt_ac_max; then
7083
 
      lt_ac_max=$lt_ac_count
7084
 
      lt_cv_path_SED=$lt_ac_sed
7085
 
    fi
7086
 
  done
7087
 
done
7088
 
 
7089
 
fi
7090
 
 
7091
 
SED=$lt_cv_path_SED
7092
 
 
7093
 
{ echo "$as_me:$LINENO: result: $SED" >&5
7094
 
echo "${ECHO_T}$SED" >&6; }
 
7201
  for ac_prog in sed gsed; do
 
7202
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7203
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
7204
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
7205
# Check for GNU ac_path_SED and select it if it is found.
 
7206
  # Check for GNU $ac_path_SED
 
7207
case `"$ac_path_SED" --version 2>&1` in
 
7208
*GNU*)
 
7209
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
7210
*)
 
7211
  ac_count=0
 
7212
  $as_echo_n 0123456789 >"conftest.in"
 
7213
  while :
 
7214
  do
 
7215
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
7216
    mv "conftest.tmp" "conftest.in"
 
7217
    cp "conftest.in" "conftest.nl"
 
7218
    $as_echo '' >> "conftest.nl"
 
7219
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
7220
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
7221
    ac_count=`expr $ac_count + 1`
 
7222
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
7223
      # Best one so far, save it but keep looking for a better one
 
7224
      ac_cv_path_SED="$ac_path_SED"
 
7225
      ac_path_SED_max=$ac_count
 
7226
    fi
 
7227
    # 10*(2^10) chars as input seems more than enough
 
7228
    test $ac_count -gt 10 && break
 
7229
  done
 
7230
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
7231
esac
 
7232
 
 
7233
      $ac_path_SED_found && break 3
 
7234
    done
 
7235
  done
 
7236
done
 
7237
IFS=$as_save_IFS
 
7238
  if test -z "$ac_cv_path_SED"; then
 
7239
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
7240
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
7241
   { (exit 1); exit 1; }; }
 
7242
  fi
 
7243
else
 
7244
  ac_cv_path_SED=$SED
 
7245
fi
 
7246
 
 
7247
fi
 
7248
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
7249
$as_echo "$ac_cv_path_SED" >&6; }
 
7250
 SED="$ac_cv_path_SED"
 
7251
  rm -f conftest.sed
 
7252
 
 
7253
test -z "$SED" && SED=sed
 
7254
Xsed="$SED -e 1s/^X//"
 
7255
 
 
7256
 
 
7257
 
 
7258
 
 
7259
 
 
7260
 
 
7261
 
 
7262
 
 
7263
 
 
7264
 
 
7265
 
 
7266
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
7267
$as_echo_n "checking for fgrep... " >&6; }
 
7268
if test "${ac_cv_path_FGREP+set}" = set; then
 
7269
  $as_echo_n "(cached) " >&6
 
7270
else
 
7271
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
7272
   then ac_cv_path_FGREP="$GREP -F"
 
7273
   else
 
7274
     if test -z "$FGREP"; then
 
7275
  ac_path_FGREP_found=false
 
7276
  # Loop through the user's path and test for each of PROGNAME-LIST
 
7277
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7278
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
7279
do
 
7280
  IFS=$as_save_IFS
 
7281
  test -z "$as_dir" && as_dir=.
 
7282
  for ac_prog in fgrep; do
 
7283
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7284
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
7285
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
7286
# Check for GNU ac_path_FGREP and select it if it is found.
 
7287
  # Check for GNU $ac_path_FGREP
 
7288
case `"$ac_path_FGREP" --version 2>&1` in
 
7289
*GNU*)
 
7290
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
7291
*)
 
7292
  ac_count=0
 
7293
  $as_echo_n 0123456789 >"conftest.in"
 
7294
  while :
 
7295
  do
 
7296
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
7297
    mv "conftest.tmp" "conftest.in"
 
7298
    cp "conftest.in" "conftest.nl"
 
7299
    $as_echo 'FGREP' >> "conftest.nl"
 
7300
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
7301
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
7302
    ac_count=`expr $ac_count + 1`
 
7303
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
7304
      # Best one so far, save it but keep looking for a better one
 
7305
      ac_cv_path_FGREP="$ac_path_FGREP"
 
7306
      ac_path_FGREP_max=$ac_count
 
7307
    fi
 
7308
    # 10*(2^10) chars as input seems more than enough
 
7309
    test $ac_count -gt 10 && break
 
7310
  done
 
7311
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
7312
esac
 
7313
 
 
7314
      $ac_path_FGREP_found && break 3
 
7315
    done
 
7316
  done
 
7317
done
 
7318
IFS=$as_save_IFS
 
7319
  if test -z "$ac_cv_path_FGREP"; then
 
7320
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
7321
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
7322
   { (exit 1); exit 1; }; }
 
7323
  fi
 
7324
else
 
7325
  ac_cv_path_FGREP=$FGREP
 
7326
fi
 
7327
 
 
7328
   fi
 
7329
fi
 
7330
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
7331
$as_echo "$ac_cv_path_FGREP" >&6; }
 
7332
 FGREP="$ac_cv_path_FGREP"
 
7333
 
 
7334
 
 
7335
test -z "$GREP" && GREP=grep
 
7336
 
 
7337
 
 
7338
 
 
7339
 
 
7340
 
 
7341
 
 
7342
 
 
7343
 
 
7344
 
 
7345
 
 
7346
 
 
7347
 
 
7348
 
 
7349
 
 
7350
 
 
7351
 
 
7352
 
7095
7353
 
7096
7354
 
7097
7355
# Check whether --with-gnu-ld was given.
7104
7362
ac_prog=ld
7105
7363
if test "$GCC" = yes; then
7106
7364
  # Check if gcc -print-prog-name=ld gives a path.
7107
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7108
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
7365
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
7366
$as_echo_n "checking for ld used by $CC... " >&6; }
7109
7367
  case $host in
7110
7368
  *-*-mingw*)
7111
7369
    # gcc leaves a trailing carriage return which upsets mingw
7118
7376
    [\\/]* | ?:[\\/]*)
7119
7377
      re_direlt='/[^/][^/]*/\.\./'
7120
7378
      # Canonicalize the pathname of ld
7121
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
7122
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7123
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
7379
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
7380
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
7381
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7124
7382
      done
7125
7383
      test -z "$LD" && LD="$ac_prog"
7126
7384
      ;;
7134
7392
    ;;
7135
7393
  esac
7136
7394
elif test "$with_gnu_ld" = yes; then
7137
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
7138
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
7395
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
7396
$as_echo_n "checking for GNU ld... " >&6; }
7139
7397
else
7140
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7141
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
7398
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
7399
$as_echo_n "checking for non-GNU ld... " >&6; }
7142
7400
fi
7143
7401
if test "${lt_cv_path_LD+set}" = set; then
7144
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7402
  $as_echo_n "(cached) " >&6
7145
7403
else
7146
7404
  if test -z "$LD"; then
7147
7405
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7171
7429
 
7172
7430
LD="$lt_cv_path_LD"
7173
7431
if test -n "$LD"; then
7174
 
  { echo "$as_me:$LINENO: result: $LD" >&5
7175
 
echo "${ECHO_T}$LD" >&6; }
 
7432
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
7433
$as_echo "$LD" >&6; }
7176
7434
else
7177
 
  { echo "$as_me:$LINENO: result: no" >&5
7178
 
echo "${ECHO_T}no" >&6; }
 
7435
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7436
$as_echo "no" >&6; }
7179
7437
fi
7180
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7181
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
7438
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
7439
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7182
7440
   { (exit 1); exit 1; }; }
7183
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7184
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
7441
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
7442
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7185
7443
if test "${lt_cv_prog_gnu_ld+set}" = set; then
7186
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7444
  $as_echo_n "(cached) " >&6
7187
7445
else
7188
7446
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
7189
7447
case `$LD -v 2>&1 </dev/null` in
7195
7453
  ;;
7196
7454
esac
7197
7455
fi
7198
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7199
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
7456
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
7457
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
7200
7458
with_gnu_ld=$lt_cv_prog_gnu_ld
7201
7459
 
7202
7460
 
7203
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7204
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
7205
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
7206
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7207
 
else
7208
 
  lt_cv_ld_reload_flag='-r'
7209
 
fi
7210
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7211
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
7212
 
reload_flag=$lt_cv_ld_reload_flag
7213
 
case $reload_flag in
7214
 
"" | " "*) ;;
7215
 
*) reload_flag=" $reload_flag" ;;
7216
 
esac
7217
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
7218
 
case $host_os in
7219
 
  darwin*)
7220
 
    if test "$GCC" = yes; then
7221
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7222
 
    else
7223
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7224
 
    fi
7225
 
    ;;
7226
 
esac
7227
 
 
7228
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
7229
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
7461
 
 
7462
 
 
7463
 
 
7464
 
 
7465
 
 
7466
 
 
7467
 
 
7468
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
7469
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7230
7470
if test "${lt_cv_path_NM+set}" = set; then
7231
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7471
  $as_echo_n "(cached) " >&6
7232
7472
else
7233
7473
  if test -n "$NM"; then
7234
7474
  # Let the user override the test.
7271
7511
    done
7272
7512
    IFS="$lt_save_ifs"
7273
7513
  done
7274
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
7275
 
fi
7276
 
fi
7277
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7278
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
7279
 
NM="$lt_cv_path_NM"
7280
 
 
7281
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
7282
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
7514
  : ${lt_cv_path_NM=no}
 
7515
fi
 
7516
fi
 
7517
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
7518
$as_echo "$lt_cv_path_NM" >&6; }
 
7519
if test "$lt_cv_path_NM" != "no"; then
 
7520
  NM="$lt_cv_path_NM"
 
7521
else
 
7522
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
7523
  if test -n "$ac_tool_prefix"; then
 
7524
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
7525
  do
 
7526
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7527
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7528
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7529
$as_echo_n "checking for $ac_word... " >&6; }
 
7530
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
7531
  $as_echo_n "(cached) " >&6
 
7532
else
 
7533
  if test -n "$DUMPBIN"; then
 
7534
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
7535
else
 
7536
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7537
for as_dir in $PATH
 
7538
do
 
7539
  IFS=$as_save_IFS
 
7540
  test -z "$as_dir" && as_dir=.
 
7541
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7542
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7543
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
7544
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7545
    break 2
 
7546
  fi
 
7547
done
 
7548
done
 
7549
IFS=$as_save_IFS
 
7550
 
 
7551
fi
 
7552
fi
 
7553
DUMPBIN=$ac_cv_prog_DUMPBIN
 
7554
if test -n "$DUMPBIN"; then
 
7555
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
7556
$as_echo "$DUMPBIN" >&6; }
 
7557
else
 
7558
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7559
$as_echo "no" >&6; }
 
7560
fi
 
7561
 
 
7562
 
 
7563
    test -n "$DUMPBIN" && break
 
7564
  done
 
7565
fi
 
7566
if test -z "$DUMPBIN"; then
 
7567
  ac_ct_DUMPBIN=$DUMPBIN
 
7568
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
7569
do
 
7570
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7571
set dummy $ac_prog; ac_word=$2
 
7572
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7573
$as_echo_n "checking for $ac_word... " >&6; }
 
7574
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
7575
  $as_echo_n "(cached) " >&6
 
7576
else
 
7577
  if test -n "$ac_ct_DUMPBIN"; then
 
7578
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
7579
else
 
7580
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7581
for as_dir in $PATH
 
7582
do
 
7583
  IFS=$as_save_IFS
 
7584
  test -z "$as_dir" && as_dir=.
 
7585
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7586
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7587
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
7588
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7589
    break 2
 
7590
  fi
 
7591
done
 
7592
done
 
7593
IFS=$as_save_IFS
 
7594
 
 
7595
fi
 
7596
fi
 
7597
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
7598
if test -n "$ac_ct_DUMPBIN"; then
 
7599
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
7600
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
7601
else
 
7602
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7603
$as_echo "no" >&6; }
 
7604
fi
 
7605
 
 
7606
 
 
7607
  test -n "$ac_ct_DUMPBIN" && break
 
7608
done
 
7609
 
 
7610
  if test "x$ac_ct_DUMPBIN" = x; then
 
7611
    DUMPBIN=":"
 
7612
  else
 
7613
    case $cross_compiling:$ac_tool_warned in
 
7614
yes:)
 
7615
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7616
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7617
ac_tool_warned=yes ;;
 
7618
esac
 
7619
    DUMPBIN=$ac_ct_DUMPBIN
 
7620
  fi
 
7621
fi
 
7622
 
 
7623
 
 
7624
  if test "$DUMPBIN" != ":"; then
 
7625
    NM="$DUMPBIN"
 
7626
  fi
 
7627
fi
 
7628
test -z "$NM" && NM=nm
 
7629
 
 
7630
 
 
7631
 
 
7632
 
 
7633
 
 
7634
 
 
7635
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
7636
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
7637
if test "${lt_cv_nm_interface+set}" = set; then
 
7638
  $as_echo_n "(cached) " >&6
 
7639
else
 
7640
  lt_cv_nm_interface="BSD nm"
 
7641
  echo "int some_variable = 0;" > conftest.$ac_ext
 
7642
  (eval echo "\"\$as_me:7642: $ac_compile\"" >&5)
 
7643
  (eval "$ac_compile" 2>conftest.err)
 
7644
  cat conftest.err >&5
 
7645
  (eval echo "\"\$as_me:7645: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
7646
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
7647
  cat conftest.err >&5
 
7648
  (eval echo "\"\$as_me:7648: output\"" >&5)
 
7649
  cat conftest.out >&5
 
7650
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
7651
    lt_cv_nm_interface="MS dumpbin"
 
7652
  fi
 
7653
  rm -f conftest*
 
7654
fi
 
7655
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
7656
$as_echo "$lt_cv_nm_interface" >&6; }
 
7657
 
 
7658
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
7659
$as_echo_n "checking whether ln -s works... " >&6; }
7283
7660
LN_S=$as_ln_s
7284
7661
if test "$LN_S" = "ln -s"; then
7285
 
  { echo "$as_me:$LINENO: result: yes" >&5
7286
 
echo "${ECHO_T}yes" >&6; }
7287
 
else
7288
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7289
 
echo "${ECHO_T}no, using $LN_S" >&6; }
7290
 
fi
7291
 
 
7292
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
7293
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
 
7662
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7663
$as_echo "yes" >&6; }
 
7664
else
 
7665
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
7666
$as_echo "no, using $LN_S" >&6; }
 
7667
fi
 
7668
 
 
7669
# find the maximum length of command line arguments
 
7670
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
7671
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
7672
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
7673
  $as_echo_n "(cached) " >&6
 
7674
else
 
7675
    i=0
 
7676
  teststring="ABCD"
 
7677
 
 
7678
  case $build_os in
 
7679
  msdosdjgpp*)
 
7680
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
7681
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
7682
    # during glob expansion).  Even if it were fixed, the result of this
 
7683
    # check would be larger than it should be.
 
7684
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
7685
    ;;
 
7686
 
 
7687
  gnu*)
 
7688
    # Under GNU Hurd, this test is not required because there is
 
7689
    # no limit to the length of command line arguments.
 
7690
    # Libtool will interpret -1 as no limit whatsoever
 
7691
    lt_cv_sys_max_cmd_len=-1;
 
7692
    ;;
 
7693
 
 
7694
  cygwin* | mingw* | cegcc*)
 
7695
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
7696
    # about 5 minutes as the teststring grows exponentially.
 
7697
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
7698
    # you end up with a "frozen" computer, even though with patience
 
7699
    # the test eventually succeeds (with a max line length of 256k).
 
7700
    # Instead, let's just punt: use the minimum linelength reported by
 
7701
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
7702
    lt_cv_sys_max_cmd_len=8192;
 
7703
    ;;
 
7704
 
 
7705
  amigaos*)
 
7706
    # On AmigaOS with pdksh, this test takes hours, literally.
 
7707
    # So we just punt and use a minimum line length of 8192.
 
7708
    lt_cv_sys_max_cmd_len=8192;
 
7709
    ;;
 
7710
 
 
7711
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
7712
    # This has been around since 386BSD, at least.  Likely further.
 
7713
    if test -x /sbin/sysctl; then
 
7714
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
7715
    elif test -x /usr/sbin/sysctl; then
 
7716
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
7717
    else
 
7718
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
7719
    fi
 
7720
    # And add a safety zone
 
7721
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7722
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7723
    ;;
 
7724
 
 
7725
  interix*)
 
7726
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
7727
    lt_cv_sys_max_cmd_len=196608
 
7728
    ;;
 
7729
 
 
7730
  osf*)
 
7731
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
7732
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
7733
    # nice to cause kernel panics so lets avoid the loop below.
 
7734
    # First set a reasonable default.
 
7735
    lt_cv_sys_max_cmd_len=16384
 
7736
    #
 
7737
    if test -x /sbin/sysconfig; then
 
7738
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
7739
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
7740
      esac
 
7741
    fi
 
7742
    ;;
 
7743
  sco3.2v5*)
 
7744
    lt_cv_sys_max_cmd_len=102400
 
7745
    ;;
 
7746
  sysv5* | sco5v6* | sysv4.2uw2*)
 
7747
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
7748
    if test -n "$kargmax"; then
 
7749
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
7750
    else
 
7751
      lt_cv_sys_max_cmd_len=32768
 
7752
    fi
 
7753
    ;;
 
7754
  *)
 
7755
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
7756
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
7757
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7758
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7759
    else
 
7760
      # Make teststring a little bigger before we do anything with it.
 
7761
      # a 1K string should be a reasonable start.
 
7762
      for i in 1 2 3 4 5 6 7 8 ; do
 
7763
        teststring=$teststring$teststring
 
7764
      done
 
7765
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
7766
      # If test is not a shell built-in, we'll probably end up computing a
 
7767
      # maximum length that is only half of the actual maximum length, but
 
7768
      # we can't tell.
 
7769
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
7770
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
7771
              test $i != 17 # 1/2 MB should be enough
 
7772
      do
 
7773
        i=`expr $i + 1`
 
7774
        teststring=$teststring$teststring
 
7775
      done
 
7776
      # Only check the string length outside the loop.
 
7777
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
7778
      teststring=
 
7779
      # Add a significant safety factor because C++ compilers can tack on
 
7780
      # massive amounts of additional arguments before passing them to the
 
7781
      # linker.  It appears as though 1/2 is a usable value.
 
7782
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
7783
    fi
 
7784
    ;;
 
7785
  esac
 
7786
 
 
7787
fi
 
7788
 
 
7789
if test -n $lt_cv_sys_max_cmd_len ; then
 
7790
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
7791
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
7792
else
 
7793
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
7794
$as_echo "none" >&6; }
 
7795
fi
 
7796
max_cmd_len=$lt_cv_sys_max_cmd_len
 
7797
 
 
7798
 
 
7799
 
 
7800
 
 
7801
 
 
7802
 
 
7803
: ${CP="cp -f"}
 
7804
: ${MV="mv -f"}
 
7805
: ${RM="rm -f"}
 
7806
 
 
7807
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
7808
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
7809
# Try some XSI features
 
7810
xsi_shell=no
 
7811
( _lt_dummy="a/b/c"
 
7812
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
7813
      = c,a/b,, \
 
7814
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
7815
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
7816
  && xsi_shell=yes
 
7817
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
7818
$as_echo "$xsi_shell" >&6; }
 
7819
 
 
7820
 
 
7821
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
7822
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
7823
lt_shell_append=no
 
7824
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
7825
    >/dev/null 2>&1 \
 
7826
  && lt_shell_append=yes
 
7827
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
7828
$as_echo "$lt_shell_append" >&6; }
 
7829
 
 
7830
 
 
7831
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
7832
  lt_unset=unset
 
7833
else
 
7834
  lt_unset=false
 
7835
fi
 
7836
 
 
7837
 
 
7838
 
 
7839
 
 
7840
 
 
7841
# test EBCDIC or ASCII
 
7842
case `echo X|tr X '\101'` in
 
7843
 A) # ASCII based system
 
7844
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
7845
  lt_SP2NL='tr \040 \012'
 
7846
  lt_NL2SP='tr \015\012 \040\040'
 
7847
  ;;
 
7848
 *) # EBCDIC based system
 
7849
  lt_SP2NL='tr \100 \n'
 
7850
  lt_NL2SP='tr \r\n \100\100'
 
7851
  ;;
 
7852
esac
 
7853
 
 
7854
 
 
7855
 
 
7856
 
 
7857
 
 
7858
 
 
7859
 
 
7860
 
 
7861
 
 
7862
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
7863
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
7864
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
7865
  $as_echo_n "(cached) " >&6
 
7866
else
 
7867
  lt_cv_ld_reload_flag='-r'
 
7868
fi
 
7869
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
7870
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
7871
reload_flag=$lt_cv_ld_reload_flag
 
7872
case $reload_flag in
 
7873
"" | " "*) ;;
 
7874
*) reload_flag=" $reload_flag" ;;
 
7875
esac
 
7876
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
7877
case $host_os in
 
7878
  darwin*)
 
7879
    if test "$GCC" = yes; then
 
7880
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
7881
    else
 
7882
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
7883
    fi
 
7884
    ;;
 
7885
esac
 
7886
 
 
7887
 
 
7888
 
 
7889
 
 
7890
 
 
7891
 
 
7892
 
 
7893
 
 
7894
 
 
7895
if test -n "$ac_tool_prefix"; then
 
7896
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
7897
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
7898
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7899
$as_echo_n "checking for $ac_word... " >&6; }
 
7900
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
7901
  $as_echo_n "(cached) " >&6
 
7902
else
 
7903
  if test -n "$OBJDUMP"; then
 
7904
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
7905
else
 
7906
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7907
for as_dir in $PATH
 
7908
do
 
7909
  IFS=$as_save_IFS
 
7910
  test -z "$as_dir" && as_dir=.
 
7911
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7912
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7913
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
7914
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7915
    break 2
 
7916
  fi
 
7917
done
 
7918
done
 
7919
IFS=$as_save_IFS
 
7920
 
 
7921
fi
 
7922
fi
 
7923
OBJDUMP=$ac_cv_prog_OBJDUMP
 
7924
if test -n "$OBJDUMP"; then
 
7925
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
7926
$as_echo "$OBJDUMP" >&6; }
 
7927
else
 
7928
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7929
$as_echo "no" >&6; }
 
7930
fi
 
7931
 
 
7932
 
 
7933
fi
 
7934
if test -z "$ac_cv_prog_OBJDUMP"; then
 
7935
  ac_ct_OBJDUMP=$OBJDUMP
 
7936
  # Extract the first word of "objdump", so it can be a program name with args.
 
7937
set dummy objdump; ac_word=$2
 
7938
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7939
$as_echo_n "checking for $ac_word... " >&6; }
 
7940
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
7941
  $as_echo_n "(cached) " >&6
 
7942
else
 
7943
  if test -n "$ac_ct_OBJDUMP"; then
 
7944
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
7945
else
 
7946
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7947
for as_dir in $PATH
 
7948
do
 
7949
  IFS=$as_save_IFS
 
7950
  test -z "$as_dir" && as_dir=.
 
7951
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7952
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7953
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
7954
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7955
    break 2
 
7956
  fi
 
7957
done
 
7958
done
 
7959
IFS=$as_save_IFS
 
7960
 
 
7961
fi
 
7962
fi
 
7963
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
7964
if test -n "$ac_ct_OBJDUMP"; then
 
7965
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
7966
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
7967
else
 
7968
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7969
$as_echo "no" >&6; }
 
7970
fi
 
7971
 
 
7972
  if test "x$ac_ct_OBJDUMP" = x; then
 
7973
    OBJDUMP="false"
 
7974
  else
 
7975
    case $cross_compiling:$ac_tool_warned in
 
7976
yes:)
 
7977
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7978
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7979
ac_tool_warned=yes ;;
 
7980
esac
 
7981
    OBJDUMP=$ac_ct_OBJDUMP
 
7982
  fi
 
7983
else
 
7984
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
7985
fi
 
7986
 
 
7987
test -z "$OBJDUMP" && OBJDUMP=objdump
 
7988
 
 
7989
 
 
7990
 
 
7991
 
 
7992
 
 
7993
 
 
7994
 
 
7995
 
 
7996
 
 
7997
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
7998
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7294
7999
if test "${lt_cv_deplibs_check_method+set}" = set; then
7295
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8000
  $as_echo_n "(cached) " >&6
7296
8001
else
7297
8002
  lt_cv_file_magic_cmd='$MAGIC_CMD'
7298
8003
lt_cv_file_magic_test_file=
7342
8047
  fi
7343
8048
  ;;
7344
8049
 
 
8050
cegcc)
 
8051
  # use the weaker test based on 'objdump'. See mingw*.
 
8052
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
8053
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
8054
  ;;
 
8055
 
7345
8056
darwin* | rhapsody*)
7346
8057
  lt_cv_deplibs_check_method=pass_all
7347
8058
  ;;
7348
8059
 
7349
8060
freebsd* | dragonfly*)
7350
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
8061
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7351
8062
    case $host_cpu in
7352
8063
    i*86 )
7353
8064
      # Not sure whether the presence of OpenBSD here was a mistake.
7405
8116
  ;;
7406
8117
 
7407
8118
netbsd* | netbsdelf*-gnu)
7408
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
8119
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7409
8120
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7410
8121
  else
7411
8122
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7418
8129
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7419
8130
  ;;
7420
8131
 
7421
 
nto-qnx*)
7422
 
  lt_cv_deplibs_check_method=unknown
 
8132
*nto* | *qnx*)
 
8133
  lt_cv_deplibs_check_method=pass_all
7423
8134
  ;;
7424
8135
 
7425
8136
openbsd*)
7426
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8137
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7427
8138
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7428
8139
  else
7429
8140
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7442
8153
  lt_cv_deplibs_check_method=pass_all
7443
8154
  ;;
7444
8155
 
 
8156
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
8157
  lt_cv_deplibs_check_method=pass_all
 
8158
  ;;
 
8159
 
7445
8160
sysv4 | sysv4.3*)
7446
8161
  case $host_vendor in
7447
8162
  motorola)
7469
8184
  esac
7470
8185
  ;;
7471
8186
 
7472
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
8187
tpf*)
7473
8188
  lt_cv_deplibs_check_method=pass_all
7474
8189
  ;;
7475
8190
esac
7476
8191
 
7477
8192
fi
7478
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7479
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
8193
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
8194
$as_echo "$lt_cv_deplibs_check_method" >&6; }
7480
8195
file_magic_cmd=$lt_cv_file_magic_cmd
7481
8196
deplibs_check_method=$lt_cv_deplibs_check_method
7482
8197
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7484
8199
 
7485
8200
 
7486
8201
 
 
8202
 
 
8203
 
 
8204
 
 
8205
 
 
8206
 
 
8207
 
 
8208
 
 
8209
 
 
8210
if test -n "$ac_tool_prefix"; then
 
8211
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
8212
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
8213
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8214
$as_echo_n "checking for $ac_word... " >&6; }
 
8215
if test "${ac_cv_prog_AR+set}" = set; then
 
8216
  $as_echo_n "(cached) " >&6
 
8217
else
 
8218
  if test -n "$AR"; then
 
8219
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
8220
else
 
8221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8222
for as_dir in $PATH
 
8223
do
 
8224
  IFS=$as_save_IFS
 
8225
  test -z "$as_dir" && as_dir=.
 
8226
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8227
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8228
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
8229
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8230
    break 2
 
8231
  fi
 
8232
done
 
8233
done
 
8234
IFS=$as_save_IFS
 
8235
 
 
8236
fi
 
8237
fi
 
8238
AR=$ac_cv_prog_AR
 
8239
if test -n "$AR"; then
 
8240
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
8241
$as_echo "$AR" >&6; }
 
8242
else
 
8243
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8244
$as_echo "no" >&6; }
 
8245
fi
 
8246
 
 
8247
 
 
8248
fi
 
8249
if test -z "$ac_cv_prog_AR"; then
 
8250
  ac_ct_AR=$AR
 
8251
  # Extract the first word of "ar", so it can be a program name with args.
 
8252
set dummy ar; ac_word=$2
 
8253
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8254
$as_echo_n "checking for $ac_word... " >&6; }
 
8255
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
8256
  $as_echo_n "(cached) " >&6
 
8257
else
 
8258
  if test -n "$ac_ct_AR"; then
 
8259
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
8260
else
 
8261
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8262
for as_dir in $PATH
 
8263
do
 
8264
  IFS=$as_save_IFS
 
8265
  test -z "$as_dir" && as_dir=.
 
8266
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8267
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8268
    ac_cv_prog_ac_ct_AR="ar"
 
8269
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8270
    break 2
 
8271
  fi
 
8272
done
 
8273
done
 
8274
IFS=$as_save_IFS
 
8275
 
 
8276
fi
 
8277
fi
 
8278
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
8279
if test -n "$ac_ct_AR"; then
 
8280
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
8281
$as_echo "$ac_ct_AR" >&6; }
 
8282
else
 
8283
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8284
$as_echo "no" >&6; }
 
8285
fi
 
8286
 
 
8287
  if test "x$ac_ct_AR" = x; then
 
8288
    AR="false"
 
8289
  else
 
8290
    case $cross_compiling:$ac_tool_warned in
 
8291
yes:)
 
8292
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8293
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8294
ac_tool_warned=yes ;;
 
8295
esac
 
8296
    AR=$ac_ct_AR
 
8297
  fi
 
8298
else
 
8299
  AR="$ac_cv_prog_AR"
 
8300
fi
 
8301
 
 
8302
test -z "$AR" && AR=ar
 
8303
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
8304
 
 
8305
 
 
8306
 
 
8307
 
 
8308
 
 
8309
 
 
8310
 
 
8311
 
 
8312
 
 
8313
 
 
8314
 
 
8315
if test -n "$ac_tool_prefix"; then
 
8316
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
8317
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
8318
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8319
$as_echo_n "checking for $ac_word... " >&6; }
 
8320
if test "${ac_cv_prog_STRIP+set}" = set; then
 
8321
  $as_echo_n "(cached) " >&6
 
8322
else
 
8323
  if test -n "$STRIP"; then
 
8324
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
8325
else
 
8326
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8327
for as_dir in $PATH
 
8328
do
 
8329
  IFS=$as_save_IFS
 
8330
  test -z "$as_dir" && as_dir=.
 
8331
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8332
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8333
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
8334
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8335
    break 2
 
8336
  fi
 
8337
done
 
8338
done
 
8339
IFS=$as_save_IFS
 
8340
 
 
8341
fi
 
8342
fi
 
8343
STRIP=$ac_cv_prog_STRIP
 
8344
if test -n "$STRIP"; then
 
8345
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
8346
$as_echo "$STRIP" >&6; }
 
8347
else
 
8348
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8349
$as_echo "no" >&6; }
 
8350
fi
 
8351
 
 
8352
 
 
8353
fi
 
8354
if test -z "$ac_cv_prog_STRIP"; then
 
8355
  ac_ct_STRIP=$STRIP
 
8356
  # Extract the first word of "strip", so it can be a program name with args.
 
8357
set dummy strip; ac_word=$2
 
8358
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8359
$as_echo_n "checking for $ac_word... " >&6; }
 
8360
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
8361
  $as_echo_n "(cached) " >&6
 
8362
else
 
8363
  if test -n "$ac_ct_STRIP"; then
 
8364
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
8365
else
 
8366
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8367
for as_dir in $PATH
 
8368
do
 
8369
  IFS=$as_save_IFS
 
8370
  test -z "$as_dir" && as_dir=.
 
8371
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8372
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8373
    ac_cv_prog_ac_ct_STRIP="strip"
 
8374
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8375
    break 2
 
8376
  fi
 
8377
done
 
8378
done
 
8379
IFS=$as_save_IFS
 
8380
 
 
8381
fi
 
8382
fi
 
8383
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
8384
if test -n "$ac_ct_STRIP"; then
 
8385
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
8386
$as_echo "$ac_ct_STRIP" >&6; }
 
8387
else
 
8388
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8389
$as_echo "no" >&6; }
 
8390
fi
 
8391
 
 
8392
  if test "x$ac_ct_STRIP" = x; then
 
8393
    STRIP=":"
 
8394
  else
 
8395
    case $cross_compiling:$ac_tool_warned in
 
8396
yes:)
 
8397
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8398
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8399
ac_tool_warned=yes ;;
 
8400
esac
 
8401
    STRIP=$ac_ct_STRIP
 
8402
  fi
 
8403
else
 
8404
  STRIP="$ac_cv_prog_STRIP"
 
8405
fi
 
8406
 
 
8407
test -z "$STRIP" && STRIP=:
 
8408
 
 
8409
 
 
8410
 
 
8411
 
 
8412
 
 
8413
 
 
8414
if test -n "$ac_tool_prefix"; then
 
8415
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
8416
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
8417
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8418
$as_echo_n "checking for $ac_word... " >&6; }
 
8419
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
8420
  $as_echo_n "(cached) " >&6
 
8421
else
 
8422
  if test -n "$RANLIB"; then
 
8423
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
8424
else
 
8425
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8426
for as_dir in $PATH
 
8427
do
 
8428
  IFS=$as_save_IFS
 
8429
  test -z "$as_dir" && as_dir=.
 
8430
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8431
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8432
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
8433
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8434
    break 2
 
8435
  fi
 
8436
done
 
8437
done
 
8438
IFS=$as_save_IFS
 
8439
 
 
8440
fi
 
8441
fi
 
8442
RANLIB=$ac_cv_prog_RANLIB
 
8443
if test -n "$RANLIB"; then
 
8444
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
8445
$as_echo "$RANLIB" >&6; }
 
8446
else
 
8447
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8448
$as_echo "no" >&6; }
 
8449
fi
 
8450
 
 
8451
 
 
8452
fi
 
8453
if test -z "$ac_cv_prog_RANLIB"; then
 
8454
  ac_ct_RANLIB=$RANLIB
 
8455
  # Extract the first word of "ranlib", so it can be a program name with args.
 
8456
set dummy ranlib; ac_word=$2
 
8457
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8458
$as_echo_n "checking for $ac_word... " >&6; }
 
8459
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
8460
  $as_echo_n "(cached) " >&6
 
8461
else
 
8462
  if test -n "$ac_ct_RANLIB"; then
 
8463
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
8464
else
 
8465
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8466
for as_dir in $PATH
 
8467
do
 
8468
  IFS=$as_save_IFS
 
8469
  test -z "$as_dir" && as_dir=.
 
8470
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8471
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8472
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
8473
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8474
    break 2
 
8475
  fi
 
8476
done
 
8477
done
 
8478
IFS=$as_save_IFS
 
8479
 
 
8480
fi
 
8481
fi
 
8482
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
8483
if test -n "$ac_ct_RANLIB"; then
 
8484
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
8485
$as_echo "$ac_ct_RANLIB" >&6; }
 
8486
else
 
8487
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8488
$as_echo "no" >&6; }
 
8489
fi
 
8490
 
 
8491
  if test "x$ac_ct_RANLIB" = x; then
 
8492
    RANLIB=":"
 
8493
  else
 
8494
    case $cross_compiling:$ac_tool_warned in
 
8495
yes:)
 
8496
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8497
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8498
ac_tool_warned=yes ;;
 
8499
esac
 
8500
    RANLIB=$ac_ct_RANLIB
 
8501
  fi
 
8502
else
 
8503
  RANLIB="$ac_cv_prog_RANLIB"
 
8504
fi
 
8505
 
 
8506
test -z "$RANLIB" && RANLIB=:
 
8507
 
 
8508
 
 
8509
 
 
8510
 
 
8511
 
 
8512
 
 
8513
# Determine commands to create old-style static archives.
 
8514
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
8515
old_postinstall_cmds='chmod 644 $oldlib'
 
8516
old_postuninstall_cmds=
 
8517
 
 
8518
if test -n "$RANLIB"; then
 
8519
  case $host_os in
 
8520
  openbsd*)
 
8521
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
8522
    ;;
 
8523
  *)
 
8524
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
8525
    ;;
 
8526
  esac
 
8527
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
8528
fi
 
8529
 
 
8530
 
 
8531
 
 
8532
 
 
8533
 
 
8534
 
 
8535
 
 
8536
 
 
8537
 
 
8538
 
 
8539
 
 
8540
 
 
8541
 
 
8542
 
 
8543
 
 
8544
 
 
8545
 
 
8546
 
 
8547
 
 
8548
 
 
8549
 
 
8550
 
 
8551
 
 
8552
 
 
8553
 
 
8554
 
 
8555
 
 
8556
 
 
8557
 
 
8558
 
 
8559
 
 
8560
 
 
8561
 
 
8562
 
7487
8563
# If no C compiler was specified, use CC.
7488
8564
LTCC=${LTCC-"$CC"}
7489
8565
 
7493
8569
# Allow CC to be a program name with arguments.
7494
8570
compiler=$CC
7495
8571
 
7496
 
# Check whether --enable-libtool-lock was given.
7497
 
if test "${enable_libtool_lock+set}" = set; then
7498
 
  enableval=$enable_libtool_lock;
7499
 
fi
7500
 
 
7501
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7502
 
 
7503
 
# Some flags need to be propagated to the compiler or linker for good
7504
 
# libtool support.
7505
 
case $host in
7506
 
ia64-*-hpux*)
7507
 
  # Find out which ABI we are using.
7508
 
  echo 'int i;' > conftest.$ac_ext
7509
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7510
 
  (eval $ac_compile) 2>&5
7511
 
  ac_status=$?
7512
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513
 
  (exit $ac_status); }; then
7514
 
    case `/usr/bin/file conftest.$ac_objext` in
7515
 
    *ELF-32*)
7516
 
      HPUX_IA64_MODE="32"
7517
 
      ;;
7518
 
    *ELF-64*)
7519
 
      HPUX_IA64_MODE="64"
7520
 
      ;;
7521
 
    esac
7522
 
  fi
7523
 
  rm -rf conftest*
7524
 
  ;;
7525
 
*-*-irix6*)
7526
 
  # Find out which ABI we are using.
7527
 
  echo '#line 7527 "configure"' > conftest.$ac_ext
7528
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7529
 
  (eval $ac_compile) 2>&5
7530
 
  ac_status=$?
7531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532
 
  (exit $ac_status); }; then
7533
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
7534
 
    case `/usr/bin/file conftest.$ac_objext` in
7535
 
    *32-bit*)
7536
 
      LD="${LD-ld} -melf32bsmip"
7537
 
      ;;
7538
 
    *N32*)
7539
 
      LD="${LD-ld} -melf32bmipn32"
7540
 
      ;;
7541
 
    *64-bit*)
7542
 
      LD="${LD-ld} -melf64bmip"
7543
 
      ;;
7544
 
    esac
7545
 
   else
7546
 
    case `/usr/bin/file conftest.$ac_objext` in
7547
 
    *32-bit*)
7548
 
      LD="${LD-ld} -32"
7549
 
      ;;
7550
 
    *N32*)
7551
 
      LD="${LD-ld} -n32"
7552
 
      ;;
7553
 
    *64-bit*)
7554
 
      LD="${LD-ld} -64"
7555
 
      ;;
7556
 
    esac
7557
 
   fi
7558
 
  fi
7559
 
  rm -rf conftest*
7560
 
  ;;
7561
 
 
7562
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7563
 
s390*-*linux*|sparc*-*linux*)
7564
 
  # Find out which ABI we are using.
7565
 
  echo 'int i;' > conftest.$ac_ext
7566
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7567
 
  (eval $ac_compile) 2>&5
7568
 
  ac_status=$?
7569
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570
 
  (exit $ac_status); }; then
7571
 
    case `/usr/bin/file conftest.o` in
7572
 
    *32-bit*)
7573
 
      case $host in
7574
 
        x86_64-*kfreebsd*-gnu)
7575
 
          LD="${LD-ld} -m elf_i386_fbsd"
7576
 
          ;;
7577
 
        x86_64-*linux*)
7578
 
          LD="${LD-ld} -m elf_i386"
7579
 
          ;;
7580
 
        ppc64-*linux*|powerpc64-*linux*)
7581
 
          LD="${LD-ld} -m elf32ppclinux"
7582
 
          ;;
7583
 
        s390x-*linux*)
7584
 
          LD="${LD-ld} -m elf_s390"
7585
 
          ;;
7586
 
        sparc64-*linux*)
7587
 
          LD="${LD-ld} -m elf32_sparc"
7588
 
          ;;
7589
 
      esac
7590
 
      ;;
7591
 
    *64-bit*)
7592
 
      case $host in
7593
 
        x86_64-*kfreebsd*-gnu)
7594
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
7595
 
          ;;
7596
 
        x86_64-*linux*)
7597
 
          LD="${LD-ld} -m elf_x86_64"
7598
 
          ;;
7599
 
        ppc*-*linux*|powerpc*-*linux*)
7600
 
          LD="${LD-ld} -m elf64ppc"
7601
 
          ;;
7602
 
        s390*-*linux*)
7603
 
          LD="${LD-ld} -m elf64_s390"
7604
 
          ;;
7605
 
        sparc*-*linux*)
7606
 
          LD="${LD-ld} -m elf64_sparc"
7607
 
          ;;
7608
 
      esac
7609
 
      ;;
7610
 
    esac
7611
 
  fi
7612
 
  rm -rf conftest*
7613
 
  ;;
7614
 
 
7615
 
*-*-sco3.2v5*)
7616
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7617
 
  SAVE_CFLAGS="$CFLAGS"
7618
 
  CFLAGS="$CFLAGS -belf"
7619
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7620
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
7621
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
7622
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7623
 
else
7624
 
  ac_ext=c
7625
 
ac_cpp='$CPP $CPPFLAGS'
7626
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7627
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7628
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7629
 
 
7630
 
     cat >conftest.$ac_ext <<_ACEOF
7631
 
/* confdefs.h.  */
7632
 
_ACEOF
7633
 
cat confdefs.h >>conftest.$ac_ext
7634
 
cat >>conftest.$ac_ext <<_ACEOF
7635
 
/* end confdefs.h.  */
7636
 
 
7637
 
int
7638
 
main ()
7639
 
{
7640
 
 
7641
 
  ;
7642
 
  return 0;
7643
 
}
7644
 
_ACEOF
7645
 
rm -f conftest.$ac_objext conftest$ac_exeext
7646
 
if { (ac_try="$ac_link"
7647
 
case "(($ac_try" in
7648
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7649
 
  *) ac_try_echo=$ac_try;;
7650
 
esac
7651
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7652
 
  (eval "$ac_link") 2>conftest.er1
7653
 
  ac_status=$?
7654
 
  grep -v '^ *+' conftest.er1 >conftest.err
7655
 
  rm -f conftest.er1
7656
 
  cat conftest.err >&5
7657
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658
 
  (exit $ac_status); } && {
7659
 
         test -z "$ac_c_werror_flag" ||
7660
 
         test ! -s conftest.err
7661
 
       } && test -s conftest$ac_exeext &&
7662
 
       $as_test_x conftest$ac_exeext; then
7663
 
  lt_cv_cc_needs_belf=yes
7664
 
else
7665
 
  echo "$as_me: failed program was:" >&5
7666
 
sed 's/^/| /' conftest.$ac_ext >&5
7667
 
 
7668
 
        lt_cv_cc_needs_belf=no
7669
 
fi
7670
 
 
7671
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7672
 
      conftest$ac_exeext conftest.$ac_ext
7673
 
     ac_ext=c
7674
 
ac_cpp='$CPP $CPPFLAGS'
7675
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7676
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7677
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7678
 
 
7679
 
fi
7680
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7681
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
7682
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7683
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7684
 
    CFLAGS="$SAVE_CFLAGS"
7685
 
  fi
7686
 
  ;;
7687
 
sparc*-*solaris*)
7688
 
  # Find out which ABI we are using.
7689
 
  echo 'int i;' > conftest.$ac_ext
7690
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7691
 
  (eval $ac_compile) 2>&5
7692
 
  ac_status=$?
7693
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7694
 
  (exit $ac_status); }; then
7695
 
    case `/usr/bin/file conftest.o` in
7696
 
    *64-bit*)
7697
 
      case $lt_cv_prog_gnu_ld in
7698
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7699
 
      *)
7700
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7701
 
          LD="${LD-ld} -64"
7702
 
        fi
7703
 
        ;;
7704
 
      esac
7705
 
      ;;
7706
 
    esac
7707
 
  fi
7708
 
  rm -rf conftest*
7709
 
  ;;
7710
 
 
7711
 
 
7712
 
esac
7713
 
 
7714
 
need_locks="$enable_libtool_lock"
7715
 
 
7716
 
 
7717
 
 
7718
 
for ac_header in dlfcn.h
7719
 
do
7720
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7721
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7722
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
7723
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7724
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7725
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7726
 
fi
7727
 
ac_res=`eval echo '${'$as_ac_Header'}'`
7728
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
7729
 
echo "${ECHO_T}$ac_res" >&6; }
7730
 
else
7731
 
  # Is the header compilable?
7732
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7733
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7734
 
cat >conftest.$ac_ext <<_ACEOF
7735
 
/* confdefs.h.  */
7736
 
_ACEOF
7737
 
cat confdefs.h >>conftest.$ac_ext
7738
 
cat >>conftest.$ac_ext <<_ACEOF
7739
 
/* end confdefs.h.  */
7740
 
$ac_includes_default
7741
 
#include <$ac_header>
7742
 
_ACEOF
7743
 
rm -f conftest.$ac_objext
7744
 
if { (ac_try="$ac_compile"
7745
 
case "(($ac_try" in
7746
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7747
 
  *) ac_try_echo=$ac_try;;
7748
 
esac
7749
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7750
 
  (eval "$ac_compile") 2>conftest.er1
7751
 
  ac_status=$?
7752
 
  grep -v '^ *+' conftest.er1 >conftest.err
7753
 
  rm -f conftest.er1
7754
 
  cat conftest.err >&5
7755
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756
 
  (exit $ac_status); } && {
7757
 
         test -z "$ac_c_werror_flag" ||
7758
 
         test ! -s conftest.err
7759
 
       } && test -s conftest.$ac_objext; then
7760
 
  ac_header_compiler=yes
7761
 
else
7762
 
  echo "$as_me: failed program was:" >&5
7763
 
sed 's/^/| /' conftest.$ac_ext >&5
7764
 
 
7765
 
        ac_header_compiler=no
7766
 
fi
7767
 
 
7768
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7769
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7770
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
7771
 
 
7772
 
# Is the header present?
7773
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7774
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7775
 
cat >conftest.$ac_ext <<_ACEOF
7776
 
/* confdefs.h.  */
7777
 
_ACEOF
7778
 
cat confdefs.h >>conftest.$ac_ext
7779
 
cat >>conftest.$ac_ext <<_ACEOF
7780
 
/* end confdefs.h.  */
7781
 
#include <$ac_header>
7782
 
_ACEOF
7783
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7784
 
case "(($ac_try" in
7785
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7786
 
  *) ac_try_echo=$ac_try;;
7787
 
esac
7788
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7789
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7790
 
  ac_status=$?
7791
 
  grep -v '^ *+' conftest.er1 >conftest.err
7792
 
  rm -f conftest.er1
7793
 
  cat conftest.err >&5
7794
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795
 
  (exit $ac_status); } >/dev/null && {
7796
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7797
 
         test ! -s conftest.err
7798
 
       }; then
7799
 
  ac_header_preproc=yes
7800
 
else
7801
 
  echo "$as_me: failed program was:" >&5
7802
 
sed 's/^/| /' conftest.$ac_ext >&5
7803
 
 
7804
 
  ac_header_preproc=no
7805
 
fi
7806
 
 
7807
 
rm -f conftest.err conftest.$ac_ext
7808
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7809
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
7810
 
 
7811
 
# So?  What about this header?
7812
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7813
 
  yes:no: )
7814
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7815
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7816
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7817
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7818
 
    ac_header_preproc=yes
7819
 
    ;;
7820
 
  no:yes:* )
7821
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7822
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7823
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7824
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7825
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7826
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7827
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7828
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7829
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7830
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7831
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7832
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7833
 
 
7834
 
    ;;
7835
 
esac
7836
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7837
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7838
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7839
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7840
 
else
7841
 
  eval "$as_ac_Header=\$ac_header_preproc"
7842
 
fi
7843
 
ac_res=`eval echo '${'$as_ac_Header'}'`
7844
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
7845
 
echo "${ECHO_T}$ac_res" >&6; }
7846
 
 
7847
 
fi
7848
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7849
 
  cat >>confdefs.h <<_ACEOF
7850
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7851
 
_ACEOF
7852
 
 
7853
 
fi
7854
 
 
7855
 
done
7856
 
 
7857
 
 
7858
 
 
7859
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7860
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7861
 
    (test "X$CXX" != "Xg++"))) ; then
7862
 
  ac_ext=cpp
7863
 
ac_cpp='$CXXCPP $CPPFLAGS'
7864
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7865
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7866
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7867
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7868
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7869
 
if test -z "$CXXCPP"; then
7870
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
7871
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7872
 
else
7873
 
      # Double quotes because CXXCPP needs to be expanded
7874
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
7875
 
    do
7876
 
      ac_preproc_ok=false
7877
 
for ac_cxx_preproc_warn_flag in '' yes
7878
 
do
7879
 
  # Use a header file that comes with gcc, so configuring glibc
7880
 
  # with a fresh cross-compiler works.
7881
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7882
 
  # <limits.h> exists even on freestanding compilers.
7883
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7884
 
  # not just through cpp. "Syntax error" is here to catch this case.
7885
 
  cat >conftest.$ac_ext <<_ACEOF
7886
 
/* confdefs.h.  */
7887
 
_ACEOF
7888
 
cat confdefs.h >>conftest.$ac_ext
7889
 
cat >>conftest.$ac_ext <<_ACEOF
7890
 
/* end confdefs.h.  */
7891
 
#ifdef __STDC__
7892
 
# include <limits.h>
7893
 
#else
7894
 
# include <assert.h>
7895
 
#endif
7896
 
                     Syntax error
7897
 
_ACEOF
7898
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7899
 
case "(($ac_try" in
7900
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7901
 
  *) ac_try_echo=$ac_try;;
7902
 
esac
7903
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7904
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7905
 
  ac_status=$?
7906
 
  grep -v '^ *+' conftest.er1 >conftest.err
7907
 
  rm -f conftest.er1
7908
 
  cat conftest.err >&5
7909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910
 
  (exit $ac_status); } >/dev/null && {
7911
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7912
 
         test ! -s conftest.err
7913
 
       }; then
7914
 
  :
7915
 
else
7916
 
  echo "$as_me: failed program was:" >&5
7917
 
sed 's/^/| /' conftest.$ac_ext >&5
7918
 
 
7919
 
  # Broken: fails on valid input.
7920
 
continue
7921
 
fi
7922
 
 
7923
 
rm -f conftest.err conftest.$ac_ext
7924
 
 
7925
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7926
 
  # can be detected and how.
7927
 
  cat >conftest.$ac_ext <<_ACEOF
7928
 
/* confdefs.h.  */
7929
 
_ACEOF
7930
 
cat confdefs.h >>conftest.$ac_ext
7931
 
cat >>conftest.$ac_ext <<_ACEOF
7932
 
/* end confdefs.h.  */
7933
 
#include <ac_nonexistent.h>
7934
 
_ACEOF
7935
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7936
 
case "(($ac_try" in
7937
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7938
 
  *) ac_try_echo=$ac_try;;
7939
 
esac
7940
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7941
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7942
 
  ac_status=$?
7943
 
  grep -v '^ *+' conftest.er1 >conftest.err
7944
 
  rm -f conftest.er1
7945
 
  cat conftest.err >&5
7946
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947
 
  (exit $ac_status); } >/dev/null && {
7948
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7949
 
         test ! -s conftest.err
7950
 
       }; then
7951
 
  # Broken: success on invalid input.
7952
 
continue
7953
 
else
7954
 
  echo "$as_me: failed program was:" >&5
7955
 
sed 's/^/| /' conftest.$ac_ext >&5
7956
 
 
7957
 
  # Passes both tests.
7958
 
ac_preproc_ok=:
7959
 
break
7960
 
fi
7961
 
 
7962
 
rm -f conftest.err conftest.$ac_ext
7963
 
 
7964
 
done
7965
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7966
 
rm -f conftest.err conftest.$ac_ext
7967
 
if $ac_preproc_ok; then
7968
 
  break
7969
 
fi
7970
 
 
7971
 
    done
7972
 
    ac_cv_prog_CXXCPP=$CXXCPP
7973
 
 
7974
 
fi
7975
 
  CXXCPP=$ac_cv_prog_CXXCPP
7976
 
else
7977
 
  ac_cv_prog_CXXCPP=$CXXCPP
7978
 
fi
7979
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
7980
 
echo "${ECHO_T}$CXXCPP" >&6; }
7981
 
ac_preproc_ok=false
7982
 
for ac_cxx_preproc_warn_flag in '' yes
7983
 
do
7984
 
  # Use a header file that comes with gcc, so configuring glibc
7985
 
  # with a fresh cross-compiler works.
7986
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7987
 
  # <limits.h> exists even on freestanding compilers.
7988
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7989
 
  # not just through cpp. "Syntax error" is here to catch this case.
7990
 
  cat >conftest.$ac_ext <<_ACEOF
7991
 
/* confdefs.h.  */
7992
 
_ACEOF
7993
 
cat confdefs.h >>conftest.$ac_ext
7994
 
cat >>conftest.$ac_ext <<_ACEOF
7995
 
/* end confdefs.h.  */
7996
 
#ifdef __STDC__
7997
 
# include <limits.h>
7998
 
#else
7999
 
# include <assert.h>
8000
 
#endif
8001
 
                     Syntax error
8002
 
_ACEOF
8003
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8004
 
case "(($ac_try" in
8005
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8006
 
  *) ac_try_echo=$ac_try;;
8007
 
esac
8008
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8009
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8010
 
  ac_status=$?
8011
 
  grep -v '^ *+' conftest.er1 >conftest.err
8012
 
  rm -f conftest.er1
8013
 
  cat conftest.err >&5
8014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015
 
  (exit $ac_status); } >/dev/null && {
8016
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8017
 
         test ! -s conftest.err
8018
 
       }; then
8019
 
  :
8020
 
else
8021
 
  echo "$as_me: failed program was:" >&5
8022
 
sed 's/^/| /' conftest.$ac_ext >&5
8023
 
 
8024
 
  # Broken: fails on valid input.
8025
 
continue
8026
 
fi
8027
 
 
8028
 
rm -f conftest.err conftest.$ac_ext
8029
 
 
8030
 
  # OK, works on sane cases.  Now check whether nonexistent headers
8031
 
  # can be detected and how.
8032
 
  cat >conftest.$ac_ext <<_ACEOF
8033
 
/* confdefs.h.  */
8034
 
_ACEOF
8035
 
cat confdefs.h >>conftest.$ac_ext
8036
 
cat >>conftest.$ac_ext <<_ACEOF
8037
 
/* end confdefs.h.  */
8038
 
#include <ac_nonexistent.h>
8039
 
_ACEOF
8040
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8041
 
case "(($ac_try" in
8042
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8043
 
  *) ac_try_echo=$ac_try;;
8044
 
esac
8045
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8046
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8047
 
  ac_status=$?
8048
 
  grep -v '^ *+' conftest.er1 >conftest.err
8049
 
  rm -f conftest.er1
8050
 
  cat conftest.err >&5
8051
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052
 
  (exit $ac_status); } >/dev/null && {
8053
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8054
 
         test ! -s conftest.err
8055
 
       }; then
8056
 
  # Broken: success on invalid input.
8057
 
continue
8058
 
else
8059
 
  echo "$as_me: failed program was:" >&5
8060
 
sed 's/^/| /' conftest.$ac_ext >&5
8061
 
 
8062
 
  # Passes both tests.
8063
 
ac_preproc_ok=:
8064
 
break
8065
 
fi
8066
 
 
8067
 
rm -f conftest.err conftest.$ac_ext
8068
 
 
8069
 
done
8070
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8071
 
rm -f conftest.err conftest.$ac_ext
8072
 
if $ac_preproc_ok; then
8073
 
  :
8074
 
else
8075
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8076
 
See \`config.log' for more details." >&5
8077
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8078
 
See \`config.log' for more details." >&2;}
8079
 
   { (exit 1); exit 1; }; }
8080
 
fi
8081
 
 
8082
 
ac_ext=cpp
8083
 
ac_cpp='$CXXCPP $CPPFLAGS'
8084
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8085
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8086
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8087
 
 
8088
 
fi
8089
 
 
8090
 
 
8091
 
ac_ext=f
8092
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
8093
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8094
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
8095
 
if test -n "$ac_tool_prefix"; then
8096
 
  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
8097
 
  do
8098
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8099
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8100
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8101
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8102
 
if test "${ac_cv_prog_F77+set}" = set; then
8103
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8104
 
else
8105
 
  if test -n "$F77"; then
8106
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
8107
 
else
8108
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8109
 
for as_dir in $PATH
8110
 
do
8111
 
  IFS=$as_save_IFS
8112
 
  test -z "$as_dir" && as_dir=.
8113
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8114
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8115
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
8116
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8117
 
    break 2
8118
 
  fi
8119
 
done
8120
 
done
8121
 
IFS=$as_save_IFS
8122
 
 
8123
 
fi
8124
 
fi
8125
 
F77=$ac_cv_prog_F77
8126
 
if test -n "$F77"; then
8127
 
  { echo "$as_me:$LINENO: result: $F77" >&5
8128
 
echo "${ECHO_T}$F77" >&6; }
8129
 
else
8130
 
  { echo "$as_me:$LINENO: result: no" >&5
8131
 
echo "${ECHO_T}no" >&6; }
8132
 
fi
8133
 
 
8134
 
 
8135
 
    test -n "$F77" && break
8136
 
  done
8137
 
fi
8138
 
if test -z "$F77"; then
8139
 
  ac_ct_F77=$F77
8140
 
  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
8141
 
do
8142
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
8143
 
set dummy $ac_prog; ac_word=$2
8144
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8145
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8146
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
8147
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8148
 
else
8149
 
  if test -n "$ac_ct_F77"; then
8150
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
8151
 
else
8152
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8153
 
for as_dir in $PATH
8154
 
do
8155
 
  IFS=$as_save_IFS
8156
 
  test -z "$as_dir" && as_dir=.
8157
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8158
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8159
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
8160
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8161
 
    break 2
8162
 
  fi
8163
 
done
8164
 
done
8165
 
IFS=$as_save_IFS
8166
 
 
8167
 
fi
8168
 
fi
8169
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
8170
 
if test -n "$ac_ct_F77"; then
8171
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
8172
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
8173
 
else
8174
 
  { echo "$as_me:$LINENO: result: no" >&5
8175
 
echo "${ECHO_T}no" >&6; }
8176
 
fi
8177
 
 
8178
 
 
8179
 
  test -n "$ac_ct_F77" && break
8180
 
done
8181
 
 
8182
 
  if test "x$ac_ct_F77" = x; then
8183
 
    F77=""
8184
 
  else
8185
 
    case $cross_compiling:$ac_tool_warned in
8186
 
yes:)
8187
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8188
 
whose name does not start with the host triplet.  If you think this
8189
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8190
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8191
 
whose name does not start with the host triplet.  If you think this
8192
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8193
 
ac_tool_warned=yes ;;
8194
 
esac
8195
 
    F77=$ac_ct_F77
8196
 
  fi
8197
 
fi
8198
 
 
8199
 
 
8200
 
# Provide some information about the compiler.
8201
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
8202
 
ac_compiler=`set X $ac_compile; echo $2`
8203
 
{ (ac_try="$ac_compiler --version >&5"
8204
 
case "(($ac_try" in
8205
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8206
 
  *) ac_try_echo=$ac_try;;
8207
 
esac
8208
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8209
 
  (eval "$ac_compiler --version >&5") 2>&5
8210
 
  ac_status=$?
8211
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212
 
  (exit $ac_status); }
8213
 
{ (ac_try="$ac_compiler -v >&5"
8214
 
case "(($ac_try" in
8215
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8216
 
  *) ac_try_echo=$ac_try;;
8217
 
esac
8218
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8219
 
  (eval "$ac_compiler -v >&5") 2>&5
8220
 
  ac_status=$?
8221
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222
 
  (exit $ac_status); }
8223
 
{ (ac_try="$ac_compiler -V >&5"
8224
 
case "(($ac_try" in
8225
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8226
 
  *) ac_try_echo=$ac_try;;
8227
 
esac
8228
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8229
 
  (eval "$ac_compiler -V >&5") 2>&5
8230
 
  ac_status=$?
8231
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232
 
  (exit $ac_status); }
8233
 
rm -f a.out
8234
 
 
8235
 
# If we don't use `.F' as extension, the preprocessor is not run on the
8236
 
# input file.  (Note that this only needs to work for GNU compilers.)
8237
 
ac_save_ext=$ac_ext
8238
 
ac_ext=F
8239
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
8240
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
8241
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
8242
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8243
 
else
8244
 
  cat >conftest.$ac_ext <<_ACEOF
8245
 
      program main
8246
 
#ifndef __GNUC__
8247
 
       choke me
8248
 
#endif
8249
 
 
8250
 
      end
8251
 
_ACEOF
8252
 
rm -f conftest.$ac_objext
8253
 
if { (ac_try="$ac_compile"
8254
 
case "(($ac_try" in
8255
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8256
 
  *) ac_try_echo=$ac_try;;
8257
 
esac
8258
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8259
 
  (eval "$ac_compile") 2>conftest.er1
8260
 
  ac_status=$?
8261
 
  grep -v '^ *+' conftest.er1 >conftest.err
8262
 
  rm -f conftest.er1
8263
 
  cat conftest.err >&5
8264
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265
 
  (exit $ac_status); } && {
8266
 
         test -z "$ac_f77_werror_flag" ||
8267
 
         test ! -s conftest.err
8268
 
       } && test -s conftest.$ac_objext; then
8269
 
  ac_compiler_gnu=yes
8270
 
else
8271
 
  echo "$as_me: failed program was:" >&5
8272
 
sed 's/^/| /' conftest.$ac_ext >&5
8273
 
 
8274
 
        ac_compiler_gnu=no
8275
 
fi
8276
 
 
8277
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8278
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
8279
 
 
8280
 
fi
8281
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
8282
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
8283
 
ac_ext=$ac_save_ext
8284
 
ac_test_FFLAGS=${FFLAGS+set}
8285
 
ac_save_FFLAGS=$FFLAGS
8286
 
FFLAGS=
8287
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
8288
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
8289
 
if test "${ac_cv_prog_f77_g+set}" = set; then
8290
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8291
 
else
8292
 
  FFLAGS=-g
8293
 
cat >conftest.$ac_ext <<_ACEOF
8294
 
      program main
8295
 
 
8296
 
      end
8297
 
_ACEOF
8298
 
rm -f conftest.$ac_objext
8299
 
if { (ac_try="$ac_compile"
8300
 
case "(($ac_try" in
8301
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8302
 
  *) ac_try_echo=$ac_try;;
8303
 
esac
8304
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8305
 
  (eval "$ac_compile") 2>conftest.er1
8306
 
  ac_status=$?
8307
 
  grep -v '^ *+' conftest.er1 >conftest.err
8308
 
  rm -f conftest.er1
8309
 
  cat conftest.err >&5
8310
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8311
 
  (exit $ac_status); } && {
8312
 
         test -z "$ac_f77_werror_flag" ||
8313
 
         test ! -s conftest.err
8314
 
       } && test -s conftest.$ac_objext; then
8315
 
  ac_cv_prog_f77_g=yes
8316
 
else
8317
 
  echo "$as_me: failed program was:" >&5
8318
 
sed 's/^/| /' conftest.$ac_ext >&5
8319
 
 
8320
 
        ac_cv_prog_f77_g=no
8321
 
fi
8322
 
 
8323
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8324
 
 
8325
 
fi
8326
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
8327
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
8328
 
if test "$ac_test_FFLAGS" = set; then
8329
 
  FFLAGS=$ac_save_FFLAGS
8330
 
elif test $ac_cv_prog_f77_g = yes; then
8331
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8332
 
    FFLAGS="-g -O2"
8333
 
  else
8334
 
    FFLAGS="-g"
8335
 
  fi
8336
 
else
8337
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8338
 
    FFLAGS="-O2"
8339
 
  else
8340
 
    FFLAGS=
8341
 
  fi
8342
 
fi
8343
 
 
8344
 
G77=`test $ac_compiler_gnu = yes && echo yes`
8345
 
ac_ext=c
8346
 
ac_cpp='$CPP $CPPFLAGS'
8347
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8348
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8349
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8350
 
 
8351
 
 
8352
 
 
8353
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
8354
 
# find the maximum length of command line arguments
8355
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
8356
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
8357
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
8358
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8359
 
else
8360
 
    i=0
8361
 
  teststring="ABCD"
8362
 
 
8363
 
  case $build_os in
8364
 
  msdosdjgpp*)
8365
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
8366
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
8367
 
    # during glob expansion).  Even if it were fixed, the result of this
8368
 
    # check would be larger than it should be.
8369
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
8370
 
    ;;
8371
 
 
8372
 
  gnu*)
8373
 
    # Under GNU Hurd, this test is not required because there is
8374
 
    # no limit to the length of command line arguments.
8375
 
    # Libtool will interpret -1 as no limit whatsoever
8376
 
    lt_cv_sys_max_cmd_len=-1;
8377
 
    ;;
8378
 
 
8379
 
  cygwin* | mingw*)
8380
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
8381
 
    # about 5 minutes as the teststring grows exponentially.
8382
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
8383
 
    # you end up with a "frozen" computer, even though with patience
8384
 
    # the test eventually succeeds (with a max line length of 256k).
8385
 
    # Instead, let's just punt: use the minimum linelength reported by
8386
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
8387
 
    lt_cv_sys_max_cmd_len=8192;
8388
 
    ;;
8389
 
 
8390
 
  amigaos*)
8391
 
    # On AmigaOS with pdksh, this test takes hours, literally.
8392
 
    # So we just punt and use a minimum line length of 8192.
8393
 
    lt_cv_sys_max_cmd_len=8192;
8394
 
    ;;
8395
 
 
8396
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
8397
 
    # This has been around since 386BSD, at least.  Likely further.
8398
 
    if test -x /sbin/sysctl; then
8399
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8400
 
    elif test -x /usr/sbin/sysctl; then
8401
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8402
 
    else
8403
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
8404
 
    fi
8405
 
    # And add a safety zone
8406
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8407
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8408
 
    ;;
8409
 
 
8410
 
  interix*)
8411
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
8412
 
    lt_cv_sys_max_cmd_len=196608
8413
 
    ;;
8414
 
 
8415
 
  osf*)
8416
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8417
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8418
 
    # nice to cause kernel panics so lets avoid the loop below.
8419
 
    # First set a reasonable default.
8420
 
    lt_cv_sys_max_cmd_len=16384
8421
 
    #
8422
 
    if test -x /sbin/sysconfig; then
8423
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8424
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
8425
 
      esac
8426
 
    fi
8427
 
    ;;
8428
 
  sco3.2v5*)
8429
 
    lt_cv_sys_max_cmd_len=102400
8430
 
    ;;
8431
 
  sysv5* | sco5v6* | sysv4.2uw2*)
8432
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8433
 
    if test -n "$kargmax"; then
8434
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
8435
 
    else
8436
 
      lt_cv_sys_max_cmd_len=32768
8437
 
    fi
8438
 
    ;;
8439
 
  *)
8440
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8441
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
8442
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8443
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8444
 
    else
8445
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8446
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
8447
 
               = "XX$teststring") >/dev/null 2>&1 &&
8448
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
8449
 
              lt_cv_sys_max_cmd_len=$new_result &&
8450
 
              test $i != 17 # 1/2 MB should be enough
8451
 
      do
8452
 
        i=`expr $i + 1`
8453
 
        teststring=$teststring$teststring
8454
 
      done
8455
 
      teststring=
8456
 
      # Add a significant safety factor because C++ compilers can tack on massive
8457
 
      # amounts of additional arguments before passing them to the linker.
8458
 
      # It appears as though 1/2 is a usable value.
8459
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8460
 
    fi
8461
 
    ;;
8462
 
  esac
8463
 
 
8464
 
fi
8465
 
 
8466
 
if test -n $lt_cv_sys_max_cmd_len ; then
8467
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8468
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
8469
 
else
8470
 
  { echo "$as_me:$LINENO: result: none" >&5
8471
 
echo "${ECHO_T}none" >&6; }
8472
 
fi
8473
 
 
8474
 
 
8475
 
 
8476
 
 
8477
8572
 
8478
8573
# Check for command to grab the raw symbol name followed by C symbol from nm.
8479
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8480
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
 
8574
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
8575
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8481
8576
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8482
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8577
  $as_echo_n "(cached) " >&6
8483
8578
else
8484
8579
 
8485
8580
# These are sane defaults that work on at least a few old systems.
8491
8586
# Regexp to match symbols that can be accessed directly from C.
8492
8587
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8493
8588
 
8494
 
# Transform an extracted symbol line into a proper C declaration
8495
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
8496
 
 
8497
 
# Transform an extracted symbol line into symbol name and symbol address
8498
 
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'"
8499
 
 
8500
8589
# Define system-specific variables.
8501
8590
case $host_os in
8502
8591
aix*)
8503
8592
  symcode='[BCDT]'
8504
8593
  ;;
8505
 
cygwin* | mingw* | pw32*)
 
8594
cygwin* | mingw* | pw32* | cegcc*)
8506
8595
  symcode='[ABCDGISTW]'
8507
8596
  ;;
8508
 
hpux*) # Its linker distinguishes data from code symbols
 
8597
hpux*)
8509
8598
  if test "$host_cpu" = ia64; then
8510
8599
    symcode='[ABCDEGRST]'
8511
8600
  fi
8512
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8513
 
  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'"
8514
 
  ;;
8515
 
linux* | k*bsd*-gnu)
8516
 
  if test "$host_cpu" = ia64; then
8517
 
    symcode='[ABCDGIRSTW]'
8518
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8519
 
    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'"
8520
 
  fi
8521
8601
  ;;
8522
8602
irix* | nonstopux*)
8523
8603
  symcode='[BCDEGRST]'
8542
8622
  ;;
8543
8623
esac
8544
8624
 
 
8625
# If we're using GNU nm, then use its standard symbol codes.
 
8626
case `$NM -V 2>&1` in
 
8627
*GNU* | *'with BFD'*)
 
8628
  symcode='[ABCDGIRSTW]' ;;
 
8629
esac
 
8630
 
 
8631
# Transform an extracted symbol line into a proper C declaration.
 
8632
# Some systems (esp. on ia64) link data and code symbols differently,
 
8633
# so use this general approach.
 
8634
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
8635
 
 
8636
# Transform an extracted symbol line into symbol name and symbol address
 
8637
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
8638
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'"
 
8639
 
8545
8640
# Handle CRLF in mingw tool chain
8546
8641
opt_cr=
8547
8642
case $build_os in
8548
8643
mingw*)
8549
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
8644
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8550
8645
  ;;
8551
8646
esac
8552
8647
 
8553
 
# If we're using GNU nm, then use its standard symbol codes.
8554
 
case `$NM -V 2>&1` in
8555
 
*GNU* | *'with BFD'*)
8556
 
  symcode='[ABCDGIRSTW]' ;;
8557
 
esac
8558
 
 
8559
 
# Try without a prefix undercore, then with it.
 
8648
# Try without a prefix underscore, then with it.
8560
8649
for ac_symprfx in "" "_"; do
8561
8650
 
8562
8651
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8563
8652
  symxfrm="\\1 $ac_symprfx\\2 \\2"
8564
8653
 
8565
8654
  # Write the raw and C identifiers.
8566
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
8655
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
8656
    # Fake it for dumpbin and say T for any non-static function
 
8657
    # and D for any global variable.
 
8658
    # Also find C++ and __fastcall symbols from MSVC++,
 
8659
    # which start with @ or ?.
 
8660
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
8661
"     {last_section=section; section=\$ 3};"\
 
8662
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
8663
"     \$ 0!~/External *\|/{next};"\
 
8664
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
8665
"     {if(hide[section]) next};"\
 
8666
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
8667
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
8668
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
8669
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
8670
"     ' prfx=^$ac_symprfx"
 
8671
  else
 
8672
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
8673
  fi
8567
8674
 
8568
8675
  # Check to see that the pipe works correctly.
8569
8676
  pipe_works=no
8570
8677
 
8571
8678
  rm -f conftest*
8572
 
  cat > conftest.$ac_ext <<EOF
 
8679
  cat > conftest.$ac_ext <<_LT_EOF
8573
8680
#ifdef __cplusplus
8574
8681
extern "C" {
8575
8682
#endif
8576
8683
char nm_test_var;
8577
 
void nm_test_func(){}
 
8684
void nm_test_func(void);
 
8685
void nm_test_func(void){}
8578
8686
#ifdef __cplusplus
8579
8687
}
8580
8688
#endif
8581
8689
int main(){nm_test_var='a';nm_test_func();return(0);}
8582
 
EOF
 
8690
_LT_EOF
8583
8691
 
8584
8692
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8585
8693
  (eval $ac_compile) 2>&5
8586
8694
  ac_status=$?
8587
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8695
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8588
8696
  (exit $ac_status); }; then
8589
8697
    # Now try to grab the symbols.
8590
8698
    nlist=conftest.nm
8591
8699
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8592
8700
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8593
8701
  ac_status=$?
8594
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8702
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8595
8703
  (exit $ac_status); } && test -s "$nlist"; then
8596
8704
      # Try sorting and uniquifying the output.
8597
8705
      if sort "$nlist" | uniq > "$nlist"T; then
8601
8709
      fi
8602
8710
 
8603
8711
      # Make sure that we snagged all the symbols we need.
8604
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
8605
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
8606
 
          cat <<EOF > conftest.$ac_ext
 
8712
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
8713
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
8714
          cat <<_LT_EOF > conftest.$ac_ext
8607
8715
#ifdef __cplusplus
8608
8716
extern "C" {
8609
8717
#endif
8610
8718
 
8611
 
EOF
 
8719
_LT_EOF
8612
8720
          # Now generate the symbol file.
8613
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
8614
 
 
8615
 
          cat <<EOF >> conftest.$ac_ext
8616
 
#if defined (__STDC__) && __STDC__
8617
 
# define lt_ptr_t void *
8618
 
#else
8619
 
# define lt_ptr_t char *
8620
 
# define const
8621
 
#endif
8622
 
 
8623
 
/* The mapping between symbol names and symbols. */
 
8721
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
8722
 
 
8723
          cat <<_LT_EOF >> conftest.$ac_ext
 
8724
 
 
8725
/* The mapping between symbol names and symbols.  */
8624
8726
const struct {
8625
8727
  const char *name;
8626
 
  lt_ptr_t address;
 
8728
  void       *address;
8627
8729
}
8628
 
lt_preloaded_symbols[] =
 
8730
lt__PROGRAM__LTX_preloaded_symbols[] =
8629
8731
{
8630
 
EOF
8631
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
8632
 
          cat <<\EOF >> conftest.$ac_ext
8633
 
  {0, (lt_ptr_t) 0}
 
8732
  { "@PROGRAM@", (void *) 0 },
 
8733
_LT_EOF
 
8734
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
8735
          cat <<\_LT_EOF >> conftest.$ac_ext
 
8736
  {0, (void *) 0}
8634
8737
};
8635
8738
 
 
8739
/* This works around a problem in FreeBSD linker */
 
8740
#ifdef FREEBSD_WORKAROUND
 
8741
static const void *lt_preloaded_setup() {
 
8742
  return lt__PROGRAM__LTX_preloaded_symbols;
 
8743
}
 
8744
#endif
 
8745
 
8636
8746
#ifdef __cplusplus
8637
8747
}
8638
8748
#endif
8639
 
EOF
 
8749
_LT_EOF
8640
8750
          # Now try linking the two files.
8641
8751
          mv conftest.$ac_objext conftstm.$ac_objext
8642
8752
          lt_save_LIBS="$LIBS"
8646
8756
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8647
8757
  (eval $ac_link) 2>&5
8648
8758
  ac_status=$?
8649
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8759
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8650
8760
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
8651
8761
            pipe_works=yes
8652
8762
          fi
8681
8791
  lt_cv_sys_global_symbol_to_cdecl=
8682
8792
fi
8683
8793
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8684
 
  { echo "$as_me:$LINENO: result: failed" >&5
8685
 
echo "${ECHO_T}failed" >&6; }
8686
 
else
8687
 
  { echo "$as_me:$LINENO: result: ok" >&5
8688
 
echo "${ECHO_T}ok" >&6; }
8689
 
fi
8690
 
 
8691
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
8692
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
8693
 
if test "${lt_cv_objdir+set}" = set; then
8694
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8695
 
else
8696
 
  rm -f .libs 2>/dev/null
8697
 
mkdir .libs 2>/dev/null
8698
 
if test -d .libs; then
8699
 
  lt_cv_objdir=.libs
8700
 
else
8701
 
  # MS-DOS does not allow filenames that begin with a dot.
8702
 
  lt_cv_objdir=_libs
8703
 
fi
8704
 
rmdir .libs 2>/dev/null
8705
 
fi
8706
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8707
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
8708
 
objdir=$lt_cv_objdir
8709
 
 
8710
 
 
8711
 
 
8712
 
 
8713
 
 
8714
 
case $host_os in
8715
 
aix3*)
8716
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
8717
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8718
 
  # vanish in a puff of smoke.
8719
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
8720
 
    COLLECT_NAMES=
8721
 
    export COLLECT_NAMES
8722
 
  fi
8723
 
  ;;
8724
 
esac
8725
 
 
8726
 
# Sed substitution that helps us do robust quoting.  It backslashifies
8727
 
# metacharacters that are still active within double-quoted strings.
8728
 
Xsed='sed -e 1s/^X//'
8729
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
8730
 
 
8731
 
# Same as above, but do not quote variable references.
8732
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
8733
 
 
8734
 
# Sed substitution to delay expansion of an escaped shell variable in a
8735
 
# double_quote_subst'ed string.
8736
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8737
 
 
8738
 
# Sed substitution to avoid accidental globbing in evaled expressions
8739
 
no_glob_subst='s/\*/\\\*/g'
8740
 
 
8741
 
# Constants:
8742
 
rm="rm -f"
8743
 
 
8744
 
# Global variables:
8745
 
default_ofile=libtool
8746
 
can_build_shared=yes
8747
 
 
8748
 
# All known linkers require a `.a' archive for static linking (except MSVC,
8749
 
# which needs '.lib').
8750
 
libext=a
8751
 
ltmain="$ac_aux_dir/ltmain.sh"
8752
 
ofile="$default_ofile"
8753
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
8754
 
 
8755
 
if test -n "$ac_tool_prefix"; then
8756
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8757
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
8758
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8759
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8760
 
if test "${ac_cv_prog_AR+set}" = set; then
8761
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8762
 
else
8763
 
  if test -n "$AR"; then
8764
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
8765
 
else
8766
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8767
 
for as_dir in $PATH
8768
 
do
8769
 
  IFS=$as_save_IFS
8770
 
  test -z "$as_dir" && as_dir=.
8771
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8772
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8773
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
8774
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8775
 
    break 2
8776
 
  fi
8777
 
done
8778
 
done
8779
 
IFS=$as_save_IFS
8780
 
 
8781
 
fi
8782
 
fi
8783
 
AR=$ac_cv_prog_AR
8784
 
if test -n "$AR"; then
8785
 
  { echo "$as_me:$LINENO: result: $AR" >&5
8786
 
echo "${ECHO_T}$AR" >&6; }
8787
 
else
8788
 
  { echo "$as_me:$LINENO: result: no" >&5
8789
 
echo "${ECHO_T}no" >&6; }
8790
 
fi
8791
 
 
8792
 
 
8793
 
fi
8794
 
if test -z "$ac_cv_prog_AR"; then
8795
 
  ac_ct_AR=$AR
8796
 
  # Extract the first word of "ar", so it can be a program name with args.
8797
 
set dummy ar; ac_word=$2
8798
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8799
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8800
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8801
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8802
 
else
8803
 
  if test -n "$ac_ct_AR"; then
8804
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8805
 
else
8806
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8807
 
for as_dir in $PATH
8808
 
do
8809
 
  IFS=$as_save_IFS
8810
 
  test -z "$as_dir" && as_dir=.
8811
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8812
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8813
 
    ac_cv_prog_ac_ct_AR="ar"
8814
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8815
 
    break 2
8816
 
  fi
8817
 
done
8818
 
done
8819
 
IFS=$as_save_IFS
8820
 
 
8821
 
fi
8822
 
fi
8823
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
8824
 
if test -n "$ac_ct_AR"; then
8825
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8826
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
8827
 
else
8828
 
  { echo "$as_me:$LINENO: result: no" >&5
8829
 
echo "${ECHO_T}no" >&6; }
8830
 
fi
8831
 
 
8832
 
  if test "x$ac_ct_AR" = x; then
8833
 
    AR="false"
8834
 
  else
8835
 
    case $cross_compiling:$ac_tool_warned in
8836
 
yes:)
8837
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8838
 
whose name does not start with the host triplet.  If you think this
8839
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8840
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8841
 
whose name does not start with the host triplet.  If you think this
8842
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8843
 
ac_tool_warned=yes ;;
8844
 
esac
8845
 
    AR=$ac_ct_AR
8846
 
  fi
8847
 
else
8848
 
  AR="$ac_cv_prog_AR"
8849
 
fi
8850
 
 
8851
 
if test -n "$ac_tool_prefix"; then
8852
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8853
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8854
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8855
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8856
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
8857
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8858
 
else
8859
 
  if test -n "$RANLIB"; then
8860
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8861
 
else
8862
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8863
 
for as_dir in $PATH
8864
 
do
8865
 
  IFS=$as_save_IFS
8866
 
  test -z "$as_dir" && as_dir=.
8867
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8868
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8869
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8870
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8871
 
    break 2
8872
 
  fi
8873
 
done
8874
 
done
8875
 
IFS=$as_save_IFS
8876
 
 
8877
 
fi
8878
 
fi
8879
 
RANLIB=$ac_cv_prog_RANLIB
8880
 
if test -n "$RANLIB"; then
8881
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
8882
 
echo "${ECHO_T}$RANLIB" >&6; }
8883
 
else
8884
 
  { echo "$as_me:$LINENO: result: no" >&5
8885
 
echo "${ECHO_T}no" >&6; }
8886
 
fi
8887
 
 
8888
 
 
8889
 
fi
8890
 
if test -z "$ac_cv_prog_RANLIB"; then
8891
 
  ac_ct_RANLIB=$RANLIB
8892
 
  # Extract the first word of "ranlib", so it can be a program name with args.
8893
 
set dummy ranlib; ac_word=$2
8894
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8895
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8896
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8897
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8898
 
else
8899
 
  if test -n "$ac_ct_RANLIB"; then
8900
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8901
 
else
8902
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8903
 
for as_dir in $PATH
8904
 
do
8905
 
  IFS=$as_save_IFS
8906
 
  test -z "$as_dir" && as_dir=.
8907
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8908
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8909
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
8910
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8911
 
    break 2
8912
 
  fi
8913
 
done
8914
 
done
8915
 
IFS=$as_save_IFS
8916
 
 
8917
 
fi
8918
 
fi
8919
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8920
 
if test -n "$ac_ct_RANLIB"; then
8921
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8922
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8923
 
else
8924
 
  { echo "$as_me:$LINENO: result: no" >&5
8925
 
echo "${ECHO_T}no" >&6; }
8926
 
fi
8927
 
 
8928
 
  if test "x$ac_ct_RANLIB" = x; then
8929
 
    RANLIB=":"
8930
 
  else
8931
 
    case $cross_compiling:$ac_tool_warned in
8932
 
yes:)
8933
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8934
 
whose name does not start with the host triplet.  If you think this
8935
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8936
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8937
 
whose name does not start with the host triplet.  If you think this
8938
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8939
 
ac_tool_warned=yes ;;
8940
 
esac
8941
 
    RANLIB=$ac_ct_RANLIB
8942
 
  fi
8943
 
else
8944
 
  RANLIB="$ac_cv_prog_RANLIB"
8945
 
fi
8946
 
 
8947
 
if test -n "$ac_tool_prefix"; then
8948
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8949
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
8950
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8951
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8952
 
if test "${ac_cv_prog_STRIP+set}" = set; then
8953
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8954
 
else
8955
 
  if test -n "$STRIP"; then
8956
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8957
 
else
8958
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8959
 
for as_dir in $PATH
8960
 
do
8961
 
  IFS=$as_save_IFS
8962
 
  test -z "$as_dir" && as_dir=.
8963
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8964
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8965
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8966
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8967
 
    break 2
8968
 
  fi
8969
 
done
8970
 
done
8971
 
IFS=$as_save_IFS
8972
 
 
8973
 
fi
8974
 
fi
8975
 
STRIP=$ac_cv_prog_STRIP
8976
 
if test -n "$STRIP"; then
8977
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
8978
 
echo "${ECHO_T}$STRIP" >&6; }
8979
 
else
8980
 
  { echo "$as_me:$LINENO: result: no" >&5
8981
 
echo "${ECHO_T}no" >&6; }
8982
 
fi
8983
 
 
8984
 
 
8985
 
fi
8986
 
if test -z "$ac_cv_prog_STRIP"; then
8987
 
  ac_ct_STRIP=$STRIP
8988
 
  # Extract the first word of "strip", so it can be a program name with args.
8989
 
set dummy strip; ac_word=$2
8990
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8991
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8992
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8993
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8994
 
else
8995
 
  if test -n "$ac_ct_STRIP"; then
8996
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8997
 
else
8998
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8999
 
for as_dir in $PATH
9000
 
do
9001
 
  IFS=$as_save_IFS
9002
 
  test -z "$as_dir" && as_dir=.
9003
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9004
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9005
 
    ac_cv_prog_ac_ct_STRIP="strip"
9006
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9007
 
    break 2
9008
 
  fi
9009
 
done
9010
 
done
9011
 
IFS=$as_save_IFS
9012
 
 
9013
 
fi
9014
 
fi
9015
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9016
 
if test -n "$ac_ct_STRIP"; then
9017
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9018
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
9019
 
else
9020
 
  { echo "$as_me:$LINENO: result: no" >&5
9021
 
echo "${ECHO_T}no" >&6; }
9022
 
fi
9023
 
 
9024
 
  if test "x$ac_ct_STRIP" = x; then
9025
 
    STRIP=":"
9026
 
  else
9027
 
    case $cross_compiling:$ac_tool_warned in
9028
 
yes:)
9029
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9030
 
whose name does not start with the host triplet.  If you think this
9031
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9032
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9033
 
whose name does not start with the host triplet.  If you think this
9034
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9035
 
ac_tool_warned=yes ;;
9036
 
esac
9037
 
    STRIP=$ac_ct_STRIP
9038
 
  fi
9039
 
else
9040
 
  STRIP="$ac_cv_prog_STRIP"
9041
 
fi
9042
 
 
9043
 
 
9044
 
old_CC="$CC"
9045
 
old_CFLAGS="$CFLAGS"
9046
 
 
9047
 
# Set sane defaults for various variables
9048
 
test -z "$AR" && AR=ar
9049
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
9050
 
test -z "$AS" && AS=as
9051
 
test -z "$CC" && CC=cc
9052
 
test -z "$LTCC" && LTCC=$CC
9053
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9054
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
9055
 
test -z "$LD" && LD=ld
9056
 
test -z "$LN_S" && LN_S="ln -s"
9057
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
9058
 
test -z "$NM" && NM=nm
9059
 
test -z "$SED" && SED=sed
9060
 
test -z "$OBJDUMP" && OBJDUMP=objdump
9061
 
test -z "$RANLIB" && RANLIB=:
9062
 
test -z "$STRIP" && STRIP=:
9063
 
test -z "$ac_objext" && ac_objext=o
9064
 
 
9065
 
# Determine commands to create old-style static archives.
9066
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9067
 
old_postinstall_cmds='chmod 644 $oldlib'
9068
 
old_postuninstall_cmds=
9069
 
 
9070
 
if test -n "$RANLIB"; then
9071
 
  case $host_os in
9072
 
  openbsd*)
9073
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
9074
 
    ;;
9075
 
  *)
9076
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
9077
 
    ;;
9078
 
  esac
9079
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
9080
 
fi
9081
 
 
9082
 
for cc_temp in $compiler""; do
9083
 
  case $cc_temp in
9084
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9085
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9086
 
    \-*) ;;
9087
 
    *) break;;
9088
 
  esac
9089
 
done
9090
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9091
 
 
9092
 
 
9093
 
# Only perform the check for file, if the check method requires it
9094
 
case $deplibs_check_method in
9095
 
file_magic*)
9096
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9097
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9098
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
9099
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9100
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9101
 
else
9102
 
  case $MAGIC_CMD in
9103
 
[\\/*] |  ?:[\\/]*)
9104
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9105
 
  ;;
9106
 
*)
9107
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9108
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9109
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9110
 
  for ac_dir in $ac_dummy; do
9111
 
    IFS="$lt_save_ifs"
9112
 
    test -z "$ac_dir" && ac_dir=.
9113
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
9114
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9115
 
      if test -n "$file_magic_test_file"; then
9116
 
        case $deplibs_check_method in
9117
 
        "file_magic "*)
9118
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9119
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9120
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9121
 
            $EGREP "$file_magic_regex" > /dev/null; then
9122
 
            :
9123
 
          else
9124
 
            cat <<EOF 1>&2
9125
 
 
9126
 
*** Warning: the command libtool uses to detect shared libraries,
9127
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9128
 
*** The result is that libtool may fail to recognize shared libraries
9129
 
*** as such.  This will affect the creation of libtool libraries that
9130
 
*** depend on shared libraries, but programs linked with such libtool
9131
 
*** libraries will work regardless of this problem.  Nevertheless, you
9132
 
*** may want to report the problem to your system manager and/or to
9133
 
*** bug-libtool@gnu.org
9134
 
 
9135
 
EOF
9136
 
          fi ;;
9137
 
        esac
9138
 
      fi
9139
 
      break
9140
 
    fi
9141
 
  done
9142
 
  IFS="$lt_save_ifs"
9143
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9144
 
  ;;
9145
 
esac
9146
 
fi
9147
 
 
9148
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9149
 
if test -n "$MAGIC_CMD"; then
9150
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9151
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9152
 
else
9153
 
  { echo "$as_me:$LINENO: result: no" >&5
9154
 
echo "${ECHO_T}no" >&6; }
9155
 
fi
9156
 
 
9157
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
9158
 
  if test -n "$ac_tool_prefix"; then
9159
 
    { echo "$as_me:$LINENO: checking for file" >&5
9160
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
9161
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9162
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9163
 
else
9164
 
  case $MAGIC_CMD in
9165
 
[\\/*] |  ?:[\\/]*)
9166
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9167
 
  ;;
9168
 
*)
9169
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9170
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9171
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9172
 
  for ac_dir in $ac_dummy; do
9173
 
    IFS="$lt_save_ifs"
9174
 
    test -z "$ac_dir" && ac_dir=.
9175
 
    if test -f $ac_dir/file; then
9176
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9177
 
      if test -n "$file_magic_test_file"; then
9178
 
        case $deplibs_check_method in
9179
 
        "file_magic "*)
9180
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9181
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9182
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9183
 
            $EGREP "$file_magic_regex" > /dev/null; then
9184
 
            :
9185
 
          else
9186
 
            cat <<EOF 1>&2
9187
 
 
9188
 
*** Warning: the command libtool uses to detect shared libraries,
9189
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9190
 
*** The result is that libtool may fail to recognize shared libraries
9191
 
*** as such.  This will affect the creation of libtool libraries that
9192
 
*** depend on shared libraries, but programs linked with such libtool
9193
 
*** libraries will work regardless of this problem.  Nevertheless, you
9194
 
*** may want to report the problem to your system manager and/or to
9195
 
*** bug-libtool@gnu.org
9196
 
 
9197
 
EOF
9198
 
          fi ;;
9199
 
        esac
9200
 
      fi
9201
 
      break
9202
 
    fi
9203
 
  done
9204
 
  IFS="$lt_save_ifs"
9205
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9206
 
  ;;
9207
 
esac
9208
 
fi
9209
 
 
9210
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9211
 
if test -n "$MAGIC_CMD"; then
9212
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9213
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9214
 
else
9215
 
  { echo "$as_me:$LINENO: result: no" >&5
9216
 
echo "${ECHO_T}no" >&6; }
9217
 
fi
9218
 
 
9219
 
  else
9220
 
    MAGIC_CMD=:
9221
 
  fi
9222
 
fi
9223
 
 
9224
 
  fi
9225
 
  ;;
9226
 
esac
 
8794
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
8795
$as_echo "failed" >&6; }
 
8796
else
 
8797
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
8798
$as_echo "ok" >&6; }
 
8799
fi
 
8800
 
 
8801
 
 
8802
 
 
8803
 
 
8804
 
 
8805
 
 
8806
 
 
8807
 
 
8808
 
 
8809
 
 
8810
 
 
8811
 
 
8812
 
 
8813
 
 
8814
 
 
8815
 
 
8816
 
 
8817
 
 
8818
 
 
8819
 
 
8820
 
 
8821
 
 
8822
# Check whether --enable-libtool-lock was given.
 
8823
if test "${enable_libtool_lock+set}" = set; then
 
8824
  enableval=$enable_libtool_lock;
 
8825
fi
 
8826
 
 
8827
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
8828
 
 
8829
# Some flags need to be propagated to the compiler or linker for good
 
8830
# libtool support.
 
8831
case $host in
 
8832
ia64-*-hpux*)
 
8833
  # Find out which ABI we are using.
 
8834
  echo 'int i;' > conftest.$ac_ext
 
8835
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8836
  (eval $ac_compile) 2>&5
 
8837
  ac_status=$?
 
8838
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8839
  (exit $ac_status); }; then
 
8840
    case `/usr/bin/file conftest.$ac_objext` in
 
8841
      *ELF-32*)
 
8842
        HPUX_IA64_MODE="32"
 
8843
        ;;
 
8844
      *ELF-64*)
 
8845
        HPUX_IA64_MODE="64"
 
8846
        ;;
 
8847
    esac
 
8848
  fi
 
8849
  rm -rf conftest*
 
8850
  ;;
 
8851
*-*-irix6*)
 
8852
  # Find out which ABI we are using.
 
8853
  echo '#line 8853 "configure"' > conftest.$ac_ext
 
8854
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8855
  (eval $ac_compile) 2>&5
 
8856
  ac_status=$?
 
8857
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8858
  (exit $ac_status); }; then
 
8859
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
8860
      case `/usr/bin/file conftest.$ac_objext` in
 
8861
        *32-bit*)
 
8862
          LD="${LD-ld} -melf32bsmip"
 
8863
          ;;
 
8864
        *N32*)
 
8865
          LD="${LD-ld} -melf32bmipn32"
 
8866
          ;;
 
8867
        *64-bit*)
 
8868
          LD="${LD-ld} -melf64bmip"
 
8869
        ;;
 
8870
      esac
 
8871
    else
 
8872
      case `/usr/bin/file conftest.$ac_objext` in
 
8873
        *32-bit*)
 
8874
          LD="${LD-ld} -32"
 
8875
          ;;
 
8876
        *N32*)
 
8877
          LD="${LD-ld} -n32"
 
8878
          ;;
 
8879
        *64-bit*)
 
8880
          LD="${LD-ld} -64"
 
8881
          ;;
 
8882
      esac
 
8883
    fi
 
8884
  fi
 
8885
  rm -rf conftest*
 
8886
  ;;
 
8887
 
 
8888
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
8889
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
8890
  # Find out which ABI we are using.
 
8891
  echo 'int i;' > conftest.$ac_ext
 
8892
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8893
  (eval $ac_compile) 2>&5
 
8894
  ac_status=$?
 
8895
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8896
  (exit $ac_status); }; then
 
8897
    case `/usr/bin/file conftest.o` in
 
8898
      *32-bit*)
 
8899
        case $host in
 
8900
          x86_64-*kfreebsd*-gnu)
 
8901
            LD="${LD-ld} -m elf_i386_fbsd"
 
8902
            ;;
 
8903
          x86_64-*linux*)
 
8904
            LD="${LD-ld} -m elf_i386"
 
8905
            ;;
 
8906
          ppc64-*linux*|powerpc64-*linux*)
 
8907
            LD="${LD-ld} -m elf32ppclinux"
 
8908
            ;;
 
8909
          s390x-*linux*)
 
8910
            LD="${LD-ld} -m elf_s390"
 
8911
            ;;
 
8912
          sparc64-*linux*)
 
8913
            LD="${LD-ld} -m elf32_sparc"
 
8914
            ;;
 
8915
        esac
 
8916
        ;;
 
8917
      *64-bit*)
 
8918
        case $host in
 
8919
          x86_64-*kfreebsd*-gnu)
 
8920
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
8921
            ;;
 
8922
          x86_64-*linux*)
 
8923
            LD="${LD-ld} -m elf_x86_64"
 
8924
            ;;
 
8925
          ppc*-*linux*|powerpc*-*linux*)
 
8926
            LD="${LD-ld} -m elf64ppc"
 
8927
            ;;
 
8928
          s390*-*linux*|s390*-*tpf*)
 
8929
            LD="${LD-ld} -m elf64_s390"
 
8930
            ;;
 
8931
          sparc*-*linux*)
 
8932
            LD="${LD-ld} -m elf64_sparc"
 
8933
            ;;
 
8934
        esac
 
8935
        ;;
 
8936
    esac
 
8937
  fi
 
8938
  rm -rf conftest*
 
8939
  ;;
 
8940
 
 
8941
*-*-sco3.2v5*)
 
8942
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
8943
  SAVE_CFLAGS="$CFLAGS"
 
8944
  CFLAGS="$CFLAGS -belf"
 
8945
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
8946
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
8947
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
8948
  $as_echo_n "(cached) " >&6
 
8949
else
 
8950
  ac_ext=c
 
8951
ac_cpp='$CPP $CPPFLAGS'
 
8952
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8953
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8954
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8955
 
 
8956
     cat >conftest.$ac_ext <<_ACEOF
 
8957
/* confdefs.h.  */
 
8958
_ACEOF
 
8959
cat confdefs.h >>conftest.$ac_ext
 
8960
cat >>conftest.$ac_ext <<_ACEOF
 
8961
/* end confdefs.h.  */
 
8962
 
 
8963
int
 
8964
main ()
 
8965
{
 
8966
 
 
8967
  ;
 
8968
  return 0;
 
8969
}
 
8970
_ACEOF
 
8971
rm -f conftest.$ac_objext conftest$ac_exeext
 
8972
if { (ac_try="$ac_link"
 
8973
case "(($ac_try" in
 
8974
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8975
  *) ac_try_echo=$ac_try;;
 
8976
esac
 
8977
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8978
$as_echo "$ac_try_echo") >&5
 
8979
  (eval "$ac_link") 2>conftest.er1
 
8980
  ac_status=$?
 
8981
  grep -v '^ *+' conftest.er1 >conftest.err
 
8982
  rm -f conftest.er1
 
8983
  cat conftest.err >&5
 
8984
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8985
  (exit $ac_status); } && {
 
8986
         test -z "$ac_c_werror_flag" ||
 
8987
         test ! -s conftest.err
 
8988
       } && test -s conftest$ac_exeext && {
 
8989
         test "$cross_compiling" = yes ||
 
8990
         $as_test_x conftest$ac_exeext
 
8991
       }; then
 
8992
  lt_cv_cc_needs_belf=yes
 
8993
else
 
8994
  $as_echo "$as_me: failed program was:" >&5
 
8995
sed 's/^/| /' conftest.$ac_ext >&5
 
8996
 
 
8997
        lt_cv_cc_needs_belf=no
 
8998
fi
 
8999
 
 
9000
rm -rf conftest.dSYM
 
9001
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9002
      conftest$ac_exeext conftest.$ac_ext
 
9003
     ac_ext=c
 
9004
ac_cpp='$CPP $CPPFLAGS'
 
9005
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
9006
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
9007
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
9008
 
 
9009
fi
 
9010
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
9011
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
9012
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
9013
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
9014
    CFLAGS="$SAVE_CFLAGS"
 
9015
  fi
 
9016
  ;;
 
9017
sparc*-*solaris*)
 
9018
  # Find out which ABI we are using.
 
9019
  echo 'int i;' > conftest.$ac_ext
 
9020
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
9021
  (eval $ac_compile) 2>&5
 
9022
  ac_status=$?
 
9023
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9024
  (exit $ac_status); }; then
 
9025
    case `/usr/bin/file conftest.o` in
 
9026
    *64-bit*)
 
9027
      case $lt_cv_prog_gnu_ld in
 
9028
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
9029
      *)
 
9030
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
9031
          LD="${LD-ld} -64"
 
9032
        fi
 
9033
        ;;
 
9034
      esac
 
9035
      ;;
 
9036
    esac
 
9037
  fi
 
9038
  rm -rf conftest*
 
9039
  ;;
 
9040
esac
 
9041
 
 
9042
need_locks="$enable_libtool_lock"
9227
9043
 
9228
9044
 
9229
9045
  case $host_os in
9231
9047
    if test -n "$ac_tool_prefix"; then
9232
9048
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9233
9049
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9234
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9235
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
9050
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9051
$as_echo_n "checking for $ac_word... " >&6; }
9236
9052
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
9237
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9053
  $as_echo_n "(cached) " >&6
9238
9054
else
9239
9055
  if test -n "$DSYMUTIL"; then
9240
9056
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9247
9063
  for ac_exec_ext in '' $ac_executable_extensions; do
9248
9064
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9249
9065
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9250
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9066
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9251
9067
    break 2
9252
9068
  fi
9253
9069
done
9258
9074
fi
9259
9075
DSYMUTIL=$ac_cv_prog_DSYMUTIL
9260
9076
if test -n "$DSYMUTIL"; then
9261
 
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
9262
 
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
9077
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
9078
$as_echo "$DSYMUTIL" >&6; }
9263
9079
else
9264
 
  { echo "$as_me:$LINENO: result: no" >&5
9265
 
echo "${ECHO_T}no" >&6; }
 
9080
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9081
$as_echo "no" >&6; }
9266
9082
fi
9267
9083
 
9268
9084
 
9271
9087
  ac_ct_DSYMUTIL=$DSYMUTIL
9272
9088
  # Extract the first word of "dsymutil", so it can be a program name with args.
9273
9089
set dummy dsymutil; ac_word=$2
9274
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9275
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
9090
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9091
$as_echo_n "checking for $ac_word... " >&6; }
9276
9092
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
9277
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9093
  $as_echo_n "(cached) " >&6
9278
9094
else
9279
9095
  if test -n "$ac_ct_DSYMUTIL"; then
9280
9096
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9287
9103
  for ac_exec_ext in '' $ac_executable_extensions; do
9288
9104
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9289
9105
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9290
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9106
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9291
9107
    break 2
9292
9108
  fi
9293
9109
done
9298
9114
fi
9299
9115
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9300
9116
if test -n "$ac_ct_DSYMUTIL"; then
9301
 
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
9302
 
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
9117
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
9118
$as_echo "$ac_ct_DSYMUTIL" >&6; }
9303
9119
else
9304
 
  { echo "$as_me:$LINENO: result: no" >&5
9305
 
echo "${ECHO_T}no" >&6; }
 
9120
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9121
$as_echo "no" >&6; }
9306
9122
fi
9307
9123
 
9308
9124
  if test "x$ac_ct_DSYMUTIL" = x; then
9310
9126
  else
9311
9127
    case $cross_compiling:$ac_tool_warned in
9312
9128
yes:)
9313
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9314
 
whose name does not start with the host triplet.  If you think this
9315
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9316
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9317
 
whose name does not start with the host triplet.  If you think this
9318
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
9129
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9130
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9319
9131
ac_tool_warned=yes ;;
9320
9132
esac
9321
9133
    DSYMUTIL=$ac_ct_DSYMUTIL
9327
9139
    if test -n "$ac_tool_prefix"; then
9328
9140
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9329
9141
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9330
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9331
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
9142
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9143
$as_echo_n "checking for $ac_word... " >&6; }
9332
9144
if test "${ac_cv_prog_NMEDIT+set}" = set; then
9333
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9145
  $as_echo_n "(cached) " >&6
9334
9146
else
9335
9147
  if test -n "$NMEDIT"; then
9336
9148
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9343
9155
  for ac_exec_ext in '' $ac_executable_extensions; do
9344
9156
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9345
9157
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9346
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9158
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9347
9159
    break 2
9348
9160
  fi
9349
9161
done
9354
9166
fi
9355
9167
NMEDIT=$ac_cv_prog_NMEDIT
9356
9168
if test -n "$NMEDIT"; then
9357
 
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
9358
 
echo "${ECHO_T}$NMEDIT" >&6; }
 
9169
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
9170
$as_echo "$NMEDIT" >&6; }
9359
9171
else
9360
 
  { echo "$as_me:$LINENO: result: no" >&5
9361
 
echo "${ECHO_T}no" >&6; }
 
9172
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9173
$as_echo "no" >&6; }
9362
9174
fi
9363
9175
 
9364
9176
 
9367
9179
  ac_ct_NMEDIT=$NMEDIT
9368
9180
  # Extract the first word of "nmedit", so it can be a program name with args.
9369
9181
set dummy nmedit; ac_word=$2
9370
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9371
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
9182
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9183
$as_echo_n "checking for $ac_word... " >&6; }
9372
9184
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
9373
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9185
  $as_echo_n "(cached) " >&6
9374
9186
else
9375
9187
  if test -n "$ac_ct_NMEDIT"; then
9376
9188
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9383
9195
  for ac_exec_ext in '' $ac_executable_extensions; do
9384
9196
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9385
9197
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
9386
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9198
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9387
9199
    break 2
9388
9200
  fi
9389
9201
done
9394
9206
fi
9395
9207
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9396
9208
if test -n "$ac_ct_NMEDIT"; then
9397
 
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
9398
 
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
9209
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
9210
$as_echo "$ac_ct_NMEDIT" >&6; }
9399
9211
else
9400
 
  { echo "$as_me:$LINENO: result: no" >&5
9401
 
echo "${ECHO_T}no" >&6; }
 
9212
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9213
$as_echo "no" >&6; }
9402
9214
fi
9403
9215
 
9404
9216
  if test "x$ac_ct_NMEDIT" = x; then
9406
9218
  else
9407
9219
    case $cross_compiling:$ac_tool_warned in
9408
9220
yes:)
9409
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9410
 
whose name does not start with the host triplet.  If you think this
9411
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9412
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9413
 
whose name does not start with the host triplet.  If you think this
9414
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
9221
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9222
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9415
9223
ac_tool_warned=yes ;;
9416
9224
esac
9417
9225
    NMEDIT=$ac_ct_NMEDIT
9420
9228
  NMEDIT="$ac_cv_prog_NMEDIT"
9421
9229
fi
9422
9230
 
9423
 
 
9424
 
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
9425
 
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
9231
    if test -n "$ac_tool_prefix"; then
 
9232
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
9233
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
9234
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9235
$as_echo_n "checking for $ac_word... " >&6; }
 
9236
if test "${ac_cv_prog_LIPO+set}" = set; then
 
9237
  $as_echo_n "(cached) " >&6
 
9238
else
 
9239
  if test -n "$LIPO"; then
 
9240
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
9241
else
 
9242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9243
for as_dir in $PATH
 
9244
do
 
9245
  IFS=$as_save_IFS
 
9246
  test -z "$as_dir" && as_dir=.
 
9247
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9248
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9249
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
9250
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9251
    break 2
 
9252
  fi
 
9253
done
 
9254
done
 
9255
IFS=$as_save_IFS
 
9256
 
 
9257
fi
 
9258
fi
 
9259
LIPO=$ac_cv_prog_LIPO
 
9260
if test -n "$LIPO"; then
 
9261
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
9262
$as_echo "$LIPO" >&6; }
 
9263
else
 
9264
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9265
$as_echo "no" >&6; }
 
9266
fi
 
9267
 
 
9268
 
 
9269
fi
 
9270
if test -z "$ac_cv_prog_LIPO"; then
 
9271
  ac_ct_LIPO=$LIPO
 
9272
  # Extract the first word of "lipo", so it can be a program name with args.
 
9273
set dummy lipo; ac_word=$2
 
9274
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9275
$as_echo_n "checking for $ac_word... " >&6; }
 
9276
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
9277
  $as_echo_n "(cached) " >&6
 
9278
else
 
9279
  if test -n "$ac_ct_LIPO"; then
 
9280
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
9281
else
 
9282
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9283
for as_dir in $PATH
 
9284
do
 
9285
  IFS=$as_save_IFS
 
9286
  test -z "$as_dir" && as_dir=.
 
9287
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9288
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9289
    ac_cv_prog_ac_ct_LIPO="lipo"
 
9290
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9291
    break 2
 
9292
  fi
 
9293
done
 
9294
done
 
9295
IFS=$as_save_IFS
 
9296
 
 
9297
fi
 
9298
fi
 
9299
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
9300
if test -n "$ac_ct_LIPO"; then
 
9301
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
9302
$as_echo "$ac_ct_LIPO" >&6; }
 
9303
else
 
9304
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9305
$as_echo "no" >&6; }
 
9306
fi
 
9307
 
 
9308
  if test "x$ac_ct_LIPO" = x; then
 
9309
    LIPO=":"
 
9310
  else
 
9311
    case $cross_compiling:$ac_tool_warned in
 
9312
yes:)
 
9313
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9314
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9315
ac_tool_warned=yes ;;
 
9316
esac
 
9317
    LIPO=$ac_ct_LIPO
 
9318
  fi
 
9319
else
 
9320
  LIPO="$ac_cv_prog_LIPO"
 
9321
fi
 
9322
 
 
9323
    if test -n "$ac_tool_prefix"; then
 
9324
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
9325
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
9326
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9327
$as_echo_n "checking for $ac_word... " >&6; }
 
9328
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
9329
  $as_echo_n "(cached) " >&6
 
9330
else
 
9331
  if test -n "$OTOOL"; then
 
9332
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
9333
else
 
9334
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9335
for as_dir in $PATH
 
9336
do
 
9337
  IFS=$as_save_IFS
 
9338
  test -z "$as_dir" && as_dir=.
 
9339
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9340
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9341
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
9342
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9343
    break 2
 
9344
  fi
 
9345
done
 
9346
done
 
9347
IFS=$as_save_IFS
 
9348
 
 
9349
fi
 
9350
fi
 
9351
OTOOL=$ac_cv_prog_OTOOL
 
9352
if test -n "$OTOOL"; then
 
9353
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
9354
$as_echo "$OTOOL" >&6; }
 
9355
else
 
9356
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9357
$as_echo "no" >&6; }
 
9358
fi
 
9359
 
 
9360
 
 
9361
fi
 
9362
if test -z "$ac_cv_prog_OTOOL"; then
 
9363
  ac_ct_OTOOL=$OTOOL
 
9364
  # Extract the first word of "otool", so it can be a program name with args.
 
9365
set dummy otool; ac_word=$2
 
9366
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9367
$as_echo_n "checking for $ac_word... " >&6; }
 
9368
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
9369
  $as_echo_n "(cached) " >&6
 
9370
else
 
9371
  if test -n "$ac_ct_OTOOL"; then
 
9372
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
9373
else
 
9374
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9375
for as_dir in $PATH
 
9376
do
 
9377
  IFS=$as_save_IFS
 
9378
  test -z "$as_dir" && as_dir=.
 
9379
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9380
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9381
    ac_cv_prog_ac_ct_OTOOL="otool"
 
9382
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9383
    break 2
 
9384
  fi
 
9385
done
 
9386
done
 
9387
IFS=$as_save_IFS
 
9388
 
 
9389
fi
 
9390
fi
 
9391
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
9392
if test -n "$ac_ct_OTOOL"; then
 
9393
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
9394
$as_echo "$ac_ct_OTOOL" >&6; }
 
9395
else
 
9396
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9397
$as_echo "no" >&6; }
 
9398
fi
 
9399
 
 
9400
  if test "x$ac_ct_OTOOL" = x; then
 
9401
    OTOOL=":"
 
9402
  else
 
9403
    case $cross_compiling:$ac_tool_warned in
 
9404
yes:)
 
9405
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9406
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9407
ac_tool_warned=yes ;;
 
9408
esac
 
9409
    OTOOL=$ac_ct_OTOOL
 
9410
  fi
 
9411
else
 
9412
  OTOOL="$ac_cv_prog_OTOOL"
 
9413
fi
 
9414
 
 
9415
    if test -n "$ac_tool_prefix"; then
 
9416
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
9417
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
9418
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9419
$as_echo_n "checking for $ac_word... " >&6; }
 
9420
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
9421
  $as_echo_n "(cached) " >&6
 
9422
else
 
9423
  if test -n "$OTOOL64"; then
 
9424
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
9425
else
 
9426
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9427
for as_dir in $PATH
 
9428
do
 
9429
  IFS=$as_save_IFS
 
9430
  test -z "$as_dir" && as_dir=.
 
9431
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9432
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9433
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
9434
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9435
    break 2
 
9436
  fi
 
9437
done
 
9438
done
 
9439
IFS=$as_save_IFS
 
9440
 
 
9441
fi
 
9442
fi
 
9443
OTOOL64=$ac_cv_prog_OTOOL64
 
9444
if test -n "$OTOOL64"; then
 
9445
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
9446
$as_echo "$OTOOL64" >&6; }
 
9447
else
 
9448
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9449
$as_echo "no" >&6; }
 
9450
fi
 
9451
 
 
9452
 
 
9453
fi
 
9454
if test -z "$ac_cv_prog_OTOOL64"; then
 
9455
  ac_ct_OTOOL64=$OTOOL64
 
9456
  # Extract the first word of "otool64", so it can be a program name with args.
 
9457
set dummy otool64; ac_word=$2
 
9458
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9459
$as_echo_n "checking for $ac_word... " >&6; }
 
9460
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
9461
  $as_echo_n "(cached) " >&6
 
9462
else
 
9463
  if test -n "$ac_ct_OTOOL64"; then
 
9464
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
9465
else
 
9466
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9467
for as_dir in $PATH
 
9468
do
 
9469
  IFS=$as_save_IFS
 
9470
  test -z "$as_dir" && as_dir=.
 
9471
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9472
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9473
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
9474
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9475
    break 2
 
9476
  fi
 
9477
done
 
9478
done
 
9479
IFS=$as_save_IFS
 
9480
 
 
9481
fi
 
9482
fi
 
9483
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
9484
if test -n "$ac_ct_OTOOL64"; then
 
9485
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
9486
$as_echo "$ac_ct_OTOOL64" >&6; }
 
9487
else
 
9488
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9489
$as_echo "no" >&6; }
 
9490
fi
 
9491
 
 
9492
  if test "x$ac_ct_OTOOL64" = x; then
 
9493
    OTOOL64=":"
 
9494
  else
 
9495
    case $cross_compiling:$ac_tool_warned in
 
9496
yes:)
 
9497
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9498
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9499
ac_tool_warned=yes ;;
 
9500
esac
 
9501
    OTOOL64=$ac_ct_OTOOL64
 
9502
  fi
 
9503
else
 
9504
  OTOOL64="$ac_cv_prog_OTOOL64"
 
9505
fi
 
9506
 
 
9507
 
 
9508
 
 
9509
 
 
9510
 
 
9511
 
 
9512
 
 
9513
 
 
9514
 
 
9515
 
 
9516
 
 
9517
 
 
9518
 
 
9519
 
 
9520
 
 
9521
 
 
9522
 
 
9523
 
 
9524
 
 
9525
 
 
9526
 
 
9527
 
 
9528
 
 
9529
 
 
9530
 
 
9531
 
 
9532
 
 
9533
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
9534
$as_echo_n "checking for -single_module linker flag... " >&6; }
9426
9535
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9427
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9536
  $as_echo_n "(cached) " >&6
9428
9537
else
9429
9538
  lt_cv_apple_cc_single_mod=no
9430
9539
      if test -z "${LT_MULTI_MODULE}"; then
9431
 
   # By default we will add the -single_module flag. You can override
9432
 
   # by either setting the environment variable LT_MULTI_MODULE
9433
 
   # non-empty at configure time, or by adding -multi_module to the
9434
 
   # link flags.
9435
 
   echo "int foo(void){return 1;}" > conftest.c
9436
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9437
 
     -dynamiclib ${wl}-single_module conftest.c
9438
 
   if test -f libconftest.dylib; then
9439
 
     lt_cv_apple_cc_single_mod=yes
9440
 
     rm -rf libconftest.dylib*
9441
 
   fi
9442
 
   rm conftest.c
 
9540
        # By default we will add the -single_module flag. You can override
 
9541
        # by either setting the environment variable LT_MULTI_MODULE
 
9542
        # non-empty at configure time, or by adding -multi_module to the
 
9543
        # link flags.
 
9544
        rm -rf libconftest.dylib*
 
9545
        echo "int foo(void){return 1;}" > conftest.c
 
9546
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9547
-dynamiclib -Wl,-single_module conftest.c" >&5
 
9548
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9549
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
9550
        _lt_result=$?
 
9551
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
9552
          lt_cv_apple_cc_single_mod=yes
 
9553
        else
 
9554
          cat conftest.err >&5
 
9555
        fi
 
9556
        rm -rf libconftest.dylib*
 
9557
        rm -f conftest.*
9443
9558
      fi
9444
9559
fi
9445
 
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
9446
 
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
9447
 
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
9448
 
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
9560
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
9561
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
9562
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
9563
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9449
9564
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
9450
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9565
  $as_echo_n "(cached) " >&6
9451
9566
else
9452
9567
  lt_cv_ld_exported_symbols_list=no
9453
9568
      save_LDFLAGS=$LDFLAGS
9474
9589
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9475
9590
  *) ac_try_echo=$ac_try;;
9476
9591
esac
9477
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9592
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9593
$as_echo "$ac_try_echo") >&5
9478
9594
  (eval "$ac_link") 2>conftest.er1
9479
9595
  ac_status=$?
9480
9596
  grep -v '^ *+' conftest.er1 >conftest.err
9481
9597
  rm -f conftest.er1
9482
9598
  cat conftest.err >&5
9483
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9599
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484
9600
  (exit $ac_status); } && {
9485
9601
         test -z "$ac_c_werror_flag" ||
9486
9602
         test ! -s conftest.err
9487
 
       } && test -s conftest$ac_exeext &&
9488
 
       $as_test_x conftest$ac_exeext; then
 
9603
       } && test -s conftest$ac_exeext && {
 
9604
         test "$cross_compiling" = yes ||
 
9605
         $as_test_x conftest$ac_exeext
 
9606
       }; then
9489
9607
  lt_cv_ld_exported_symbols_list=yes
9490
9608
else
9491
 
  echo "$as_me: failed program was:" >&5
 
9609
  $as_echo "$as_me: failed program was:" >&5
9492
9610
sed 's/^/| /' conftest.$ac_ext >&5
9493
9611
 
9494
9612
        lt_cv_ld_exported_symbols_list=no
9495
9613
fi
9496
9614
 
 
9615
rm -rf conftest.dSYM
9497
9616
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9498
9617
      conftest$ac_exeext conftest.$ac_ext
9499
 
   LDFLAGS="$save_LDFLAGS"
 
9618
        LDFLAGS="$save_LDFLAGS"
9500
9619
 
9501
9620
fi
9502
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
9503
 
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
9621
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
9622
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9504
9623
    case $host_os in
9505
 
    rhapsody* | darwin1.[0123])
 
9624
    rhapsody* | darwin1.[012])
9506
9625
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9507
9626
    darwin1.*)
9508
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9509
 
    darwin*)
 
9627
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9628
    darwin*) # darwin 5.x on
9510
9629
      # if running on 10.5 or later, the deployment target defaults
9511
9630
      # to the OS version, if on x86, and 10.4, the deployment
9512
9631
      # target defaults to 10.4. Don't you love it?
9513
9632
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9514
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9515
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9516
 
   10.[012]*)
9517
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9518
 
   10.*)
9519
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9633
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
9634
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9635
        10.[012]*)
 
9636
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9637
        10.*)
 
9638
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9520
9639
      esac
9521
9640
    ;;
9522
9641
  esac
9526
9645
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9527
9646
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9528
9647
    else
9529
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
9648
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9530
9649
    fi
9531
9650
    if test "$DSYMUTIL" != ":"; then
9532
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
9651
      _lt_dsymutil='~$DSYMUTIL $lib || :'
9533
9652
    else
9534
9653
      _lt_dsymutil=
9535
9654
    fi
9537
9656
  esac
9538
9657
 
9539
9658
 
9540
 
enable_dlopen=no
9541
 
enable_win32_dll=no
9542
 
 
9543
 
# Check whether --enable-libtool-lock was given.
9544
 
if test "${enable_libtool_lock+set}" = set; then
9545
 
  enableval=$enable_libtool_lock;
9546
 
fi
9547
 
 
9548
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
9659
for ac_header in dlfcn.h
 
9660
do
 
9661
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
9662
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
9663
$as_echo_n "checking for $ac_header... " >&6; }
 
9664
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
9665
  $as_echo_n "(cached) " >&6
 
9666
else
 
9667
  cat >conftest.$ac_ext <<_ACEOF
 
9668
/* confdefs.h.  */
 
9669
_ACEOF
 
9670
cat confdefs.h >>conftest.$ac_ext
 
9671
cat >>conftest.$ac_ext <<_ACEOF
 
9672
/* end confdefs.h.  */
 
9673
$ac_includes_default
 
9674
 
 
9675
#include <$ac_header>
 
9676
_ACEOF
 
9677
rm -f conftest.$ac_objext
 
9678
if { (ac_try="$ac_compile"
 
9679
case "(($ac_try" in
 
9680
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9681
  *) ac_try_echo=$ac_try;;
 
9682
esac
 
9683
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9684
$as_echo "$ac_try_echo") >&5
 
9685
  (eval "$ac_compile") 2>conftest.er1
 
9686
  ac_status=$?
 
9687
  grep -v '^ *+' conftest.er1 >conftest.err
 
9688
  rm -f conftest.er1
 
9689
  cat conftest.err >&5
 
9690
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9691
  (exit $ac_status); } && {
 
9692
         test -z "$ac_c_werror_flag" ||
 
9693
         test ! -s conftest.err
 
9694
       } && test -s conftest.$ac_objext; then
 
9695
  eval "$as_ac_Header=yes"
 
9696
else
 
9697
  $as_echo "$as_me: failed program was:" >&5
 
9698
sed 's/^/| /' conftest.$ac_ext >&5
 
9699
 
 
9700
        eval "$as_ac_Header=no"
 
9701
fi
 
9702
 
 
9703
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9704
fi
 
9705
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
9706
                 $as_echo "$as_val"'`
 
9707
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
9708
$as_echo "$ac_res" >&6; }
 
9709
as_val=`eval 'as_val=${'$as_ac_Header'}
 
9710
                 $as_echo "$as_val"'`
 
9711
   if test "x$as_val" = x""yes; then
 
9712
  cat >>confdefs.h <<_ACEOF
 
9713
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
9714
_ACEOF
 
9715
 
 
9716
fi
 
9717
 
 
9718
done
 
9719
 
 
9720
 
 
9721
 
 
9722
ac_ext=cpp
 
9723
ac_cpp='$CXXCPP $CPPFLAGS'
 
9724
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
9725
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
9726
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
9727
if test -z "$CXX"; then
 
9728
  if test -n "$CCC"; then
 
9729
    CXX=$CCC
 
9730
  else
 
9731
    if test -n "$ac_tool_prefix"; then
 
9732
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
9733
  do
 
9734
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
9735
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
9736
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9737
$as_echo_n "checking for $ac_word... " >&6; }
 
9738
if test "${ac_cv_prog_CXX+set}" = set; then
 
9739
  $as_echo_n "(cached) " >&6
 
9740
else
 
9741
  if test -n "$CXX"; then
 
9742
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
9743
else
 
9744
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9745
for as_dir in $PATH
 
9746
do
 
9747
  IFS=$as_save_IFS
 
9748
  test -z "$as_dir" && as_dir=.
 
9749
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9750
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9751
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
9752
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9753
    break 2
 
9754
  fi
 
9755
done
 
9756
done
 
9757
IFS=$as_save_IFS
 
9758
 
 
9759
fi
 
9760
fi
 
9761
CXX=$ac_cv_prog_CXX
 
9762
if test -n "$CXX"; then
 
9763
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
9764
$as_echo "$CXX" >&6; }
 
9765
else
 
9766
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9767
$as_echo "no" >&6; }
 
9768
fi
 
9769
 
 
9770
 
 
9771
    test -n "$CXX" && break
 
9772
  done
 
9773
fi
 
9774
if test -z "$CXX"; then
 
9775
  ac_ct_CXX=$CXX
 
9776
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
9777
do
 
9778
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
9779
set dummy $ac_prog; ac_word=$2
 
9780
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9781
$as_echo_n "checking for $ac_word... " >&6; }
 
9782
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
9783
  $as_echo_n "(cached) " >&6
 
9784
else
 
9785
  if test -n "$ac_ct_CXX"; then
 
9786
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
9787
else
 
9788
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9789
for as_dir in $PATH
 
9790
do
 
9791
  IFS=$as_save_IFS
 
9792
  test -z "$as_dir" && as_dir=.
 
9793
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9794
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9795
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
9796
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9797
    break 2
 
9798
  fi
 
9799
done
 
9800
done
 
9801
IFS=$as_save_IFS
 
9802
 
 
9803
fi
 
9804
fi
 
9805
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
9806
if test -n "$ac_ct_CXX"; then
 
9807
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
9808
$as_echo "$ac_ct_CXX" >&6; }
 
9809
else
 
9810
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9811
$as_echo "no" >&6; }
 
9812
fi
 
9813
 
 
9814
 
 
9815
  test -n "$ac_ct_CXX" && break
 
9816
done
 
9817
 
 
9818
  if test "x$ac_ct_CXX" = x; then
 
9819
    CXX="g++"
 
9820
  else
 
9821
    case $cross_compiling:$ac_tool_warned in
 
9822
yes:)
 
9823
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9824
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9825
ac_tool_warned=yes ;;
 
9826
esac
 
9827
    CXX=$ac_ct_CXX
 
9828
  fi
 
9829
fi
 
9830
 
 
9831
  fi
 
9832
fi
 
9833
# Provide some information about the compiler.
 
9834
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
9835
set X $ac_compile
 
9836
ac_compiler=$2
 
9837
{ (ac_try="$ac_compiler --version >&5"
 
9838
case "(($ac_try" in
 
9839
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9840
  *) ac_try_echo=$ac_try;;
 
9841
esac
 
9842
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9843
$as_echo "$ac_try_echo") >&5
 
9844
  (eval "$ac_compiler --version >&5") 2>&5
 
9845
  ac_status=$?
 
9846
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9847
  (exit $ac_status); }
 
9848
{ (ac_try="$ac_compiler -v >&5"
 
9849
case "(($ac_try" in
 
9850
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9851
  *) ac_try_echo=$ac_try;;
 
9852
esac
 
9853
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9854
$as_echo "$ac_try_echo") >&5
 
9855
  (eval "$ac_compiler -v >&5") 2>&5
 
9856
  ac_status=$?
 
9857
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9858
  (exit $ac_status); }
 
9859
{ (ac_try="$ac_compiler -V >&5"
 
9860
case "(($ac_try" in
 
9861
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9862
  *) ac_try_echo=$ac_try;;
 
9863
esac
 
9864
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9865
$as_echo "$ac_try_echo") >&5
 
9866
  (eval "$ac_compiler -V >&5") 2>&5
 
9867
  ac_status=$?
 
9868
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9869
  (exit $ac_status); }
 
9870
 
 
9871
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
9872
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
9873
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
9874
  $as_echo_n "(cached) " >&6
 
9875
else
 
9876
  cat >conftest.$ac_ext <<_ACEOF
 
9877
/* confdefs.h.  */
 
9878
_ACEOF
 
9879
cat confdefs.h >>conftest.$ac_ext
 
9880
cat >>conftest.$ac_ext <<_ACEOF
 
9881
/* end confdefs.h.  */
 
9882
 
 
9883
int
 
9884
main ()
 
9885
{
 
9886
#ifndef __GNUC__
 
9887
       choke me
 
9888
#endif
 
9889
 
 
9890
  ;
 
9891
  return 0;
 
9892
}
 
9893
_ACEOF
 
9894
rm -f conftest.$ac_objext
 
9895
if { (ac_try="$ac_compile"
 
9896
case "(($ac_try" in
 
9897
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9898
  *) ac_try_echo=$ac_try;;
 
9899
esac
 
9900
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9901
$as_echo "$ac_try_echo") >&5
 
9902
  (eval "$ac_compile") 2>conftest.er1
 
9903
  ac_status=$?
 
9904
  grep -v '^ *+' conftest.er1 >conftest.err
 
9905
  rm -f conftest.er1
 
9906
  cat conftest.err >&5
 
9907
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9908
  (exit $ac_status); } && {
 
9909
         test -z "$ac_cxx_werror_flag" ||
 
9910
         test ! -s conftest.err
 
9911
       } && test -s conftest.$ac_objext; then
 
9912
  ac_compiler_gnu=yes
 
9913
else
 
9914
  $as_echo "$as_me: failed program was:" >&5
 
9915
sed 's/^/| /' conftest.$ac_ext >&5
 
9916
 
 
9917
        ac_compiler_gnu=no
 
9918
fi
 
9919
 
 
9920
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9921
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
9922
 
 
9923
fi
 
9924
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
9925
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
9926
if test $ac_compiler_gnu = yes; then
 
9927
  GXX=yes
 
9928
else
 
9929
  GXX=
 
9930
fi
 
9931
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
9932
ac_save_CXXFLAGS=$CXXFLAGS
 
9933
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
9934
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
9935
if test "${ac_cv_prog_cxx_g+set}" = set; then
 
9936
  $as_echo_n "(cached) " >&6
 
9937
else
 
9938
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
9939
   ac_cxx_werror_flag=yes
 
9940
   ac_cv_prog_cxx_g=no
 
9941
   CXXFLAGS="-g"
 
9942
   cat >conftest.$ac_ext <<_ACEOF
 
9943
/* confdefs.h.  */
 
9944
_ACEOF
 
9945
cat confdefs.h >>conftest.$ac_ext
 
9946
cat >>conftest.$ac_ext <<_ACEOF
 
9947
/* end confdefs.h.  */
 
9948
 
 
9949
int
 
9950
main ()
 
9951
{
 
9952
 
 
9953
  ;
 
9954
  return 0;
 
9955
}
 
9956
_ACEOF
 
9957
rm -f conftest.$ac_objext
 
9958
if { (ac_try="$ac_compile"
 
9959
case "(($ac_try" in
 
9960
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9961
  *) ac_try_echo=$ac_try;;
 
9962
esac
 
9963
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9964
$as_echo "$ac_try_echo") >&5
 
9965
  (eval "$ac_compile") 2>conftest.er1
 
9966
  ac_status=$?
 
9967
  grep -v '^ *+' conftest.er1 >conftest.err
 
9968
  rm -f conftest.er1
 
9969
  cat conftest.err >&5
 
9970
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9971
  (exit $ac_status); } && {
 
9972
         test -z "$ac_cxx_werror_flag" ||
 
9973
         test ! -s conftest.err
 
9974
       } && test -s conftest.$ac_objext; then
 
9975
  ac_cv_prog_cxx_g=yes
 
9976
else
 
9977
  $as_echo "$as_me: failed program was:" >&5
 
9978
sed 's/^/| /' conftest.$ac_ext >&5
 
9979
 
 
9980
        CXXFLAGS=""
 
9981
      cat >conftest.$ac_ext <<_ACEOF
 
9982
/* confdefs.h.  */
 
9983
_ACEOF
 
9984
cat confdefs.h >>conftest.$ac_ext
 
9985
cat >>conftest.$ac_ext <<_ACEOF
 
9986
/* end confdefs.h.  */
 
9987
 
 
9988
int
 
9989
main ()
 
9990
{
 
9991
 
 
9992
  ;
 
9993
  return 0;
 
9994
}
 
9995
_ACEOF
 
9996
rm -f conftest.$ac_objext
 
9997
if { (ac_try="$ac_compile"
 
9998
case "(($ac_try" in
 
9999
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10000
  *) ac_try_echo=$ac_try;;
 
10001
esac
 
10002
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10003
$as_echo "$ac_try_echo") >&5
 
10004
  (eval "$ac_compile") 2>conftest.er1
 
10005
  ac_status=$?
 
10006
  grep -v '^ *+' conftest.er1 >conftest.err
 
10007
  rm -f conftest.er1
 
10008
  cat conftest.err >&5
 
10009
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10010
  (exit $ac_status); } && {
 
10011
         test -z "$ac_cxx_werror_flag" ||
 
10012
         test ! -s conftest.err
 
10013
       } && test -s conftest.$ac_objext; then
 
10014
  :
 
10015
else
 
10016
  $as_echo "$as_me: failed program was:" >&5
 
10017
sed 's/^/| /' conftest.$ac_ext >&5
 
10018
 
 
10019
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
10020
         CXXFLAGS="-g"
 
10021
         cat >conftest.$ac_ext <<_ACEOF
 
10022
/* confdefs.h.  */
 
10023
_ACEOF
 
10024
cat confdefs.h >>conftest.$ac_ext
 
10025
cat >>conftest.$ac_ext <<_ACEOF
 
10026
/* end confdefs.h.  */
 
10027
 
 
10028
int
 
10029
main ()
 
10030
{
 
10031
 
 
10032
  ;
 
10033
  return 0;
 
10034
}
 
10035
_ACEOF
 
10036
rm -f conftest.$ac_objext
 
10037
if { (ac_try="$ac_compile"
 
10038
case "(($ac_try" in
 
10039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10040
  *) ac_try_echo=$ac_try;;
 
10041
esac
 
10042
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10043
$as_echo "$ac_try_echo") >&5
 
10044
  (eval "$ac_compile") 2>conftest.er1
 
10045
  ac_status=$?
 
10046
  grep -v '^ *+' conftest.er1 >conftest.err
 
10047
  rm -f conftest.er1
 
10048
  cat conftest.err >&5
 
10049
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10050
  (exit $ac_status); } && {
 
10051
         test -z "$ac_cxx_werror_flag" ||
 
10052
         test ! -s conftest.err
 
10053
       } && test -s conftest.$ac_objext; then
 
10054
  ac_cv_prog_cxx_g=yes
 
10055
else
 
10056
  $as_echo "$as_me: failed program was:" >&5
 
10057
sed 's/^/| /' conftest.$ac_ext >&5
 
10058
 
 
10059
 
 
10060
fi
 
10061
 
 
10062
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10063
fi
 
10064
 
 
10065
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10066
fi
 
10067
 
 
10068
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10069
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
10070
fi
 
10071
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
10072
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
10073
if test "$ac_test_CXXFLAGS" = set; then
 
10074
  CXXFLAGS=$ac_save_CXXFLAGS
 
10075
elif test $ac_cv_prog_cxx_g = yes; then
 
10076
  if test "$GXX" = yes; then
 
10077
    CXXFLAGS="-g -O2"
 
10078
  else
 
10079
    CXXFLAGS="-g"
 
10080
  fi
 
10081
else
 
10082
  if test "$GXX" = yes; then
 
10083
    CXXFLAGS="-O2"
 
10084
  else
 
10085
    CXXFLAGS=
 
10086
  fi
 
10087
fi
 
10088
ac_ext=c
 
10089
ac_cpp='$CPP $CPPFLAGS'
 
10090
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10091
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10092
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10093
 
 
10094
depcc="$CXX"  am_compiler_list=
 
10095
 
 
10096
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
10097
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
10098
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 
10099
  $as_echo_n "(cached) " >&6
 
10100
else
 
10101
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
10102
  # We make a subdir and do the tests there.  Otherwise we can end up
 
10103
  # making bogus files that we don't know about and never remove.  For
 
10104
  # instance it was reported that on HP-UX the gcc test will end up
 
10105
  # making a dummy file named `D' -- because `-MD' means `put the output
 
10106
  # in D'.
 
10107
  mkdir conftest.dir
 
10108
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
10109
  # using a relative directory.
 
10110
  cp "$am_depcomp" conftest.dir
 
10111
  cd conftest.dir
 
10112
  # We will build objects and dependencies in a subdirectory because
 
10113
  # it helps to detect inapplicable dependency modes.  For instance
 
10114
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
10115
  # side effect of compilation, but ICC will put the dependencies in
 
10116
  # the current directory while Tru64 will put them in the object
 
10117
  # directory.
 
10118
  mkdir sub
 
10119
 
 
10120
  am_cv_CXX_dependencies_compiler_type=none
 
10121
  if test "$am_compiler_list" = ""; then
 
10122
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
10123
  fi
 
10124
  for depmode in $am_compiler_list; do
 
10125
    # Setup a source with many dependencies, because some compilers
 
10126
    # like to wrap large dependency lists on column 80 (with \), and
 
10127
    # we should not choose a depcomp mode which is confused by this.
 
10128
    #
 
10129
    # We need to recreate these files for each test, as the compiler may
 
10130
    # overwrite some of them when testing with obscure command lines.
 
10131
    # This happens at least with the AIX C compiler.
 
10132
    : > sub/conftest.c
 
10133
    for i in 1 2 3 4 5 6; do
 
10134
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
10135
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
10136
      # Solaris 8's {/usr,}/bin/sh.
 
10137
      touch sub/conftst$i.h
 
10138
    done
 
10139
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
10140
 
 
10141
    case $depmode in
 
10142
    nosideeffect)
 
10143
      # after this tag, mechanisms are not by side-effect, so they'll
 
10144
      # only be used when explicitly requested
 
10145
      if test "x$enable_dependency_tracking" = xyes; then
 
10146
        continue
 
10147
      else
 
10148
        break
 
10149
      fi
 
10150
      ;;
 
10151
    none) break ;;
 
10152
    esac
 
10153
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
10154
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
10155
    # handle `-M -o', and we need to detect this.
 
10156
    if depmode=$depmode \
 
10157
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
10158
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
10159
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
10160
         >/dev/null 2>conftest.err &&
 
10161
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
10162
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
10163
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
10164
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
10165
      # icc doesn't choke on unknown options, it will just issue warnings
 
10166
      # or remarks (even with -Werror).  So we grep stderr for any message
 
10167
      # that says an option was ignored or not supported.
 
10168
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
10169
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
10170
      # The diagnosis changed in icc 8.0:
 
10171
      #   icc: Command line remark: option '-MP' not supported
 
10172
      if (grep 'ignoring option' conftest.err ||
 
10173
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
10174
        am_cv_CXX_dependencies_compiler_type=$depmode
 
10175
        break
 
10176
      fi
 
10177
    fi
 
10178
  done
 
10179
 
 
10180
  cd ..
 
10181
  rm -rf conftest.dir
 
10182
else
 
10183
  am_cv_CXX_dependencies_compiler_type=none
 
10184
fi
 
10185
 
 
10186
fi
 
10187
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
10188
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
10189
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
10190
 
 
10191
 if
 
10192
  test "x$enable_dependency_tracking" != xno \
 
10193
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
10194
  am__fastdepCXX_TRUE=
 
10195
  am__fastdepCXX_FALSE='#'
 
10196
else
 
10197
  am__fastdepCXX_TRUE='#'
 
10198
  am__fastdepCXX_FALSE=
 
10199
fi
 
10200
 
 
10201
 
 
10202
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
10203
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
10204
    (test "X$CXX" != "Xg++"))) ; then
 
10205
  ac_ext=cpp
 
10206
ac_cpp='$CXXCPP $CPPFLAGS'
 
10207
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10208
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10209
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
10210
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
10211
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
10212
if test -z "$CXXCPP"; then
 
10213
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
 
10214
  $as_echo_n "(cached) " >&6
 
10215
else
 
10216
      # Double quotes because CXXCPP needs to be expanded
 
10217
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
10218
    do
 
10219
      ac_preproc_ok=false
 
10220
for ac_cxx_preproc_warn_flag in '' yes
 
10221
do
 
10222
  # Use a header file that comes with gcc, so configuring glibc
 
10223
  # with a fresh cross-compiler works.
 
10224
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
10225
  # <limits.h> exists even on freestanding compilers.
 
10226
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
10227
  # not just through cpp. "Syntax error" is here to catch this case.
 
10228
  cat >conftest.$ac_ext <<_ACEOF
 
10229
/* confdefs.h.  */
 
10230
_ACEOF
 
10231
cat confdefs.h >>conftest.$ac_ext
 
10232
cat >>conftest.$ac_ext <<_ACEOF
 
10233
/* end confdefs.h.  */
 
10234
#ifdef __STDC__
 
10235
# include <limits.h>
 
10236
#else
 
10237
# include <assert.h>
 
10238
#endif
 
10239
                     Syntax error
 
10240
_ACEOF
 
10241
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
10242
case "(($ac_try" in
 
10243
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10244
  *) ac_try_echo=$ac_try;;
 
10245
esac
 
10246
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10247
$as_echo "$ac_try_echo") >&5
 
10248
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
10249
  ac_status=$?
 
10250
  grep -v '^ *+' conftest.er1 >conftest.err
 
10251
  rm -f conftest.er1
 
10252
  cat conftest.err >&5
 
10253
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10254
  (exit $ac_status); } >/dev/null && {
 
10255
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
10256
         test ! -s conftest.err
 
10257
       }; then
 
10258
  :
 
10259
else
 
10260
  $as_echo "$as_me: failed program was:" >&5
 
10261
sed 's/^/| /' conftest.$ac_ext >&5
 
10262
 
 
10263
  # Broken: fails on valid input.
 
10264
continue
 
10265
fi
 
10266
 
 
10267
rm -f conftest.err conftest.$ac_ext
 
10268
 
 
10269
  # OK, works on sane cases.  Now check whether nonexistent headers
 
10270
  # can be detected and how.
 
10271
  cat >conftest.$ac_ext <<_ACEOF
 
10272
/* confdefs.h.  */
 
10273
_ACEOF
 
10274
cat confdefs.h >>conftest.$ac_ext
 
10275
cat >>conftest.$ac_ext <<_ACEOF
 
10276
/* end confdefs.h.  */
 
10277
#include <ac_nonexistent.h>
 
10278
_ACEOF
 
10279
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
10280
case "(($ac_try" in
 
10281
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10282
  *) ac_try_echo=$ac_try;;
 
10283
esac
 
10284
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10285
$as_echo "$ac_try_echo") >&5
 
10286
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
10287
  ac_status=$?
 
10288
  grep -v '^ *+' conftest.er1 >conftest.err
 
10289
  rm -f conftest.er1
 
10290
  cat conftest.err >&5
 
10291
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10292
  (exit $ac_status); } >/dev/null && {
 
10293
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
10294
         test ! -s conftest.err
 
10295
       }; then
 
10296
  # Broken: success on invalid input.
 
10297
continue
 
10298
else
 
10299
  $as_echo "$as_me: failed program was:" >&5
 
10300
sed 's/^/| /' conftest.$ac_ext >&5
 
10301
 
 
10302
  # Passes both tests.
 
10303
ac_preproc_ok=:
 
10304
break
 
10305
fi
 
10306
 
 
10307
rm -f conftest.err conftest.$ac_ext
 
10308
 
 
10309
done
 
10310
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
10311
rm -f conftest.err conftest.$ac_ext
 
10312
if $ac_preproc_ok; then
 
10313
  break
 
10314
fi
 
10315
 
 
10316
    done
 
10317
    ac_cv_prog_CXXCPP=$CXXCPP
 
10318
 
 
10319
fi
 
10320
  CXXCPP=$ac_cv_prog_CXXCPP
 
10321
else
 
10322
  ac_cv_prog_CXXCPP=$CXXCPP
 
10323
fi
 
10324
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
10325
$as_echo "$CXXCPP" >&6; }
 
10326
ac_preproc_ok=false
 
10327
for ac_cxx_preproc_warn_flag in '' yes
 
10328
do
 
10329
  # Use a header file that comes with gcc, so configuring glibc
 
10330
  # with a fresh cross-compiler works.
 
10331
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
10332
  # <limits.h> exists even on freestanding compilers.
 
10333
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
10334
  # not just through cpp. "Syntax error" is here to catch this case.
 
10335
  cat >conftest.$ac_ext <<_ACEOF
 
10336
/* confdefs.h.  */
 
10337
_ACEOF
 
10338
cat confdefs.h >>conftest.$ac_ext
 
10339
cat >>conftest.$ac_ext <<_ACEOF
 
10340
/* end confdefs.h.  */
 
10341
#ifdef __STDC__
 
10342
# include <limits.h>
 
10343
#else
 
10344
# include <assert.h>
 
10345
#endif
 
10346
                     Syntax error
 
10347
_ACEOF
 
10348
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
10349
case "(($ac_try" in
 
10350
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10351
  *) ac_try_echo=$ac_try;;
 
10352
esac
 
10353
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10354
$as_echo "$ac_try_echo") >&5
 
10355
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
10356
  ac_status=$?
 
10357
  grep -v '^ *+' conftest.er1 >conftest.err
 
10358
  rm -f conftest.er1
 
10359
  cat conftest.err >&5
 
10360
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10361
  (exit $ac_status); } >/dev/null && {
 
10362
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
10363
         test ! -s conftest.err
 
10364
       }; then
 
10365
  :
 
10366
else
 
10367
  $as_echo "$as_me: failed program was:" >&5
 
10368
sed 's/^/| /' conftest.$ac_ext >&5
 
10369
 
 
10370
  # Broken: fails on valid input.
 
10371
continue
 
10372
fi
 
10373
 
 
10374
rm -f conftest.err conftest.$ac_ext
 
10375
 
 
10376
  # OK, works on sane cases.  Now check whether nonexistent headers
 
10377
  # can be detected and how.
 
10378
  cat >conftest.$ac_ext <<_ACEOF
 
10379
/* confdefs.h.  */
 
10380
_ACEOF
 
10381
cat confdefs.h >>conftest.$ac_ext
 
10382
cat >>conftest.$ac_ext <<_ACEOF
 
10383
/* end confdefs.h.  */
 
10384
#include <ac_nonexistent.h>
 
10385
_ACEOF
 
10386
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
10387
case "(($ac_try" in
 
10388
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10389
  *) ac_try_echo=$ac_try;;
 
10390
esac
 
10391
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10392
$as_echo "$ac_try_echo") >&5
 
10393
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
10394
  ac_status=$?
 
10395
  grep -v '^ *+' conftest.er1 >conftest.err
 
10396
  rm -f conftest.er1
 
10397
  cat conftest.err >&5
 
10398
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10399
  (exit $ac_status); } >/dev/null && {
 
10400
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
10401
         test ! -s conftest.err
 
10402
       }; then
 
10403
  # Broken: success on invalid input.
 
10404
continue
 
10405
else
 
10406
  $as_echo "$as_me: failed program was:" >&5
 
10407
sed 's/^/| /' conftest.$ac_ext >&5
 
10408
 
 
10409
  # Passes both tests.
 
10410
ac_preproc_ok=:
 
10411
break
 
10412
fi
 
10413
 
 
10414
rm -f conftest.err conftest.$ac_ext
 
10415
 
 
10416
done
 
10417
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
10418
rm -f conftest.err conftest.$ac_ext
 
10419
if $ac_preproc_ok; then
 
10420
  :
 
10421
else
 
10422
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
10423
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
10424
_lt_caught_CXX_error=yes; }
 
10425
fi
 
10426
 
 
10427
ac_ext=c
 
10428
ac_cpp='$CPP $CPPFLAGS'
 
10429
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10430
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10431
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10432
 
 
10433
else
 
10434
  _lt_caught_CXX_error=yes
 
10435
fi
 
10436
 
 
10437
 
 
10438
 
 
10439
 
 
10440
 
 
10441
# Set options
 
10442
 
 
10443
 
 
10444
 
 
10445
        enable_dlopen=no
 
10446
 
 
10447
 
 
10448
  enable_win32_dll=no
 
10449
 
 
10450
 
 
10451
            # Check whether --enable-shared was given.
 
10452
if test "${enable_shared+set}" = set; then
 
10453
  enableval=$enable_shared; p=${PACKAGE-default}
 
10454
    case $enableval in
 
10455
    yes) enable_shared=yes ;;
 
10456
    no) enable_shared=no ;;
 
10457
    *)
 
10458
      enable_shared=no
 
10459
      # Look at the argument we got.  We use all the common list separators.
 
10460
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
10461
      for pkg in $enableval; do
 
10462
        IFS="$lt_save_ifs"
 
10463
        if test "X$pkg" = "X$p"; then
 
10464
          enable_shared=yes
 
10465
        fi
 
10466
      done
 
10467
      IFS="$lt_save_ifs"
 
10468
      ;;
 
10469
    esac
 
10470
else
 
10471
  enable_shared=yes
 
10472
fi
 
10473
 
 
10474
 
 
10475
 
 
10476
 
 
10477
 
 
10478
 
 
10479
 
 
10480
 
 
10481
 
 
10482
  # Check whether --enable-static was given.
 
10483
if test "${enable_static+set}" = set; then
 
10484
  enableval=$enable_static; p=${PACKAGE-default}
 
10485
    case $enableval in
 
10486
    yes) enable_static=yes ;;
 
10487
    no) enable_static=no ;;
 
10488
    *)
 
10489
     enable_static=no
 
10490
      # Look at the argument we got.  We use all the common list separators.
 
10491
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
10492
      for pkg in $enableval; do
 
10493
        IFS="$lt_save_ifs"
 
10494
        if test "X$pkg" = "X$p"; then
 
10495
          enable_static=yes
 
10496
        fi
 
10497
      done
 
10498
      IFS="$lt_save_ifs"
 
10499
      ;;
 
10500
    esac
 
10501
else
 
10502
  enable_static=yes
 
10503
fi
 
10504
 
 
10505
 
 
10506
 
 
10507
 
 
10508
 
 
10509
 
 
10510
 
 
10511
 
9549
10512
 
9550
10513
 
9551
10514
# Check whether --with-pic was given.
9555
10518
  pic_mode=default
9556
10519
fi
9557
10520
 
 
10521
 
9558
10522
test -z "$pic_mode" && pic_mode=default
9559
10523
 
 
10524
 
 
10525
 
 
10526
 
 
10527
 
 
10528
 
 
10529
 
 
10530
  # Check whether --enable-fast-install was given.
 
10531
if test "${enable_fast_install+set}" = set; then
 
10532
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
10533
    case $enableval in
 
10534
    yes) enable_fast_install=yes ;;
 
10535
    no) enable_fast_install=no ;;
 
10536
    *)
 
10537
      enable_fast_install=no
 
10538
      # Look at the argument we got.  We use all the common list separators.
 
10539
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
10540
      for pkg in $enableval; do
 
10541
        IFS="$lt_save_ifs"
 
10542
        if test "X$pkg" = "X$p"; then
 
10543
          enable_fast_install=yes
 
10544
        fi
 
10545
      done
 
10546
      IFS="$lt_save_ifs"
 
10547
      ;;
 
10548
    esac
 
10549
else
 
10550
  enable_fast_install=yes
 
10551
fi
 
10552
 
 
10553
 
 
10554
 
 
10555
 
 
10556
 
 
10557
 
 
10558
 
 
10559
 
 
10560
 
 
10561
 
 
10562
 
 
10563
# This can be used to rebuild libtool when needed
 
10564
LIBTOOL_DEPS="$ltmain"
 
10565
 
 
10566
# Always use our own libtool.
 
10567
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
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
test -z "$LN_S" && LN_S="ln -s"
 
10594
 
 
10595
 
 
10596
 
 
10597
 
 
10598
 
 
10599
 
 
10600
 
 
10601
 
 
10602
 
 
10603
 
 
10604
 
 
10605
 
 
10606
 
 
10607
 
 
10608
if test -n "${ZSH_VERSION+set}" ; then
 
10609
   setopt NO_GLOB_SUBST
 
10610
fi
 
10611
 
 
10612
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
10613
$as_echo_n "checking for objdir... " >&6; }
 
10614
if test "${lt_cv_objdir+set}" = set; then
 
10615
  $as_echo_n "(cached) " >&6
 
10616
else
 
10617
  rm -f .libs 2>/dev/null
 
10618
mkdir .libs 2>/dev/null
 
10619
if test -d .libs; then
 
10620
  lt_cv_objdir=.libs
 
10621
else
 
10622
  # MS-DOS does not allow filenames that begin with a dot.
 
10623
  lt_cv_objdir=_libs
 
10624
fi
 
10625
rmdir .libs 2>/dev/null
 
10626
fi
 
10627
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
10628
$as_echo "$lt_cv_objdir" >&6; }
 
10629
objdir=$lt_cv_objdir
 
10630
 
 
10631
 
 
10632
 
 
10633
 
 
10634
 
 
10635
cat >>confdefs.h <<_ACEOF
 
10636
#define LT_OBJDIR "$lt_cv_objdir/"
 
10637
_ACEOF
 
10638
 
 
10639
 
 
10640
 
 
10641
 
 
10642
 
 
10643
 
 
10644
 
 
10645
 
 
10646
 
 
10647
 
 
10648
 
 
10649
 
 
10650
 
 
10651
 
 
10652
 
 
10653
 
 
10654
 
 
10655
case $host_os in
 
10656
aix3*)
 
10657
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
10658
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
10659
  # vanish in a puff of smoke.
 
10660
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
10661
    COLLECT_NAMES=
 
10662
    export COLLECT_NAMES
 
10663
  fi
 
10664
  ;;
 
10665
esac
 
10666
 
 
10667
# Sed substitution that helps us do robust quoting.  It backslashifies
 
10668
# metacharacters that are still active within double-quoted strings.
 
10669
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
10670
 
 
10671
# Same as above, but do not quote variable references.
 
10672
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
10673
 
 
10674
# Sed substitution to delay expansion of an escaped shell variable in a
 
10675
# double_quote_subst'ed string.
 
10676
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
10677
 
 
10678
# Sed substitution to delay expansion of an escaped single quote.
 
10679
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
10680
 
 
10681
# Sed substitution to avoid accidental globbing in evaled expressions
 
10682
no_glob_subst='s/\*/\\\*/g'
 
10683
 
 
10684
# Global variables:
 
10685
ofile=libtool
 
10686
can_build_shared=yes
 
10687
 
 
10688
# All known linkers require a `.a' archive for static linking (except MSVC,
 
10689
# which needs '.lib').
 
10690
libext=a
 
10691
 
 
10692
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
10693
 
 
10694
old_CC="$CC"
 
10695
old_CFLAGS="$CFLAGS"
 
10696
 
 
10697
# Set sane defaults for various variables
 
10698
test -z "$CC" && CC=cc
 
10699
test -z "$LTCC" && LTCC=$CC
 
10700
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
10701
test -z "$LD" && LD=ld
 
10702
test -z "$ac_objext" && ac_objext=o
 
10703
 
 
10704
for cc_temp in $compiler""; do
 
10705
  case $cc_temp in
 
10706
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
10707
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
10708
    \-*) ;;
 
10709
    *) break;;
 
10710
  esac
 
10711
done
 
10712
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
10713
 
 
10714
 
 
10715
# Only perform the check for file, if the check method requires it
 
10716
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
10717
case $deplibs_check_method in
 
10718
file_magic*)
 
10719
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
10720
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
10721
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
10722
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
10723
  $as_echo_n "(cached) " >&6
 
10724
else
 
10725
  case $MAGIC_CMD in
 
10726
[\\/*] |  ?:[\\/]*)
 
10727
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
10728
  ;;
 
10729
*)
 
10730
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
10731
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
10732
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
10733
  for ac_dir in $ac_dummy; do
 
10734
    IFS="$lt_save_ifs"
 
10735
    test -z "$ac_dir" && ac_dir=.
 
10736
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
10737
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
10738
      if test -n "$file_magic_test_file"; then
 
10739
        case $deplibs_check_method in
 
10740
        "file_magic "*)
 
10741
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
10742
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10743
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
10744
            $EGREP "$file_magic_regex" > /dev/null; then
 
10745
            :
 
10746
          else
 
10747
            cat <<_LT_EOF 1>&2
 
10748
 
 
10749
*** Warning: the command libtool uses to detect shared libraries,
 
10750
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
10751
*** The result is that libtool may fail to recognize shared libraries
 
10752
*** as such.  This will affect the creation of libtool libraries that
 
10753
*** depend on shared libraries, but programs linked with such libtool
 
10754
*** libraries will work regardless of this problem.  Nevertheless, you
 
10755
*** may want to report the problem to your system manager and/or to
 
10756
*** bug-libtool@gnu.org
 
10757
 
 
10758
_LT_EOF
 
10759
          fi ;;
 
10760
        esac
 
10761
      fi
 
10762
      break
 
10763
    fi
 
10764
  done
 
10765
  IFS="$lt_save_ifs"
 
10766
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
10767
  ;;
 
10768
esac
 
10769
fi
 
10770
 
 
10771
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10772
if test -n "$MAGIC_CMD"; then
 
10773
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
10774
$as_echo "$MAGIC_CMD" >&6; }
 
10775
else
 
10776
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10777
$as_echo "no" >&6; }
 
10778
fi
 
10779
 
 
10780
 
 
10781
 
 
10782
 
 
10783
 
 
10784
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
10785
  if test -n "$ac_tool_prefix"; then
 
10786
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
10787
$as_echo_n "checking for file... " >&6; }
 
10788
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
10789
  $as_echo_n "(cached) " >&6
 
10790
else
 
10791
  case $MAGIC_CMD in
 
10792
[\\/*] |  ?:[\\/]*)
 
10793
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
10794
  ;;
 
10795
*)
 
10796
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
10797
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
10798
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
10799
  for ac_dir in $ac_dummy; do
 
10800
    IFS="$lt_save_ifs"
 
10801
    test -z "$ac_dir" && ac_dir=.
 
10802
    if test -f $ac_dir/file; then
 
10803
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
10804
      if test -n "$file_magic_test_file"; then
 
10805
        case $deplibs_check_method in
 
10806
        "file_magic "*)
 
10807
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
10808
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10809
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
10810
            $EGREP "$file_magic_regex" > /dev/null; then
 
10811
            :
 
10812
          else
 
10813
            cat <<_LT_EOF 1>&2
 
10814
 
 
10815
*** Warning: the command libtool uses to detect shared libraries,
 
10816
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
10817
*** The result is that libtool may fail to recognize shared libraries
 
10818
*** as such.  This will affect the creation of libtool libraries that
 
10819
*** depend on shared libraries, but programs linked with such libtool
 
10820
*** libraries will work regardless of this problem.  Nevertheless, you
 
10821
*** may want to report the problem to your system manager and/or to
 
10822
*** bug-libtool@gnu.org
 
10823
 
 
10824
_LT_EOF
 
10825
          fi ;;
 
10826
        esac
 
10827
      fi
 
10828
      break
 
10829
    fi
 
10830
  done
 
10831
  IFS="$lt_save_ifs"
 
10832
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
10833
  ;;
 
10834
esac
 
10835
fi
 
10836
 
 
10837
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10838
if test -n "$MAGIC_CMD"; then
 
10839
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
10840
$as_echo "$MAGIC_CMD" >&6; }
 
10841
else
 
10842
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10843
$as_echo "no" >&6; }
 
10844
fi
 
10845
 
 
10846
 
 
10847
  else
 
10848
    MAGIC_CMD=:
 
10849
  fi
 
10850
fi
 
10851
 
 
10852
  fi
 
10853
  ;;
 
10854
esac
 
10855
 
9560
10856
# Use C for the default configuration in the libtool script
9561
 
tagname=
 
10857
 
9562
10858
lt_save_CC="$CC"
9563
10859
ac_ext=c
9564
10860
ac_cpp='$CPP $CPPFLAGS'
9581
10877
lt_simple_link_test_code='int main(){return(0);}'
9582
10878
 
9583
10879
 
 
10880
 
 
10881
 
 
10882
 
 
10883
 
 
10884
 
9584
10885
# If no C compiler was specified, use CC.
9585
10886
LTCC=${LTCC-"$CC"}
9586
10887
 
9590
10891
# Allow CC to be a program name with arguments.
9591
10892
compiler=$CC
9592
10893
 
 
10894
# Save the default compiler, since it gets overwritten when the other
 
10895
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
10896
compiler_DEFAULT=$CC
9593
10897
 
9594
10898
# save warnings/boilerplate of simple test code
9595
10899
ac_outfile=conftest.$ac_objext
9596
10900
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9597
10901
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9598
10902
_lt_compiler_boilerplate=`cat conftest.err`
9599
 
$rm conftest*
 
10903
$RM conftest*
9600
10904
 
9601
10905
ac_outfile=conftest.$ac_objext
9602
10906
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9603
10907
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9604
10908
_lt_linker_boilerplate=`cat conftest.err`
9605
 
$rm -r conftest*
9606
 
 
9607
 
 
 
10909
$RM -r conftest*
 
10910
 
 
10911
 
 
10912
## CAVEAT EMPTOR:
 
10913
## There is no encapsulation within the following macros, do not change
 
10914
## the running order or otherwise move them around unless you know exactly
 
10915
## what you are doing...
 
10916
if test -n "$compiler"; then
9608
10917
 
9609
10918
lt_prog_compiler_no_builtin_flag=
9610
10919
 
9611
10920
if test "$GCC" = yes; then
9612
10921
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9613
10922
 
9614
 
 
9615
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9616
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
10923
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
10924
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9617
10925
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9618
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10926
  $as_echo_n "(cached) " >&6
9619
10927
else
9620
10928
  lt_cv_prog_compiler_rtti_exceptions=no
9621
 
  ac_outfile=conftest.$ac_objext
 
10929
   ac_outfile=conftest.$ac_objext
9622
10930
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9623
10931
   lt_compiler_flag="-fno-rtti -fno-exceptions"
9624
10932
   # Insert the option either (1) after the last *FLAGS variable, or
9630
10938
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9631
10939
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9632
10940
   -e 's:$: $lt_compiler_flag:'`
9633
 
   (eval echo "\"\$as_me:9633: $lt_compile\"" >&5)
 
10941
   (eval echo "\"\$as_me:10941: $lt_compile\"" >&5)
9634
10942
   (eval "$lt_compile" 2>conftest.err)
9635
10943
   ac_status=$?
9636
10944
   cat conftest.err >&5
9637
 
   echo "$as_me:9637: \$? = $ac_status" >&5
 
10945
   echo "$as_me:10945: \$? = $ac_status" >&5
9638
10946
   if (exit $ac_status) && test -s "$ac_outfile"; then
9639
10947
     # The compiler can only warn and ignore the option if not recognized
9640
10948
     # So say no if there are warnings other than the usual output.
9641
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
10949
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9642
10950
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9643
10951
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9644
10952
       lt_cv_prog_compiler_rtti_exceptions=yes
9645
10953
     fi
9646
10954
   fi
9647
 
   $rm conftest*
 
10955
   $RM conftest*
9648
10956
 
9649
10957
fi
9650
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9651
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
10958
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
10959
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9652
10960
 
9653
10961
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9654
10962
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9658
10966
 
9659
10967
fi
9660
10968
 
9661
 
lt_prog_compiler_wl=
 
10969
 
 
10970
 
 
10971
 
 
10972
 
 
10973
 
 
10974
  lt_prog_compiler_wl=
9662
10975
lt_prog_compiler_pic=
9663
10976
lt_prog_compiler_static=
9664
10977
 
9665
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9666
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
10978
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
10979
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9667
10980
 
9668
10981
  if test "$GCC" = yes; then
9669
10982
    lt_prog_compiler_wl='-Wl,'
9679
10992
      ;;
9680
10993
 
9681
10994
    amigaos*)
9682
 
      # FIXME: we need at least 68020 code to build shared libraries, but
9683
 
      # adding the `-m68020' flag to GCC prevents building anything better,
9684
 
      # like `-m68040'.
9685
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
10995
      case $host_cpu in
 
10996
      powerpc)
 
10997
            # see comment about AmigaOS4 .so support
 
10998
            lt_prog_compiler_pic='-fPIC'
 
10999
        ;;
 
11000
      m68k)
 
11001
            # FIXME: we need at least 68020 code to build shared libraries, but
 
11002
            # adding the `-m68020' flag to GCC prevents building anything better,
 
11003
            # like `-m68040'.
 
11004
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
11005
        ;;
 
11006
      esac
9686
11007
      ;;
9687
11008
 
9688
11009
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9689
11010
      # PIC is the default for these OSes.
9690
11011
      ;;
9691
11012
 
9692
 
    mingw* | cygwin* | pw32* | os2*)
 
11013
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9693
11014
      # This hack is so that the source file can tell whether it is being
9694
11015
      # built for inclusion in a dll (and should export symbols for example).
9695
11016
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9703
11024
      lt_prog_compiler_pic='-fno-common'
9704
11025
      ;;
9705
11026
 
 
11027
    hpux*)
 
11028
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
11029
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
11030
      # sets the default TLS model and affects inlining.
 
11031
      case $host_cpu in
 
11032
      hppa*64*)
 
11033
        # +Z the default
 
11034
        ;;
 
11035
      *)
 
11036
        lt_prog_compiler_pic='-fPIC'
 
11037
        ;;
 
11038
      esac
 
11039
      ;;
 
11040
 
9706
11041
    interix[3-9]*)
9707
11042
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9708
11043
      # Instead, we relocate shared libraries at runtime.
9715
11050
      enable_shared=no
9716
11051
      ;;
9717
11052
 
 
11053
    *nto* | *qnx*)
 
11054
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
11055
      # it will coredump.
 
11056
      lt_prog_compiler_pic='-fPIC -shared'
 
11057
      ;;
 
11058
 
9718
11059
    sysv4*MP*)
9719
11060
      if test -d /usr/nec; then
9720
11061
        lt_prog_compiler_pic=-Kconform_pic
9721
11062
      fi
9722
11063
      ;;
9723
11064
 
9724
 
    hpux*)
9725
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9726
 
      # not for PA HP-UX.
9727
 
      case $host_cpu in
9728
 
      hppa*64*|ia64*)
9729
 
        # +Z the default
9730
 
        ;;
9731
 
      *)
9732
 
        lt_prog_compiler_pic='-fPIC'
9733
 
        ;;
9734
 
      esac
9735
 
      ;;
9736
 
 
9737
11065
    *)
9738
11066
      lt_prog_compiler_pic='-fPIC'
9739
11067
      ;;
9750
11078
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9751
11079
      fi
9752
11080
      ;;
9753
 
      darwin*)
9754
 
        # PIC is the default on this platform
9755
 
        # Common symbols not allowed in MH_DYLIB files
9756
 
       case $cc_basename in
9757
 
         xlc*)
9758
 
         lt_prog_compiler_pic='-qnocommon'
9759
 
         lt_prog_compiler_wl='-Wl,'
9760
 
         ;;
9761
 
       esac
9762
 
       ;;
9763
11081
 
9764
 
    mingw* | cygwin* | pw32* | os2*)
 
11082
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9765
11083
      # This hack is so that the source file can tell whether it is being
9766
11084
      # built for inclusion in a dll (and should export symbols for example).
9767
11085
      lt_prog_compiler_pic='-DDLL_EXPORT'
9789
11107
      lt_prog_compiler_static='-non_shared'
9790
11108
      ;;
9791
11109
 
9792
 
    newsos6)
9793
 
      lt_prog_compiler_pic='-KPIC'
9794
 
      lt_prog_compiler_static='-Bstatic'
9795
 
      ;;
9796
 
 
9797
11110
    linux* | k*bsd*-gnu)
9798
11111
      case $cc_basename in
9799
 
      icc* | ecc*)
 
11112
      # old Intel for x86_64 which still supported -KPIC.
 
11113
      ecc*)
9800
11114
        lt_prog_compiler_wl='-Wl,'
9801
11115
        lt_prog_compiler_pic='-KPIC'
9802
11116
        lt_prog_compiler_static='-static'
9803
11117
        ;;
 
11118
      # icc used to be incompatible with GCC.
 
11119
      # ICC 10 doesn't accept -KPIC any more.
 
11120
      icc* | ifort*)
 
11121
        lt_prog_compiler_wl='-Wl,'
 
11122
        lt_prog_compiler_pic='-fPIC'
 
11123
        lt_prog_compiler_static='-static'
 
11124
        ;;
 
11125
      # Lahey Fortran 8.1.
 
11126
      lf95*)
 
11127
        lt_prog_compiler_wl='-Wl,'
 
11128
        lt_prog_compiler_pic='--shared'
 
11129
        lt_prog_compiler_static='--static'
 
11130
        ;;
9804
11131
      pgcc* | pgf77* | pgf90* | pgf95*)
9805
11132
        # Portland Group compilers (*not* the Pentium gcc compiler,
9806
11133
        # which looks to be a dead project)
9813
11140
        # All Alpha code is PIC.
9814
11141
        lt_prog_compiler_static='-non_shared'
9815
11142
        ;;
 
11143
      xl*)
 
11144
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
11145
        lt_prog_compiler_wl='-Wl,'
 
11146
        lt_prog_compiler_pic='-qpic'
 
11147
        lt_prog_compiler_static='-qstaticlink'
 
11148
        ;;
9816
11149
      *)
9817
 
        case `$CC -V 2>&1 | sed 5q` in
 
11150
        case `$CC -V 2>&1 | sed 5q` in
9818
11151
        *Sun\ C*)
9819
11152
          # Sun C 5.9
9820
11153
          lt_prog_compiler_pic='-KPIC'
9832
11165
      esac
9833
11166
      ;;
9834
11167
 
 
11168
    newsos6)
 
11169
      lt_prog_compiler_pic='-KPIC'
 
11170
      lt_prog_compiler_static='-Bstatic'
 
11171
      ;;
 
11172
 
 
11173
    *nto* | *qnx*)
 
11174
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
11175
      # it will coredump.
 
11176
      lt_prog_compiler_pic='-fPIC -shared'
 
11177
      ;;
 
11178
 
9835
11179
    osf3* | osf4* | osf5*)
9836
11180
      lt_prog_compiler_wl='-Wl,'
9837
11181
      # All OSF/1 code is PIC.
9894
11238
    esac
9895
11239
  fi
9896
11240
 
9897
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9898
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
11241
case $host_os in
 
11242
  # For platforms which do not support PIC, -DPIC is meaningless:
 
11243
  *djgpp*)
 
11244
    lt_prog_compiler_pic=
 
11245
    ;;
 
11246
  *)
 
11247
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
11248
    ;;
 
11249
esac
 
11250
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
11251
$as_echo "$lt_prog_compiler_pic" >&6; }
 
11252
 
 
11253
 
 
11254
 
 
11255
 
 
11256
 
9899
11257
 
9900
11258
#
9901
11259
# Check to make sure the PIC flag actually works.
9902
11260
#
9903
11261
if test -n "$lt_prog_compiler_pic"; then
9904
 
 
9905
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9906
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
 
11262
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
11263
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9907
11264
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9908
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11265
  $as_echo_n "(cached) " >&6
9909
11266
else
9910
11267
  lt_cv_prog_compiler_pic_works=no
9911
 
  ac_outfile=conftest.$ac_objext
 
11268
   ac_outfile=conftest.$ac_objext
9912
11269
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9913
11270
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9914
11271
   # Insert the option either (1) after the last *FLAGS variable, or
9920
11277
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9921
11278
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9922
11279
   -e 's:$: $lt_compiler_flag:'`
9923
 
   (eval echo "\"\$as_me:9923: $lt_compile\"" >&5)
 
11280
   (eval echo "\"\$as_me:11280: $lt_compile\"" >&5)
9924
11281
   (eval "$lt_compile" 2>conftest.err)
9925
11282
   ac_status=$?
9926
11283
   cat conftest.err >&5
9927
 
   echo "$as_me:9927: \$? = $ac_status" >&5
 
11284
   echo "$as_me:11284: \$? = $ac_status" >&5
9928
11285
   if (exit $ac_status) && test -s "$ac_outfile"; then
9929
11286
     # The compiler can only warn and ignore the option if not recognized
9930
11287
     # So say no if there are warnings other than the usual output.
9931
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
11288
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9932
11289
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9933
11290
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9934
11291
       lt_cv_prog_compiler_pic_works=yes
9935
11292
     fi
9936
11293
   fi
9937
 
   $rm conftest*
 
11294
   $RM conftest*
9938
11295
 
9939
11296
fi
9940
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9941
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
 
11297
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
11298
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9942
11299
 
9943
11300
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9944
11301
    case $lt_prog_compiler_pic in
9951
11308
fi
9952
11309
 
9953
11310
fi
9954
 
case $host_os in
9955
 
  # For platforms which do not support PIC, -DPIC is meaningless:
9956
 
  *djgpp*)
9957
 
    lt_prog_compiler_pic=
9958
 
    ;;
9959
 
  *)
9960
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9961
 
    ;;
9962
 
esac
 
11311
 
 
11312
 
 
11313
 
 
11314
 
 
11315
 
9963
11316
 
9964
11317
#
9965
11318
# Check to make sure the static flag actually works.
9966
11319
#
9967
11320
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9968
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9969
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
11321
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
11322
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9970
11323
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9971
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11324
  $as_echo_n "(cached) " >&6
9972
11325
else
9973
11326
  lt_cv_prog_compiler_static_works=no
9974
11327
   save_LDFLAGS="$LDFLAGS"
9980
11333
     if test -s conftest.err; then
9981
11334
       # Append any errors to the config.log.
9982
11335
       cat conftest.err 1>&5
9983
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
11336
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9984
11337
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9985
11338
       if diff conftest.exp conftest.er2 >/dev/null; then
9986
11339
         lt_cv_prog_compiler_static_works=yes
9989
11342
       lt_cv_prog_compiler_static_works=yes
9990
11343
     fi
9991
11344
   fi
9992
 
   $rm -r conftest*
 
11345
   $RM -r conftest*
9993
11346
   LDFLAGS="$save_LDFLAGS"
9994
11347
 
9995
11348
fi
9996
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9997
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
 
11349
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
11350
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9998
11351
 
9999
11352
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10000
11353
    :
10003
11356
fi
10004
11357
 
10005
11358
 
10006
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10007
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10008
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10009
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10010
 
else
10011
 
  lt_cv_prog_compiler_c_o=no
10012
 
   $rm -r conftest 2>/dev/null
10013
 
   mkdir conftest
10014
 
   cd conftest
10015
 
   mkdir out
10016
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10017
 
 
10018
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
10019
 
   # Insert the option either (1) after the last *FLAGS variable, or
10020
 
   # (2) before a word containing "conftest.", or (3) at the end.
10021
 
   # Note that $ac_compile itself does not contain backslashes and begins
10022
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10023
 
   lt_compile=`echo "$ac_compile" | $SED \
10024
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10025
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10026
 
   -e 's:$: $lt_compiler_flag:'`
10027
 
   (eval echo "\"\$as_me:10027: $lt_compile\"" >&5)
10028
 
   (eval "$lt_compile" 2>out/conftest.err)
10029
 
   ac_status=$?
10030
 
   cat out/conftest.err >&5
10031
 
   echo "$as_me:10031: \$? = $ac_status" >&5
10032
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10033
 
   then
10034
 
     # The compiler can only warn and ignore the option if not recognized
10035
 
     # So say no if there are warnings
10036
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10037
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10038
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10039
 
       lt_cv_prog_compiler_c_o=yes
10040
 
     fi
10041
 
   fi
10042
 
   chmod u+w . 2>&5
10043
 
   $rm conftest*
10044
 
   # SGI C++ compiler will create directory out/ii_files/ for
10045
 
   # template instantiation
10046
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
10047
 
   $rm out/* && rmdir out
10048
 
   cd ..
10049
 
   rmdir conftest
10050
 
   $rm conftest*
10051
 
 
10052
 
fi
10053
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10054
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
11359
 
 
11360
 
 
11361
 
 
11362
 
 
11363
 
 
11364
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
11365
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
11366
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
11367
  $as_echo_n "(cached) " >&6
 
11368
else
 
11369
  lt_cv_prog_compiler_c_o=no
 
11370
   $RM -r conftest 2>/dev/null
 
11371
   mkdir conftest
 
11372
   cd conftest
 
11373
   mkdir out
 
11374
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11375
 
 
11376
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
11377
   # Insert the option either (1) after the last *FLAGS variable, or
 
11378
   # (2) before a word containing "conftest.", or (3) at the end.
 
11379
   # Note that $ac_compile itself does not contain backslashes and begins
 
11380
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
11381
   lt_compile=`echo "$ac_compile" | $SED \
 
11382
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
11383
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
11384
   -e 's:$: $lt_compiler_flag:'`
 
11385
   (eval echo "\"\$as_me:11385: $lt_compile\"" >&5)
 
11386
   (eval "$lt_compile" 2>out/conftest.err)
 
11387
   ac_status=$?
 
11388
   cat out/conftest.err >&5
 
11389
   echo "$as_me:11389: \$? = $ac_status" >&5
 
11390
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
11391
   then
 
11392
     # The compiler can only warn and ignore the option if not recognized
 
11393
     # So say no if there are warnings
 
11394
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
11395
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
11396
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
11397
       lt_cv_prog_compiler_c_o=yes
 
11398
     fi
 
11399
   fi
 
11400
   chmod u+w . 2>&5
 
11401
   $RM conftest*
 
11402
   # SGI C++ compiler will create directory out/ii_files/ for
 
11403
   # template instantiation
 
11404
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
11405
   $RM out/* && rmdir out
 
11406
   cd ..
 
11407
   $RM -r conftest
 
11408
   $RM conftest*
 
11409
 
 
11410
fi
 
11411
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
11412
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
11413
 
 
11414
 
 
11415
 
 
11416
 
 
11417
 
 
11418
 
 
11419
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
11420
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
11421
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
11422
  $as_echo_n "(cached) " >&6
 
11423
else
 
11424
  lt_cv_prog_compiler_c_o=no
 
11425
   $RM -r conftest 2>/dev/null
 
11426
   mkdir conftest
 
11427
   cd conftest
 
11428
   mkdir out
 
11429
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11430
 
 
11431
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
11432
   # Insert the option either (1) after the last *FLAGS variable, or
 
11433
   # (2) before a word containing "conftest.", or (3) at the end.
 
11434
   # Note that $ac_compile itself does not contain backslashes and begins
 
11435
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
11436
   lt_compile=`echo "$ac_compile" | $SED \
 
11437
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
11438
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
11439
   -e 's:$: $lt_compiler_flag:'`
 
11440
   (eval echo "\"\$as_me:11440: $lt_compile\"" >&5)
 
11441
   (eval "$lt_compile" 2>out/conftest.err)
 
11442
   ac_status=$?
 
11443
   cat out/conftest.err >&5
 
11444
   echo "$as_me:11444: \$? = $ac_status" >&5
 
11445
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
11446
   then
 
11447
     # The compiler can only warn and ignore the option if not recognized
 
11448
     # So say no if there are warnings
 
11449
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
11450
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
11451
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
11452
       lt_cv_prog_compiler_c_o=yes
 
11453
     fi
 
11454
   fi
 
11455
   chmod u+w . 2>&5
 
11456
   $RM conftest*
 
11457
   # SGI C++ compiler will create directory out/ii_files/ for
 
11458
   # template instantiation
 
11459
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
11460
   $RM out/* && rmdir out
 
11461
   cd ..
 
11462
   $RM -r conftest
 
11463
   $RM conftest*
 
11464
 
 
11465
fi
 
11466
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
11467
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
11468
 
 
11469
 
10055
11470
 
10056
11471
 
10057
11472
hard_links="nottested"
10058
11473
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10059
11474
  # do not overwrite the value of need_locks provided by the user
10060
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10061
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
11475
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
11476
$as_echo_n "checking if we can lock with hard links... " >&6; }
10062
11477
  hard_links=yes
10063
 
  $rm conftest*
 
11478
  $RM conftest*
10064
11479
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10065
11480
  touch conftest.a
10066
11481
  ln conftest.a conftest.b 2>&5 || hard_links=no
10067
11482
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10068
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
10069
 
echo "${ECHO_T}$hard_links" >&6; }
 
11483
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
11484
$as_echo "$hard_links" >&6; }
10070
11485
  if test "$hard_links" = no; then
10071
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10072
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
11486
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
11487
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10073
11488
    need_locks=warn
10074
11489
  fi
10075
11490
else
10076
11491
  need_locks=no
10077
11492
fi
10078
11493
 
10079
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10080
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
11494
 
 
11495
 
 
11496
 
 
11497
 
 
11498
 
 
11499
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11500
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10081
11501
 
10082
11502
  runpath_var=
10083
11503
  allow_undefined_flag=
10084
 
  enable_shared_with_static_runtimes=no
 
11504
  always_export_symbols=no
10085
11505
  archive_cmds=
10086
11506
  archive_expsym_cmds=
10087
 
  old_archive_From_new_cmds=
10088
 
  old_archive_from_expsyms_cmds=
 
11507
  compiler_needs_object=no
 
11508
  enable_shared_with_static_runtimes=no
10089
11509
  export_dynamic_flag_spec=
10090
 
  whole_archive_flag_spec=
10091
 
  thread_safe_flag_spec=
 
11510
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
11511
  hardcode_automatic=no
 
11512
  hardcode_direct=no
 
11513
  hardcode_direct_absolute=no
10092
11514
  hardcode_libdir_flag_spec=
10093
11515
  hardcode_libdir_flag_spec_ld=
10094
11516
  hardcode_libdir_separator=
10095
 
  hardcode_direct=no
10096
11517
  hardcode_minus_L=no
10097
11518
  hardcode_shlibpath_var=unsupported
 
11519
  inherit_rpath=no
10098
11520
  link_all_deplibs=unknown
10099
 
  hardcode_automatic=no
10100
11521
  module_cmds=
10101
11522
  module_expsym_cmds=
10102
 
  always_export_symbols=no
10103
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
11523
  old_archive_from_new_cmds=
 
11524
  old_archive_from_expsyms_cmds=
 
11525
  thread_safe_flag_spec=
 
11526
  whole_archive_flag_spec=
10104
11527
  # include_expsyms should be a list of space-separated symbols to be *always*
10105
11528
  # included in the symbol list
10106
11529
  include_expsyms=
10116
11539
  # preloaded symbol tables.
10117
11540
  # Exclude shared library initialization/finalization symbols.
10118
11541
  extract_expsyms_cmds=
10119
 
  # Just being paranoid about ensuring that cc_basename is set.
10120
 
  for cc_temp in $compiler""; do
10121
 
  case $cc_temp in
10122
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10123
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10124
 
    \-*) ;;
10125
 
    *) break;;
10126
 
  esac
10127
 
done
10128
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10129
11542
 
10130
11543
  case $host_os in
10131
 
  cygwin* | mingw* | pw32*)
 
11544
  cygwin* | mingw* | pw32* | cegcc*)
10132
11545
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10133
11546
    # When not using gcc, we currently assume that we are using
10134
11547
    # Microsoft Visual C++.
10154
11567
    # are reset later if shared libraries are not supported. Putting them
10155
11568
    # here allows them to be overridden if necessary.
10156
11569
    runpath_var=LD_RUN_PATH
10157
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
11570
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10158
11571
    export_dynamic_flag_spec='${wl}--export-dynamic'
10159
11572
    # ancient GNU ld didn't support --whole-archive et. al.
10160
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10161
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10162
 
      else
10163
 
        whole_archive_flag_spec=
 
11573
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
11574
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11575
    else
 
11576
      whole_archive_flag_spec=
10164
11577
    fi
10165
11578
    supports_anon_versioning=no
10166
 
    case `$LD -v 2>/dev/null` in
 
11579
    case `$LD -v 2>&1` in
10167
11580
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10168
11581
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10169
11582
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10177
11590
      # On AIX/PPC, the GNU linker is very broken
10178
11591
      if test "$host_cpu" != ia64; then
10179
11592
        ld_shlibs=no
10180
 
        cat <<EOF 1>&2
 
11593
        cat <<_LT_EOF 1>&2
10181
11594
 
10182
11595
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10183
11596
*** to be unable to reliably create shared libraries on AIX.
10185
11598
*** really care for shared libraries, you may want to modify your PATH
10186
11599
*** so that a non-GNU linker is found, and then restart.
10187
11600
 
10188
 
EOF
 
11601
_LT_EOF
10189
11602
      fi
10190
11603
      ;;
10191
11604
 
10192
11605
    amigaos*)
10193
 
      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)'
10194
 
      hardcode_libdir_flag_spec='-L$libdir'
10195
 
      hardcode_minus_L=yes
10196
 
 
10197
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10198
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
10199
 
      # to version 4, is to share data among multiple programs linked
10200
 
      # with the same dynamic library.  Since this doesn't match the
10201
 
      # behavior of shared libraries on other platforms, we can't use
10202
 
      # them.
10203
 
      ld_shlibs=no
 
11606
      case $host_cpu in
 
11607
      powerpc)
 
11608
            # see comment about AmigaOS4 .so support
 
11609
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11610
            archive_expsym_cmds=''
 
11611
        ;;
 
11612
      m68k)
 
11613
            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)'
 
11614
            hardcode_libdir_flag_spec='-L$libdir'
 
11615
            hardcode_minus_L=yes
 
11616
        ;;
 
11617
      esac
10204
11618
      ;;
10205
11619
 
10206
11620
    beos*)
10207
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
11621
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10208
11622
        allow_undefined_flag=unsupported
10209
11623
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10210
11624
        # support --undefined.  This deserves some investigation.  FIXME
10214
11628
      fi
10215
11629
      ;;
10216
11630
 
10217
 
    cygwin* | mingw* | pw32*)
10218
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
11631
    cygwin* | mingw* | pw32* | cegcc*)
 
11632
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10219
11633
      # as there is no search path for DLLs.
10220
11634
      hardcode_libdir_flag_spec='-L$libdir'
10221
11635
      allow_undefined_flag=unsupported
10222
11636
      always_export_symbols=no
10223
11637
      enable_shared_with_static_runtimes=yes
10224
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
11638
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10225
11639
 
10226
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
11640
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10227
11641
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10228
11642
        # If the export-symbols file already is a .def file (1st line
10229
11643
        # is EXPORTS), use it as is; otherwise, prepend...
10254
11668
      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'
10255
11669
      ;;
10256
11670
 
10257
 
    gnu* | linux* | k*bsd*-gnu)
10258
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
11671
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
11672
      tmp_diet=no
 
11673
      if test "$host_os" = linux-dietlibc; then
 
11674
        case $cc_basename in
 
11675
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
11676
        esac
 
11677
      fi
 
11678
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
11679
         && test "$tmp_diet" = no
 
11680
      then
10259
11681
        tmp_addflag=
 
11682
        tmp_sharedflag='-shared'
10260
11683
        case $cc_basename,$host_cpu in
10261
 
        pgcc*)                          # Portland Group C compiler
10262
 
          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'
 
11684
        pgcc*)                          # Portland Group C compiler
 
11685
          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'
10263
11686
          tmp_addflag=' $pic_flag'
10264
11687
          ;;
10265
11688
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
10266
 
          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'
 
11689
          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'
10267
11690
          tmp_addflag=' $pic_flag -Mnomain' ;;
10268
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
11691
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10269
11692
          tmp_addflag=' -i_dynamic' ;;
10270
11693
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10271
11694
          tmp_addflag=' -i_dynamic -nofor_main' ;;
10272
11695
        ifc* | ifort*)                  # Intel Fortran compiler
10273
11696
          tmp_addflag=' -nofor_main' ;;
 
11697
        lf95*)                          # Lahey Fortran 8.1
 
11698
          whole_archive_flag_spec=
 
11699
          tmp_sharedflag='--shared' ;;
 
11700
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
11701
          tmp_sharedflag='-qmkshrobj'
 
11702
          tmp_addflag= ;;
10274
11703
        esac
10275
11704
        case `$CC -V 2>&1 | sed 5q` in
10276
11705
        *Sun\ C*)                       # Sun C 5.9
10277
 
          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'
 
11706
          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'
 
11707
          compiler_needs_object=yes
10278
11708
          tmp_sharedflag='-G' ;;
10279
11709
        *Sun\ F*)                       # Sun Fortran 8.3
10280
11710
          tmp_sharedflag='-G' ;;
10281
 
        *)
10282
 
          tmp_sharedflag='-shared' ;;
10283
11711
        esac
10284
11712
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10285
11713
 
10286
 
        if test $supports_anon_versioning = yes; then
10287
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
10288
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10289
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
10290
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10291
 
        fi
10292
 
        link_all_deplibs=no
 
11714
        if test "x$supports_anon_versioning" = xyes; then
 
11715
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
11716
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
11717
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
11718
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
11719
        fi
 
11720
 
 
11721
        case $cc_basename in
 
11722
        xlf*)
 
11723
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
11724
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
11725
          hardcode_libdir_flag_spec=
 
11726
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
11727
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
11728
          if test "x$supports_anon_versioning" = xyes; then
 
11729
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
11730
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
11731
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
11732
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
11733
          fi
 
11734
          ;;
 
11735
        esac
10293
11736
      else
10294
 
        ld_shlibs=no
 
11737
        ld_shlibs=no
10295
11738
      fi
10296
11739
      ;;
10297
11740
 
10298
11741
    netbsd* | netbsdelf*-gnu)
10299
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
11742
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10300
11743
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10301
11744
        wlarc=
10302
11745
      else
10306
11749
      ;;
10307
11750
 
10308
11751
    solaris*)
10309
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
11752
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10310
11753
        ld_shlibs=no
10311
 
        cat <<EOF 1>&2
 
11754
        cat <<_LT_EOF 1>&2
10312
11755
 
10313
11756
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10314
11757
*** create shared libraries on Solaris systems.  Therefore, libtool
10317
11760
*** your PATH or compiler configuration so that the native linker is
10318
11761
*** used, and then restart.
10319
11762
 
10320
 
EOF
10321
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
11763
_LT_EOF
 
11764
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10322
11765
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10323
11766
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10324
11767
      else
10342
11785
_LT_EOF
10343
11786
        ;;
10344
11787
        *)
10345
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10346
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
10347
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
10348
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
11788
          # For security reasons, it is highly recommended that you always
 
11789
          # use absolute paths for naming shared libraries, and exclude the
 
11790
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
11791
          # requires that you compile everything twice, which is a pain.
 
11792
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11793
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11794
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11795
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10349
11796
          else
10350
11797
            ld_shlibs=no
10351
11798
          fi
10361
11808
      ;;
10362
11809
 
10363
11810
    *)
10364
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
11811
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10365
11812
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10366
11813
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10367
11814
      else
10403
11850
      else
10404
11851
        # If we're using GNU nm, then we don't want the "-C" option.
10405
11852
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
10406
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10407
 
          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'
 
11853
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
11854
          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'
10408
11855
        else
10409
 
          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'
 
11856
          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'
10410
11857
        fi
10411
11858
        aix_use_runtimelinking=no
10412
11859
 
10415
11862
        # need to do runtime linking.
10416
11863
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10417
11864
          for ld_flag in $LDFLAGS; do
10418
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10419
 
            aix_use_runtimelinking=yes
10420
 
            break
10421
 
          fi
 
11865
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
11866
            aix_use_runtimelinking=yes
 
11867
            break
 
11868
          fi
10422
11869
          done
10423
11870
          ;;
10424
11871
        esac
10435
11882
 
10436
11883
      archive_cmds=''
10437
11884
      hardcode_direct=yes
 
11885
      hardcode_direct_absolute=yes
10438
11886
      hardcode_libdir_separator=':'
10439
11887
      link_all_deplibs=yes
 
11888
      file_list_spec='${wl}-f,'
10440
11889
 
10441
11890
      if test "$GCC" = yes; then
10442
11891
        case $host_os in aix4.[012]|aix4.[012].*)
10443
11892
        # We only want to do this on AIX 4.2 and lower, the check
10444
11893
        # below for broken collect2 doesn't work under 4.3+
10445
11894
          collect2name=`${CC} -print-prog-name=collect2`
10446
 
          if test -f "$collect2name" && \
10447
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
11895
          if test -f "$collect2name" &&
 
11896
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10448
11897
          then
10449
 
          # We have reworked collect2
10450
 
          :
 
11898
          # We have reworked collect2
 
11899
          :
10451
11900
          else
10452
 
          # We have old collect2
10453
 
          hardcode_direct=unsupported
10454
 
          # It fails to find uninstalled libraries when the uninstalled
10455
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10456
 
          # to unsupported forces relinking
10457
 
          hardcode_minus_L=yes
10458
 
          hardcode_libdir_flag_spec='-L$libdir'
10459
 
          hardcode_libdir_separator=
 
11901
          # We have old collect2
 
11902
          hardcode_direct=unsupported
 
11903
          # It fails to find uninstalled libraries when the uninstalled
 
11904
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
11905
          # to unsupported forces relinking
 
11906
          hardcode_minus_L=yes
 
11907
          hardcode_libdir_flag_spec='-L$libdir'
 
11908
          hardcode_libdir_separator=
10460
11909
          fi
10461
11910
          ;;
10462
11911
        esac
10464
11913
        if test "$aix_use_runtimelinking" = yes; then
10465
11914
          shared_flag="$shared_flag "'${wl}-G'
10466
11915
        fi
 
11916
        link_all_deplibs=no
10467
11917
      else
10468
11918
        # not using gcc
10469
11919
        if test "$host_cpu" = ia64; then
10470
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10471
 
        # chokes on -Wl,-G. The following line is correct:
 
11920
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
11921
        # chokes on -Wl,-G. The following line is correct:
10472
11922
          shared_flag='-G'
10473
11923
        else
10474
11924
          if test "$aix_use_runtimelinking" = yes; then
10479
11929
        fi
10480
11930
      fi
10481
11931
 
 
11932
      export_dynamic_flag_spec='${wl}-bexpall'
10482
11933
      # It seems that -bexpall does not export symbols beginning with
10483
11934
      # underscore (_), so it is better to generate a list of symbols to export.
10484
11935
      always_export_symbols=yes
10486
11937
        # Warning - without using the other runtime loading flags (-brtl),
10487
11938
        # -berok will link without error, but may produce a broken library.
10488
11939
        allow_undefined_flag='-berok'
10489
 
       # Determine the default libpath from the value encoded in an empty executable.
10490
 
       cat >conftest.$ac_ext <<_ACEOF
 
11940
        # Determine the default libpath from the value encoded in an
 
11941
        # empty executable.
 
11942
        cat >conftest.$ac_ext <<_ACEOF
10491
11943
/* confdefs.h.  */
10492
11944
_ACEOF
10493
11945
cat confdefs.h >>conftest.$ac_ext
10508
11960
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10509
11961
  *) ac_try_echo=$ac_try;;
10510
11962
esac
10511
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11963
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11964
$as_echo "$ac_try_echo") >&5
10512
11965
  (eval "$ac_link") 2>conftest.er1
10513
11966
  ac_status=$?
10514
11967
  grep -v '^ *+' conftest.er1 >conftest.err
10515
11968
  rm -f conftest.er1
10516
11969
  cat conftest.err >&5
10517
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11970
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10518
11971
  (exit $ac_status); } && {
10519
11972
         test -z "$ac_c_werror_flag" ||
10520
11973
         test ! -s conftest.err
10521
 
       } && test -s conftest$ac_exeext &&
10522
 
       $as_test_x conftest$ac_exeext; then
 
11974
       } && test -s conftest$ac_exeext && {
 
11975
         test "$cross_compiling" = yes ||
 
11976
         $as_test_x conftest$ac_exeext
 
11977
       }; then
10523
11978
 
10524
11979
lt_aix_libpath_sed='
10525
11980
    /Import File Strings/,/^$/ {
10534
11989
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10535
11990
fi
10536
11991
else
10537
 
  echo "$as_me: failed program was:" >&5
 
11992
  $as_echo "$as_me: failed program was:" >&5
10538
11993
sed 's/^/| /' conftest.$ac_ext >&5
10539
11994
 
10540
11995
 
10541
11996
fi
10542
11997
 
 
11998
rm -rf conftest.dSYM
10543
11999
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10544
12000
      conftest$ac_exeext conftest.$ac_ext
10545
12001
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10546
12002
 
10547
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10548
 
        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"
10549
 
       else
 
12003
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
12004
        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"
 
12005
      else
10550
12006
        if test "$host_cpu" = ia64; then
10551
12007
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10552
12008
          allow_undefined_flag="-z nodefs"
10553
12009
          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"
10554
12010
        else
10555
 
         # Determine the default libpath from the value encoded in an empty executable.
 
12011
         # Determine the default libpath from the value encoded in an
 
12012
         # empty executable.
10556
12013
         cat >conftest.$ac_ext <<_ACEOF
10557
12014
/* confdefs.h.  */
10558
12015
_ACEOF
10574
12031
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10575
12032
  *) ac_try_echo=$ac_try;;
10576
12033
esac
10577
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12034
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12035
$as_echo "$ac_try_echo") >&5
10578
12036
  (eval "$ac_link") 2>conftest.er1
10579
12037
  ac_status=$?
10580
12038
  grep -v '^ *+' conftest.er1 >conftest.err
10581
12039
  rm -f conftest.er1
10582
12040
  cat conftest.err >&5
10583
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12041
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584
12042
  (exit $ac_status); } && {
10585
12043
         test -z "$ac_c_werror_flag" ||
10586
12044
         test ! -s conftest.err
10587
 
       } && test -s conftest$ac_exeext &&
10588
 
       $as_test_x conftest$ac_exeext; then
 
12045
       } && test -s conftest$ac_exeext && {
 
12046
         test "$cross_compiling" = yes ||
 
12047
         $as_test_x conftest$ac_exeext
 
12048
       }; then
10589
12049
 
10590
12050
lt_aix_libpath_sed='
10591
12051
    /Import File Strings/,/^$/ {
10600
12060
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10601
12061
fi
10602
12062
else
10603
 
  echo "$as_me: failed program was:" >&5
 
12063
  $as_echo "$as_me: failed program was:" >&5
10604
12064
sed 's/^/| /' conftest.$ac_ext >&5
10605
12065
 
10606
12066
 
10607
12067
fi
10608
12068
 
 
12069
rm -rf conftest.dSYM
10609
12070
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10610
12071
      conftest$ac_exeext conftest.$ac_ext
10611
12072
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10625
12086
      ;;
10626
12087
 
10627
12088
    amigaos*)
10628
 
      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)'
10629
 
      hardcode_libdir_flag_spec='-L$libdir'
10630
 
      hardcode_minus_L=yes
10631
 
      # see comment about different semantics on the GNU ld section
10632
 
      ld_shlibs=no
 
12089
      case $host_cpu in
 
12090
      powerpc)
 
12091
            # see comment about AmigaOS4 .so support
 
12092
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12093
            archive_expsym_cmds=''
 
12094
        ;;
 
12095
      m68k)
 
12096
            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)'
 
12097
            hardcode_libdir_flag_spec='-L$libdir'
 
12098
            hardcode_minus_L=yes
 
12099
        ;;
 
12100
      esac
10633
12101
      ;;
10634
12102
 
10635
12103
    bsdi[45]*)
10636
12104
      export_dynamic_flag_spec=-rdynamic
10637
12105
      ;;
10638
12106
 
10639
 
    cygwin* | mingw* | pw32*)
 
12107
    cygwin* | mingw* | pw32* | cegcc*)
10640
12108
      # When not using gcc, we currently assume that we are using
10641
12109
      # Microsoft Visual C++.
10642
12110
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10648
12116
      # Tell ltmain to make .dll files, not .so files.
10649
12117
      shrext_cmds=".dll"
10650
12118
      # FIXME: Setting linknames here is a bad hack.
10651
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
12119
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10652
12120
      # The linker will automatically build a .lib file if we build a DLL.
10653
 
      old_archive_From_new_cmds='true'
 
12121
      old_archive_from_new_cmds='true'
10654
12122
      # FIXME: Should let the user specify the lib program.
10655
12123
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10656
12124
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10658
12126
      ;;
10659
12127
 
10660
12128
    darwin* | rhapsody*)
10661
 
      case $host_os in
10662
 
        rhapsody* | darwin1.[012])
10663
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
10664
 
         ;;
10665
 
       *) # Darwin 1.3 on
10666
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10667
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10668
 
         else
10669
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
10670
 
             10.[012])
10671
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10672
 
               ;;
10673
 
             10.*)
10674
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
10675
 
               ;;
10676
 
           esac
10677
 
         fi
10678
 
         ;;
10679
 
      esac
10680
 
      archive_cmds_need_lc=no
10681
 
      hardcode_direct=no
10682
 
      hardcode_automatic=yes
10683
 
      hardcode_shlibpath_var=unsupported
10684
 
      whole_archive_flag_spec=''
10685
 
      link_all_deplibs=yes
10686
 
    if test "$GCC" = yes ; then
10687
 
        output_verbose_link_cmd='echo'
10688
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10689
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10690
 
        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}"
10691
 
        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}"
10692
 
    else
10693
 
      case $cc_basename in
10694
 
        xlc*)
10695
 
         output_verbose_link_cmd='echo'
10696
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10697
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10698
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10699
 
         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}'
10700
 
          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}'
10701
 
          ;;
10702
 
       *)
10703
 
         ld_shlibs=no
10704
 
          ;;
10705
 
      esac
10706
 
    fi
 
12129
 
 
12130
 
 
12131
  archive_cmds_need_lc=no
 
12132
  hardcode_direct=no
 
12133
  hardcode_automatic=yes
 
12134
  hardcode_shlibpath_var=unsupported
 
12135
  whole_archive_flag_spec=''
 
12136
  link_all_deplibs=yes
 
12137
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
12138
  case $cc_basename in
 
12139
     ifort*) _lt_dar_can_shared=yes ;;
 
12140
     *) _lt_dar_can_shared=$GCC ;;
 
12141
  esac
 
12142
  if test "$_lt_dar_can_shared" = "yes"; then
 
12143
    output_verbose_link_cmd=echo
 
12144
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
12145
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
12146
    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}"
 
12147
    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}"
 
12148
 
 
12149
  else
 
12150
  ld_shlibs=no
 
12151
  fi
 
12152
 
10707
12153
      ;;
10708
12154
 
10709
12155
    dgux*)
10745
12191
 
10746
12192
    hpux9*)
10747
12193
      if test "$GCC" = yes; then
10748
 
        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'
 
12194
        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'
10749
12195
      else
10750
 
        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'
 
12196
        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'
10751
12197
      fi
10752
12198
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10753
12199
      hardcode_libdir_separator=:
10767
12213
      fi
10768
12214
      if test "$with_gnu_ld" = no; then
10769
12215
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
12216
        hardcode_libdir_flag_spec_ld='+b $libdir'
10770
12217
        hardcode_libdir_separator=:
10771
 
 
10772
12218
        hardcode_direct=yes
 
12219
        hardcode_direct_absolute=yes
10773
12220
        export_dynamic_flag_spec='${wl}-E'
10774
 
 
10775
12221
        # hardcode_minus_L: Not really in the search PATH,
10776
12222
        # but as the default location of the library.
10777
12223
        hardcode_minus_L=yes
10785
12231
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10786
12232
          ;;
10787
12233
        ia64*)
10788
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
12234
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10789
12235
          ;;
10790
12236
        *)
10791
12237
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10810
12256
 
10811
12257
        case $host_cpu in
10812
12258
        hppa*64*|ia64*)
10813
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
10814
12259
          hardcode_direct=no
10815
12260
          hardcode_shlibpath_var=no
10816
12261
          ;;
10817
12262
        *)
10818
12263
          hardcode_direct=yes
 
12264
          hardcode_direct_absolute=yes
10819
12265
          export_dynamic_flag_spec='${wl}-E'
10820
12266
 
10821
12267
          # hardcode_minus_L: Not really in the search PATH,
10828
12274
 
10829
12275
    irix5* | irix6* | nonstopux*)
10830
12276
      if test "$GCC" = yes; then
10831
 
        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'
 
12277
        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'
 
12278
        # Try to use the -exported_symbol ld option, if it does not
 
12279
        # work, assume that -exports_file does not work either and
 
12280
        # implicitly export all symbols.
 
12281
        save_LDFLAGS="$LDFLAGS"
 
12282
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
12283
        cat >conftest.$ac_ext <<_ACEOF
 
12284
int foo(void) {}
 
12285
_ACEOF
 
12286
rm -f conftest.$ac_objext conftest$ac_exeext
 
12287
if { (ac_try="$ac_link"
 
12288
case "(($ac_try" in
 
12289
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12290
  *) ac_try_echo=$ac_try;;
 
12291
esac
 
12292
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12293
$as_echo "$ac_try_echo") >&5
 
12294
  (eval "$ac_link") 2>conftest.er1
 
12295
  ac_status=$?
 
12296
  grep -v '^ *+' conftest.er1 >conftest.err
 
12297
  rm -f conftest.er1
 
12298
  cat conftest.err >&5
 
12299
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12300
  (exit $ac_status); } && {
 
12301
         test -z "$ac_c_werror_flag" ||
 
12302
         test ! -s conftest.err
 
12303
       } && test -s conftest$ac_exeext && {
 
12304
         test "$cross_compiling" = yes ||
 
12305
         $as_test_x conftest$ac_exeext
 
12306
       }; then
 
12307
  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'
 
12308
 
 
12309
else
 
12310
  $as_echo "$as_me: failed program was:" >&5
 
12311
sed 's/^/| /' conftest.$ac_ext >&5
 
12312
 
 
12313
 
 
12314
fi
 
12315
 
 
12316
rm -rf conftest.dSYM
 
12317
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
12318
      conftest$ac_exeext conftest.$ac_ext
 
12319
        LDFLAGS="$save_LDFLAGS"
10832
12320
      else
10833
 
        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'
10834
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
12321
        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'
 
12322
        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'
10835
12323
      fi
 
12324
      archive_cmds_need_lc='no'
10836
12325
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10837
12326
      hardcode_libdir_separator=:
 
12327
      inherit_rpath=yes
10838
12328
      link_all_deplibs=yes
10839
12329
      ;;
10840
12330
 
10841
12331
    netbsd* | netbsdelf*-gnu)
10842
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
12332
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10843
12333
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10844
12334
      else
10845
12335
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10857
12347
      hardcode_shlibpath_var=no
10858
12348
      ;;
10859
12349
 
 
12350
    *nto* | *qnx*)
 
12351
      ;;
 
12352
 
10860
12353
    openbsd*)
10861
12354
      if test -f /usr/libexec/ld.so; then
10862
12355
        hardcode_direct=yes
10863
12356
        hardcode_shlibpath_var=no
10864
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12357
        hardcode_direct_absolute=yes
 
12358
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10865
12359
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10866
12360
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10867
12361
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10877
12371
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10878
12372
             ;;
10879
12373
          esac
10880
 
        fi
 
12374
        fi
10881
12375
      else
10882
12376
        ld_shlibs=no
10883
12377
      fi
10887
12381
      hardcode_libdir_flag_spec='-L$libdir'
10888
12382
      hardcode_minus_L=yes
10889
12383
      allow_undefined_flag=unsupported
10890
 
      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'
10891
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
12384
      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'
 
12385
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10892
12386
      ;;
10893
12387
 
10894
12388
    osf3*)
10895
12389
      if test "$GCC" = yes; then
10896
12390
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10897
 
        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'
 
12391
        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'
10898
12392
      else
10899
12393
        allow_undefined_flag=' -expect_unresolved \*'
10900
 
        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'
 
12394
        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'
10901
12395
      fi
 
12396
      archive_cmds_need_lc='no'
10902
12397
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10903
12398
      hardcode_libdir_separator=:
10904
12399
      ;;
10906
12401
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10907
12402
      if test "$GCC" = yes; then
10908
12403
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10909
 
        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'
 
12404
        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'
10910
12405
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10911
12406
      else
10912
12407
        allow_undefined_flag=' -expect_unresolved \*'
10913
 
        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'
10914
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10915
 
        $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'
 
12408
        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'
 
12409
        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~
 
12410
        $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'
10916
12411
 
10917
12412
        # Both c and cxx compiler support -rpath directly
10918
12413
        hardcode_libdir_flag_spec='-rpath $libdir'
10919
12414
      fi
 
12415
      archive_cmds_need_lc='no'
10920
12416
      hardcode_libdir_separator=:
10921
12417
      ;;
10922
12418
 
10923
12419
    solaris*)
10924
 
      no_undefined_flag=' -z text'
 
12420
      no_undefined_flag=' -z defs'
10925
12421
      if test "$GCC" = yes; then
10926
12422
        wlarc='${wl}'
10927
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10928
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10929
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
12423
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12424
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12425
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10930
12426
      else
10931
 
        wlarc=''
10932
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10933
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10934
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
12427
        case `$CC -V 2>&1` in
 
12428
        *"Compilers 5.0"*)
 
12429
          wlarc=''
 
12430
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12431
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12432
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
12433
          ;;
 
12434
        *)
 
12435
          wlarc='${wl}'
 
12436
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
12437
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12438
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
12439
          ;;
 
12440
        esac
10935
12441
      fi
10936
12442
      hardcode_libdir_flag_spec='-R$libdir'
10937
12443
      hardcode_shlibpath_var=no
10941
12447
        # The compiler driver will combine and reorder linker options,
10942
12448
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10943
12449
        # but is careful enough not to reorder.
10944
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
12450
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10945
12451
        if test "$GCC" = yes; then
10946
12452
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10947
12453
        else
11030
12536
      allow_undefined_flag='${wl}-z,nodefs'
11031
12537
      archive_cmds_need_lc=no
11032
12538
      hardcode_shlibpath_var=no
11033
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
12539
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
11034
12540
      hardcode_libdir_separator=':'
11035
12541
      link_all_deplibs=yes
11036
12542
      export_dynamic_flag_spec='${wl}-Bexport'
11037
12543
      runpath_var='LD_RUN_PATH'
11038
12544
 
11039
12545
      if test "$GCC" = yes; then
11040
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11041
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12546
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12547
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11042
12548
      else
11043
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11044
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12549
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12550
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11045
12551
      fi
11046
12552
      ;;
11047
12553
 
11055
12561
      ld_shlibs=no
11056
12562
      ;;
11057
12563
    esac
 
12564
 
 
12565
    if test x$host_vendor = xsni; then
 
12566
      case $host in
 
12567
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
12568
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
12569
        ;;
 
12570
      esac
 
12571
    fi
11058
12572
  fi
11059
12573
 
11060
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11061
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
12574
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
12575
$as_echo "$ld_shlibs" >&6; }
11062
12576
test "$ld_shlibs" = no && can_build_shared=no
11063
12577
 
 
12578
with_gnu_ld=$with_gnu_ld
 
12579
 
 
12580
 
 
12581
 
 
12582
 
 
12583
 
 
12584
 
 
12585
 
 
12586
 
 
12587
 
 
12588
 
 
12589
 
 
12590
 
 
12591
 
 
12592
 
 
12593
 
11064
12594
#
11065
12595
# Do we need to explicitly link libc?
11066
12596
#
11078
12608
      # Test whether the compiler implicitly links with -lc since on some
11079
12609
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11080
12610
      # to ld, don't add -lc before -lgcc.
11081
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11082
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11083
 
      $rm conftest*
 
12611
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
12612
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
12613
      $RM conftest*
11084
12614
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11085
12615
 
11086
12616
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11087
12617
  (eval $ac_compile) 2>&5
11088
12618
  ac_status=$?
11089
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12619
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090
12620
  (exit $ac_status); } 2>conftest.err; then
11091
12621
        soname=conftest
11092
12622
        lib=conftest
11101
12631
        libname=conftest
11102
12632
        lt_save_allow_undefined_flag=$allow_undefined_flag
11103
12633
        allow_undefined_flag=
11104
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11105
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
12634
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
12635
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11106
12636
  ac_status=$?
11107
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12637
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108
12638
  (exit $ac_status); }
11109
12639
        then
11110
12640
          archive_cmds_need_lc=no
11115
12645
      else
11116
12646
        cat conftest.err 1>&5
11117
12647
      fi
11118
 
      $rm conftest*
11119
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11120
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
12648
      $RM conftest*
 
12649
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
12650
$as_echo "$archive_cmds_need_lc" >&6; }
11121
12651
      ;;
11122
12652
    esac
11123
12653
  fi
11124
12654
  ;;
11125
12655
esac
11126
12656
 
11127
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11128
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11129
 
library_names_spec=
11130
 
libname_spec='lib$name'
11131
 
soname_spec=
11132
 
shrext_cmds=".so"
11133
 
postinstall_cmds=
11134
 
postuninstall_cmds=
11135
 
finish_cmds=
11136
 
finish_eval=
11137
 
shlibpath_var=
11138
 
shlibpath_overrides_runpath=unknown
11139
 
version_type=none
11140
 
dynamic_linker="$host_os ld.so"
11141
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
12657
 
 
12658
 
 
12659
 
 
12660
 
 
12661
 
 
12662
 
 
12663
 
 
12664
 
 
12665
 
 
12666
 
 
12667
 
 
12668
 
 
12669
 
 
12670
 
 
12671
 
 
12672
 
 
12673
 
 
12674
 
 
12675
 
 
12676
 
 
12677
 
 
12678
 
 
12679
 
 
12680
 
 
12681
 
 
12682
 
 
12683
 
 
12684
 
 
12685
 
 
12686
 
 
12687
 
 
12688
 
 
12689
 
 
12690
 
 
12691
 
 
12692
 
 
12693
 
 
12694
 
 
12695
 
 
12696
 
 
12697
 
 
12698
 
 
12699
 
 
12700
 
 
12701
 
 
12702
 
 
12703
 
 
12704
 
 
12705
 
 
12706
 
 
12707
 
 
12708
 
 
12709
 
 
12710
 
 
12711
 
 
12712
 
 
12713
 
 
12714
 
 
12715
 
 
12716
 
 
12717
 
 
12718
 
 
12719
 
 
12720
 
 
12721
 
 
12722
 
 
12723
 
 
12724
 
 
12725
 
 
12726
 
 
12727
 
 
12728
 
 
12729
 
 
12730
 
 
12731
 
 
12732
 
 
12733
 
 
12734
 
 
12735
 
 
12736
 
 
12737
 
 
12738
 
 
12739
 
 
12740
 
 
12741
 
 
12742
 
 
12743
 
 
12744
 
 
12745
 
 
12746
 
 
12747
 
 
12748
 
 
12749
 
 
12750
 
 
12751
 
 
12752
 
 
12753
 
 
12754
 
 
12755
 
 
12756
 
 
12757
 
 
12758
 
 
12759
 
 
12760
 
 
12761
 
 
12762
 
 
12763
 
 
12764
 
 
12765
 
 
12766
 
 
12767
 
 
12768
 
 
12769
 
 
12770
 
 
12771
 
 
12772
 
 
12773
 
 
12774
 
 
12775
 
 
12776
 
 
12777
 
 
12778
 
 
12779
 
 
12780
 
 
12781
 
 
12782
 
 
12783
 
 
12784
 
 
12785
 
 
12786
 
 
12787
 
 
12788
 
 
12789
 
 
12790
 
 
12791
 
 
12792
 
 
12793
 
 
12794
 
 
12795
 
 
12796
 
 
12797
 
 
12798
 
 
12799
 
 
12800
 
 
12801
 
 
12802
 
 
12803
 
 
12804
 
 
12805
 
 
12806
 
 
12807
 
 
12808
 
 
12809
 
 
12810
 
 
12811
 
 
12812
 
 
12813
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
12814
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11142
12815
 
11143
12816
if test "$GCC" = yes; then
11144
12817
  case $host_os in
11146
12819
    *) lt_awk_arg="/^libraries:/" ;;
11147
12820
  esac
11148
12821
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11149
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
12822
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
11150
12823
    # if the path contains ";" then we assume it to be the separator
11151
12824
    # otherwise default to the standard path separator (i.e. ":") - it is
11152
12825
    # assumed that no part of a normal pathname contains ";" but that should
11153
12826
    # okay in the real world where ";" in dirpaths is itself problematic.
11154
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
12827
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11155
12828
  else
11156
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
12829
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11157
12830
  fi
11158
12831
  # Ok, now we have the path, separated by spaces, we can step through it
11159
12832
  # and add multilib dir if necessary.
11167
12840
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11168
12841
    fi
11169
12842
  done
11170
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
12843
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11171
12844
BEGIN {RS=" "; FS="/|\n";} {
11172
12845
  lt_foo="";
11173
12846
  lt_count=0;
11187
12860
  if (lt_foo != "") { lt_freq[lt_foo]++; }
11188
12861
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11189
12862
}'`
11190
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
12863
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
11191
12864
else
11192
12865
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11193
12866
fi
 
12867
library_names_spec=
 
12868
libname_spec='lib$name'
 
12869
soname_spec=
 
12870
shrext_cmds=".so"
 
12871
postinstall_cmds=
 
12872
postuninstall_cmds=
 
12873
finish_cmds=
 
12874
finish_eval=
 
12875
shlibpath_var=
 
12876
shlibpath_overrides_runpath=unknown
 
12877
version_type=none
 
12878
dynamic_linker="$host_os ld.so"
 
12879
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11194
12880
need_lib_prefix=unknown
11195
12881
hardcode_into_libs=no
11196
12882
 
11227
12913
      aix4 | aix4.[01] | aix4.[01].*)
11228
12914
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11229
12915
           echo ' yes '
11230
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
12916
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11231
12917
        :
11232
12918
      else
11233
12919
        can_build_shared=no
11253
12939
  ;;
11254
12940
 
11255
12941
amigaos*)
11256
 
  library_names_spec='$libname.ixlibrary $libname.a'
11257
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
11258
 
  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'
 
12942
  case $host_cpu in
 
12943
  powerpc)
 
12944
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
12945
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
12946
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12947
    ;;
 
12948
  m68k)
 
12949
    library_names_spec='$libname.ixlibrary $libname.a'
 
12950
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
12951
    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'
 
12952
    ;;
 
12953
  esac
11259
12954
  ;;
11260
12955
 
11261
12956
beos*)
11278
12973
  # libtool to hard-code these into programs
11279
12974
  ;;
11280
12975
 
11281
 
cygwin* | mingw* | pw32*)
 
12976
cygwin* | mingw* | pw32* | cegcc*)
11282
12977
  version_type=windows
11283
12978
  shrext_cmds=".dll"
11284
12979
  need_version=no
11285
12980
  need_lib_prefix=no
11286
12981
 
11287
12982
  case $GCC,$host_os in
11288
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
12983
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11289
12984
    library_names_spec='$libname.dll.a'
11290
12985
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11291
12986
    postinstall_cmds='base_file=`basename \${file}`~
11292
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
12987
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11293
12988
      dldir=$destdir/`dirname \$dlpath`~
11294
12989
      test -d \$dldir || mkdir -p \$dldir~
11295
12990
      $install_prog $dir/$dlname \$dldir/$dlname~
11296
 
      chmod a+x \$dldir/$dlname'
 
12991
      chmod a+x \$dldir/$dlname~
 
12992
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
12993
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
12994
      fi'
11297
12995
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11298
12996
      dlpath=$dir/\$dldll~
11299
 
       $rm \$dlpath'
 
12997
       $RM \$dlpath'
11300
12998
    shlibpath_overrides_runpath=yes
11301
12999
 
11302
13000
    case $host_os in
11305
13003
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11306
13004
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11307
13005
      ;;
11308
 
    mingw*)
 
13006
    mingw* | cegcc*)
11309
13007
      # MinGW DLLs use traditional 'lib' prefix
11310
13008
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11311
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11312
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
13009
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
13010
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11313
13011
        # It is most probably a Windows format PATH printed by
11314
13012
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11315
13013
        # path with ; separators, and with drive letters. We can handle the
11316
13014
        # drive letters (cygwin fileutils understands them), so leave them,
11317
13015
        # especially as we might pass files found there to a mingw objdump,
11318
13016
        # which wouldn't understand a cygwinified path. Ahh.
11319
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
13017
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11320
13018
      else
11321
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
13019
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11322
13020
      fi
11323
13021
      ;;
11324
13022
    pw32*)
11342
13040
  version_type=darwin
11343
13041
  need_lib_prefix=no
11344
13042
  need_version=no
11345
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
13043
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11346
13044
  soname_spec='${libname}${release}${major}$shared_ext'
11347
13045
  shlibpath_overrides_runpath=yes
11348
13046
  shlibpath_var=DYLD_LIBRARY_PATH
11441
13139
    fi
11442
13140
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11443
13141
    ;;
11444
 
   hppa*64*)
11445
 
     shrext_cmds='.sl'
11446
 
     hardcode_into_libs=yes
11447
 
     dynamic_linker="$host_os dld.sl"
11448
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11449
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11450
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11451
 
     soname_spec='${libname}${release}${shared_ext}$major'
11452
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11453
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11454
 
     ;;
11455
 
   *)
 
13142
  hppa*64*)
 
13143
    shrext_cmds='.sl'
 
13144
    hardcode_into_libs=yes
 
13145
    dynamic_linker="$host_os dld.sl"
 
13146
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
13147
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
13148
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13149
    soname_spec='${libname}${release}${shared_ext}$major'
 
13150
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
13151
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
13152
    ;;
 
13153
  *)
11456
13154
    shrext_cmds='.sl'
11457
13155
    dynamic_linker="$host_os dld.sl"
11458
13156
    shlibpath_var=SHLIB_PATH
11529
13227
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11530
13228
  shlibpath_var=LD_LIBRARY_PATH
11531
13229
  shlibpath_overrides_runpath=no
 
13230
  # Some binutils ld are patched to set DT_RUNPATH
 
13231
  save_LDFLAGS=$LDFLAGS
 
13232
  save_libdir=$libdir
 
13233
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
13234
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
13235
  cat >conftest.$ac_ext <<_ACEOF
 
13236
/* confdefs.h.  */
 
13237
_ACEOF
 
13238
cat confdefs.h >>conftest.$ac_ext
 
13239
cat >>conftest.$ac_ext <<_ACEOF
 
13240
/* end confdefs.h.  */
 
13241
 
 
13242
int
 
13243
main ()
 
13244
{
 
13245
 
 
13246
  ;
 
13247
  return 0;
 
13248
}
 
13249
_ACEOF
 
13250
rm -f conftest.$ac_objext conftest$ac_exeext
 
13251
if { (ac_try="$ac_link"
 
13252
case "(($ac_try" in
 
13253
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13254
  *) ac_try_echo=$ac_try;;
 
13255
esac
 
13256
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13257
$as_echo "$ac_try_echo") >&5
 
13258
  (eval "$ac_link") 2>conftest.er1
 
13259
  ac_status=$?
 
13260
  grep -v '^ *+' conftest.er1 >conftest.err
 
13261
  rm -f conftest.er1
 
13262
  cat conftest.err >&5
 
13263
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13264
  (exit $ac_status); } && {
 
13265
         test -z "$ac_c_werror_flag" ||
 
13266
         test ! -s conftest.err
 
13267
       } && test -s conftest$ac_exeext && {
 
13268
         test "$cross_compiling" = yes ||
 
13269
         $as_test_x conftest$ac_exeext
 
13270
       }; then
 
13271
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
13272
  shlibpath_overrides_runpath=yes
 
13273
fi
 
13274
 
 
13275
else
 
13276
  $as_echo "$as_me: failed program was:" >&5
 
13277
sed 's/^/| /' conftest.$ac_ext >&5
 
13278
 
 
13279
 
 
13280
fi
 
13281
 
 
13282
rm -rf conftest.dSYM
 
13283
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13284
      conftest$ac_exeext conftest.$ac_ext
 
13285
  LDFLAGS=$save_LDFLAGS
 
13286
  libdir=$save_libdir
 
13287
 
11532
13288
  # This implies no fast_install, which is unacceptable.
11533
13289
  # Some rework will be needed to allow for fast_install
11534
13290
  # before this can be enabled.
11536
13292
 
11537
13293
  # Append ld.so.conf contents to the search path
11538
13294
  if test -f /etc/ld.so.conf; then
11539
 
    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' ' '`
 
13295
    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' ' '`
11540
13296
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11541
13297
  fi
11542
13298
 
11565
13321
  version_type=sunos
11566
13322
  need_lib_prefix=no
11567
13323
  need_version=no
11568
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
13324
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11569
13325
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11570
13326
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11571
13327
    dynamic_linker='NetBSD (a.out) ld.so'
11586
13342
  shlibpath_overrides_runpath=yes
11587
13343
  ;;
11588
13344
 
11589
 
nto-qnx*)
11590
 
  version_type=linux
 
13345
*nto* | *qnx*)
 
13346
  version_type=qnx
11591
13347
  need_lib_prefix=no
11592
13348
  need_version=no
11593
13349
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11594
13350
  soname_spec='${libname}${release}${shared_ext}$major'
11595
13351
  shlibpath_var=LD_LIBRARY_PATH
11596
 
  shlibpath_overrides_runpath=yes
 
13352
  shlibpath_overrides_runpath=no
 
13353
  hardcode_into_libs=yes
 
13354
  dynamic_linker='ldqnx.so'
11597
13355
  ;;
11598
13356
 
11599
13357
openbsd*)
11602
13360
  need_lib_prefix=no
11603
13361
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11604
13362
  case $host_os in
11605
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11606
 
    *)                         need_version=no  ;;
 
13363
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
13364
    *)                          need_version=no  ;;
11607
13365
  esac
11608
13366
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11609
13367
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11610
13368
  shlibpath_var=LD_LIBRARY_PATH
11611
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13369
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11612
13370
    case $host_os in
11613
13371
      openbsd2.[89] | openbsd2.[89].*)
11614
13372
        shlibpath_overrides_runpath=no
11680
13438
    sni)
11681
13439
      shlibpath_overrides_runpath=no
11682
13440
      need_lib_prefix=no
11683
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
11684
13441
      runpath_var=LD_RUN_PATH
11685
13442
      ;;
11686
13443
    siemens)
11711
13468
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11712
13469
  soname_spec='${libname}${release}${shared_ext}$major'
11713
13470
  shlibpath_var=LD_LIBRARY_PATH
 
13471
  shlibpath_overrides_runpath=yes
11714
13472
  hardcode_into_libs=yes
11715
13473
  if test "$with_gnu_ld" = yes; then
11716
13474
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11717
 
    shlibpath_overrides_runpath=no
11718
13475
  else
11719
13476
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11720
 
    shlibpath_overrides_runpath=yes
11721
13477
    case $host_os in
11722
13478
      sco3.2v5*)
11723
13479
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11727
13483
  sys_lib_dlsearch_path_spec='/usr/lib'
11728
13484
  ;;
11729
13485
 
 
13486
tpf*)
 
13487
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
13488
  version_type=linux
 
13489
  need_lib_prefix=no
 
13490
  need_version=no
 
13491
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13492
  shlibpath_var=LD_LIBRARY_PATH
 
13493
  shlibpath_overrides_runpath=no
 
13494
  hardcode_into_libs=yes
 
13495
  ;;
 
13496
 
11730
13497
uts4*)
11731
13498
  version_type=linux
11732
13499
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11738
13505
  dynamic_linker=no
11739
13506
  ;;
11740
13507
esac
11741
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11742
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
13508
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13509
$as_echo "$dynamic_linker" >&6; }
11743
13510
test "$dynamic_linker" = no && can_build_shared=no
11744
13511
 
11745
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11746
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11747
 
else
11748
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
11749
 
fi
11750
 
 
11751
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11752
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11753
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11754
 
else
11755
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
11756
 
fi
11757
 
 
11758
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11759
 
 
11760
13512
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11761
13513
if test "$GCC" = yes; then
11762
13514
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11763
13515
fi
11764
13516
 
11765
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11766
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
13517
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
13518
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
13519
fi
 
13520
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
13521
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
13522
fi
 
13523
 
 
13524
 
 
13525
 
 
13526
 
 
13527
 
 
13528
 
 
13529
 
 
13530
 
 
13531
 
 
13532
 
 
13533
 
 
13534
 
 
13535
 
 
13536
 
 
13537
 
 
13538
 
 
13539
 
 
13540
 
 
13541
 
 
13542
 
 
13543
 
 
13544
 
 
13545
 
 
13546
 
 
13547
 
 
13548
 
 
13549
 
 
13550
 
 
13551
 
 
13552
 
 
13553
 
 
13554
 
 
13555
 
 
13556
 
 
13557
 
 
13558
 
 
13559
 
 
13560
 
 
13561
 
 
13562
 
 
13563
 
 
13564
 
 
13565
 
 
13566
 
 
13567
 
 
13568
 
 
13569
 
 
13570
 
 
13571
 
 
13572
 
 
13573
 
 
13574
 
 
13575
 
 
13576
 
 
13577
 
 
13578
 
 
13579
 
 
13580
 
 
13581
 
 
13582
 
 
13583
 
 
13584
 
 
13585
 
 
13586
 
 
13587
 
 
13588
 
 
13589
 
 
13590
 
 
13591
 
 
13592
 
 
13593
 
 
13594
 
 
13595
 
 
13596
 
 
13597
 
 
13598
 
 
13599
 
 
13600
 
 
13601
 
 
13602
 
 
13603
 
 
13604
 
 
13605
 
 
13606
 
 
13607
 
 
13608
 
 
13609
 
 
13610
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13611
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11767
13612
hardcode_action=
11768
 
if test -n "$hardcode_libdir_flag_spec" || \
11769
 
   test -n "$runpath_var" || \
 
13613
if test -n "$hardcode_libdir_flag_spec" ||
 
13614
   test -n "$runpath_var" ||
11770
13615
   test "X$hardcode_automatic" = "Xyes" ; then
11771
13616
 
11772
 
  # We can hardcode non-existant directories.
 
13617
  # We can hardcode non-existent directories.
11773
13618
  if test "$hardcode_direct" != no &&
11774
13619
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11775
13620
     # have to relink, otherwise we might link with an installed library
11776
13621
     # when we should be linking with a yet-to-be-installed one
11777
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
13622
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11778
13623
     test "$hardcode_minus_L" != no; then
11779
13624
    # Linking always hardcodes the temporary library directory.
11780
13625
    hardcode_action=relink
11787
13632
  # directories.
11788
13633
  hardcode_action=unsupported
11789
13634
fi
11790
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
11791
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
13635
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
13636
$as_echo "$hardcode_action" >&6; }
11792
13637
 
11793
 
if test "$hardcode_action" = relink; then
 
13638
if test "$hardcode_action" = relink ||
 
13639
   test "$inherit_rpath" = yes; then
11794
13640
  # Fast installation is not supported
11795
13641
  enable_fast_install=no
11796
13642
elif test "$shlibpath_overrides_runpath" = yes ||
11799
13645
  enable_fast_install=needless
11800
13646
fi
11801
13647
 
11802
 
striplib=
11803
 
old_striplib=
11804
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11805
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11806
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11807
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11808
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11809
 
  { echo "$as_me:$LINENO: result: yes" >&5
11810
 
echo "${ECHO_T}yes" >&6; }
11811
 
else
11812
 
# FIXME - insert some real tests, host_os isn't really good enough
11813
 
  case $host_os in
11814
 
   darwin*)
11815
 
       if test -n "$STRIP" ; then
11816
 
         striplib="$STRIP -x"
11817
 
         old_striplib="$STRIP -S"
11818
 
         { echo "$as_me:$LINENO: result: yes" >&5
11819
 
echo "${ECHO_T}yes" >&6; }
11820
 
       else
11821
 
  { echo "$as_me:$LINENO: result: no" >&5
11822
 
echo "${ECHO_T}no" >&6; }
11823
 
fi
11824
 
       ;;
11825
 
   *)
11826
 
  { echo "$as_me:$LINENO: result: no" >&5
11827
 
echo "${ECHO_T}no" >&6; }
11828
 
    ;;
11829
 
  esac
11830
 
fi
11831
 
 
11832
 
if test "x$enable_dlopen" != xyes; then
 
13648
 
 
13649
 
 
13650
 
 
13651
 
 
13652
 
 
13653
  if test "x$enable_dlopen" != xyes; then
11833
13654
  enable_dlopen=unknown
11834
13655
  enable_dlopen_self=unknown
11835
13656
  enable_dlopen_self_static=unknown
11844
13665
    lt_cv_dlopen_self=yes
11845
13666
    ;;
11846
13667
 
11847
 
  mingw* | pw32*)
 
13668
  mingw* | pw32* | cegcc*)
11848
13669
    lt_cv_dlopen="LoadLibrary"
11849
13670
    lt_cv_dlopen_libs=
11850
 
   ;;
 
13671
    ;;
11851
13672
 
11852
13673
  cygwin*)
11853
13674
    lt_cv_dlopen="dlopen"
11854
13675
    lt_cv_dlopen_libs=
11855
 
   ;;
 
13676
    ;;
11856
13677
 
11857
13678
  darwin*)
11858
13679
  # if libdl is installed we need to link against it
11859
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11860
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
13680
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
13681
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11861
13682
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11862
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13683
  $as_echo_n "(cached) " >&6
11863
13684
else
11864
13685
  ac_check_lib_save_LIBS=$LIBS
11865
13686
LIBS="-ldl  $LIBS"
11891
13712
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11892
13713
  *) ac_try_echo=$ac_try;;
11893
13714
esac
11894
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13715
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13716
$as_echo "$ac_try_echo") >&5
11895
13717
  (eval "$ac_link") 2>conftest.er1
11896
13718
  ac_status=$?
11897
13719
  grep -v '^ *+' conftest.er1 >conftest.err
11898
13720
  rm -f conftest.er1
11899
13721
  cat conftest.err >&5
11900
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13722
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11901
13723
  (exit $ac_status); } && {
11902
13724
         test -z "$ac_c_werror_flag" ||
11903
13725
         test ! -s conftest.err
11904
 
       } && test -s conftest$ac_exeext &&
11905
 
       $as_test_x conftest$ac_exeext; then
 
13726
       } && test -s conftest$ac_exeext && {
 
13727
         test "$cross_compiling" = yes ||
 
13728
         $as_test_x conftest$ac_exeext
 
13729
       }; then
11906
13730
  ac_cv_lib_dl_dlopen=yes
11907
13731
else
11908
 
  echo "$as_me: failed program was:" >&5
 
13732
  $as_echo "$as_me: failed program was:" >&5
11909
13733
sed 's/^/| /' conftest.$ac_ext >&5
11910
13734
 
11911
13735
        ac_cv_lib_dl_dlopen=no
11912
13736
fi
11913
13737
 
 
13738
rm -rf conftest.dSYM
11914
13739
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11915
13740
      conftest$ac_exeext conftest.$ac_ext
11916
13741
LIBS=$ac_check_lib_save_LIBS
11917
13742
fi
11918
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11919
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11920
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
13743
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
13744
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
13745
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11921
13746
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11922
13747
else
11923
13748
 
11927
13752
 
11928
13753
fi
11929
13754
 
11930
 
   ;;
 
13755
    ;;
11931
13756
 
11932
13757
  *)
11933
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
11934
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
 
13758
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
13759
$as_echo_n "checking for shl_load... " >&6; }
11935
13760
if test "${ac_cv_func_shl_load+set}" = set; then
11936
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13761
  $as_echo_n "(cached) " >&6
11937
13762
else
11938
13763
  cat >conftest.$ac_ext <<_ACEOF
11939
13764
/* confdefs.h.  */
11986
13811
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11987
13812
  *) ac_try_echo=$ac_try;;
11988
13813
esac
11989
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13814
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13815
$as_echo "$ac_try_echo") >&5
11990
13816
  (eval "$ac_link") 2>conftest.er1
11991
13817
  ac_status=$?
11992
13818
  grep -v '^ *+' conftest.er1 >conftest.err
11993
13819
  rm -f conftest.er1
11994
13820
  cat conftest.err >&5
11995
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13821
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996
13822
  (exit $ac_status); } && {
11997
13823
         test -z "$ac_c_werror_flag" ||
11998
13824
         test ! -s conftest.err
11999
 
       } && test -s conftest$ac_exeext &&
12000
 
       $as_test_x conftest$ac_exeext; then
 
13825
       } && test -s conftest$ac_exeext && {
 
13826
         test "$cross_compiling" = yes ||
 
13827
         $as_test_x conftest$ac_exeext
 
13828
       }; then
12001
13829
  ac_cv_func_shl_load=yes
12002
13830
else
12003
 
  echo "$as_me: failed program was:" >&5
 
13831
  $as_echo "$as_me: failed program was:" >&5
12004
13832
sed 's/^/| /' conftest.$ac_ext >&5
12005
13833
 
12006
13834
        ac_cv_func_shl_load=no
12007
13835
fi
12008
13836
 
 
13837
rm -rf conftest.dSYM
12009
13838
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12010
13839
      conftest$ac_exeext conftest.$ac_ext
12011
13840
fi
12012
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12013
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12014
 
if test $ac_cv_func_shl_load = yes; then
 
13841
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
13842
$as_echo "$ac_cv_func_shl_load" >&6; }
 
13843
if test "x$ac_cv_func_shl_load" = x""yes; then
12015
13844
  lt_cv_dlopen="shl_load"
12016
13845
else
12017
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12018
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
 
13846
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
13847
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12019
13848
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12020
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13849
  $as_echo_n "(cached) " >&6
12021
13850
else
12022
13851
  ac_check_lib_save_LIBS=$LIBS
12023
13852
LIBS="-ldld  $LIBS"
12049
13878
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12050
13879
  *) ac_try_echo=$ac_try;;
12051
13880
esac
12052
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13881
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13882
$as_echo "$ac_try_echo") >&5
12053
13883
  (eval "$ac_link") 2>conftest.er1
12054
13884
  ac_status=$?
12055
13885
  grep -v '^ *+' conftest.er1 >conftest.err
12056
13886
  rm -f conftest.er1
12057
13887
  cat conftest.err >&5
12058
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13888
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059
13889
  (exit $ac_status); } && {
12060
13890
         test -z "$ac_c_werror_flag" ||
12061
13891
         test ! -s conftest.err
12062
 
       } && test -s conftest$ac_exeext &&
12063
 
       $as_test_x conftest$ac_exeext; then
 
13892
       } && test -s conftest$ac_exeext && {
 
13893
         test "$cross_compiling" = yes ||
 
13894
         $as_test_x conftest$ac_exeext
 
13895
       }; then
12064
13896
  ac_cv_lib_dld_shl_load=yes
12065
13897
else
12066
 
  echo "$as_me: failed program was:" >&5
 
13898
  $as_echo "$as_me: failed program was:" >&5
12067
13899
sed 's/^/| /' conftest.$ac_ext >&5
12068
13900
 
12069
13901
        ac_cv_lib_dld_shl_load=no
12070
13902
fi
12071
13903
 
 
13904
rm -rf conftest.dSYM
12072
13905
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12073
13906
      conftest$ac_exeext conftest.$ac_ext
12074
13907
LIBS=$ac_check_lib_save_LIBS
12075
13908
fi
12076
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12077
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12078
 
if test $ac_cv_lib_dld_shl_load = yes; then
 
13909
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
13910
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
13911
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
12079
13912
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12080
13913
else
12081
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
12082
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
 
13914
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
13915
$as_echo_n "checking for dlopen... " >&6; }
12083
13916
if test "${ac_cv_func_dlopen+set}" = set; then
12084
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13917
  $as_echo_n "(cached) " >&6
12085
13918
else
12086
13919
  cat >conftest.$ac_ext <<_ACEOF
12087
13920
/* confdefs.h.  */
12134
13967
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12135
13968
  *) ac_try_echo=$ac_try;;
12136
13969
esac
12137
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13970
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13971
$as_echo "$ac_try_echo") >&5
12138
13972
  (eval "$ac_link") 2>conftest.er1
12139
13973
  ac_status=$?
12140
13974
  grep -v '^ *+' conftest.er1 >conftest.err
12141
13975
  rm -f conftest.er1
12142
13976
  cat conftest.err >&5
12143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13977
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12144
13978
  (exit $ac_status); } && {
12145
13979
         test -z "$ac_c_werror_flag" ||
12146
13980
         test ! -s conftest.err
12147
 
       } && test -s conftest$ac_exeext &&
12148
 
       $as_test_x conftest$ac_exeext; then
 
13981
       } && test -s conftest$ac_exeext && {
 
13982
         test "$cross_compiling" = yes ||
 
13983
         $as_test_x conftest$ac_exeext
 
13984
       }; then
12149
13985
  ac_cv_func_dlopen=yes
12150
13986
else
12151
 
  echo "$as_me: failed program was:" >&5
 
13987
  $as_echo "$as_me: failed program was:" >&5
12152
13988
sed 's/^/| /' conftest.$ac_ext >&5
12153
13989
 
12154
13990
        ac_cv_func_dlopen=no
12155
13991
fi
12156
13992
 
 
13993
rm -rf conftest.dSYM
12157
13994
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12158
13995
      conftest$ac_exeext conftest.$ac_ext
12159
13996
fi
12160
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12161
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12162
 
if test $ac_cv_func_dlopen = yes; then
 
13997
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
13998
$as_echo "$ac_cv_func_dlopen" >&6; }
 
13999
if test "x$ac_cv_func_dlopen" = x""yes; then
12163
14000
  lt_cv_dlopen="dlopen"
12164
14001
else
12165
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12166
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
14002
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
14003
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12167
14004
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12168
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14005
  $as_echo_n "(cached) " >&6
12169
14006
else
12170
14007
  ac_check_lib_save_LIBS=$LIBS
12171
14008
LIBS="-ldl  $LIBS"
12197
14034
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12198
14035
  *) ac_try_echo=$ac_try;;
12199
14036
esac
12200
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14037
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14038
$as_echo "$ac_try_echo") >&5
12201
14039
  (eval "$ac_link") 2>conftest.er1
12202
14040
  ac_status=$?
12203
14041
  grep -v '^ *+' conftest.er1 >conftest.err
12204
14042
  rm -f conftest.er1
12205
14043
  cat conftest.err >&5
12206
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14044
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207
14045
  (exit $ac_status); } && {
12208
14046
         test -z "$ac_c_werror_flag" ||
12209
14047
         test ! -s conftest.err
12210
 
       } && test -s conftest$ac_exeext &&
12211
 
       $as_test_x conftest$ac_exeext; then
 
14048
       } && test -s conftest$ac_exeext && {
 
14049
         test "$cross_compiling" = yes ||
 
14050
         $as_test_x conftest$ac_exeext
 
14051
       }; then
12212
14052
  ac_cv_lib_dl_dlopen=yes
12213
14053
else
12214
 
  echo "$as_me: failed program was:" >&5
 
14054
  $as_echo "$as_me: failed program was:" >&5
12215
14055
sed 's/^/| /' conftest.$ac_ext >&5
12216
14056
 
12217
14057
        ac_cv_lib_dl_dlopen=no
12218
14058
fi
12219
14059
 
 
14060
rm -rf conftest.dSYM
12220
14061
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12221
14062
      conftest$ac_exeext conftest.$ac_ext
12222
14063
LIBS=$ac_check_lib_save_LIBS
12223
14064
fi
12224
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12225
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12226
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
14065
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
14066
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
14067
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12227
14068
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12228
14069
else
12229
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12230
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
 
14070
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
14071
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12231
14072
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12232
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14073
  $as_echo_n "(cached) " >&6
12233
14074
else
12234
14075
  ac_check_lib_save_LIBS=$LIBS
12235
14076
LIBS="-lsvld  $LIBS"
12261
14102
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12262
14103
  *) ac_try_echo=$ac_try;;
12263
14104
esac
12264
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14105
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14106
$as_echo "$ac_try_echo") >&5
12265
14107
  (eval "$ac_link") 2>conftest.er1
12266
14108
  ac_status=$?
12267
14109
  grep -v '^ *+' conftest.er1 >conftest.err
12268
14110
  rm -f conftest.er1
12269
14111
  cat conftest.err >&5
12270
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14112
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271
14113
  (exit $ac_status); } && {
12272
14114
         test -z "$ac_c_werror_flag" ||
12273
14115
         test ! -s conftest.err
12274
 
       } && test -s conftest$ac_exeext &&
12275
 
       $as_test_x conftest$ac_exeext; then
 
14116
       } && test -s conftest$ac_exeext && {
 
14117
         test "$cross_compiling" = yes ||
 
14118
         $as_test_x conftest$ac_exeext
 
14119
       }; then
12276
14120
  ac_cv_lib_svld_dlopen=yes
12277
14121
else
12278
 
  echo "$as_me: failed program was:" >&5
 
14122
  $as_echo "$as_me: failed program was:" >&5
12279
14123
sed 's/^/| /' conftest.$ac_ext >&5
12280
14124
 
12281
14125
        ac_cv_lib_svld_dlopen=no
12282
14126
fi
12283
14127
 
 
14128
rm -rf conftest.dSYM
12284
14129
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12285
14130
      conftest$ac_exeext conftest.$ac_ext
12286
14131
LIBS=$ac_check_lib_save_LIBS
12287
14132
fi
12288
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12289
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12290
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
14133
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
14134
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
14135
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
12291
14136
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12292
14137
else
12293
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12294
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
 
14138
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
14139
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12295
14140
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12296
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14141
  $as_echo_n "(cached) " >&6
12297
14142
else
12298
14143
  ac_check_lib_save_LIBS=$LIBS
12299
14144
LIBS="-ldld  $LIBS"
12325
14170
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12326
14171
  *) ac_try_echo=$ac_try;;
12327
14172
esac
12328
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14173
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14174
$as_echo "$ac_try_echo") >&5
12329
14175
  (eval "$ac_link") 2>conftest.er1
12330
14176
  ac_status=$?
12331
14177
  grep -v '^ *+' conftest.er1 >conftest.err
12332
14178
  rm -f conftest.er1
12333
14179
  cat conftest.err >&5
12334
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14180
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335
14181
  (exit $ac_status); } && {
12336
14182
         test -z "$ac_c_werror_flag" ||
12337
14183
         test ! -s conftest.err
12338
 
       } && test -s conftest$ac_exeext &&
12339
 
       $as_test_x conftest$ac_exeext; then
 
14184
       } && test -s conftest$ac_exeext && {
 
14185
         test "$cross_compiling" = yes ||
 
14186
         $as_test_x conftest$ac_exeext
 
14187
       }; then
12340
14188
  ac_cv_lib_dld_dld_link=yes
12341
14189
else
12342
 
  echo "$as_me: failed program was:" >&5
 
14190
  $as_echo "$as_me: failed program was:" >&5
12343
14191
sed 's/^/| /' conftest.$ac_ext >&5
12344
14192
 
12345
14193
        ac_cv_lib_dld_dld_link=no
12346
14194
fi
12347
14195
 
 
14196
rm -rf conftest.dSYM
12348
14197
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12349
14198
      conftest$ac_exeext conftest.$ac_ext
12350
14199
LIBS=$ac_check_lib_save_LIBS
12351
14200
fi
12352
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12353
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12354
 
if test $ac_cv_lib_dld_dld_link = yes; then
 
14201
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
14202
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
14203
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
12355
14204
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12356
14205
fi
12357
14206
 
12390
14239
    save_LIBS="$LIBS"
12391
14240
    LIBS="$lt_cv_dlopen_libs $LIBS"
12392
14241
 
12393
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12394
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
 
14242
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
14243
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12395
14244
if test "${lt_cv_dlopen_self+set}" = set; then
12396
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14245
  $as_echo_n "(cached) " >&6
12397
14246
else
12398
14247
          if test "$cross_compiling" = yes; then :
12399
14248
  lt_cv_dlopen_self=cross
12400
14249
else
12401
14250
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12402
14251
  lt_status=$lt_dlunknown
12403
 
  cat > conftest.$ac_ext <<EOF
12404
 
#line 12404 "configure"
 
14252
  cat > conftest.$ac_ext <<_LT_EOF
 
14253
#line 14253 "configure"
12405
14254
#include "confdefs.h"
12406
14255
 
12407
14256
#if HAVE_DLFCN_H
12442
14291
#  endif
12443
14292
#endif
12444
14293
 
12445
 
#ifdef __cplusplus
12446
 
extern "C" void exit (int);
12447
 
#endif
12448
 
 
12449
14294
void fnord() { int i=42;}
12450
14295
int main ()
12451
14296
{
12461
14306
  else
12462
14307
    puts (dlerror ());
12463
14308
 
12464
 
    exit (status);
 
14309
  return status;
12465
14310
}
12466
 
EOF
 
14311
_LT_EOF
12467
14312
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12468
14313
  (eval $ac_link) 2>&5
12469
14314
  ac_status=$?
12470
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14315
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471
14316
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12472
14317
    (./conftest; exit; ) >&5 2>/dev/null
12473
14318
    lt_status=$?
12485
14330
 
12486
14331
 
12487
14332
fi
12488
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12489
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
14333
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
14334
$as_echo "$lt_cv_dlopen_self" >&6; }
12490
14335
 
12491
14336
    if test "x$lt_cv_dlopen_self" = xyes; then
12492
14337
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12493
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12494
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
 
14338
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
14339
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12495
14340
if test "${lt_cv_dlopen_self_static+set}" = set; then
12496
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14341
  $as_echo_n "(cached) " >&6
12497
14342
else
12498
14343
          if test "$cross_compiling" = yes; then :
12499
14344
  lt_cv_dlopen_self_static=cross
12500
14345
else
12501
14346
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12502
14347
  lt_status=$lt_dlunknown
12503
 
  cat > conftest.$ac_ext <<EOF
12504
 
#line 12504 "configure"
 
14348
  cat > conftest.$ac_ext <<_LT_EOF
 
14349
#line 14349 "configure"
12505
14350
#include "confdefs.h"
12506
14351
 
12507
14352
#if HAVE_DLFCN_H
12542
14387
#  endif
12543
14388
#endif
12544
14389
 
12545
 
#ifdef __cplusplus
12546
 
extern "C" void exit (int);
12547
 
#endif
12548
 
 
12549
14390
void fnord() { int i=42;}
12550
14391
int main ()
12551
14392
{
12561
14402
  else
12562
14403
    puts (dlerror ());
12563
14404
 
12564
 
    exit (status);
 
14405
  return status;
12565
14406
}
12566
 
EOF
 
14407
_LT_EOF
12567
14408
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12568
14409
  (eval $ac_link) 2>&5
12569
14410
  ac_status=$?
12570
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14411
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571
14412
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12572
14413
    (./conftest; exit; ) >&5 2>/dev/null
12573
14414
    lt_status=$?
12585
14426
 
12586
14427
 
12587
14428
fi
12588
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12589
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
14429
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
14430
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12590
14431
    fi
12591
14432
 
12592
14433
    CPPFLAGS="$save_CPPFLAGS"
12607
14448
fi
12608
14449
 
12609
14450
 
12610
 
# Report which library types will actually be built
12611
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12612
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12613
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
12614
 
echo "${ECHO_T}$can_build_shared" >&6; }
12615
 
 
12616
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12617
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12618
 
test "$can_build_shared" = "no" && enable_shared=no
12619
 
 
12620
 
# On AIX, shared libraries and static libraries use the same namespace, and
12621
 
# are all built from PIC.
12622
 
case $host_os in
12623
 
aix3*)
12624
 
  test "$enable_shared" = yes && enable_static=no
12625
 
  if test -n "$RANLIB"; then
12626
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
12627
 
    postinstall_cmds='$RANLIB $lib'
12628
 
  fi
12629
 
  ;;
12630
 
 
12631
 
aix[4-9]*)
12632
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
14451
 
 
14452
 
 
14453
 
 
14454
 
 
14455
 
 
14456
 
 
14457
 
 
14458
 
 
14459
 
 
14460
 
 
14461
 
 
14462
 
 
14463
 
 
14464
 
 
14465
 
 
14466
striplib=
 
14467
old_striplib=
 
14468
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
14469
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
14470
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
14471
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
14472
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
14473
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14474
$as_echo "yes" >&6; }
 
14475
else
 
14476
# FIXME - insert some real tests, host_os isn't really good enough
 
14477
  case $host_os in
 
14478
  darwin*)
 
14479
    if test -n "$STRIP" ; then
 
14480
      striplib="$STRIP -x"
 
14481
      old_striplib="$STRIP -S"
 
14482
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14483
$as_echo "yes" >&6; }
 
14484
    else
 
14485
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
14486
$as_echo "no" >&6; }
 
14487
    fi
 
14488
    ;;
 
14489
  *)
 
14490
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
14491
$as_echo "no" >&6; }
 
14492
    ;;
 
14493
  esac
 
14494
fi
 
14495
 
 
14496
 
 
14497
 
 
14498
 
 
14499
 
 
14500
 
 
14501
 
 
14502
 
 
14503
 
 
14504
 
 
14505
 
 
14506
 
 
14507
  # Report which library types will actually be built
 
14508
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14509
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
14510
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14511
$as_echo "$can_build_shared" >&6; }
 
14512
 
 
14513
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14514
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
14515
  test "$can_build_shared" = "no" && enable_shared=no
 
14516
 
 
14517
  # On AIX, shared libraries and static libraries use the same namespace, and
 
14518
  # are all built from PIC.
 
14519
  case $host_os in
 
14520
  aix3*)
12633
14521
    test "$enable_shared" = yes && enable_static=no
12634
 
  fi
12635
 
    ;;
12636
 
esac
12637
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
12638
 
echo "${ECHO_T}$enable_shared" >&6; }
12639
 
 
12640
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12641
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12642
 
# Make sure either enable_shared or enable_static is yes.
12643
 
test "$enable_shared" = yes || enable_static=yes
12644
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
12645
 
echo "${ECHO_T}$enable_static" >&6; }
12646
 
 
12647
 
# The else clause should only fire when bootstrapping the
12648
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
12649
 
# with your package, and you will get complaints that there are
12650
 
# no rules to generate ltmain.sh.
12651
 
if test -f "$ltmain"; then
12652
 
  # See if we are running on zsh, and set the options which allow our commands through
12653
 
  # without removal of \ escapes.
12654
 
  if test -n "${ZSH_VERSION+set}" ; then
12655
 
    setopt NO_GLOB_SUBST
12656
 
  fi
12657
 
  # Now quote all the things that may contain metacharacters while being
12658
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
12659
 
  # variables and quote the copies for generation of the libtool script.
12660
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12661
 
    SED SHELL STRIP \
12662
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12663
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12664
 
    deplibs_check_method reload_flag reload_cmds need_locks \
12665
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12666
 
    lt_cv_sys_global_symbol_to_c_name_address \
12667
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12668
 
    old_postinstall_cmds old_postuninstall_cmds \
12669
 
    compiler \
12670
 
    CC \
12671
 
    LD \
12672
 
    lt_prog_compiler_wl \
12673
 
    lt_prog_compiler_pic \
12674
 
    lt_prog_compiler_static \
12675
 
    lt_prog_compiler_no_builtin_flag \
12676
 
    export_dynamic_flag_spec \
12677
 
    thread_safe_flag_spec \
12678
 
    whole_archive_flag_spec \
12679
 
    enable_shared_with_static_runtimes \
12680
 
    old_archive_cmds \
12681
 
    old_archive_from_new_cmds \
12682
 
    predep_objects \
12683
 
    postdep_objects \
12684
 
    predeps \
12685
 
    postdeps \
12686
 
    compiler_lib_search_path \
12687
 
    compiler_lib_search_dirs \
12688
 
    archive_cmds \
12689
 
    archive_expsym_cmds \
12690
 
    postinstall_cmds \
12691
 
    postuninstall_cmds \
12692
 
    old_archive_from_expsyms_cmds \
12693
 
    allow_undefined_flag \
12694
 
    no_undefined_flag \
12695
 
    export_symbols_cmds \
12696
 
    hardcode_libdir_flag_spec \
12697
 
    hardcode_libdir_flag_spec_ld \
12698
 
    hardcode_libdir_separator \
12699
 
    hardcode_automatic \
12700
 
    module_cmds \
12701
 
    module_expsym_cmds \
12702
 
    lt_cv_prog_compiler_c_o \
12703
 
    fix_srcfile_path \
12704
 
    exclude_expsyms \
12705
 
    include_expsyms; do
12706
 
 
12707
 
    case $var in
12708
 
    old_archive_cmds | \
12709
 
    old_archive_from_new_cmds | \
12710
 
    archive_cmds | \
12711
 
    archive_expsym_cmds | \
12712
 
    module_cmds | \
12713
 
    module_expsym_cmds | \
12714
 
    old_archive_from_expsyms_cmds | \
12715
 
    export_symbols_cmds | \
12716
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
12717
 
    postinstall_cmds | postuninstall_cmds | \
12718
 
    old_postinstall_cmds | old_postuninstall_cmds | \
12719
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12720
 
      # Double-quote double-evaled strings.
12721
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12722
 
      ;;
12723
 
    *)
12724
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12725
 
      ;;
12726
 
    esac
12727
 
  done
12728
 
 
12729
 
  case $lt_echo in
12730
 
  *'\$0 --fallback-echo"')
12731
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12732
 
    ;;
12733
 
  esac
12734
 
 
12735
 
cfgfile="${ofile}T"
12736
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12737
 
  $rm -f "$cfgfile"
12738
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
12739
 
echo "$as_me: creating $ofile" >&6;}
12740
 
 
12741
 
  cat <<__EOF__ >> "$cfgfile"
12742
 
#! $SHELL
12743
 
 
12744
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12745
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12746
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12747
 
#
12748
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
12749
 
# Free Software Foundation, Inc.
12750
 
#
12751
 
# This file is part of GNU Libtool:
12752
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12753
 
#
12754
 
# This program is free software; you can redistribute it and/or modify
12755
 
# it under the terms of the GNU General Public License as published by
12756
 
# the Free Software Foundation; either version 2 of the License, or
12757
 
# (at your option) any later version.
12758
 
#
12759
 
# This program is distributed in the hope that it will be useful, but
12760
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
12761
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12762
 
# General Public License for more details.
12763
 
#
12764
 
# You should have received a copy of the GNU General Public License
12765
 
# along with this program; if not, write to the Free Software
12766
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12767
 
#
12768
 
# As a special exception to the GNU General Public License, if you
12769
 
# distribute this file as part of a program that contains a
12770
 
# configuration script generated by Autoconf, you may include it under
12771
 
# the same distribution terms that you use for the rest of that program.
12772
 
 
12773
 
# A sed program that does not truncate output.
12774
 
SED=$lt_SED
12775
 
 
12776
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12777
 
Xsed="$SED -e 1s/^X//"
12778
 
 
12779
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
12780
 
# if CDPATH is set.
12781
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12782
 
 
12783
 
# The names of the tagged configurations supported by this script.
12784
 
available_tags=
12785
 
 
12786
 
# ### BEGIN LIBTOOL CONFIG
12787
 
 
12788
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12789
 
 
12790
 
# Shell to use when invoking shell scripts.
12791
 
SHELL=$lt_SHELL
12792
 
 
12793
 
# Whether or not to build shared libraries.
12794
 
build_libtool_libs=$enable_shared
12795
 
 
12796
 
# Whether or not to build static libraries.
12797
 
build_old_libs=$enable_static
12798
 
 
12799
 
# Whether or not to add -lc for building shared libraries.
12800
 
build_libtool_need_lc=$archive_cmds_need_lc
12801
 
 
12802
 
# Whether or not to disallow shared libs when runtime libs are static
12803
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12804
 
 
12805
 
# Whether or not to optimize for fast installation.
12806
 
fast_install=$enable_fast_install
12807
 
 
12808
 
# The host system.
12809
 
host_alias=$host_alias
12810
 
host=$host
12811
 
host_os=$host_os
12812
 
 
12813
 
# The build system.
12814
 
build_alias=$build_alias
12815
 
build=$build
12816
 
build_os=$build_os
12817
 
 
12818
 
# An echo program that does not interpret backslashes.
12819
 
echo=$lt_echo
12820
 
 
12821
 
# The archiver.
12822
 
AR=$lt_AR
12823
 
AR_FLAGS=$lt_AR_FLAGS
12824
 
 
12825
 
# A C compiler.
12826
 
LTCC=$lt_LTCC
12827
 
 
12828
 
# LTCC compiler flags.
12829
 
LTCFLAGS=$lt_LTCFLAGS
12830
 
 
12831
 
# A language-specific compiler.
12832
 
CC=$lt_compiler
12833
 
 
12834
 
# Is the compiler the GNU C compiler?
12835
 
with_gcc=$GCC
12836
 
 
12837
 
# An ERE matcher.
12838
 
EGREP=$lt_EGREP
12839
 
 
12840
 
# The linker used to build libraries.
12841
 
LD=$lt_LD
12842
 
 
12843
 
# Whether we need hard or soft links.
12844
 
LN_S=$lt_LN_S
12845
 
 
12846
 
# A BSD-compatible nm program.
12847
 
NM=$lt_NM
12848
 
 
12849
 
# A symbol stripping program
12850
 
STRIP=$lt_STRIP
12851
 
 
12852
 
# Used to examine libraries when file_magic_cmd begins "file"
12853
 
MAGIC_CMD=$MAGIC_CMD
12854
 
 
12855
 
# Used on cygwin: DLL creation program.
12856
 
DLLTOOL="$DLLTOOL"
12857
 
 
12858
 
# Used on cygwin: object dumper.
12859
 
OBJDUMP="$OBJDUMP"
12860
 
 
12861
 
# Used on cygwin: assembler.
12862
 
AS="$AS"
12863
 
 
12864
 
# The name of the directory that contains temporary libtool files.
12865
 
objdir=$objdir
12866
 
 
12867
 
# How to create reloadable object files.
12868
 
reload_flag=$lt_reload_flag
12869
 
reload_cmds=$lt_reload_cmds
12870
 
 
12871
 
# How to pass a linker flag through the compiler.
12872
 
wl=$lt_lt_prog_compiler_wl
12873
 
 
12874
 
# Object file suffix (normally "o").
12875
 
objext="$ac_objext"
12876
 
 
12877
 
# Old archive suffix (normally "a").
12878
 
libext="$libext"
12879
 
 
12880
 
# Shared library suffix (normally ".so").
12881
 
shrext_cmds='$shrext_cmds'
12882
 
 
12883
 
# Executable file suffix (normally "").
12884
 
exeext="$exeext"
12885
 
 
12886
 
# Additional compiler flags for building library objects.
12887
 
pic_flag=$lt_lt_prog_compiler_pic
12888
 
pic_mode=$pic_mode
12889
 
 
12890
 
# What is the maximum length of a command?
12891
 
max_cmd_len=$lt_cv_sys_max_cmd_len
12892
 
 
12893
 
# Does compiler simultaneously support -c and -o options?
12894
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12895
 
 
12896
 
# Must we lock files when doing compilation?
12897
 
need_locks=$lt_need_locks
12898
 
 
12899
 
# Do we need the lib prefix for modules?
12900
 
need_lib_prefix=$need_lib_prefix
12901
 
 
12902
 
# Do we need a version for libraries?
12903
 
need_version=$need_version
12904
 
 
12905
 
# Whether dlopen is supported.
12906
 
dlopen_support=$enable_dlopen
12907
 
 
12908
 
# Whether dlopen of programs is supported.
12909
 
dlopen_self=$enable_dlopen_self
12910
 
 
12911
 
# Whether dlopen of statically linked programs is supported.
12912
 
dlopen_self_static=$enable_dlopen_self_static
12913
 
 
12914
 
# Compiler flag to prevent dynamic linking.
12915
 
link_static_flag=$lt_lt_prog_compiler_static
12916
 
 
12917
 
# Compiler flag to turn off builtin functions.
12918
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12919
 
 
12920
 
# Compiler flag to allow reflexive dlopens.
12921
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12922
 
 
12923
 
# Compiler flag to generate shared objects directly from archives.
12924
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
12925
 
 
12926
 
# Compiler flag to generate thread-safe objects.
12927
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
12928
 
 
12929
 
# Library versioning type.
12930
 
version_type=$version_type
12931
 
 
12932
 
# Format of library name prefix.
12933
 
libname_spec=$lt_libname_spec
12934
 
 
12935
 
# List of archive names.  First name is the real one, the rest are links.
12936
 
# The last name is the one that the linker finds with -lNAME.
12937
 
library_names_spec=$lt_library_names_spec
12938
 
 
12939
 
# The coded name of the library, if different from the real name.
12940
 
soname_spec=$lt_soname_spec
12941
 
 
12942
 
# Commands used to build and install an old-style archive.
12943
 
RANLIB=$lt_RANLIB
12944
 
old_archive_cmds=$lt_old_archive_cmds
12945
 
old_postinstall_cmds=$lt_old_postinstall_cmds
12946
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
12947
 
 
12948
 
# Create an old-style archive from a shared archive.
12949
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12950
 
 
12951
 
# Create a temporary old-style archive to link instead of a shared archive.
12952
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12953
 
 
12954
 
# Commands used to build and install a shared archive.
12955
 
archive_cmds=$lt_archive_cmds
12956
 
archive_expsym_cmds=$lt_archive_expsym_cmds
12957
 
postinstall_cmds=$lt_postinstall_cmds
12958
 
postuninstall_cmds=$lt_postuninstall_cmds
12959
 
 
12960
 
# Commands used to build a loadable module (assumed same as above if empty)
12961
 
module_cmds=$lt_module_cmds
12962
 
module_expsym_cmds=$lt_module_expsym_cmds
12963
 
 
12964
 
# Commands to strip libraries.
12965
 
old_striplib=$lt_old_striplib
12966
 
striplib=$lt_striplib
12967
 
 
12968
 
# Dependencies to place before the objects being linked to create a
12969
 
# shared library.
12970
 
predep_objects=$lt_predep_objects
12971
 
 
12972
 
# Dependencies to place after the objects being linked to create a
12973
 
# shared library.
12974
 
postdep_objects=$lt_postdep_objects
12975
 
 
12976
 
# Dependencies to place before the objects being linked to create a
12977
 
# shared library.
12978
 
predeps=$lt_predeps
12979
 
 
12980
 
# Dependencies to place after the objects being linked to create a
12981
 
# shared library.
12982
 
postdeps=$lt_postdeps
12983
 
 
12984
 
# The directories searched by this compiler when creating a shared
12985
 
# library
12986
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
12987
 
 
12988
 
# The library search path used internally by the compiler when linking
12989
 
# a shared library.
12990
 
compiler_lib_search_path=$lt_compiler_lib_search_path
12991
 
 
12992
 
# Method to check whether dependent libraries are shared objects.
12993
 
deplibs_check_method=$lt_deplibs_check_method
12994
 
 
12995
 
# Command to use when deplibs_check_method == file_magic.
12996
 
file_magic_cmd=$lt_file_magic_cmd
12997
 
 
12998
 
# Flag that allows shared libraries with undefined symbols to be built.
12999
 
allow_undefined_flag=$lt_allow_undefined_flag
13000
 
 
13001
 
# Flag that forces no undefined symbols.
13002
 
no_undefined_flag=$lt_no_undefined_flag
13003
 
 
13004
 
# Commands used to finish a libtool library installation in a directory.
13005
 
finish_cmds=$lt_finish_cmds
13006
 
 
13007
 
# Same as above, but a single script fragment to be evaled but not shown.
13008
 
finish_eval=$lt_finish_eval
13009
 
 
13010
 
# Take the output of nm and produce a listing of raw symbols and C names.
13011
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13012
 
 
13013
 
# Transform the output of nm in a proper C declaration
13014
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13015
 
 
13016
 
# Transform the output of nm in a C name address pair
13017
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13018
 
 
13019
 
# This is the shared library runtime path variable.
13020
 
runpath_var=$runpath_var
13021
 
 
13022
 
# This is the shared library path variable.
13023
 
shlibpath_var=$shlibpath_var
13024
 
 
13025
 
# Is shlibpath searched before the hard-coded library search path?
13026
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13027
 
 
13028
 
# How to hardcode a shared library path into an executable.
13029
 
hardcode_action=$hardcode_action
13030
 
 
13031
 
# Whether we should hardcode library paths into libraries.
13032
 
hardcode_into_libs=$hardcode_into_libs
13033
 
 
13034
 
# Flag to hardcode \$libdir into a binary during linking.
13035
 
# This must work even if \$libdir does not exist.
13036
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13037
 
 
13038
 
# If ld is used when linking, flag to hardcode \$libdir into
13039
 
# a binary during linking. This must work even if \$libdir does
13040
 
# not exist.
13041
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13042
 
 
13043
 
# Whether we need a single -rpath flag with a separated argument.
13044
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
13045
 
 
13046
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13047
 
# resulting binary.
13048
 
hardcode_direct=$hardcode_direct
13049
 
 
13050
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13051
 
# resulting binary.
13052
 
hardcode_minus_L=$hardcode_minus_L
13053
 
 
13054
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13055
 
# the resulting binary.
13056
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
13057
 
 
13058
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13059
 
# and all subsequent libraries and executables linked against it.
13060
 
hardcode_automatic=$hardcode_automatic
13061
 
 
13062
 
# Variables whose values should be saved in libtool wrapper scripts and
13063
 
# restored at relink time.
13064
 
variables_saved_for_relink="$variables_saved_for_relink"
13065
 
 
13066
 
# Whether libtool must link a program against all its dependency libraries.
13067
 
link_all_deplibs=$link_all_deplibs
13068
 
 
13069
 
# Compile-time system search path for libraries
13070
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13071
 
 
13072
 
# Run-time system search path for libraries
13073
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13074
 
 
13075
 
# Fix the shell variable \$srcfile for the compiler.
13076
 
fix_srcfile_path=$lt_fix_srcfile_path
13077
 
 
13078
 
# Set to yes if exported symbols are required.
13079
 
always_export_symbols=$always_export_symbols
13080
 
 
13081
 
# The commands to list exported symbols.
13082
 
export_symbols_cmds=$lt_export_symbols_cmds
13083
 
 
13084
 
# The commands to extract the exported symbol list from a shared archive.
13085
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13086
 
 
13087
 
# Symbols that should not be listed in the preloaded symbols.
13088
 
exclude_expsyms=$lt_exclude_expsyms
13089
 
 
13090
 
# Symbols that must always be exported.
13091
 
include_expsyms=$lt_include_expsyms
13092
 
 
13093
 
# ### END LIBTOOL CONFIG
13094
 
 
13095
 
__EOF__
13096
 
 
13097
 
 
13098
 
  case $host_os in
13099
 
  aix3*)
13100
 
    cat <<\EOF >> "$cfgfile"
13101
 
 
13102
 
# AIX sometimes has problems with the GCC collect2 program.  For some
13103
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
13104
 
# vanish in a puff of smoke.
13105
 
if test "X${COLLECT_NAMES+set}" != Xset; then
13106
 
  COLLECT_NAMES=
13107
 
  export COLLECT_NAMES
13108
 
fi
13109
 
EOF
13110
 
    ;;
13111
 
  esac
13112
 
 
13113
 
  # We use sed instead of cat because bash on DJGPP gets confused if
13114
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13115
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
13116
 
  # is reportedly fixed, but why not run on old versions too?
13117
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
13118
 
 
13119
 
  mv -f "$cfgfile" "$ofile" || \
13120
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13121
 
  chmod +x "$ofile"
13122
 
 
13123
 
else
13124
 
  # If there is no Makefile yet, we rely on a make rule to execute
13125
 
  # `config.status --recheck' to rerun these tests and create the
13126
 
  # libtool script then.
13127
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13128
 
  if test -f "$ltmain_in"; then
13129
 
    test -f Makefile && make "$ltmain"
13130
 
  fi
13131
 
fi
13132
 
 
13133
 
 
 
14522
    if test -n "$RANLIB"; then
 
14523
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
14524
      postinstall_cmds='$RANLIB $lib'
 
14525
    fi
 
14526
    ;;
 
14527
 
 
14528
  aix[4-9]*)
 
14529
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
14530
      test "$enable_shared" = yes && enable_static=no
 
14531
    fi
 
14532
    ;;
 
14533
  esac
 
14534
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14535
$as_echo "$enable_shared" >&6; }
 
14536
 
 
14537
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14538
$as_echo_n "checking whether to build static libraries... " >&6; }
 
14539
  # Make sure either enable_shared or enable_static is yes.
 
14540
  test "$enable_shared" = yes || enable_static=yes
 
14541
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
14542
$as_echo "$enable_static" >&6; }
 
14543
 
 
14544
 
 
14545
 
 
14546
 
 
14547
fi
13134
14548
ac_ext=c
13135
14549
ac_cpp='$CPP $CPPFLAGS'
13136
14550
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13140
14554
CC="$lt_save_CC"
13141
14555
 
13142
14556
 
13143
 
# Check whether --with-tags was given.
13144
 
if test "${with_tags+set}" = set; then
13145
 
  withval=$with_tags; tagnames="$withval"
13146
 
fi
13147
 
 
13148
 
 
13149
 
if test -f "$ltmain" && test -n "$tagnames"; then
13150
 
  if test ! -f "${ofile}"; then
13151
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
13152
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
13153
 
  fi
13154
 
 
13155
 
  if test -z "$LTCC"; then
13156
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
13157
 
    if test -z "$LTCC"; then
13158
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
13159
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
13160
 
    else
13161
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
13162
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
13163
 
    fi
13164
 
  fi
13165
 
  if test -z "$LTCFLAGS"; then
13166
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
13167
 
  fi
13168
 
 
13169
 
  # Extract list of available tagged configurations in $ofile.
13170
 
  # Note that this assumes the entire list is on one line.
13171
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
13172
 
 
13173
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13174
 
  for tagname in $tagnames; do
13175
 
    IFS="$lt_save_ifs"
13176
 
    # Check whether tagname contains only valid characters
13177
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
13178
 
    "") ;;
13179
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
13180
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
13181
 
   { (exit 1); exit 1; }; }
13182
 
        ;;
13183
 
    esac
13184
 
 
13185
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
13186
 
    then
13187
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
13188
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
13189
 
   { (exit 1); exit 1; }; }
13190
 
    fi
13191
 
 
13192
 
    # Update the list of available tags.
13193
 
    if test -n "$tagname"; then
13194
 
      echo appending configuration tag \"$tagname\" to $ofile
13195
 
 
13196
 
      case $tagname in
13197
 
      CXX)
13198
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13199
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13200
 
            (test "X$CXX" != "Xg++"))) ; then
13201
 
          ac_ext=cpp
 
14557
ac_ext=cpp
13202
14558
ac_cpp='$CXXCPP $CPPFLAGS'
13203
14559
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13204
14560
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13205
14561
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13206
14562
 
13207
 
 
13208
 
 
13209
 
 
13210
14563
archive_cmds_need_lc_CXX=no
13211
14564
allow_undefined_flag_CXX=
13212
14565
always_export_symbols_CXX=no
13213
14566
archive_expsym_cmds_CXX=
 
14567
compiler_needs_object_CXX=no
13214
14568
export_dynamic_flag_spec_CXX=
13215
14569
hardcode_direct_CXX=no
 
14570
hardcode_direct_absolute_CXX=no
13216
14571
hardcode_libdir_flag_spec_CXX=
13217
14572
hardcode_libdir_flag_spec_ld_CXX=
13218
14573
hardcode_libdir_separator_CXX=
13219
14574
hardcode_minus_L_CXX=no
13220
14575
hardcode_shlibpath_var_CXX=unsupported
13221
14576
hardcode_automatic_CXX=no
 
14577
inherit_rpath_CXX=no
13222
14578
module_cmds_CXX=
13223
14579
module_expsym_cmds_CXX=
13224
14580
link_all_deplibs_CXX=unknown
13227
14583
whole_archive_flag_spec_CXX=
13228
14584
enable_shared_with_static_runtimes_CXX=no
13229
14585
 
13230
 
# Dependencies to place before and after the object being linked:
13231
 
predep_objects_CXX=
13232
 
postdep_objects_CXX=
13233
 
predeps_CXX=
13234
 
postdeps_CXX=
13235
 
compiler_lib_search_path_CXX=
13236
 
compiler_lib_search_dirs_CXX=
13237
 
 
13238
14586
# Source file extension for C++ test sources.
13239
14587
ac_ext=cpp
13240
14588
 
13242
14590
objext=o
13243
14591
objext_CXX=$objext
13244
14592
 
13245
 
# Code to be used in simple compile tests
13246
 
lt_simple_compile_test_code="int some_variable = 0;"
13247
 
 
13248
 
# Code to be used in simple link tests
13249
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13250
 
 
13251
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
14593
# No sense in running all these tests if we already determined that
 
14594
# the CXX compiler isn't working.  Some variables (like enable_shared)
 
14595
# are currently assumed to apply to all compilers on this platform,
 
14596
# and will be corrupted by setting them based on a non-working compiler.
 
14597
if test "$_lt_caught_CXX_error" != yes; then
 
14598
  # Code to be used in simple compile tests
 
14599
  lt_simple_compile_test_code="int some_variable = 0;"
 
14600
 
 
14601
  # Code to be used in simple link tests
 
14602
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 
14603
 
 
14604
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
14605
 
 
14606
 
 
14607
 
 
14608
 
 
14609
 
13252
14610
 
13253
14611
# If no C compiler was specified, use CC.
13254
14612
LTCC=${LTCC-"$CC"}
13260
14618
compiler=$CC
13261
14619
 
13262
14620
 
13263
 
# save warnings/boilerplate of simple test code
13264
 
ac_outfile=conftest.$ac_objext
 
14621
  # save warnings/boilerplate of simple test code
 
14622
  ac_outfile=conftest.$ac_objext
13265
14623
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13266
14624
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13267
14625
_lt_compiler_boilerplate=`cat conftest.err`
13268
 
$rm conftest*
 
14626
$RM conftest*
13269
14627
 
13270
 
ac_outfile=conftest.$ac_objext
 
14628
  ac_outfile=conftest.$ac_objext
13271
14629
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13272
14630
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13273
14631
_lt_linker_boilerplate=`cat conftest.err`
13274
 
$rm -r conftest*
13275
 
 
13276
 
 
13277
 
# Allow CC to be a program name with arguments.
13278
 
lt_save_CC=$CC
13279
 
lt_save_LD=$LD
13280
 
lt_save_GCC=$GCC
13281
 
GCC=$GXX
13282
 
lt_save_with_gnu_ld=$with_gnu_ld
13283
 
lt_save_path_LD=$lt_cv_path_LD
13284
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13285
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13286
 
else
13287
 
  $as_unset lt_cv_prog_gnu_ld
13288
 
fi
13289
 
if test -n "${lt_cv_path_LDCXX+set}"; then
13290
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
13291
 
else
13292
 
  $as_unset lt_cv_path_LD
13293
 
fi
13294
 
test -z "${LDCXX+set}" || LD=$LDCXX
13295
 
CC=${CXX-"c++"}
13296
 
compiler=$CC
13297
 
compiler_CXX=$CC
13298
 
for cc_temp in $compiler""; do
 
14632
$RM -r conftest*
 
14633
 
 
14634
 
 
14635
  # Allow CC to be a program name with arguments.
 
14636
  lt_save_CC=$CC
 
14637
  lt_save_LD=$LD
 
14638
  lt_save_GCC=$GCC
 
14639
  GCC=$GXX
 
14640
  lt_save_with_gnu_ld=$with_gnu_ld
 
14641
  lt_save_path_LD=$lt_cv_path_LD
 
14642
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
14643
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
14644
  else
 
14645
    $as_unset lt_cv_prog_gnu_ld
 
14646
  fi
 
14647
  if test -n "${lt_cv_path_LDCXX+set}"; then
 
14648
    lt_cv_path_LD=$lt_cv_path_LDCXX
 
14649
  else
 
14650
    $as_unset lt_cv_path_LD
 
14651
  fi
 
14652
  test -z "${LDCXX+set}" || LD=$LDCXX
 
14653
  CC=${CXX-"c++"}
 
14654
  compiler=$CC
 
14655
  compiler_CXX=$CC
 
14656
  for cc_temp in $compiler""; do
13299
14657
  case $cc_temp in
13300
14658
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13301
14659
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13303
14661
    *) break;;
13304
14662
  esac
13305
14663
done
13306
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13307
 
 
13308
 
 
13309
 
# We don't want -fno-exception wen compiling C++ code, so set the
13310
 
# no_builtin_flag separately
13311
 
if test "$GXX" = yes; then
13312
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13313
 
else
13314
 
  lt_prog_compiler_no_builtin_flag_CXX=
13315
 
fi
13316
 
 
13317
 
if test "$GXX" = yes; then
13318
 
  # Set up default GNU C++ configuration
 
14664
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
14665
 
 
14666
 
 
14667
  if test -n "$compiler"; then
 
14668
    # We don't want -fno-exception when compiling C++ code, so set the
 
14669
    # no_builtin_flag separately
 
14670
    if test "$GXX" = yes; then
 
14671
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 
14672
    else
 
14673
      lt_prog_compiler_no_builtin_flag_CXX=
 
14674
    fi
 
14675
 
 
14676
    if test "$GXX" = yes; then
 
14677
      # Set up default GNU C++ configuration
 
14678
 
13319
14679
 
13320
14680
 
13321
14681
# Check whether --with-gnu-ld was given.
13328
14688
ac_prog=ld
13329
14689
if test "$GCC" = yes; then
13330
14690
  # Check if gcc -print-prog-name=ld gives a path.
13331
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13332
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
14691
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
14692
$as_echo_n "checking for ld used by $CC... " >&6; }
13333
14693
  case $host in
13334
14694
  *-*-mingw*)
13335
14695
    # gcc leaves a trailing carriage return which upsets mingw
13342
14702
    [\\/]* | ?:[\\/]*)
13343
14703
      re_direlt='/[^/][^/]*/\.\./'
13344
14704
      # Canonicalize the pathname of ld
13345
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
13346
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13347
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
14705
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
14706
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
14707
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13348
14708
      done
13349
14709
      test -z "$LD" && LD="$ac_prog"
13350
14710
      ;;
13358
14718
    ;;
13359
14719
  esac
13360
14720
elif test "$with_gnu_ld" = yes; then
13361
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
13362
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
14721
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
14722
$as_echo_n "checking for GNU ld... " >&6; }
13363
14723
else
13364
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13365
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
14724
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
14725
$as_echo_n "checking for non-GNU ld... " >&6; }
13366
14726
fi
13367
14727
if test "${lt_cv_path_LD+set}" = set; then
13368
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14728
  $as_echo_n "(cached) " >&6
13369
14729
else
13370
14730
  if test -z "$LD"; then
13371
14731
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13395
14755
 
13396
14756
LD="$lt_cv_path_LD"
13397
14757
if test -n "$LD"; then
13398
 
  { echo "$as_me:$LINENO: result: $LD" >&5
13399
 
echo "${ECHO_T}$LD" >&6; }
 
14758
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
14759
$as_echo "$LD" >&6; }
13400
14760
else
13401
 
  { echo "$as_me:$LINENO: result: no" >&5
13402
 
echo "${ECHO_T}no" >&6; }
 
14761
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14762
$as_echo "no" >&6; }
13403
14763
fi
13404
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13405
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
14764
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
14765
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13406
14766
   { (exit 1); exit 1; }; }
13407
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13408
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
14767
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
14768
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13409
14769
if test "${lt_cv_prog_gnu_ld+set}" = set; then
13410
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14770
  $as_echo_n "(cached) " >&6
13411
14771
else
13412
14772
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13413
14773
case `$LD -v 2>&1 </dev/null` in
13419
14779
  ;;
13420
14780
esac
13421
14781
fi
13422
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13423
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
14782
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
14783
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13424
14784
with_gnu_ld=$lt_cv_prog_gnu_ld
13425
14785
 
13426
14786
 
13427
14787
 
13428
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
13429
 
  # archiving commands below assume that GNU ld is being used.
13430
 
  if test "$with_gnu_ld" = yes; then
13431
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13432
 
    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'
13433
 
 
13434
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13435
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13436
 
 
13437
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
13438
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13439
 
    #     investigate it a little bit more. (MM)
13440
 
    wlarc='${wl}'
13441
 
 
13442
 
    # ancient GNU ld didn't support --whole-archive et. al.
13443
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
13444
 
        grep 'no-whole-archive' > /dev/null; then
13445
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13446
 
    else
13447
 
      whole_archive_flag_spec_CXX=
13448
 
    fi
13449
 
  else
13450
 
    with_gnu_ld=no
13451
 
    wlarc=
13452
 
 
13453
 
    # A generic and very simple default shared library creation
13454
 
    # command for GNU C++ for the case where it uses the native
13455
 
    # linker, instead of GNU ld.  If possible, this setting should
13456
 
    # overridden to take advantage of the native linker features on
13457
 
    # the platform it is being used on.
13458
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13459
 
  fi
13460
 
 
13461
 
  # Commands to make compiler produce verbose output that lists
13462
 
  # what "hidden" libraries, object files and flags are used when
13463
 
  # linking a shared library.
13464
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13465
 
 
13466
 
else
13467
 
  GXX=no
13468
 
  with_gnu_ld=no
13469
 
  wlarc=
13470
 
fi
13471
 
 
13472
 
# PORTME: fill in a description of your system's C++ link characteristics
13473
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13474
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13475
 
ld_shlibs_CXX=yes
13476
 
case $host_os in
13477
 
  aix3*)
13478
 
    # FIXME: insert proper C++ library support
13479
 
    ld_shlibs_CXX=no
13480
 
    ;;
13481
 
  aix[4-9]*)
13482
 
    if test "$host_cpu" = ia64; then
13483
 
      # On IA64, the linker does run time linking by default, so we don't
13484
 
      # have to do anything special.
13485
 
      aix_use_runtimelinking=no
13486
 
      exp_sym_flag='-Bexport'
13487
 
      no_entry_flag=""
13488
 
    else
13489
 
      aix_use_runtimelinking=no
13490
 
 
13491
 
      # Test if we are trying to use run time linking or normal
13492
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13493
 
      # need to do runtime linking.
13494
 
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13495
 
        for ld_flag in $LDFLAGS; do
13496
 
          case $ld_flag in
13497
 
          *-brtl*)
13498
 
            aix_use_runtimelinking=yes
13499
 
            break
13500
 
            ;;
13501
 
          esac
13502
 
        done
13503
 
        ;;
13504
 
      esac
13505
 
 
13506
 
      exp_sym_flag='-bexport'
13507
 
      no_entry_flag='-bnoentry'
13508
 
    fi
13509
 
 
13510
 
    # When large executables or shared objects are built, AIX ld can
13511
 
    # have problems creating the table of contents.  If linking a library
13512
 
    # or program results in "error TOC overflow" add -mminimal-toc to
13513
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13514
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13515
 
 
13516
 
    archive_cmds_CXX=''
13517
 
    hardcode_direct_CXX=yes
13518
 
    hardcode_libdir_separator_CXX=':'
13519
 
    link_all_deplibs_CXX=yes
13520
 
 
13521
 
    if test "$GXX" = yes; then
13522
 
      case $host_os in aix4.[012]|aix4.[012].*)
13523
 
      # We only want to do this on AIX 4.2 and lower, the check
13524
 
      # below for broken collect2 doesn't work under 4.3+
13525
 
        collect2name=`${CC} -print-prog-name=collect2`
13526
 
        if test -f "$collect2name" && \
13527
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
13528
 
        then
13529
 
          # We have reworked collect2
13530
 
          :
13531
 
        else
13532
 
          # We have old collect2
13533
 
          hardcode_direct_CXX=unsupported
13534
 
          # It fails to find uninstalled libraries when the uninstalled
13535
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
13536
 
          # to unsupported forces relinking
13537
 
          hardcode_minus_L_CXX=yes
13538
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
13539
 
          hardcode_libdir_separator_CXX=
13540
 
        fi
13541
 
        ;;
13542
 
      esac
13543
 
      shared_flag='-shared'
13544
 
      if test "$aix_use_runtimelinking" = yes; then
13545
 
        shared_flag="$shared_flag "'${wl}-G'
13546
 
      fi
13547
 
    else
13548
 
      # not using gcc
13549
 
      if test "$host_cpu" = ia64; then
13550
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13551
 
        # chokes on -Wl,-G. The following line is correct:
13552
 
        shared_flag='-G'
13553
 
      else
13554
 
        if test "$aix_use_runtimelinking" = yes; then
13555
 
          shared_flag='${wl}-G'
13556
 
        else
13557
 
          shared_flag='${wl}-bM:SRE'
13558
 
        fi
13559
 
      fi
13560
 
    fi
13561
 
 
13562
 
    # It seems that -bexpall does not export symbols beginning with
13563
 
    # underscore (_), so it is better to generate a list of symbols to export.
13564
 
    always_export_symbols_CXX=yes
13565
 
    if test "$aix_use_runtimelinking" = yes; then
13566
 
      # Warning - without using the other runtime loading flags (-brtl),
13567
 
      # -berok will link without error, but may produce a broken library.
13568
 
      allow_undefined_flag_CXX='-berok'
13569
 
      # Determine the default libpath from the value encoded in an empty executable.
13570
 
      cat >conftest.$ac_ext <<_ACEOF
13571
 
/* confdefs.h.  */
13572
 
_ACEOF
13573
 
cat confdefs.h >>conftest.$ac_ext
13574
 
cat >>conftest.$ac_ext <<_ACEOF
13575
 
/* end confdefs.h.  */
13576
 
 
13577
 
int
13578
 
main ()
13579
 
{
13580
 
 
13581
 
  ;
13582
 
  return 0;
13583
 
}
13584
 
_ACEOF
13585
 
rm -f conftest.$ac_objext conftest$ac_exeext
13586
 
if { (ac_try="$ac_link"
13587
 
case "(($ac_try" in
13588
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13589
 
  *) ac_try_echo=$ac_try;;
13590
 
esac
13591
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13592
 
  (eval "$ac_link") 2>conftest.er1
13593
 
  ac_status=$?
13594
 
  grep -v '^ *+' conftest.er1 >conftest.err
13595
 
  rm -f conftest.er1
13596
 
  cat conftest.err >&5
13597
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13598
 
  (exit $ac_status); } && {
13599
 
         test -z "$ac_cxx_werror_flag" ||
13600
 
         test ! -s conftest.err
13601
 
       } && test -s conftest$ac_exeext &&
13602
 
       $as_test_x conftest$ac_exeext; then
13603
 
 
13604
 
lt_aix_libpath_sed='
13605
 
    /Import File Strings/,/^$/ {
13606
 
        /^0/ {
13607
 
            s/^0  *\(.*\)$/\1/
13608
 
            p
13609
 
        }
13610
 
    }'
13611
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13612
 
# Check for a 64-bit object if we didn't find anything.
13613
 
if test -z "$aix_libpath"; then
13614
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13615
 
fi
13616
 
else
13617
 
  echo "$as_me: failed program was:" >&5
13618
 
sed 's/^/| /' conftest.$ac_ext >&5
13619
 
 
13620
 
 
13621
 
fi
13622
 
 
13623
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13624
 
      conftest$ac_exeext conftest.$ac_ext
13625
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13626
 
 
13627
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13628
 
 
13629
 
      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"
13630
 
     else
13631
 
      if test "$host_cpu" = ia64; then
13632
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13633
 
        allow_undefined_flag_CXX="-z nodefs"
13634
 
        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"
13635
 
      else
13636
 
        # Determine the default libpath from the value encoded in an empty executable.
13637
 
        cat >conftest.$ac_ext <<_ACEOF
13638
 
/* confdefs.h.  */
13639
 
_ACEOF
13640
 
cat confdefs.h >>conftest.$ac_ext
13641
 
cat >>conftest.$ac_ext <<_ACEOF
13642
 
/* end confdefs.h.  */
13643
 
 
13644
 
int
13645
 
main ()
13646
 
{
13647
 
 
13648
 
  ;
13649
 
  return 0;
13650
 
}
13651
 
_ACEOF
13652
 
rm -f conftest.$ac_objext conftest$ac_exeext
13653
 
if { (ac_try="$ac_link"
13654
 
case "(($ac_try" in
13655
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13656
 
  *) ac_try_echo=$ac_try;;
13657
 
esac
13658
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13659
 
  (eval "$ac_link") 2>conftest.er1
13660
 
  ac_status=$?
13661
 
  grep -v '^ *+' conftest.er1 >conftest.err
13662
 
  rm -f conftest.er1
13663
 
  cat conftest.err >&5
13664
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665
 
  (exit $ac_status); } && {
13666
 
         test -z "$ac_cxx_werror_flag" ||
13667
 
         test ! -s conftest.err
13668
 
       } && test -s conftest$ac_exeext &&
13669
 
       $as_test_x conftest$ac_exeext; then
13670
 
 
13671
 
lt_aix_libpath_sed='
13672
 
    /Import File Strings/,/^$/ {
13673
 
        /^0/ {
13674
 
            s/^0  *\(.*\)$/\1/
13675
 
            p
13676
 
        }
13677
 
    }'
13678
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13679
 
# Check for a 64-bit object if we didn't find anything.
13680
 
if test -z "$aix_libpath"; then
13681
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13682
 
fi
13683
 
else
13684
 
  echo "$as_me: failed program was:" >&5
13685
 
sed 's/^/| /' conftest.$ac_ext >&5
13686
 
 
13687
 
 
13688
 
fi
13689
 
 
13690
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13691
 
      conftest$ac_exeext conftest.$ac_ext
13692
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13693
 
 
13694
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13695
 
        # Warning - without using the other run time loading flags,
13696
 
        # -berok will link without error, but may produce a broken library.
13697
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
13698
 
        allow_undefined_flag_CXX=' ${wl}-berok'
13699
 
        # Exported symbols can be pulled into shared objects from archives
13700
 
        whole_archive_flag_spec_CXX='$convenience'
13701
 
        archive_cmds_need_lc_CXX=yes
13702
 
        # This is similar to how AIX traditionally builds its shared libraries.
13703
 
        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'
13704
 
      fi
13705
 
    fi
13706
 
    ;;
13707
 
 
13708
 
  beos*)
13709
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13710
 
      allow_undefined_flag_CXX=unsupported
13711
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13712
 
      # support --undefined.  This deserves some investigation.  FIXME
13713
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13714
 
    else
13715
 
      ld_shlibs_CXX=no
13716
 
    fi
13717
 
    ;;
13718
 
 
13719
 
  chorus*)
13720
 
    case $cc_basename in
13721
 
      *)
13722
 
        # FIXME: insert proper C++ library support
13723
 
        ld_shlibs_CXX=no
13724
 
        ;;
13725
 
    esac
13726
 
    ;;
13727
 
 
13728
 
  cygwin* | mingw* | pw32*)
13729
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13730
 
    # as there is no search path for DLLs.
13731
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
13732
 
    allow_undefined_flag_CXX=unsupported
13733
 
    always_export_symbols_CXX=no
13734
 
    enable_shared_with_static_runtimes_CXX=yes
13735
 
 
13736
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13737
 
      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'
13738
 
      # If the export-symbols file already is a .def file (1st line
13739
 
      # is EXPORTS), use it as is; otherwise, prepend...
13740
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13741
 
        cp $export_symbols $output_objdir/$soname.def;
13742
 
      else
13743
 
        echo EXPORTS > $output_objdir/$soname.def;
13744
 
        cat $export_symbols >> $output_objdir/$soname.def;
13745
 
      fi~
13746
 
      $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'
13747
 
    else
13748
 
      ld_shlibs_CXX=no
13749
 
    fi
13750
 
  ;;
13751
 
      darwin* | rhapsody*)
13752
 
      archive_cmds_need_lc_CXX=no
13753
 
      hardcode_direct_CXX=no
13754
 
      hardcode_automatic_CXX=yes
13755
 
      hardcode_shlibpath_var_CXX=unsupported
13756
 
      whole_archive_flag_spec_CXX=''
13757
 
      link_all_deplibs_CXX=yes
13758
 
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13759
 
      if test "$GXX" = yes ; then
13760
 
      output_verbose_link_cmd='echo'
13761
 
      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}"
13762
 
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13763
 
      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}"
13764
 
      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}"
13765
 
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13766
 
        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}"
13767
 
        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}"
13768
 
      fi
13769
 
      else
13770
 
      case $cc_basename in
13771
 
        xlc*)
13772
 
         output_verbose_link_cmd='echo'
13773
 
          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'
13774
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13775
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13776
 
          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}'
13777
 
          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}'
13778
 
          ;;
13779
 
       *)
13780
 
         ld_shlibs_CXX=no
13781
 
          ;;
13782
 
      esac
13783
 
      fi
13784
 
        ;;
13785
 
 
13786
 
  dgux*)
13787
 
    case $cc_basename in
13788
 
      ec++*)
13789
 
        # FIXME: insert proper C++ library support
13790
 
        ld_shlibs_CXX=no
13791
 
        ;;
13792
 
      ghcx*)
13793
 
        # Green Hills C++ Compiler
13794
 
        # FIXME: insert proper C++ library support
13795
 
        ld_shlibs_CXX=no
13796
 
        ;;
13797
 
      *)
13798
 
        # FIXME: insert proper C++ library support
13799
 
        ld_shlibs_CXX=no
13800
 
        ;;
13801
 
    esac
13802
 
    ;;
13803
 
  freebsd[12]*)
13804
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
13805
 
    ld_shlibs_CXX=no
13806
 
    ;;
13807
 
  freebsd-elf*)
13808
 
    archive_cmds_need_lc_CXX=no
13809
 
    ;;
13810
 
  freebsd* | dragonfly*)
13811
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13812
 
    # conventions
13813
 
    ld_shlibs_CXX=yes
13814
 
    ;;
13815
 
  gnu*)
13816
 
    ;;
13817
 
  hpux9*)
13818
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13819
 
    hardcode_libdir_separator_CXX=:
13820
 
    export_dynamic_flag_spec_CXX='${wl}-E'
13821
 
    hardcode_direct_CXX=yes
13822
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
13823
 
                                # but as the default
13824
 
                                # location of the library.
13825
 
 
13826
 
    case $cc_basename in
13827
 
    CC*)
13828
 
      # FIXME: insert proper C++ library support
13829
 
      ld_shlibs_CXX=no
13830
 
      ;;
13831
 
    aCC*)
13832
 
      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'
 
14788
 
 
14789
 
 
14790
 
 
14791
 
 
14792
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
14793
      # archiving commands below assume that GNU ld is being used.
 
14794
      if test "$with_gnu_ld" = yes; then
 
14795
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14796
        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'
 
14797
 
 
14798
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
14799
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
14800
 
 
14801
        # If archive_cmds runs LD, not CC, wlarc should be empty
 
14802
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
14803
        #     investigate it a little bit more. (MM)
 
14804
        wlarc='${wl}'
 
14805
 
 
14806
        # ancient GNU ld didn't support --whole-archive et. al.
 
14807
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
 
14808
          $GREP 'no-whole-archive' > /dev/null; then
 
14809
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
14810
        else
 
14811
          whole_archive_flag_spec_CXX=
 
14812
        fi
 
14813
      else
 
14814
        with_gnu_ld=no
 
14815
        wlarc=
 
14816
 
 
14817
        # A generic and very simple default shared library creation
 
14818
        # command for GNU C++ for the case where it uses the native
 
14819
        # linker, instead of GNU ld.  If possible, this setting should
 
14820
        # overridden to take advantage of the native linker features on
 
14821
        # the platform it is being used on.
 
14822
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
14823
      fi
 
14824
 
13833
14825
      # Commands to make compiler produce verbose output that lists
13834
14826
      # what "hidden" libraries, object files and flags are used when
13835
14827
      # linking a shared library.
13836
 
      #
13837
 
      # There doesn't appear to be a way to prevent this compiler from
13838
 
      # explicitly linking system object files so we need to strip them
13839
 
      # from the output so that they don't get included in the library
13840
 
      # dependencies.
13841
 
      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'
13842
 
      ;;
13843
 
    *)
13844
 
      if test "$GXX" = yes; then
13845
 
        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'
13846
 
      else
 
14828
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
14829
 
 
14830
    else
 
14831
      GXX=no
 
14832
      with_gnu_ld=no
 
14833
      wlarc=
 
14834
    fi
 
14835
 
 
14836
    # PORTME: fill in a description of your system's C++ link characteristics
 
14837
    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14838
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
14839
    ld_shlibs_CXX=yes
 
14840
    case $host_os in
 
14841
      aix3*)
13847
14842
        # FIXME: insert proper C++ library support
13848
14843
        ld_shlibs_CXX=no
13849
 
      fi
13850
 
      ;;
13851
 
    esac
13852
 
    ;;
13853
 
  hpux10*|hpux11*)
13854
 
    if test $with_gnu_ld = no; then
13855
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13856
 
      hardcode_libdir_separator_CXX=:
13857
 
 
13858
 
      case $host_cpu in
13859
 
      hppa*64*|ia64*) ;;
13860
 
      *)
 
14844
        ;;
 
14845
      aix[4-9]*)
 
14846
        if test "$host_cpu" = ia64; then
 
14847
          # On IA64, the linker does run time linking by default, so we don't
 
14848
          # have to do anything special.
 
14849
          aix_use_runtimelinking=no
 
14850
          exp_sym_flag='-Bexport'
 
14851
          no_entry_flag=""
 
14852
        else
 
14853
          aix_use_runtimelinking=no
 
14854
 
 
14855
          # Test if we are trying to use run time linking or normal
 
14856
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
14857
          # need to do runtime linking.
 
14858
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
14859
            for ld_flag in $LDFLAGS; do
 
14860
              case $ld_flag in
 
14861
              *-brtl*)
 
14862
                aix_use_runtimelinking=yes
 
14863
                break
 
14864
                ;;
 
14865
              esac
 
14866
            done
 
14867
            ;;
 
14868
          esac
 
14869
 
 
14870
          exp_sym_flag='-bexport'
 
14871
          no_entry_flag='-bnoentry'
 
14872
        fi
 
14873
 
 
14874
        # When large executables or shared objects are built, AIX ld can
 
14875
        # have problems creating the table of contents.  If linking a library
 
14876
        # or program results in "error TOC overflow" add -mminimal-toc to
 
14877
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
14878
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
14879
 
 
14880
        archive_cmds_CXX=''
 
14881
        hardcode_direct_CXX=yes
 
14882
        hardcode_direct_absolute_CXX=yes
 
14883
        hardcode_libdir_separator_CXX=':'
 
14884
        link_all_deplibs_CXX=yes
 
14885
        file_list_spec_CXX='${wl}-f,'
 
14886
 
 
14887
        if test "$GXX" = yes; then
 
14888
          case $host_os in aix4.[012]|aix4.[012].*)
 
14889
          # We only want to do this on AIX 4.2 and lower, the check
 
14890
          # below for broken collect2 doesn't work under 4.3+
 
14891
          collect2name=`${CC} -print-prog-name=collect2`
 
14892
          if test -f "$collect2name" &&
 
14893
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
14894
          then
 
14895
            # We have reworked collect2
 
14896
            :
 
14897
          else
 
14898
            # We have old collect2
 
14899
            hardcode_direct_CXX=unsupported
 
14900
            # It fails to find uninstalled libraries when the uninstalled
 
14901
            # path is not listed in the libpath.  Setting hardcode_minus_L
 
14902
            # to unsupported forces relinking
 
14903
            hardcode_minus_L_CXX=yes
 
14904
            hardcode_libdir_flag_spec_CXX='-L$libdir'
 
14905
            hardcode_libdir_separator_CXX=
 
14906
          fi
 
14907
          esac
 
14908
          shared_flag='-shared'
 
14909
          if test "$aix_use_runtimelinking" = yes; then
 
14910
            shared_flag="$shared_flag "'${wl}-G'
 
14911
          fi
 
14912
        else
 
14913
          # not using gcc
 
14914
          if test "$host_cpu" = ia64; then
 
14915
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
14916
          # chokes on -Wl,-G. The following line is correct:
 
14917
          shared_flag='-G'
 
14918
          else
 
14919
            if test "$aix_use_runtimelinking" = yes; then
 
14920
              shared_flag='${wl}-G'
 
14921
            else
 
14922
              shared_flag='${wl}-bM:SRE'
 
14923
            fi
 
14924
          fi
 
14925
        fi
 
14926
 
 
14927
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
 
14928
        # It seems that -bexpall does not export symbols beginning with
 
14929
        # underscore (_), so it is better to generate a list of symbols to
 
14930
        # export.
 
14931
        always_export_symbols_CXX=yes
 
14932
        if test "$aix_use_runtimelinking" = yes; then
 
14933
          # Warning - without using the other runtime loading flags (-brtl),
 
14934
          # -berok will link without error, but may produce a broken library.
 
14935
          allow_undefined_flag_CXX='-berok'
 
14936
          # Determine the default libpath from the value encoded in an empty
 
14937
          # executable.
 
14938
          cat >conftest.$ac_ext <<_ACEOF
 
14939
/* confdefs.h.  */
 
14940
_ACEOF
 
14941
cat confdefs.h >>conftest.$ac_ext
 
14942
cat >>conftest.$ac_ext <<_ACEOF
 
14943
/* end confdefs.h.  */
 
14944
 
 
14945
int
 
14946
main ()
 
14947
{
 
14948
 
 
14949
  ;
 
14950
  return 0;
 
14951
}
 
14952
_ACEOF
 
14953
rm -f conftest.$ac_objext conftest$ac_exeext
 
14954
if { (ac_try="$ac_link"
 
14955
case "(($ac_try" in
 
14956
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14957
  *) ac_try_echo=$ac_try;;
 
14958
esac
 
14959
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14960
$as_echo "$ac_try_echo") >&5
 
14961
  (eval "$ac_link") 2>conftest.er1
 
14962
  ac_status=$?
 
14963
  grep -v '^ *+' conftest.er1 >conftest.err
 
14964
  rm -f conftest.er1
 
14965
  cat conftest.err >&5
 
14966
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14967
  (exit $ac_status); } && {
 
14968
         test -z "$ac_cxx_werror_flag" ||
 
14969
         test ! -s conftest.err
 
14970
       } && test -s conftest$ac_exeext && {
 
14971
         test "$cross_compiling" = yes ||
 
14972
         $as_test_x conftest$ac_exeext
 
14973
       }; then
 
14974
 
 
14975
lt_aix_libpath_sed='
 
14976
    /Import File Strings/,/^$/ {
 
14977
        /^0/ {
 
14978
            s/^0  *\(.*\)$/\1/
 
14979
            p
 
14980
        }
 
14981
    }'
 
14982
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14983
# Check for a 64-bit object if we didn't find anything.
 
14984
if test -z "$aix_libpath"; then
 
14985
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14986
fi
 
14987
else
 
14988
  $as_echo "$as_me: failed program was:" >&5
 
14989
sed 's/^/| /' conftest.$ac_ext >&5
 
14990
 
 
14991
 
 
14992
fi
 
14993
 
 
14994
rm -rf conftest.dSYM
 
14995
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14996
      conftest$ac_exeext conftest.$ac_ext
 
14997
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
14998
 
 
14999
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
15000
 
 
15001
          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"
 
15002
        else
 
15003
          if test "$host_cpu" = ia64; then
 
15004
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 
15005
            allow_undefined_flag_CXX="-z nodefs"
 
15006
            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"
 
15007
          else
 
15008
            # Determine the default libpath from the value encoded in an
 
15009
            # empty executable.
 
15010
            cat >conftest.$ac_ext <<_ACEOF
 
15011
/* confdefs.h.  */
 
15012
_ACEOF
 
15013
cat confdefs.h >>conftest.$ac_ext
 
15014
cat >>conftest.$ac_ext <<_ACEOF
 
15015
/* end confdefs.h.  */
 
15016
 
 
15017
int
 
15018
main ()
 
15019
{
 
15020
 
 
15021
  ;
 
15022
  return 0;
 
15023
}
 
15024
_ACEOF
 
15025
rm -f conftest.$ac_objext conftest$ac_exeext
 
15026
if { (ac_try="$ac_link"
 
15027
case "(($ac_try" in
 
15028
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15029
  *) ac_try_echo=$ac_try;;
 
15030
esac
 
15031
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15032
$as_echo "$ac_try_echo") >&5
 
15033
  (eval "$ac_link") 2>conftest.er1
 
15034
  ac_status=$?
 
15035
  grep -v '^ *+' conftest.er1 >conftest.err
 
15036
  rm -f conftest.er1
 
15037
  cat conftest.err >&5
 
15038
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15039
  (exit $ac_status); } && {
 
15040
         test -z "$ac_cxx_werror_flag" ||
 
15041
         test ! -s conftest.err
 
15042
       } && test -s conftest$ac_exeext && {
 
15043
         test "$cross_compiling" = yes ||
 
15044
         $as_test_x conftest$ac_exeext
 
15045
       }; then
 
15046
 
 
15047
lt_aix_libpath_sed='
 
15048
    /Import File Strings/,/^$/ {
 
15049
        /^0/ {
 
15050
            s/^0  *\(.*\)$/\1/
 
15051
            p
 
15052
        }
 
15053
    }'
 
15054
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15055
# Check for a 64-bit object if we didn't find anything.
 
15056
if test -z "$aix_libpath"; then
 
15057
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15058
fi
 
15059
else
 
15060
  $as_echo "$as_me: failed program was:" >&5
 
15061
sed 's/^/| /' conftest.$ac_ext >&5
 
15062
 
 
15063
 
 
15064
fi
 
15065
 
 
15066
rm -rf conftest.dSYM
 
15067
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
15068
      conftest$ac_exeext conftest.$ac_ext
 
15069
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
15070
 
 
15071
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
15072
            # Warning - without using the other run time loading flags,
 
15073
            # -berok will link without error, but may produce a broken library.
 
15074
            no_undefined_flag_CXX=' ${wl}-bernotok'
 
15075
            allow_undefined_flag_CXX=' ${wl}-berok'
 
15076
            # Exported symbols can be pulled into shared objects from archives
 
15077
            whole_archive_flag_spec_CXX='$convenience'
 
15078
            archive_cmds_need_lc_CXX=yes
 
15079
            # This is similar to how AIX traditionally builds its shared
 
15080
            # libraries.
 
15081
            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'
 
15082
          fi
 
15083
        fi
 
15084
        ;;
 
15085
 
 
15086
      beos*)
 
15087
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
15088
          allow_undefined_flag_CXX=unsupported
 
15089
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
15090
          # support --undefined.  This deserves some investigation.  FIXME
 
15091
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15092
        else
 
15093
          ld_shlibs_CXX=no
 
15094
        fi
 
15095
        ;;
 
15096
 
 
15097
      chorus*)
 
15098
        case $cc_basename in
 
15099
          *)
 
15100
          # FIXME: insert proper C++ library support
 
15101
          ld_shlibs_CXX=no
 
15102
          ;;
 
15103
        esac
 
15104
        ;;
 
15105
 
 
15106
      cygwin* | mingw* | pw32* | cegcc*)
 
15107
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
15108
        # as there is no search path for DLLs.
 
15109
        hardcode_libdir_flag_spec_CXX='-L$libdir'
 
15110
        allow_undefined_flag_CXX=unsupported
 
15111
        always_export_symbols_CXX=no
 
15112
        enable_shared_with_static_runtimes_CXX=yes
 
15113
 
 
15114
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
15115
          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'
 
15116
          # If the export-symbols file already is a .def file (1st line
 
15117
          # is EXPORTS), use it as is; otherwise, prepend...
 
15118
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
15119
            cp $export_symbols $output_objdir/$soname.def;
 
15120
          else
 
15121
            echo EXPORTS > $output_objdir/$soname.def;
 
15122
            cat $export_symbols >> $output_objdir/$soname.def;
 
15123
          fi~
 
15124
          $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'
 
15125
        else
 
15126
          ld_shlibs_CXX=no
 
15127
        fi
 
15128
        ;;
 
15129
      darwin* | rhapsody*)
 
15130
 
 
15131
 
 
15132
  archive_cmds_need_lc_CXX=no
 
15133
  hardcode_direct_CXX=no
 
15134
  hardcode_automatic_CXX=yes
 
15135
  hardcode_shlibpath_var_CXX=unsupported
 
15136
  whole_archive_flag_spec_CXX=''
 
15137
  link_all_deplibs_CXX=yes
 
15138
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
15139
  case $cc_basename in
 
15140
     ifort*) _lt_dar_can_shared=yes ;;
 
15141
     *) _lt_dar_can_shared=$GCC ;;
 
15142
  esac
 
15143
  if test "$_lt_dar_can_shared" = "yes"; then
 
15144
    output_verbose_link_cmd=echo
 
15145
    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}"
 
15146
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
15147
    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}"
 
15148
    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}"
 
15149
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
15150
      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}"
 
15151
      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}"
 
15152
    fi
 
15153
 
 
15154
  else
 
15155
  ld_shlibs_CXX=no
 
15156
  fi
 
15157
 
 
15158
        ;;
 
15159
 
 
15160
      dgux*)
 
15161
        case $cc_basename in
 
15162
          ec++*)
 
15163
            # FIXME: insert proper C++ library support
 
15164
            ld_shlibs_CXX=no
 
15165
            ;;
 
15166
          ghcx*)
 
15167
            # Green Hills C++ Compiler
 
15168
            # FIXME: insert proper C++ library support
 
15169
            ld_shlibs_CXX=no
 
15170
            ;;
 
15171
          *)
 
15172
            # FIXME: insert proper C++ library support
 
15173
            ld_shlibs_CXX=no
 
15174
            ;;
 
15175
        esac
 
15176
        ;;
 
15177
 
 
15178
      freebsd[12]*)
 
15179
        # C++ shared libraries reported to be fairly broken before
 
15180
        # switch to ELF
 
15181
        ld_shlibs_CXX=no
 
15182
        ;;
 
15183
 
 
15184
      freebsd-elf*)
 
15185
        archive_cmds_need_lc_CXX=no
 
15186
        ;;
 
15187
 
 
15188
      freebsd* | dragonfly*)
 
15189
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
15190
        # conventions
 
15191
        ld_shlibs_CXX=yes
 
15192
        ;;
 
15193
 
 
15194
      gnu*)
 
15195
        ;;
 
15196
 
 
15197
      hpux9*)
 
15198
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
15199
        hardcode_libdir_separator_CXX=:
 
15200
        export_dynamic_flag_spec_CXX='${wl}-E'
 
15201
        hardcode_direct_CXX=yes
 
15202
        hardcode_minus_L_CXX=yes # Not in the search PATH,
 
15203
                                             # but as the default
 
15204
                                             # location of the library.
 
15205
 
 
15206
        case $cc_basename in
 
15207
          CC*)
 
15208
            # FIXME: insert proper C++ library support
 
15209
            ld_shlibs_CXX=no
 
15210
            ;;
 
15211
          aCC*)
 
15212
            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'
 
15213
            # Commands to make compiler produce verbose output that lists
 
15214
            # what "hidden" libraries, object files and flags are used when
 
15215
            # linking a shared library.
 
15216
            #
 
15217
            # There doesn't appear to be a way to prevent this compiler from
 
15218
            # explicitly linking system object files so we need to strip them
 
15219
            # from the output so that they don't get included in the library
 
15220
            # dependencies.
 
15221
            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'
 
15222
            ;;
 
15223
          *)
 
15224
            if test "$GXX" = yes; then
 
15225
              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'
 
15226
            else
 
15227
              # FIXME: insert proper C++ library support
 
15228
              ld_shlibs_CXX=no
 
15229
            fi
 
15230
            ;;
 
15231
        esac
 
15232
        ;;
 
15233
 
 
15234
      hpux10*|hpux11*)
 
15235
        if test $with_gnu_ld = no; then
 
15236
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
15237
          hardcode_libdir_separator_CXX=:
 
15238
 
 
15239
          case $host_cpu in
 
15240
            hppa*64*|ia64*)
 
15241
              ;;
 
15242
            *)
 
15243
              export_dynamic_flag_spec_CXX='${wl}-E'
 
15244
              ;;
 
15245
          esac
 
15246
        fi
 
15247
        case $host_cpu in
 
15248
          hppa*64*|ia64*)
 
15249
            hardcode_direct_CXX=no
 
15250
            hardcode_shlibpath_var_CXX=no
 
15251
            ;;
 
15252
          *)
 
15253
            hardcode_direct_CXX=yes
 
15254
            hardcode_direct_absolute_CXX=yes
 
15255
            hardcode_minus_L_CXX=yes # Not in the search PATH,
 
15256
                                                 # but as the default
 
15257
                                                 # location of the library.
 
15258
            ;;
 
15259
        esac
 
15260
 
 
15261
        case $cc_basename in
 
15262
          CC*)
 
15263
            # FIXME: insert proper C++ library support
 
15264
            ld_shlibs_CXX=no
 
15265
            ;;
 
15266
          aCC*)
 
15267
            case $host_cpu in
 
15268
              hppa*64*)
 
15269
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15270
                ;;
 
15271
              ia64*)
 
15272
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15273
                ;;
 
15274
              *)
 
15275
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15276
                ;;
 
15277
            esac
 
15278
            # Commands to make compiler produce verbose output that lists
 
15279
            # what "hidden" libraries, object files and flags are used when
 
15280
            # linking a shared library.
 
15281
            #
 
15282
            # There doesn't appear to be a way to prevent this compiler from
 
15283
            # explicitly linking system object files so we need to strip them
 
15284
            # from the output so that they don't get included in the library
 
15285
            # dependencies.
 
15286
            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'
 
15287
            ;;
 
15288
          *)
 
15289
            if test "$GXX" = yes; then
 
15290
              if test $with_gnu_ld = no; then
 
15291
                case $host_cpu in
 
15292
                  hppa*64*)
 
15293
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15294
                    ;;
 
15295
                  ia64*)
 
15296
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15297
                    ;;
 
15298
                  *)
 
15299
                    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'
 
15300
                    ;;
 
15301
                esac
 
15302
              fi
 
15303
            else
 
15304
              # FIXME: insert proper C++ library support
 
15305
              ld_shlibs_CXX=no
 
15306
            fi
 
15307
            ;;
 
15308
        esac
 
15309
        ;;
 
15310
 
 
15311
      interix[3-9]*)
 
15312
        hardcode_direct_CXX=no
 
15313
        hardcode_shlibpath_var_CXX=no
 
15314
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13861
15315
        export_dynamic_flag_spec_CXX='${wl}-E'
13862
 
        ;;
13863
 
      esac
13864
 
    fi
13865
 
    case $host_cpu in
13866
 
    hppa*64*|ia64*)
13867
 
      hardcode_direct_CXX=no
 
15316
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
15317
        # Instead, shared libraries are loaded at an image base (0x10000000 by
 
15318
        # default) and relocated if they conflict, which is a slow very memory
 
15319
        # consuming and fragmenting process.  To avoid this, we pick a random,
 
15320
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
15321
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
15322
        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'
 
15323
        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'
 
15324
        ;;
 
15325
      irix5* | irix6*)
 
15326
        case $cc_basename in
 
15327
          CC*)
 
15328
            # SGI C++
 
15329
            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'
 
15330
 
 
15331
            # Archives containing C++ object files must be created using
 
15332
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
15333
            # necessary to make sure instantiated templates are included
 
15334
            # in the archive.
 
15335
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
15336
            ;;
 
15337
          *)
 
15338
            if test "$GXX" = yes; then
 
15339
              if test "$with_gnu_ld" = no; then
 
15340
                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'
 
15341
              else
 
15342
                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'
 
15343
              fi
 
15344
            fi
 
15345
            link_all_deplibs_CXX=yes
 
15346
            ;;
 
15347
        esac
 
15348
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
15349
        hardcode_libdir_separator_CXX=:
 
15350
        inherit_rpath_CXX=yes
 
15351
        ;;
 
15352
 
 
15353
      linux* | k*bsd*-gnu)
 
15354
        case $cc_basename in
 
15355
          KCC*)
 
15356
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
15357
 
 
15358
            # KCC will only create a shared library if the output file
 
15359
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
15360
            # to its proper name (with version) after linking.
 
15361
            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'
 
15362
            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'
 
15363
            # Commands to make compiler produce verbose output that lists
 
15364
            # what "hidden" libraries, object files and flags are used when
 
15365
            # linking a shared library.
 
15366
            #
 
15367
            # There doesn't appear to be a way to prevent this compiler from
 
15368
            # explicitly linking system object files so we need to strip them
 
15369
            # from the output so that they don't get included in the library
 
15370
            # dependencies.
 
15371
            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'
 
15372
 
 
15373
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
15374
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
15375
 
 
15376
            # Archives containing C++ object files must be created using
 
15377
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
15378
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
15379
            ;;
 
15380
          icpc* | ecpc* )
 
15381
            # Intel C++
 
15382
            with_gnu_ld=yes
 
15383
            # version 8.0 and above of icpc choke on multiply defined symbols
 
15384
            # if we add $predep_objects and $postdep_objects, however 7.1 and
 
15385
            # earlier do not add the objects themselves.
 
15386
            case `$CC -V 2>&1` in
 
15387
              *"Version 7."*)
 
15388
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15389
                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'
 
15390
                ;;
 
15391
              *)  # Version 8.0 or newer
 
15392
                tmp_idyn=
 
15393
                case $host_cpu in
 
15394
                  ia64*) tmp_idyn=' -i_dynamic';;
 
15395
                esac
 
15396
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15397
                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'
 
15398
                ;;
 
15399
            esac
 
15400
            archive_cmds_need_lc_CXX=no
 
15401
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
15402
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
15403
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
15404
            ;;
 
15405
          pgCC* | pgcpp*)
 
15406
            # Portland Group C++ compiler
 
15407
            case `$CC -V` in
 
15408
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
15409
              prelink_cmds_CXX='tpldir=Template.dir~
 
15410
                rm -rf $tpldir~
 
15411
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
 
15412
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
15413
              old_archive_cmds_CXX='tpldir=Template.dir~
 
15414
                rm -rf $tpldir~
 
15415
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
 
15416
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
15417
                $RANLIB $oldlib'
 
15418
              archive_cmds_CXX='tpldir=Template.dir~
 
15419
                rm -rf $tpldir~
 
15420
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
15421
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
15422
              archive_expsym_cmds_CXX='tpldir=Template.dir~
 
15423
                rm -rf $tpldir~
 
15424
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
15425
                $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'
 
15426
              ;;
 
15427
            *) # Version 6 will use weak symbols
 
15428
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
15429
              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'
 
15430
              ;;
 
15431
            esac
 
15432
 
 
15433
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
15434
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
15435
            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'
 
15436
            ;;
 
15437
          cxx*)
 
15438
            # Compaq C++
 
15439
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15440
            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'
 
15441
 
 
15442
            runpath_var=LD_RUN_PATH
 
15443
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
15444
            hardcode_libdir_separator_CXX=:
 
15445
 
 
15446
            # Commands to make compiler produce verbose output that lists
 
15447
            # what "hidden" libraries, object files and flags are used when
 
15448
            # linking a shared library.
 
15449
            #
 
15450
            # There doesn't appear to be a way to prevent this compiler from
 
15451
            # explicitly linking system object files so we need to strip them
 
15452
            # from the output so that they don't get included in the library
 
15453
            # dependencies.
 
15454
            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'
 
15455
            ;;
 
15456
          xl*)
 
15457
            # IBM XL 8.0 on PPC, with GNU ld
 
15458
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
15459
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
15460
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15461
            if test "x$supports_anon_versioning" = xyes; then
 
15462
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
 
15463
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
15464
                echo "local: *; };" >> $output_objdir/$libname.ver~
 
15465
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
15466
            fi
 
15467
            ;;
 
15468
          *)
 
15469
            case `$CC -V 2>&1 | sed 5q` in
 
15470
            *Sun\ C*)
 
15471
              # Sun C++ 5.9
 
15472
              no_undefined_flag_CXX=' -zdefs'
 
15473
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15474
              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'
 
15475
              hardcode_libdir_flag_spec_CXX='-R$libdir'
 
15476
              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'
 
15477
              compiler_needs_object_CXX=yes
 
15478
 
 
15479
              # Not sure whether something based on
 
15480
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
15481
              # would be better.
 
15482
              output_verbose_link_cmd='echo'
 
15483
 
 
15484
              # Archives containing C++ object files must be created using
 
15485
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
15486
              # necessary to make sure instantiated templates are included
 
15487
              # in the archive.
 
15488
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
15489
              ;;
 
15490
            esac
 
15491
            ;;
 
15492
        esac
 
15493
        ;;
 
15494
 
 
15495
      lynxos*)
 
15496
        # FIXME: insert proper C++ library support
 
15497
        ld_shlibs_CXX=no
 
15498
        ;;
 
15499
 
 
15500
      m88k*)
 
15501
        # FIXME: insert proper C++ library support
 
15502
        ld_shlibs_CXX=no
 
15503
        ;;
 
15504
 
 
15505
      mvs*)
 
15506
        case $cc_basename in
 
15507
          cxx*)
 
15508
            # FIXME: insert proper C++ library support
 
15509
            ld_shlibs_CXX=no
 
15510
            ;;
 
15511
          *)
 
15512
            # FIXME: insert proper C++ library support
 
15513
            ld_shlibs_CXX=no
 
15514
            ;;
 
15515
        esac
 
15516
        ;;
 
15517
 
 
15518
      netbsd*)
 
15519
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
15520
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
15521
          wlarc=
 
15522
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
15523
          hardcode_direct_CXX=yes
 
15524
          hardcode_shlibpath_var_CXX=no
 
15525
        fi
 
15526
        # Workaround some broken pre-1.5 toolchains
 
15527
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
15528
        ;;
 
15529
 
 
15530
      *nto* | *qnx*)
 
15531
        ld_shlibs_CXX=yes
 
15532
        ;;
 
15533
 
 
15534
      openbsd2*)
 
15535
        # C++ shared libraries are fairly broken
 
15536
        ld_shlibs_CXX=no
 
15537
        ;;
 
15538
 
 
15539
      openbsd*)
 
15540
        if test -f /usr/libexec/ld.so; then
 
15541
          hardcode_direct_CXX=yes
 
15542
          hardcode_shlibpath_var_CXX=no
 
15543
          hardcode_direct_absolute_CXX=yes
 
15544
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
15545
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
15546
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15547
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
15548
            export_dynamic_flag_spec_CXX='${wl}-E'
 
15549
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
15550
          fi
 
15551
          output_verbose_link_cmd=echo
 
15552
        else
 
15553
          ld_shlibs_CXX=no
 
15554
        fi
 
15555
        ;;
 
15556
 
 
15557
      osf3* | osf4* | osf5*)
 
15558
        case $cc_basename in
 
15559
          KCC*)
 
15560
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
15561
 
 
15562
            # KCC will only create a shared library if the output file
 
15563
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
15564
            # to its proper name (with version) after linking.
 
15565
            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'
 
15566
 
 
15567
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
15568
            hardcode_libdir_separator_CXX=:
 
15569
 
 
15570
            # Archives containing C++ object files must be created using
 
15571
            # the KAI C++ compiler.
 
15572
            case $host in
 
15573
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
 
15574
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
 
15575
            esac
 
15576
            ;;
 
15577
          RCC*)
 
15578
            # Rational C++ 2.4.1
 
15579
            # FIXME: insert proper C++ library support
 
15580
            ld_shlibs_CXX=no
 
15581
            ;;
 
15582
          cxx*)
 
15583
            case $host in
 
15584
              osf3*)
 
15585
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
15586
                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'
 
15587
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
15588
                ;;
 
15589
              *)
 
15590
                allow_undefined_flag_CXX=' -expect_unresolved \*'
 
15591
                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'
 
15592
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
15593
                  echo "-hidden">> $lib.exp~
 
15594
                  $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~
 
15595
                  $RM $lib.exp'
 
15596
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
15597
                ;;
 
15598
            esac
 
15599
 
 
15600
            hardcode_libdir_separator_CXX=:
 
15601
 
 
15602
            # Commands to make compiler produce verbose output that lists
 
15603
            # what "hidden" libraries, object files and flags are used when
 
15604
            # linking a shared library.
 
15605
            #
 
15606
            # There doesn't appear to be a way to prevent this compiler from
 
15607
            # explicitly linking system object files so we need to strip them
 
15608
            # from the output so that they don't get included in the library
 
15609
            # dependencies.
 
15610
            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'
 
15611
            ;;
 
15612
          *)
 
15613
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
15614
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
15615
              case $host in
 
15616
                osf3*)
 
15617
                  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'
 
15618
                  ;;
 
15619
                *)
 
15620
                  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'
 
15621
                  ;;
 
15622
              esac
 
15623
 
 
15624
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
15625
              hardcode_libdir_separator_CXX=:
 
15626
 
 
15627
              # Commands to make compiler produce verbose output that lists
 
15628
              # what "hidden" libraries, object files and flags are used when
 
15629
              # linking a shared library.
 
15630
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
15631
 
 
15632
            else
 
15633
              # FIXME: insert proper C++ library support
 
15634
              ld_shlibs_CXX=no
 
15635
            fi
 
15636
            ;;
 
15637
        esac
 
15638
        ;;
 
15639
 
 
15640
      psos*)
 
15641
        # FIXME: insert proper C++ library support
 
15642
        ld_shlibs_CXX=no
 
15643
        ;;
 
15644
 
 
15645
      sunos4*)
 
15646
        case $cc_basename in
 
15647
          CC*)
 
15648
            # Sun C++ 4.x
 
15649
            # FIXME: insert proper C++ library support
 
15650
            ld_shlibs_CXX=no
 
15651
            ;;
 
15652
          lcc*)
 
15653
            # Lucid
 
15654
            # FIXME: insert proper C++ library support
 
15655
            ld_shlibs_CXX=no
 
15656
            ;;
 
15657
          *)
 
15658
            # FIXME: insert proper C++ library support
 
15659
            ld_shlibs_CXX=no
 
15660
            ;;
 
15661
        esac
 
15662
        ;;
 
15663
 
 
15664
      solaris*)
 
15665
        case $cc_basename in
 
15666
          CC*)
 
15667
            # Sun C++ 4.2, 5.x and Centerline C++
 
15668
            archive_cmds_need_lc_CXX=yes
 
15669
            no_undefined_flag_CXX=' -zdefs'
 
15670
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15671
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
15672
              $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'
 
15673
 
 
15674
            hardcode_libdir_flag_spec_CXX='-R$libdir'
 
15675
            hardcode_shlibpath_var_CXX=no
 
15676
            case $host_os in
 
15677
              solaris2.[0-5] | solaris2.[0-5].*) ;;
 
15678
              *)
 
15679
                # The compiler driver will combine and reorder linker options,
 
15680
                # but understands `-z linker_flag'.
 
15681
                # Supported since Solaris 2.6 (maybe 2.5.1?)
 
15682
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 
15683
                ;;
 
15684
            esac
 
15685
            link_all_deplibs_CXX=yes
 
15686
 
 
15687
            output_verbose_link_cmd='echo'
 
15688
 
 
15689
            # Archives containing C++ object files must be created using
 
15690
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
15691
            # necessary to make sure instantiated templates are included
 
15692
            # in the archive.
 
15693
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
15694
            ;;
 
15695
          gcx*)
 
15696
            # Green Hills C++ Compiler
 
15697
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
15698
 
 
15699
            # The C++ compiler must be used to create the archive.
 
15700
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
15701
            ;;
 
15702
          *)
 
15703
            # GNU C++ compiler with Solaris linker
 
15704
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
15705
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 
15706
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 
15707
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
15708
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
15709
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
15710
 
 
15711
                # Commands to make compiler produce verbose output that lists
 
15712
                # what "hidden" libraries, object files and flags are used when
 
15713
                # linking a shared library.
 
15714
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
15715
              else
 
15716
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
15717
                # platform.
 
15718
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
15719
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
15720
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
15721
 
 
15722
                # Commands to make compiler produce verbose output that lists
 
15723
                # what "hidden" libraries, object files and flags are used when
 
15724
                # linking a shared library.
 
15725
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
15726
              fi
 
15727
 
 
15728
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
15729
              case $host_os in
 
15730
                solaris2.[0-5] | solaris2.[0-5].*) ;;
 
15731
                *)
 
15732
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
15733
                  ;;
 
15734
              esac
 
15735
            fi
 
15736
            ;;
 
15737
        esac
 
15738
        ;;
 
15739
 
 
15740
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
15741
      no_undefined_flag_CXX='${wl}-z,text'
 
15742
      archive_cmds_need_lc_CXX=no
13868
15743
      hardcode_shlibpath_var_CXX=no
13869
 
      ;;
13870
 
    *)
13871
 
      hardcode_direct_CXX=yes
13872
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
13873
 
                                              # but as the default
13874
 
                                              # location of the library.
13875
 
      ;;
13876
 
    esac
 
15744
      runpath_var='LD_RUN_PATH'
13877
15745
 
13878
 
    case $cc_basename in
13879
 
      CC*)
13880
 
        # FIXME: insert proper C++ library support
13881
 
        ld_shlibs_CXX=no
13882
 
        ;;
13883
 
      aCC*)
13884
 
        case $host_cpu in
13885
 
        hppa*64*)
13886
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13887
 
          ;;
13888
 
        ia64*)
13889
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15746
      case $cc_basename in
 
15747
        CC*)
 
15748
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15749
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13890
15750
          ;;
13891
15751
        *)
13892
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13893
 
          ;;
13894
 
        esac
13895
 
        # Commands to make compiler produce verbose output that lists
13896
 
        # what "hidden" libraries, object files and flags are used when
13897
 
        # linking a shared library.
13898
 
        #
13899
 
        # There doesn't appear to be a way to prevent this compiler from
13900
 
        # explicitly linking system object files so we need to strip them
13901
 
        # from the output so that they don't get included in the library
13902
 
        # dependencies.
13903
 
        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'
13904
 
        ;;
13905
 
      *)
13906
 
        if test "$GXX" = yes; then
13907
 
          if test $with_gnu_ld = no; then
13908
 
            case $host_cpu in
13909
 
            hppa*64*)
13910
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13911
 
              ;;
13912
 
            ia64*)
13913
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13914
 
              ;;
13915
 
            *)
13916
 
              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'
13917
 
              ;;
13918
 
            esac
13919
 
          fi
13920
 
        else
13921
 
          # FIXME: insert proper C++ library support
13922
 
          ld_shlibs_CXX=no
13923
 
        fi
13924
 
        ;;
13925
 
    esac
13926
 
    ;;
13927
 
  interix[3-9]*)
13928
 
    hardcode_direct_CXX=no
13929
 
    hardcode_shlibpath_var_CXX=no
13930
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13931
 
    export_dynamic_flag_spec_CXX='${wl}-E'
13932
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13933
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
13934
 
    # default) and relocated if they conflict, which is a slow very memory
13935
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
13936
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13937
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13938
 
    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'
13939
 
    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'
13940
 
    ;;
13941
 
  irix5* | irix6*)
13942
 
    case $cc_basename in
13943
 
      CC*)
13944
 
        # SGI C++
13945
 
        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'
13946
 
 
13947
 
        # Archives containing C++ object files must be created using
13948
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13949
 
        # necessary to make sure instantiated templates are included
13950
 
        # in the archive.
13951
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13952
 
        ;;
13953
 
      *)
13954
 
        if test "$GXX" = yes; then
13955
 
          if test "$with_gnu_ld" = no; then
13956
 
            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'
13957
 
          else
13958
 
            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'
13959
 
          fi
13960
 
        fi
13961
 
        link_all_deplibs_CXX=yes
13962
 
        ;;
13963
 
    esac
13964
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13965
 
    hardcode_libdir_separator_CXX=:
13966
 
    ;;
13967
 
  linux* | k*bsd*-gnu)
13968
 
    case $cc_basename in
13969
 
      KCC*)
13970
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13971
 
 
13972
 
        # KCC will only create a shared library if the output file
13973
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13974
 
        # to its proper name (with version) after linking.
13975
 
        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'
13976
 
        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'
13977
 
        # Commands to make compiler produce verbose output that lists
13978
 
        # what "hidden" libraries, object files and flags are used when
13979
 
        # linking a shared library.
13980
 
        #
13981
 
        # There doesn't appear to be a way to prevent this compiler from
13982
 
        # explicitly linking system object files so we need to strip them
13983
 
        # from the output so that they don't get included in the library
13984
 
        # dependencies.
13985
 
        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'
13986
 
 
13987
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
13988
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13989
 
 
13990
 
        # Archives containing C++ object files must be created using
13991
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13992
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13993
 
        ;;
13994
 
      icpc*)
13995
 
        # Intel C++
13996
 
        with_gnu_ld=yes
13997
 
        # version 8.0 and above of icpc choke on multiply defined symbols
13998
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
13999
 
        # earlier do not add the objects themselves.
14000
 
        case `$CC -V 2>&1` in
14001
 
        *"Version 7."*)
14002
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14003
 
          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'
14004
 
          ;;
14005
 
        *)  # Version 8.0 or newer
14006
 
          tmp_idyn=
14007
 
          case $host_cpu in
14008
 
            ia64*) tmp_idyn=' -i_dynamic';;
14009
 
          esac
14010
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14011
 
          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'
14012
 
          ;;
14013
 
        esac
 
15752
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15753
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15754
          ;;
 
15755
      esac
 
15756
      ;;
 
15757
 
 
15758
      sysv5* | sco3.2v5* | sco5v6*)
 
15759
        # Note: We can NOT use -z defs as we might desire, because we do not
 
15760
        # link with -lc, and that would cause any symbols used from libc to
 
15761
        # always be unresolved, which means just about no library would
 
15762
        # ever link correctly.  If we're not using GNU ld we use -z text
 
15763
        # though, which does catch some bad symbols but isn't as heavy-handed
 
15764
        # as -z defs.
 
15765
        no_undefined_flag_CXX='${wl}-z,text'
 
15766
        allow_undefined_flag_CXX='${wl}-z,nodefs'
14014
15767
        archive_cmds_need_lc_CXX=no
14015
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14016
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14017
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14018
 
        ;;
14019
 
      pgCC* | pgcpp*)
14020
 
        # Portland Group C++ compiler
14021
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14022
 
        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'
14023
 
 
14024
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14025
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14026
 
        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'
14027
 
        ;;
14028
 
      cxx*)
14029
 
        # Compaq C++
14030
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14031
 
        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'
14032
 
 
14033
 
        runpath_var=LD_RUN_PATH
14034
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14035
 
        hardcode_libdir_separator_CXX=:
14036
 
 
14037
 
        # Commands to make compiler produce verbose output that lists
14038
 
        # what "hidden" libraries, object files and flags are used when
14039
 
        # linking a shared library.
14040
 
        #
14041
 
        # There doesn't appear to be a way to prevent this compiler from
14042
 
        # explicitly linking system object files so we need to strip them
14043
 
        # from the output so that they don't get included in the library
14044
 
        # dependencies.
14045
 
        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'
14046
 
        ;;
14047
 
      *)
14048
 
        case `$CC -V 2>&1 | sed 5q` in
14049
 
        *Sun\ C*)
14050
 
          # Sun C++ 5.9
14051
 
          no_undefined_flag_CXX=' -zdefs'
14052
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14053
 
          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'
14054
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
14055
 
          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'
14056
 
 
14057
 
          # Not sure whether something based on
14058
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14059
 
          # would be better.
14060
 
          output_verbose_link_cmd='echo'
14061
 
 
14062
 
          # Archives containing C++ object files must be created using
14063
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14064
 
          # necessary to make sure instantiated templates are included
14065
 
          # in the archive.
14066
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14067
 
          ;;
14068
 
        esac
14069
 
        ;;
14070
 
    esac
14071
 
    ;;
14072
 
  lynxos*)
14073
 
    # FIXME: insert proper C++ library support
14074
 
    ld_shlibs_CXX=no
14075
 
    ;;
14076
 
  m88k*)
14077
 
    # FIXME: insert proper C++ library support
14078
 
    ld_shlibs_CXX=no
14079
 
    ;;
14080
 
  mvs*)
14081
 
    case $cc_basename in
14082
 
      cxx*)
14083
 
        # FIXME: insert proper C++ library support
14084
 
        ld_shlibs_CXX=no
14085
 
        ;;
14086
 
      *)
14087
 
        # FIXME: insert proper C++ library support
14088
 
        ld_shlibs_CXX=no
14089
 
        ;;
14090
 
    esac
14091
 
    ;;
14092
 
  netbsd* | netbsdelf*-gnu)
14093
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14094
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14095
 
      wlarc=
14096
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
14097
 
      hardcode_direct_CXX=yes
14098
 
      hardcode_shlibpath_var_CXX=no
14099
 
    fi
14100
 
    # Workaround some broken pre-1.5 toolchains
14101
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14102
 
    ;;
14103
 
  openbsd2*)
14104
 
    # C++ shared libraries are fairly broken
14105
 
    ld_shlibs_CXX=no
14106
 
    ;;
14107
 
  openbsd*)
14108
 
    if test -f /usr/libexec/ld.so; then
14109
 
      hardcode_direct_CXX=yes
14110
 
      hardcode_shlibpath_var_CXX=no
14111
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14112
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14113
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14114
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14115
 
        export_dynamic_flag_spec_CXX='${wl}-E'
14116
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14117
 
      fi
14118
 
      output_verbose_link_cmd='echo'
14119
 
    else
14120
 
      ld_shlibs_CXX=no
14121
 
    fi
14122
 
    ;;
14123
 
  osf3*)
14124
 
    case $cc_basename in
14125
 
      KCC*)
14126
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14127
 
 
14128
 
        # KCC will only create a shared library if the output file
14129
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14130
 
        # to its proper name (with version) after linking.
14131
 
        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'
14132
 
 
14133
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14134
 
        hardcode_libdir_separator_CXX=:
14135
 
 
14136
 
        # Archives containing C++ object files must be created using
14137
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14138
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14139
 
 
14140
 
        ;;
14141
 
      RCC*)
14142
 
        # Rational C++ 2.4.1
14143
 
        # FIXME: insert proper C++ library support
14144
 
        ld_shlibs_CXX=no
14145
 
        ;;
14146
 
      cxx*)
14147
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14148
 
        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'
14149
 
 
14150
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14151
 
        hardcode_libdir_separator_CXX=:
14152
 
 
14153
 
        # Commands to make compiler produce verbose output that lists
14154
 
        # what "hidden" libraries, object files and flags are used when
14155
 
        # linking a shared library.
14156
 
        #
14157
 
        # There doesn't appear to be a way to prevent this compiler from
14158
 
        # explicitly linking system object files so we need to strip them
14159
 
        # from the output so that they don't get included in the library
14160
 
        # dependencies.
14161
 
        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'
14162
 
        ;;
14163
 
      *)
14164
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14165
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14166
 
          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'
14167
 
 
14168
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14169
 
          hardcode_libdir_separator_CXX=:
14170
 
 
14171
 
          # Commands to make compiler produce verbose output that lists
14172
 
          # what "hidden" libraries, object files and flags are used when
14173
 
          # linking a shared library.
14174
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14175
 
 
14176
 
        else
14177
 
          # FIXME: insert proper C++ library support
14178
 
          ld_shlibs_CXX=no
14179
 
        fi
14180
 
        ;;
14181
 
    esac
14182
 
    ;;
14183
 
  osf4* | osf5*)
14184
 
    case $cc_basename in
14185
 
      KCC*)
14186
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14187
 
 
14188
 
        # KCC will only create a shared library if the output file
14189
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14190
 
        # to its proper name (with version) after linking.
14191
 
        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'
14192
 
 
14193
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14194
 
        hardcode_libdir_separator_CXX=:
14195
 
 
14196
 
        # Archives containing C++ object files must be created using
14197
 
        # the KAI C++ compiler.
14198
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
14199
 
        ;;
14200
 
      RCC*)
14201
 
        # Rational C++ 2.4.1
14202
 
        # FIXME: insert proper C++ library support
14203
 
        ld_shlibs_CXX=no
14204
 
        ;;
14205
 
      cxx*)
14206
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
14207
 
        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'
14208
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14209
 
          echo "-hidden">> $lib.exp~
14210
 
          $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~
14211
 
          $rm $lib.exp'
14212
 
 
14213
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14214
 
        hardcode_libdir_separator_CXX=:
14215
 
 
14216
 
        # Commands to make compiler produce verbose output that lists
14217
 
        # what "hidden" libraries, object files and flags are used when
14218
 
        # linking a shared library.
14219
 
        #
14220
 
        # There doesn't appear to be a way to prevent this compiler from
14221
 
        # explicitly linking system object files so we need to strip them
14222
 
        # from the output so that they don't get included in the library
14223
 
        # dependencies.
14224
 
        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'
14225
 
        ;;
14226
 
      *)
14227
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14228
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14229
 
         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'
14230
 
 
14231
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14232
 
          hardcode_libdir_separator_CXX=:
14233
 
 
14234
 
          # Commands to make compiler produce verbose output that lists
14235
 
          # what "hidden" libraries, object files and flags are used when
14236
 
          # linking a shared library.
14237
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14238
 
 
14239
 
        else
14240
 
          # FIXME: insert proper C++ library support
14241
 
          ld_shlibs_CXX=no
14242
 
        fi
14243
 
        ;;
14244
 
    esac
14245
 
    ;;
14246
 
  psos*)
14247
 
    # FIXME: insert proper C++ library support
14248
 
    ld_shlibs_CXX=no
14249
 
    ;;
14250
 
  sunos4*)
14251
 
    case $cc_basename in
14252
 
      CC*)
14253
 
        # Sun C++ 4.x
14254
 
        # FIXME: insert proper C++ library support
14255
 
        ld_shlibs_CXX=no
14256
 
        ;;
14257
 
      lcc*)
14258
 
        # Lucid
14259
 
        # FIXME: insert proper C++ library support
14260
 
        ld_shlibs_CXX=no
14261
 
        ;;
14262
 
      *)
14263
 
        # FIXME: insert proper C++ library support
14264
 
        ld_shlibs_CXX=no
14265
 
        ;;
14266
 
    esac
14267
 
    ;;
14268
 
  solaris*)
14269
 
    case $cc_basename in
14270
 
      CC*)
14271
 
        # Sun C++ 4.2, 5.x and Centerline C++
14272
 
        archive_cmds_need_lc_CXX=yes
14273
 
        no_undefined_flag_CXX=' -zdefs'
14274
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14275
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14276
 
        $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'
14277
 
 
14278
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
14279
15768
        hardcode_shlibpath_var_CXX=no
14280
 
        case $host_os in
14281
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
14282
 
          *)
14283
 
            # The compiler driver will combine and reorder linker options,
14284
 
            # but understands `-z linker_flag'.
14285
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
14286
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14287
 
            ;;
14288
 
        esac
 
15769
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
 
15770
        hardcode_libdir_separator_CXX=':'
14289
15771
        link_all_deplibs_CXX=yes
14290
 
 
14291
 
        output_verbose_link_cmd='echo'
14292
 
 
14293
 
        # Archives containing C++ object files must be created using
14294
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14295
 
        # necessary to make sure instantiated templates are included
14296
 
        # in the archive.
14297
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14298
 
        ;;
14299
 
      gcx*)
14300
 
        # Green Hills C++ Compiler
14301
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14302
 
 
14303
 
        # The C++ compiler must be used to create the archive.
14304
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14305
 
        ;;
14306
 
      *)
14307
 
        # GNU C++ compiler with Solaris linker
14308
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14309
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14310
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
14311
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14312
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14313
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14314
 
 
14315
 
            # Commands to make compiler produce verbose output that lists
14316
 
            # what "hidden" libraries, object files and flags are used when
14317
 
            # linking a shared library.
14318
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14319
 
          else
14320
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
14321
 
            # platform.
14322
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14323
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14324
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14325
 
 
14326
 
            # Commands to make compiler produce verbose output that lists
14327
 
            # what "hidden" libraries, object files and flags are used when
14328
 
            # linking a shared library.
14329
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14330
 
          fi
14331
 
 
14332
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14333
 
          case $host_os in
14334
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
15772
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
15773
        runpath_var='LD_RUN_PATH'
 
15774
 
 
15775
        case $cc_basename in
 
15776
          CC*)
 
15777
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15778
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15779
            ;;
14335
15780
          *)
14336
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14337
 
            ;;
14338
 
          esac
14339
 
        fi
14340
 
        ;;
14341
 
    esac
14342
 
    ;;
14343
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14344
 
    no_undefined_flag_CXX='${wl}-z,text'
14345
 
    archive_cmds_need_lc_CXX=no
14346
 
    hardcode_shlibpath_var_CXX=no
14347
 
    runpath_var='LD_RUN_PATH'
14348
 
 
14349
 
    case $cc_basename in
14350
 
      CC*)
14351
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14352
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14353
 
        ;;
14354
 
      *)
14355
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14356
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14357
 
        ;;
14358
 
    esac
14359
 
    ;;
14360
 
  sysv5* | sco3.2v5* | sco5v6*)
14361
 
    # Note: We can NOT use -z defs as we might desire, because we do not
14362
 
    # link with -lc, and that would cause any symbols used from libc to
14363
 
    # always be unresolved, which means just about no library would
14364
 
    # ever link correctly.  If we're not using GNU ld we use -z text
14365
 
    # though, which does catch some bad symbols but isn't as heavy-handed
14366
 
    # as -z defs.
14367
 
    # For security reasons, it is highly recommended that you always
14368
 
    # use absolute paths for naming shared libraries, and exclude the
14369
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
14370
 
    # requires that you compile everything twice, which is a pain.
14371
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
14372
 
    # non-empty value in the environment.  Most likely only useful for
14373
 
    # creating official distributions of packages.
14374
 
    # This is a hack until libtool officially supports absolute path
14375
 
    # names for shared libraries.
14376
 
    no_undefined_flag_CXX='${wl}-z,text'
14377
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
14378
 
    archive_cmds_need_lc_CXX=no
14379
 
    hardcode_shlibpath_var_CXX=no
14380
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14381
 
    hardcode_libdir_separator_CXX=':'
14382
 
    link_all_deplibs_CXX=yes
14383
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
14384
 
    runpath_var='LD_RUN_PATH'
14385
 
 
14386
 
    case $cc_basename in
14387
 
      CC*)
14388
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14389
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14390
 
        ;;
14391
 
      *)
14392
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14393
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14394
 
        ;;
14395
 
    esac
14396
 
    ;;
14397
 
  tandem*)
14398
 
    case $cc_basename in
14399
 
      NCC*)
14400
 
        # NonStop-UX NCC 3.20
14401
 
        # FIXME: insert proper C++ library support
14402
 
        ld_shlibs_CXX=no
14403
 
        ;;
14404
 
      *)
14405
 
        # FIXME: insert proper C++ library support
14406
 
        ld_shlibs_CXX=no
14407
 
        ;;
14408
 
    esac
14409
 
    ;;
14410
 
  vxworks*)
14411
 
    # FIXME: insert proper C++ library support
14412
 
    ld_shlibs_CXX=no
14413
 
    ;;
14414
 
  *)
14415
 
    # FIXME: insert proper C++ library support
14416
 
    ld_shlibs_CXX=no
14417
 
    ;;
14418
 
esac
14419
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14420
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14421
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14422
 
 
14423
 
GCC_CXX="$GXX"
14424
 
LD_CXX="$LD"
14425
 
 
14426
 
cat > conftest.$ac_ext <<EOF
 
15781
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15782
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15783
            ;;
 
15784
        esac
 
15785
      ;;
 
15786
 
 
15787
      tandem*)
 
15788
        case $cc_basename in
 
15789
          NCC*)
 
15790
            # NonStop-UX NCC 3.20
 
15791
            # FIXME: insert proper C++ library support
 
15792
            ld_shlibs_CXX=no
 
15793
            ;;
 
15794
          *)
 
15795
            # FIXME: insert proper C++ library support
 
15796
            ld_shlibs_CXX=no
 
15797
            ;;
 
15798
        esac
 
15799
        ;;
 
15800
 
 
15801
      vxworks*)
 
15802
        # FIXME: insert proper C++ library support
 
15803
        ld_shlibs_CXX=no
 
15804
        ;;
 
15805
 
 
15806
      *)
 
15807
        # FIXME: insert proper C++ library support
 
15808
        ld_shlibs_CXX=no
 
15809
        ;;
 
15810
    esac
 
15811
 
 
15812
    { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
15813
$as_echo "$ld_shlibs_CXX" >&6; }
 
15814
    test "$ld_shlibs_CXX" = no && can_build_shared=no
 
15815
 
 
15816
    GCC_CXX="$GXX"
 
15817
    LD_CXX="$LD"
 
15818
 
 
15819
    ## CAVEAT EMPTOR:
 
15820
    ## There is no encapsulation within the following macros, do not change
 
15821
    ## the running order or otherwise move them around unless you know exactly
 
15822
    ## what you are doing...
 
15823
    # Dependencies to place before and after the object being linked:
 
15824
predep_objects_CXX=
 
15825
postdep_objects_CXX=
 
15826
predeps_CXX=
 
15827
postdeps_CXX=
 
15828
compiler_lib_search_path_CXX=
 
15829
 
 
15830
cat > conftest.$ac_ext <<_LT_EOF
14427
15831
class Foo
14428
15832
{
14429
15833
public:
14431
15835
private:
14432
15836
  int a;
14433
15837
};
14434
 
EOF
 
15838
_LT_EOF
14435
15839
 
14436
15840
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14437
15841
  (eval $ac_compile) 2>&5
14438
15842
  ac_status=$?
14439
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15843
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440
15844
  (exit $ac_status); }; then
14441
15845
  # Parse the compiler output and extract the necessary
14442
15846
  # objects, libraries and library flags.
14445
15849
  # the conftest object file.
14446
15850
  pre_test_object_deps_done=no
14447
15851
 
14448
 
  # The `*' in the case matches for architectures that use `case' in
14449
 
  # $output_verbose_cmd can trigger glob expansion during the loop
14450
 
  # eval without this substitution.
14451
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
14452
 
 
14453
 
  for p in `eval $output_verbose_link_cmd`; do
 
15852
  for p in `eval "$output_verbose_link_cmd"`; do
14454
15853
    case $p in
14455
15854
 
14456
15855
    -L* | -R* | -l*)
14457
15856
       # Some compilers place space between "-{L,R}" and the path.
14458
15857
       # Remove the space.
14459
 
       if test $p = "-L" \
14460
 
          || test $p = "-R"; then
 
15858
       if test $p = "-L" ||
 
15859
          test $p = "-R"; then
14461
15860
         prev=$p
14462
15861
         continue
14463
15862
       else
14522
15921
  echo "libtool.m4: error: problem compiling CXX test program"
14523
15922
fi
14524
15923
 
14525
 
$rm -f confest.$objext
14526
 
 
14527
 
compiler_lib_search_dirs_CXX=
14528
 
if test -n "$compiler_lib_search_path_CXX"; then
14529
 
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14530
 
fi
 
15924
$RM -f confest.$objext
14531
15925
 
14532
15926
# PORTME: override above test on systems where it is broken
14533
15927
case $host_os in
14543
15937
  case `$CC -V 2>&1 | sed 5q` in
14544
15938
  *Sun\ C*)
14545
15939
    # Sun C++ 5.9
14546
 
    #
 
15940
 
14547
15941
    # The more standards-conforming stlport4 library is
14548
15942
    # incompatible with the Cstd library. Avoid specifying
14549
15943
    # it if it's in CXXFLAGS. Ignore libCrun as
14553
15947
      solaris_use_stlport4=yes
14554
15948
      ;;
14555
15949
    esac
 
15950
 
14556
15951
    if test "$solaris_use_stlport4" != yes; then
14557
15952
      postdeps_CXX='-library=Cstd -library=Crun'
14558
15953
    fi
14584
15979
  ;;
14585
15980
esac
14586
15981
 
 
15982
 
14587
15983
case " $postdeps_CXX " in
14588
15984
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14589
15985
esac
14590
 
 
14591
 
lt_prog_compiler_wl_CXX=
 
15986
 compiler_lib_search_dirs_CXX=
 
15987
if test -n "${compiler_lib_search_path_CXX}"; then
 
15988
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
15989
fi
 
15990
 
 
15991
 
 
15992
 
 
15993
 
 
15994
 
 
15995
 
 
15996
 
 
15997
 
 
15998
 
 
15999
 
 
16000
 
 
16001
 
 
16002
 
 
16003
 
 
16004
 
 
16005
 
 
16006
 
 
16007
 
 
16008
 
 
16009
 
 
16010
 
 
16011
 
 
16012
 
 
16013
 
 
16014
 
 
16015
 
 
16016
 
 
16017
 
 
16018
 
 
16019
 
 
16020
 
 
16021
    lt_prog_compiler_wl_CXX=
14592
16022
lt_prog_compiler_pic_CXX=
14593
16023
lt_prog_compiler_static_CXX=
14594
16024
 
14595
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14596
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
16025
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16026
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14597
16027
 
14598
16028
  # C++ specific cases for pic, static, wl, etc.
14599
16029
  if test "$GXX" = yes; then
14608
16038
        lt_prog_compiler_static_CXX='-Bstatic'
14609
16039
      fi
14610
16040
      ;;
 
16041
 
14611
16042
    amigaos*)
14612
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14613
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14614
 
      # like `-m68040'.
14615
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
16043
      case $host_cpu in
 
16044
      powerpc)
 
16045
            # see comment about AmigaOS4 .so support
 
16046
            lt_prog_compiler_pic_CXX='-fPIC'
 
16047
        ;;
 
16048
      m68k)
 
16049
            # FIXME: we need at least 68020 code to build shared libraries, but
 
16050
            # adding the `-m68020' flag to GCC prevents building anything better,
 
16051
            # like `-m68040'.
 
16052
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
16053
        ;;
 
16054
      esac
14616
16055
      ;;
 
16056
 
14617
16057
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14618
16058
      # PIC is the default for these OSes.
14619
16059
      ;;
14620
 
    mingw* | cygwin* | os2* | pw32*)
 
16060
    mingw* | cygwin* | os2* | pw32* | cegcc*)
14621
16061
      # This hack is so that the source file can tell whether it is being
14622
16062
      # built for inclusion in a dll (and should export symbols for example).
14623
16063
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14643
16083
      fi
14644
16084
      ;;
14645
16085
    hpux*)
14646
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14647
 
      # not for PA HP-UX.
 
16086
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
16087
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
16088
      # sets the default TLS model and affects inlining.
14648
16089
      case $host_cpu in
14649
 
      hppa*64*|ia64*)
 
16090
      hppa*64*)
14650
16091
        ;;
14651
16092
      *)
14652
16093
        lt_prog_compiler_pic_CXX='-fPIC'
14653
16094
        ;;
14654
16095
      esac
14655
16096
      ;;
 
16097
    *qnx* | *nto*)
 
16098
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
16099
      # it will coredump.
 
16100
      lt_prog_compiler_pic_CXX='-fPIC -shared'
 
16101
      ;;
14656
16102
    *)
14657
16103
      lt_prog_compiler_pic_CXX='-fPIC'
14658
16104
      ;;
14672
16118
        case $cc_basename in
14673
16119
        cxch68*)
14674
16120
          # Green Hills C++ Compiler
14675
 
          # _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"
 
16121
          # _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"
14676
16122
          ;;
14677
16123
        esac
14678
16124
        ;;
14679
 
       darwin*)
14680
 
         # PIC is the default on this platform
14681
 
         # Common symbols not allowed in MH_DYLIB files
14682
 
         case $cc_basename in
14683
 
           xlc*)
14684
 
           lt_prog_compiler_pic_CXX='-qnocommon'
14685
 
           lt_prog_compiler_wl_CXX='-Wl,'
14686
 
           ;;
14687
 
         esac
14688
 
       ;;
14689
16125
      dgux*)
14690
16126
        case $cc_basename in
14691
16127
          ec++*)
14749
16185
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14750
16186
            lt_prog_compiler_pic_CXX='-fPIC'
14751
16187
            ;;
14752
 
          icpc* | ecpc*)
14753
 
            # Intel C++
 
16188
          ecpc* )
 
16189
            # old Intel C++ for x86_64 which still supported -KPIC.
14754
16190
            lt_prog_compiler_wl_CXX='-Wl,'
14755
16191
            lt_prog_compiler_pic_CXX='-KPIC'
14756
16192
            lt_prog_compiler_static_CXX='-static'
14757
16193
            ;;
 
16194
          icpc* )
 
16195
            # Intel C++, used to be incompatible with GCC.
 
16196
            # ICC 10 doesn't accept -KPIC any more.
 
16197
            lt_prog_compiler_wl_CXX='-Wl,'
 
16198
            lt_prog_compiler_pic_CXX='-fPIC'
 
16199
            lt_prog_compiler_static_CXX='-static'
 
16200
            ;;
14758
16201
          pgCC* | pgcpp*)
14759
 
            # Portland Group C++ compiler.
 
16202
            # Portland Group C++ compiler
14760
16203
            lt_prog_compiler_wl_CXX='-Wl,'
14761
16204
            lt_prog_compiler_pic_CXX='-fpic'
14762
16205
            lt_prog_compiler_static_CXX='-Bstatic'
14768
16211
            lt_prog_compiler_pic_CXX=
14769
16212
            lt_prog_compiler_static_CXX='-non_shared'
14770
16213
            ;;
 
16214
          xlc* | xlC*)
 
16215
            # IBM XL 8.0 on PPC
 
16216
            lt_prog_compiler_wl_CXX='-Wl,'
 
16217
            lt_prog_compiler_pic_CXX='-qpic'
 
16218
            lt_prog_compiler_static_CXX='-qstaticlink'
 
16219
            ;;
14771
16220
          *)
14772
16221
            case `$CC -V 2>&1 | sed 5q` in
14773
16222
            *Sun\ C*)
14795
16244
        ;;
14796
16245
      netbsd* | netbsdelf*-gnu)
14797
16246
        ;;
 
16247
      *qnx* | *nto*)
 
16248
        # QNX uses GNU C++, but need to define -shared option too, otherwise
 
16249
        # it will coredump.
 
16250
        lt_prog_compiler_pic_CXX='-fPIC -shared'
 
16251
        ;;
14798
16252
      osf3* | osf4* | osf5*)
14799
16253
        case $cc_basename in
14800
16254
          KCC*)
14849
16303
            ;;
14850
16304
        esac
14851
16305
        ;;
 
16306
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
16307
        case $cc_basename in
 
16308
          CC*)
 
16309
            lt_prog_compiler_wl_CXX='-Wl,'
 
16310
            lt_prog_compiler_pic_CXX='-KPIC'
 
16311
            lt_prog_compiler_static_CXX='-Bstatic'
 
16312
            ;;
 
16313
        esac
 
16314
        ;;
14852
16315
      tandem*)
14853
16316
        case $cc_basename in
14854
16317
          NCC*)
14859
16322
            ;;
14860
16323
        esac
14861
16324
        ;;
14862
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14863
 
        case $cc_basename in
14864
 
          CC*)
14865
 
            lt_prog_compiler_wl_CXX='-Wl,'
14866
 
            lt_prog_compiler_pic_CXX='-KPIC'
14867
 
            lt_prog_compiler_static_CXX='-Bstatic'
14868
 
            ;;
14869
 
        esac
14870
 
        ;;
14871
16325
      vxworks*)
14872
16326
        ;;
14873
16327
      *)
14876
16330
    esac
14877
16331
  fi
14878
16332
 
14879
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14880
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
 
16333
case $host_os in
 
16334
  # For platforms which do not support PIC, -DPIC is meaningless:
 
16335
  *djgpp*)
 
16336
    lt_prog_compiler_pic_CXX=
 
16337
    ;;
 
16338
  *)
 
16339
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 
16340
    ;;
 
16341
esac
 
16342
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
16343
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 
16344
 
 
16345
 
14881
16346
 
14882
16347
#
14883
16348
# Check to make sure the PIC flag actually works.
14884
16349
#
14885
16350
if test -n "$lt_prog_compiler_pic_CXX"; then
14886
 
 
14887
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14888
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
 
16351
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
16352
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14889
16353
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14890
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16354
  $as_echo_n "(cached) " >&6
14891
16355
else
14892
16356
  lt_cv_prog_compiler_pic_works_CXX=no
14893
 
  ac_outfile=conftest.$ac_objext
 
16357
   ac_outfile=conftest.$ac_objext
14894
16358
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14895
16359
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14896
16360
   # Insert the option either (1) after the last *FLAGS variable, or
14902
16366
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14903
16367
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14904
16368
   -e 's:$: $lt_compiler_flag:'`
14905
 
   (eval echo "\"\$as_me:14905: $lt_compile\"" >&5)
 
16369
   (eval echo "\"\$as_me:16369: $lt_compile\"" >&5)
14906
16370
   (eval "$lt_compile" 2>conftest.err)
14907
16371
   ac_status=$?
14908
16372
   cat conftest.err >&5
14909
 
   echo "$as_me:14909: \$? = $ac_status" >&5
 
16373
   echo "$as_me:16373: \$? = $ac_status" >&5
14910
16374
   if (exit $ac_status) && test -s "$ac_outfile"; then
14911
16375
     # The compiler can only warn and ignore the option if not recognized
14912
16376
     # So say no if there are warnings other than the usual output.
14913
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
16377
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14914
16378
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14915
16379
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14916
16380
       lt_cv_prog_compiler_pic_works_CXX=yes
14917
16381
     fi
14918
16382
   fi
14919
 
   $rm conftest*
 
16383
   $RM conftest*
14920
16384
 
14921
16385
fi
14922
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14923
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
 
16386
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
16387
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14924
16388
 
14925
16389
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14926
16390
    case $lt_prog_compiler_pic_CXX in
14933
16397
fi
14934
16398
 
14935
16399
fi
14936
 
case $host_os in
14937
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14938
 
  *djgpp*)
14939
 
    lt_prog_compiler_pic_CXX=
14940
 
    ;;
14941
 
  *)
14942
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14943
 
    ;;
14944
 
esac
 
16400
 
 
16401
 
14945
16402
 
14946
16403
#
14947
16404
# Check to make sure the static flag actually works.
14948
16405
#
14949
16406
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14950
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14951
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
16407
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
16408
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14952
16409
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14953
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16410
  $as_echo_n "(cached) " >&6
14954
16411
else
14955
16412
  lt_cv_prog_compiler_static_works_CXX=no
14956
16413
   save_LDFLAGS="$LDFLAGS"
14962
16419
     if test -s conftest.err; then
14963
16420
       # Append any errors to the config.log.
14964
16421
       cat conftest.err 1>&5
14965
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
16422
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14966
16423
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14967
16424
       if diff conftest.exp conftest.er2 >/dev/null; then
14968
16425
         lt_cv_prog_compiler_static_works_CXX=yes
14971
16428
       lt_cv_prog_compiler_static_works_CXX=yes
14972
16429
     fi
14973
16430
   fi
14974
 
   $rm -r conftest*
 
16431
   $RM -r conftest*
14975
16432
   LDFLAGS="$save_LDFLAGS"
14976
16433
 
14977
16434
fi
14978
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14979
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
 
16435
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
16436
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14980
16437
 
14981
16438
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14982
16439
    :
14985
16442
fi
14986
16443
 
14987
16444
 
14988
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14989
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14990
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14991
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14992
 
else
14993
 
  lt_cv_prog_compiler_c_o_CXX=no
14994
 
   $rm -r conftest 2>/dev/null
14995
 
   mkdir conftest
14996
 
   cd conftest
14997
 
   mkdir out
14998
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14999
 
 
15000
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15001
 
   # Insert the option either (1) after the last *FLAGS variable, or
15002
 
   # (2) before a word containing "conftest.", or (3) at the end.
15003
 
   # Note that $ac_compile itself does not contain backslashes and begins
15004
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15005
 
   lt_compile=`echo "$ac_compile" | $SED \
15006
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15007
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15008
 
   -e 's:$: $lt_compiler_flag:'`
15009
 
   (eval echo "\"\$as_me:15009: $lt_compile\"" >&5)
15010
 
   (eval "$lt_compile" 2>out/conftest.err)
15011
 
   ac_status=$?
15012
 
   cat out/conftest.err >&5
15013
 
   echo "$as_me:15013: \$? = $ac_status" >&5
15014
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15015
 
   then
15016
 
     # The compiler can only warn and ignore the option if not recognized
15017
 
     # So say no if there are warnings
15018
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15019
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15020
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15021
 
       lt_cv_prog_compiler_c_o_CXX=yes
15022
 
     fi
15023
 
   fi
15024
 
   chmod u+w . 2>&5
15025
 
   $rm conftest*
15026
 
   # SGI C++ compiler will create directory out/ii_files/ for
15027
 
   # template instantiation
15028
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15029
 
   $rm out/* && rmdir out
15030
 
   cd ..
15031
 
   rmdir conftest
15032
 
   $rm conftest*
15033
 
 
15034
 
fi
15035
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15036
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
16445
 
 
16446
 
 
16447
    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16448
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
16449
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 
16450
  $as_echo_n "(cached) " >&6
 
16451
else
 
16452
  lt_cv_prog_compiler_c_o_CXX=no
 
16453
   $RM -r conftest 2>/dev/null
 
16454
   mkdir conftest
 
16455
   cd conftest
 
16456
   mkdir out
 
16457
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16458
 
 
16459
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
16460
   # Insert the option either (1) after the last *FLAGS variable, or
 
16461
   # (2) before a word containing "conftest.", or (3) at the end.
 
16462
   # Note that $ac_compile itself does not contain backslashes and begins
 
16463
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
16464
   lt_compile=`echo "$ac_compile" | $SED \
 
16465
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
16466
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
16467
   -e 's:$: $lt_compiler_flag:'`
 
16468
   (eval echo "\"\$as_me:16468: $lt_compile\"" >&5)
 
16469
   (eval "$lt_compile" 2>out/conftest.err)
 
16470
   ac_status=$?
 
16471
   cat out/conftest.err >&5
 
16472
   echo "$as_me:16472: \$? = $ac_status" >&5
 
16473
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
16474
   then
 
16475
     # The compiler can only warn and ignore the option if not recognized
 
16476
     # So say no if there are warnings
 
16477
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
16478
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
16479
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
16480
       lt_cv_prog_compiler_c_o_CXX=yes
 
16481
     fi
 
16482
   fi
 
16483
   chmod u+w . 2>&5
 
16484
   $RM conftest*
 
16485
   # SGI C++ compiler will create directory out/ii_files/ for
 
16486
   # template instantiation
 
16487
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
16488
   $RM out/* && rmdir out
 
16489
   cd ..
 
16490
   $RM -r conftest
 
16491
   $RM conftest*
 
16492
 
 
16493
fi
 
16494
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
16495
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
16496
 
 
16497
 
 
16498
 
 
16499
    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16500
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
16501
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 
16502
  $as_echo_n "(cached) " >&6
 
16503
else
 
16504
  lt_cv_prog_compiler_c_o_CXX=no
 
16505
   $RM -r conftest 2>/dev/null
 
16506
   mkdir conftest
 
16507
   cd conftest
 
16508
   mkdir out
 
16509
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16510
 
 
16511
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
16512
   # Insert the option either (1) after the last *FLAGS variable, or
 
16513
   # (2) before a word containing "conftest.", or (3) at the end.
 
16514
   # Note that $ac_compile itself does not contain backslashes and begins
 
16515
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
16516
   lt_compile=`echo "$ac_compile" | $SED \
 
16517
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
16518
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
16519
   -e 's:$: $lt_compiler_flag:'`
 
16520
   (eval echo "\"\$as_me:16520: $lt_compile\"" >&5)
 
16521
   (eval "$lt_compile" 2>out/conftest.err)
 
16522
   ac_status=$?
 
16523
   cat out/conftest.err >&5
 
16524
   echo "$as_me:16524: \$? = $ac_status" >&5
 
16525
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
16526
   then
 
16527
     # The compiler can only warn and ignore the option if not recognized
 
16528
     # So say no if there are warnings
 
16529
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
16530
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
16531
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
16532
       lt_cv_prog_compiler_c_o_CXX=yes
 
16533
     fi
 
16534
   fi
 
16535
   chmod u+w . 2>&5
 
16536
   $RM conftest*
 
16537
   # SGI C++ compiler will create directory out/ii_files/ for
 
16538
   # template instantiation
 
16539
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
16540
   $RM out/* && rmdir out
 
16541
   cd ..
 
16542
   $RM -r conftest
 
16543
   $RM conftest*
 
16544
 
 
16545
fi
 
16546
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
16547
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
16548
 
 
16549
 
15037
16550
 
15038
16551
 
15039
16552
hard_links="nottested"
15040
16553
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15041
16554
  # do not overwrite the value of need_locks provided by the user
15042
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15043
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
16555
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
16556
$as_echo_n "checking if we can lock with hard links... " >&6; }
15044
16557
  hard_links=yes
15045
 
  $rm conftest*
 
16558
  $RM conftest*
15046
16559
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15047
16560
  touch conftest.a
15048
16561
  ln conftest.a conftest.b 2>&5 || hard_links=no
15049
16562
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15050
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
15051
 
echo "${ECHO_T}$hard_links" >&6; }
 
16563
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
16564
$as_echo "$hard_links" >&6; }
15052
16565
  if test "$hard_links" = no; then
15053
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15054
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
16566
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
16567
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15055
16568
    need_locks=warn
15056
16569
  fi
15057
16570
else
15058
16571
  need_locks=no
15059
16572
fi
15060
16573
 
15061
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15062
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
16574
 
 
16575
 
 
16576
    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
16577
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15063
16578
 
15064
16579
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15065
16580
  case $host_os in
15066
16581
  aix[4-9]*)
15067
16582
    # If we're using GNU nm, then we don't want the "-C" option.
15068
16583
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
15069
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15070
 
      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'
 
16584
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
16585
      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'
15071
16586
    else
15072
 
      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'
 
16587
      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'
15073
16588
    fi
15074
16589
    ;;
15075
16590
  pw32*)
15076
16591
    export_symbols_cmds_CXX="$ltdll_cmds"
15077
16592
  ;;
15078
 
  cygwin* | mingw*)
15079
 
    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'
 
16593
  cygwin* | mingw* | cegcc*)
 
16594
    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'
15080
16595
  ;;
15081
16596
  linux* | k*bsd*-gnu)
15082
16597
    link_all_deplibs_CXX=no
15087
16602
  esac
15088
16603
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15089
16604
 
15090
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15091
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
16605
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
16606
$as_echo "$ld_shlibs_CXX" >&6; }
15092
16607
test "$ld_shlibs_CXX" = no && can_build_shared=no
15093
16608
 
 
16609
with_gnu_ld_CXX=$with_gnu_ld
 
16610
 
 
16611
 
 
16612
 
 
16613
 
 
16614
 
 
16615
 
15094
16616
#
15095
16617
# Do we need to explicitly link libc?
15096
16618
#
15108
16630
      # Test whether the compiler implicitly links with -lc since on some
15109
16631
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15110
16632
      # to ld, don't add -lc before -lgcc.
15111
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15112
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15113
 
      $rm conftest*
 
16633
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
16634
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
16635
      $RM conftest*
15114
16636
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15115
16637
 
15116
16638
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15117
16639
  (eval $ac_compile) 2>&5
15118
16640
  ac_status=$?
15119
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16641
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120
16642
  (exit $ac_status); } 2>conftest.err; then
15121
16643
        soname=conftest
15122
16644
        lib=conftest
15131
16653
        libname=conftest
15132
16654
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15133
16655
        allow_undefined_flag_CXX=
15134
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15135
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
16656
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
16657
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15136
16658
  ac_status=$?
15137
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16659
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138
16660
  (exit $ac_status); }
15139
16661
        then
15140
16662
          archive_cmds_need_lc_CXX=no
15145
16667
      else
15146
16668
        cat conftest.err 1>&5
15147
16669
      fi
15148
 
      $rm conftest*
15149
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15150
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
 
16670
      $RM conftest*
 
16671
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
16672
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
15151
16673
      ;;
15152
16674
    esac
15153
16675
  fi
15154
16676
  ;;
15155
16677
esac
15156
16678
 
15157
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15158
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
16679
 
 
16680
 
 
16681
 
 
16682
 
 
16683
 
 
16684
 
 
16685
 
 
16686
 
 
16687
 
 
16688
 
 
16689
 
 
16690
 
 
16691
 
 
16692
 
 
16693
 
 
16694
 
 
16695
 
 
16696
 
 
16697
 
 
16698
 
 
16699
 
 
16700
 
 
16701
 
 
16702
 
 
16703
 
 
16704
 
 
16705
 
 
16706
 
 
16707
 
 
16708
 
 
16709
 
 
16710
 
 
16711
 
 
16712
 
 
16713
 
 
16714
 
 
16715
 
 
16716
 
 
16717
 
 
16718
 
 
16719
 
 
16720
 
 
16721
 
 
16722
 
 
16723
 
 
16724
 
 
16725
 
 
16726
 
 
16727
 
 
16728
 
 
16729
 
 
16730
 
 
16731
 
 
16732
 
 
16733
 
 
16734
 
 
16735
 
 
16736
 
 
16737
 
 
16738
 
 
16739
 
 
16740
 
 
16741
 
 
16742
    { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
16743
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
16744
 
15159
16745
library_names_spec=
15160
16746
libname_spec='lib$name'
15161
16747
soname_spec=
15169
16755
version_type=none
15170
16756
dynamic_linker="$host_os ld.so"
15171
16757
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15172
 
 
15173
16758
need_lib_prefix=unknown
15174
16759
hardcode_into_libs=no
15175
16760
 
15206
16791
      aix4 | aix4.[01] | aix4.[01].*)
15207
16792
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15208
16793
           echo ' yes '
15209
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
16794
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15210
16795
        :
15211
16796
      else
15212
16797
        can_build_shared=no
15232
16817
  ;;
15233
16818
 
15234
16819
amigaos*)
15235
 
  library_names_spec='$libname.ixlibrary $libname.a'
15236
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15237
 
  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'
 
16820
  case $host_cpu in
 
16821
  powerpc)
 
16822
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
16823
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
16824
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16825
    ;;
 
16826
  m68k)
 
16827
    library_names_spec='$libname.ixlibrary $libname.a'
 
16828
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
16829
    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'
 
16830
    ;;
 
16831
  esac
15238
16832
  ;;
15239
16833
 
15240
16834
beos*)
15257
16851
  # libtool to hard-code these into programs
15258
16852
  ;;
15259
16853
 
15260
 
cygwin* | mingw* | pw32*)
 
16854
cygwin* | mingw* | pw32* | cegcc*)
15261
16855
  version_type=windows
15262
16856
  shrext_cmds=".dll"
15263
16857
  need_version=no
15264
16858
  need_lib_prefix=no
15265
16859
 
15266
16860
  case $GCC,$host_os in
15267
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
16861
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15268
16862
    library_names_spec='$libname.dll.a'
15269
16863
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15270
16864
    postinstall_cmds='base_file=`basename \${file}`~
15271
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
16865
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15272
16866
      dldir=$destdir/`dirname \$dlpath`~
15273
16867
      test -d \$dldir || mkdir -p \$dldir~
15274
16868
      $install_prog $dir/$dlname \$dldir/$dlname~
15275
 
      chmod a+x \$dldir/$dlname'
 
16869
      chmod a+x \$dldir/$dlname~
 
16870
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
16871
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
16872
      fi'
15276
16873
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15277
16874
      dlpath=$dir/\$dldll~
15278
 
       $rm \$dlpath'
 
16875
       $RM \$dlpath'
15279
16876
    shlibpath_overrides_runpath=yes
15280
16877
 
15281
16878
    case $host_os in
15284
16881
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15285
16882
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15286
16883
      ;;
15287
 
    mingw*)
 
16884
    mingw* | cegcc*)
15288
16885
      # MinGW DLLs use traditional 'lib' prefix
15289
16886
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15290
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15291
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
16887
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
16888
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15292
16889
        # It is most probably a Windows format PATH printed by
15293
16890
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15294
16891
        # path with ; separators, and with drive letters. We can handle the
15295
16892
        # drive letters (cygwin fileutils understands them), so leave them,
15296
16893
        # especially as we might pass files found there to a mingw objdump,
15297
16894
        # which wouldn't understand a cygwinified path. Ahh.
15298
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
16895
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15299
16896
      else
15300
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
16897
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15301
16898
      fi
15302
16899
      ;;
15303
16900
    pw32*)
15321
16918
  version_type=darwin
15322
16919
  need_lib_prefix=no
15323
16920
  need_version=no
15324
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
16921
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15325
16922
  soname_spec='${libname}${release}${major}$shared_ext'
15326
16923
  shlibpath_overrides_runpath=yes
15327
16924
  shlibpath_var=DYLD_LIBRARY_PATH
15419
17016
    fi
15420
17017
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15421
17018
    ;;
15422
 
   hppa*64*)
15423
 
     shrext_cmds='.sl'
15424
 
     hardcode_into_libs=yes
15425
 
     dynamic_linker="$host_os dld.sl"
15426
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15427
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15428
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15429
 
     soname_spec='${libname}${release}${shared_ext}$major'
15430
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15431
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15432
 
     ;;
15433
 
   *)
 
17019
  hppa*64*)
 
17020
    shrext_cmds='.sl'
 
17021
    hardcode_into_libs=yes
 
17022
    dynamic_linker="$host_os dld.sl"
 
17023
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
17024
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
17025
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17026
    soname_spec='${libname}${release}${shared_ext}$major'
 
17027
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
17028
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
17029
    ;;
 
17030
  *)
15434
17031
    shrext_cmds='.sl'
15435
17032
    dynamic_linker="$host_os dld.sl"
15436
17033
    shlibpath_var=SHLIB_PATH
15507
17104
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15508
17105
  shlibpath_var=LD_LIBRARY_PATH
15509
17106
  shlibpath_overrides_runpath=no
 
17107
  # Some binutils ld are patched to set DT_RUNPATH
 
17108
  save_LDFLAGS=$LDFLAGS
 
17109
  save_libdir=$libdir
 
17110
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
17111
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
17112
  cat >conftest.$ac_ext <<_ACEOF
 
17113
/* confdefs.h.  */
 
17114
_ACEOF
 
17115
cat confdefs.h >>conftest.$ac_ext
 
17116
cat >>conftest.$ac_ext <<_ACEOF
 
17117
/* end confdefs.h.  */
 
17118
 
 
17119
int
 
17120
main ()
 
17121
{
 
17122
 
 
17123
  ;
 
17124
  return 0;
 
17125
}
 
17126
_ACEOF
 
17127
rm -f conftest.$ac_objext conftest$ac_exeext
 
17128
if { (ac_try="$ac_link"
 
17129
case "(($ac_try" in
 
17130
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17131
  *) ac_try_echo=$ac_try;;
 
17132
esac
 
17133
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17134
$as_echo "$ac_try_echo") >&5
 
17135
  (eval "$ac_link") 2>conftest.er1
 
17136
  ac_status=$?
 
17137
  grep -v '^ *+' conftest.er1 >conftest.err
 
17138
  rm -f conftest.er1
 
17139
  cat conftest.err >&5
 
17140
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17141
  (exit $ac_status); } && {
 
17142
         test -z "$ac_cxx_werror_flag" ||
 
17143
         test ! -s conftest.err
 
17144
       } && test -s conftest$ac_exeext && {
 
17145
         test "$cross_compiling" = yes ||
 
17146
         $as_test_x conftest$ac_exeext
 
17147
       }; then
 
17148
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
17149
  shlibpath_overrides_runpath=yes
 
17150
fi
 
17151
 
 
17152
else
 
17153
  $as_echo "$as_me: failed program was:" >&5
 
17154
sed 's/^/| /' conftest.$ac_ext >&5
 
17155
 
 
17156
 
 
17157
fi
 
17158
 
 
17159
rm -rf conftest.dSYM
 
17160
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
17161
      conftest$ac_exeext conftest.$ac_ext
 
17162
  LDFLAGS=$save_LDFLAGS
 
17163
  libdir=$save_libdir
 
17164
 
15510
17165
  # This implies no fast_install, which is unacceptable.
15511
17166
  # Some rework will be needed to allow for fast_install
15512
17167
  # before this can be enabled.
15514
17169
 
15515
17170
  # Append ld.so.conf contents to the search path
15516
17171
  if test -f /etc/ld.so.conf; then
15517
 
    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' ' '`
 
17172
    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' ' '`
15518
17173
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15519
17174
  fi
15520
17175
 
15543
17198
  version_type=sunos
15544
17199
  need_lib_prefix=no
15545
17200
  need_version=no
15546
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
17201
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15547
17202
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15548
17203
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15549
17204
    dynamic_linker='NetBSD (a.out) ld.so'
15564
17219
  shlibpath_overrides_runpath=yes
15565
17220
  ;;
15566
17221
 
15567
 
nto-qnx*)
15568
 
  version_type=linux
 
17222
*nto* | *qnx*)
 
17223
  version_type=qnx
15569
17224
  need_lib_prefix=no
15570
17225
  need_version=no
15571
17226
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15572
17227
  soname_spec='${libname}${release}${shared_ext}$major'
15573
17228
  shlibpath_var=LD_LIBRARY_PATH
15574
 
  shlibpath_overrides_runpath=yes
 
17229
  shlibpath_overrides_runpath=no
 
17230
  hardcode_into_libs=yes
 
17231
  dynamic_linker='ldqnx.so'
15575
17232
  ;;
15576
17233
 
15577
17234
openbsd*)
15580
17237
  need_lib_prefix=no
15581
17238
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15582
17239
  case $host_os in
15583
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15584
 
    *)                         need_version=no  ;;
 
17240
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
17241
    *)                          need_version=no  ;;
15585
17242
  esac
15586
17243
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15587
17244
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15588
17245
  shlibpath_var=LD_LIBRARY_PATH
15589
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
17246
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15590
17247
    case $host_os in
15591
17248
      openbsd2.[89] | openbsd2.[89].*)
15592
17249
        shlibpath_overrides_runpath=no
15658
17315
    sni)
15659
17316
      shlibpath_overrides_runpath=no
15660
17317
      need_lib_prefix=no
15661
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
15662
17318
      runpath_var=LD_RUN_PATH
15663
17319
      ;;
15664
17320
    siemens)
15689
17345
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15690
17346
  soname_spec='${libname}${release}${shared_ext}$major'
15691
17347
  shlibpath_var=LD_LIBRARY_PATH
 
17348
  shlibpath_overrides_runpath=yes
15692
17349
  hardcode_into_libs=yes
15693
17350
  if test "$with_gnu_ld" = yes; then
15694
17351
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15695
 
    shlibpath_overrides_runpath=no
15696
17352
  else
15697
17353
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15698
 
    shlibpath_overrides_runpath=yes
15699
17354
    case $host_os in
15700
17355
      sco3.2v5*)
15701
17356
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15705
17360
  sys_lib_dlsearch_path_spec='/usr/lib'
15706
17361
  ;;
15707
17362
 
 
17363
tpf*)
 
17364
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
17365
  version_type=linux
 
17366
  need_lib_prefix=no
 
17367
  need_version=no
 
17368
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17369
  shlibpath_var=LD_LIBRARY_PATH
 
17370
  shlibpath_overrides_runpath=no
 
17371
  hardcode_into_libs=yes
 
17372
  ;;
 
17373
 
15708
17374
uts4*)
15709
17375
  version_type=linux
15710
17376
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15716
17382
  dynamic_linker=no
15717
17383
  ;;
15718
17384
esac
15719
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15720
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
17385
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
17386
$as_echo "$dynamic_linker" >&6; }
15721
17387
test "$dynamic_linker" = no && can_build_shared=no
15722
17388
 
15723
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15724
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15725
 
else
15726
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
15727
 
fi
15728
 
 
15729
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15730
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15731
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15732
 
else
15733
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
15734
 
fi
15735
 
 
15736
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15737
 
 
15738
17389
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15739
17390
if test "$GCC" = yes; then
15740
17391
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15741
17392
fi
15742
17393
 
15743
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15744
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
17394
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
17395
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
17396
fi
 
17397
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
17398
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
17399
fi
 
17400
 
 
17401
 
 
17402
 
 
17403
 
 
17404
 
 
17405
 
 
17406
 
 
17407
 
 
17408
 
 
17409
 
 
17410
 
 
17411
 
 
17412
 
 
17413
 
 
17414
 
 
17415
 
 
17416
 
 
17417
 
 
17418
 
 
17419
 
 
17420
 
 
17421
 
 
17422
 
 
17423
 
 
17424
 
 
17425
 
 
17426
 
 
17427
 
 
17428
 
 
17429
 
 
17430
 
 
17431
 
 
17432
 
 
17433
 
 
17434
 
 
17435
 
 
17436
    { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
17437
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15745
17438
hardcode_action_CXX=
15746
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
15747
 
   test -n "$runpath_var_CXX" || \
 
17439
if test -n "$hardcode_libdir_flag_spec_CXX" ||
 
17440
   test -n "$runpath_var_CXX" ||
15748
17441
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15749
17442
 
15750
 
  # We can hardcode non-existant directories.
 
17443
  # We can hardcode non-existent directories.
15751
17444
  if test "$hardcode_direct_CXX" != no &&
15752
17445
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15753
17446
     # have to relink, otherwise we might link with an installed library
15754
17447
     # when we should be linking with a yet-to-be-installed one
15755
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 
17448
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15756
17449
     test "$hardcode_minus_L_CXX" != no; then
15757
17450
    # Linking always hardcodes the temporary library directory.
15758
17451
    hardcode_action_CXX=relink
15765
17458
  # directories.
15766
17459
  hardcode_action_CXX=unsupported
15767
17460
fi
15768
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15769
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15770
 
 
15771
 
if test "$hardcode_action_CXX" = relink; then
15772
 
  # Fast installation is not supported
15773
 
  enable_fast_install=no
15774
 
elif test "$shlibpath_overrides_runpath" = yes ||
15775
 
     test "$enable_shared" = no; then
15776
 
  # Fast installation is not necessary
15777
 
  enable_fast_install=needless
15778
 
fi
15779
 
 
15780
 
 
15781
 
# The else clause should only fire when bootstrapping the
15782
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
15783
 
# with your package, and you will get complaints that there are
15784
 
# no rules to generate ltmain.sh.
15785
 
if test -f "$ltmain"; then
15786
 
  # See if we are running on zsh, and set the options which allow our commands through
15787
 
  # without removal of \ escapes.
15788
 
  if test -n "${ZSH_VERSION+set}" ; then
15789
 
    setopt NO_GLOB_SUBST
15790
 
  fi
15791
 
  # Now quote all the things that may contain metacharacters while being
15792
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15793
 
  # variables and quote the copies for generation of the libtool script.
15794
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15795
 
    SED SHELL STRIP \
15796
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15797
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15798
 
    deplibs_check_method reload_flag reload_cmds need_locks \
15799
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15800
 
    lt_cv_sys_global_symbol_to_c_name_address \
15801
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15802
 
    old_postinstall_cmds old_postuninstall_cmds \
15803
 
    compiler_CXX \
15804
 
    CC_CXX \
15805
 
    LD_CXX \
15806
 
    lt_prog_compiler_wl_CXX \
15807
 
    lt_prog_compiler_pic_CXX \
15808
 
    lt_prog_compiler_static_CXX \
15809
 
    lt_prog_compiler_no_builtin_flag_CXX \
15810
 
    export_dynamic_flag_spec_CXX \
15811
 
    thread_safe_flag_spec_CXX \
15812
 
    whole_archive_flag_spec_CXX \
15813
 
    enable_shared_with_static_runtimes_CXX \
15814
 
    old_archive_cmds_CXX \
15815
 
    old_archive_from_new_cmds_CXX \
15816
 
    predep_objects_CXX \
15817
 
    postdep_objects_CXX \
15818
 
    predeps_CXX \
15819
 
    postdeps_CXX \
15820
 
    compiler_lib_search_path_CXX \
15821
 
    compiler_lib_search_dirs_CXX \
15822
 
    archive_cmds_CXX \
15823
 
    archive_expsym_cmds_CXX \
15824
 
    postinstall_cmds_CXX \
15825
 
    postuninstall_cmds_CXX \
15826
 
    old_archive_from_expsyms_cmds_CXX \
15827
 
    allow_undefined_flag_CXX \
15828
 
    no_undefined_flag_CXX \
15829
 
    export_symbols_cmds_CXX \
15830
 
    hardcode_libdir_flag_spec_CXX \
15831
 
    hardcode_libdir_flag_spec_ld_CXX \
15832
 
    hardcode_libdir_separator_CXX \
15833
 
    hardcode_automatic_CXX \
15834
 
    module_cmds_CXX \
15835
 
    module_expsym_cmds_CXX \
15836
 
    lt_cv_prog_compiler_c_o_CXX \
15837
 
    fix_srcfile_path_CXX \
15838
 
    exclude_expsyms_CXX \
15839
 
    include_expsyms_CXX; do
15840
 
 
15841
 
    case $var in
15842
 
    old_archive_cmds_CXX | \
15843
 
    old_archive_from_new_cmds_CXX | \
15844
 
    archive_cmds_CXX | \
15845
 
    archive_expsym_cmds_CXX | \
15846
 
    module_cmds_CXX | \
15847
 
    module_expsym_cmds_CXX | \
15848
 
    old_archive_from_expsyms_cmds_CXX | \
15849
 
    export_symbols_cmds_CXX | \
15850
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
15851
 
    postinstall_cmds | postuninstall_cmds | \
15852
 
    old_postinstall_cmds | old_postuninstall_cmds | \
15853
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15854
 
      # Double-quote double-evaled strings.
15855
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15856
 
      ;;
15857
 
    *)
15858
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15859
 
      ;;
15860
 
    esac
15861
 
  done
15862
 
 
15863
 
  case $lt_echo in
15864
 
  *'\$0 --fallback-echo"')
15865
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15866
 
    ;;
15867
 
  esac
15868
 
 
15869
 
cfgfile="$ofile"
15870
 
 
15871
 
  cat <<__EOF__ >> "$cfgfile"
15872
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15873
 
 
15874
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15875
 
 
15876
 
# Shell to use when invoking shell scripts.
15877
 
SHELL=$lt_SHELL
15878
 
 
15879
 
# Whether or not to build shared libraries.
15880
 
build_libtool_libs=$enable_shared
15881
 
 
15882
 
# Whether or not to build static libraries.
15883
 
build_old_libs=$enable_static
15884
 
 
15885
 
# Whether or not to add -lc for building shared libraries.
15886
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
15887
 
 
15888
 
# Whether or not to disallow shared libs when runtime libs are static
15889
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15890
 
 
15891
 
# Whether or not to optimize for fast installation.
15892
 
fast_install=$enable_fast_install
15893
 
 
15894
 
# The host system.
15895
 
host_alias=$host_alias
15896
 
host=$host
15897
 
host_os=$host_os
15898
 
 
15899
 
# The build system.
15900
 
build_alias=$build_alias
15901
 
build=$build
15902
 
build_os=$build_os
15903
 
 
15904
 
# An echo program that does not interpret backslashes.
15905
 
echo=$lt_echo
15906
 
 
15907
 
# The archiver.
15908
 
AR=$lt_AR
15909
 
AR_FLAGS=$lt_AR_FLAGS
15910
 
 
15911
 
# A C compiler.
15912
 
LTCC=$lt_LTCC
15913
 
 
15914
 
# LTCC compiler flags.
15915
 
LTCFLAGS=$lt_LTCFLAGS
15916
 
 
15917
 
# A language-specific compiler.
15918
 
CC=$lt_compiler_CXX
15919
 
 
15920
 
# Is the compiler the GNU C compiler?
15921
 
with_gcc=$GCC_CXX
15922
 
 
15923
 
# An ERE matcher.
15924
 
EGREP=$lt_EGREP
15925
 
 
15926
 
# The linker used to build libraries.
15927
 
LD=$lt_LD_CXX
15928
 
 
15929
 
# Whether we need hard or soft links.
15930
 
LN_S=$lt_LN_S
15931
 
 
15932
 
# A BSD-compatible nm program.
15933
 
NM=$lt_NM
15934
 
 
15935
 
# A symbol stripping program
15936
 
STRIP=$lt_STRIP
15937
 
 
15938
 
# Used to examine libraries when file_magic_cmd begins "file"
15939
 
MAGIC_CMD=$MAGIC_CMD
15940
 
 
15941
 
# Used on cygwin: DLL creation program.
15942
 
DLLTOOL="$DLLTOOL"
15943
 
 
15944
 
# Used on cygwin: object dumper.
15945
 
OBJDUMP="$OBJDUMP"
15946
 
 
15947
 
# Used on cygwin: assembler.
15948
 
AS="$AS"
15949
 
 
15950
 
# The name of the directory that contains temporary libtool files.
15951
 
objdir=$objdir
15952
 
 
15953
 
# How to create reloadable object files.
15954
 
reload_flag=$lt_reload_flag
15955
 
reload_cmds=$lt_reload_cmds
15956
 
 
15957
 
# How to pass a linker flag through the compiler.
15958
 
wl=$lt_lt_prog_compiler_wl_CXX
15959
 
 
15960
 
# Object file suffix (normally "o").
15961
 
objext="$ac_objext"
15962
 
 
15963
 
# Old archive suffix (normally "a").
15964
 
libext="$libext"
15965
 
 
15966
 
# Shared library suffix (normally ".so").
15967
 
shrext_cmds='$shrext_cmds'
15968
 
 
15969
 
# Executable file suffix (normally "").
15970
 
exeext="$exeext"
15971
 
 
15972
 
# Additional compiler flags for building library objects.
15973
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
15974
 
pic_mode=$pic_mode
15975
 
 
15976
 
# What is the maximum length of a command?
15977
 
max_cmd_len=$lt_cv_sys_max_cmd_len
15978
 
 
15979
 
# Does compiler simultaneously support -c and -o options?
15980
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15981
 
 
15982
 
# Must we lock files when doing compilation?
15983
 
need_locks=$lt_need_locks
15984
 
 
15985
 
# Do we need the lib prefix for modules?
15986
 
need_lib_prefix=$need_lib_prefix
15987
 
 
15988
 
# Do we need a version for libraries?
15989
 
need_version=$need_version
15990
 
 
15991
 
# Whether dlopen is supported.
15992
 
dlopen_support=$enable_dlopen
15993
 
 
15994
 
# Whether dlopen of programs is supported.
15995
 
dlopen_self=$enable_dlopen_self
15996
 
 
15997
 
# Whether dlopen of statically linked programs is supported.
15998
 
dlopen_self_static=$enable_dlopen_self_static
15999
 
 
16000
 
# Compiler flag to prevent dynamic linking.
16001
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
16002
 
 
16003
 
# Compiler flag to turn off builtin functions.
16004
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16005
 
 
16006
 
# Compiler flag to allow reflexive dlopens.
16007
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16008
 
 
16009
 
# Compiler flag to generate shared objects directly from archives.
16010
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16011
 
 
16012
 
# Compiler flag to generate thread-safe objects.
16013
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
16014
 
 
16015
 
# Library versioning type.
16016
 
version_type=$version_type
16017
 
 
16018
 
# Format of library name prefix.
16019
 
libname_spec=$lt_libname_spec
16020
 
 
16021
 
# List of archive names.  First name is the real one, the rest are links.
16022
 
# The last name is the one that the linker finds with -lNAME.
16023
 
library_names_spec=$lt_library_names_spec
16024
 
 
16025
 
# The coded name of the library, if different from the real name.
16026
 
soname_spec=$lt_soname_spec
16027
 
 
16028
 
# Commands used to build and install an old-style archive.
16029
 
RANLIB=$lt_RANLIB
16030
 
old_archive_cmds=$lt_old_archive_cmds_CXX
16031
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16032
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16033
 
 
16034
 
# Create an old-style archive from a shared archive.
16035
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16036
 
 
16037
 
# Create a temporary old-style archive to link instead of a shared archive.
16038
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16039
 
 
16040
 
# Commands used to build and install a shared archive.
16041
 
archive_cmds=$lt_archive_cmds_CXX
16042
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16043
 
postinstall_cmds=$lt_postinstall_cmds
16044
 
postuninstall_cmds=$lt_postuninstall_cmds
16045
 
 
16046
 
# Commands used to build a loadable module (assumed same as above if empty)
16047
 
module_cmds=$lt_module_cmds_CXX
16048
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
16049
 
 
16050
 
# Commands to strip libraries.
16051
 
old_striplib=$lt_old_striplib
16052
 
striplib=$lt_striplib
16053
 
 
16054
 
# Dependencies to place before the objects being linked to create a
16055
 
# shared library.
16056
 
predep_objects=$lt_predep_objects_CXX
16057
 
 
16058
 
# Dependencies to place after the objects being linked to create a
16059
 
# shared library.
16060
 
postdep_objects=$lt_postdep_objects_CXX
16061
 
 
16062
 
# Dependencies to place before the objects being linked to create a
16063
 
# shared library.
16064
 
predeps=$lt_predeps_CXX
16065
 
 
16066
 
# Dependencies to place after the objects being linked to create a
16067
 
# shared library.
16068
 
postdeps=$lt_postdeps_CXX
16069
 
 
16070
 
# The directories searched by this compiler when creating a shared
16071
 
# library
16072
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
16073
 
 
16074
 
# The library search path used internally by the compiler when linking
16075
 
# a shared library.
16076
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16077
 
 
16078
 
# Method to check whether dependent libraries are shared objects.
16079
 
deplibs_check_method=$lt_deplibs_check_method
16080
 
 
16081
 
# Command to use when deplibs_check_method == file_magic.
16082
 
file_magic_cmd=$lt_file_magic_cmd
16083
 
 
16084
 
# Flag that allows shared libraries with undefined symbols to be built.
16085
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
16086
 
 
16087
 
# Flag that forces no undefined symbols.
16088
 
no_undefined_flag=$lt_no_undefined_flag_CXX
16089
 
 
16090
 
# Commands used to finish a libtool library installation in a directory.
16091
 
finish_cmds=$lt_finish_cmds
16092
 
 
16093
 
# Same as above, but a single script fragment to be evaled but not shown.
16094
 
finish_eval=$lt_finish_eval
16095
 
 
16096
 
# Take the output of nm and produce a listing of raw symbols and C names.
16097
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16098
 
 
16099
 
# Transform the output of nm in a proper C declaration
16100
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16101
 
 
16102
 
# Transform the output of nm in a C name address pair
16103
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16104
 
 
16105
 
# This is the shared library runtime path variable.
16106
 
runpath_var=$runpath_var
16107
 
 
16108
 
# This is the shared library path variable.
16109
 
shlibpath_var=$shlibpath_var
16110
 
 
16111
 
# Is shlibpath searched before the hard-coded library search path?
16112
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16113
 
 
16114
 
# How to hardcode a shared library path into an executable.
16115
 
hardcode_action=$hardcode_action_CXX
16116
 
 
16117
 
# Whether we should hardcode library paths into libraries.
16118
 
hardcode_into_libs=$hardcode_into_libs
16119
 
 
16120
 
# Flag to hardcode \$libdir into a binary during linking.
16121
 
# This must work even if \$libdir does not exist.
16122
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16123
 
 
16124
 
# If ld is used when linking, flag to hardcode \$libdir into
16125
 
# a binary during linking. This must work even if \$libdir does
16126
 
# not exist.
16127
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16128
 
 
16129
 
# Whether we need a single -rpath flag with a separated argument.
16130
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16131
 
 
16132
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16133
 
# resulting binary.
16134
 
hardcode_direct=$hardcode_direct_CXX
16135
 
 
16136
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16137
 
# resulting binary.
16138
 
hardcode_minus_L=$hardcode_minus_L_CXX
16139
 
 
16140
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16141
 
# the resulting binary.
16142
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16143
 
 
16144
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16145
 
# and all subsequent libraries and executables linked against it.
16146
 
hardcode_automatic=$hardcode_automatic_CXX
16147
 
 
16148
 
# Variables whose values should be saved in libtool wrapper scripts and
16149
 
# restored at relink time.
16150
 
variables_saved_for_relink="$variables_saved_for_relink"
16151
 
 
16152
 
# Whether libtool must link a program against all its dependency libraries.
16153
 
link_all_deplibs=$link_all_deplibs_CXX
16154
 
 
16155
 
# Compile-time system search path for libraries
16156
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16157
 
 
16158
 
# Run-time system search path for libraries
16159
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16160
 
 
16161
 
# Fix the shell variable \$srcfile for the compiler.
16162
 
fix_srcfile_path=$lt_fix_srcfile_path
16163
 
 
16164
 
# Set to yes if exported symbols are required.
16165
 
always_export_symbols=$always_export_symbols_CXX
16166
 
 
16167
 
# The commands to list exported symbols.
16168
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
16169
 
 
16170
 
# The commands to extract the exported symbol list from a shared archive.
16171
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16172
 
 
16173
 
# Symbols that should not be listed in the preloaded symbols.
16174
 
exclude_expsyms=$lt_exclude_expsyms_CXX
16175
 
 
16176
 
# Symbols that must always be exported.
16177
 
include_expsyms=$lt_include_expsyms_CXX
16178
 
 
16179
 
# ### END LIBTOOL TAG CONFIG: $tagname
16180
 
 
16181
 
__EOF__
16182
 
 
16183
 
 
16184
 
else
16185
 
  # If there is no Makefile yet, we rely on a make rule to execute
16186
 
  # `config.status --recheck' to rerun these tests and create the
16187
 
  # libtool script then.
16188
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16189
 
  if test -f "$ltmain_in"; then
16190
 
    test -f Makefile && make "$ltmain"
16191
 
  fi
16192
 
fi
16193
 
 
16194
 
 
16195
 
ac_ext=c
16196
 
ac_cpp='$CPP $CPPFLAGS'
16197
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16198
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16199
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16200
 
 
16201
 
CC=$lt_save_CC
16202
 
LDCXX=$LD
16203
 
LD=$lt_save_LD
16204
 
GCC=$lt_save_GCC
16205
 
with_gnu_ldcxx=$with_gnu_ld
16206
 
with_gnu_ld=$lt_save_with_gnu_ld
16207
 
lt_cv_path_LDCXX=$lt_cv_path_LD
16208
 
lt_cv_path_LD=$lt_save_path_LD
16209
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16210
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16211
 
 
16212
 
        else
16213
 
          tagname=""
16214
 
        fi
16215
 
        ;;
16216
 
 
16217
 
      F77)
16218
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
16219
 
 
16220
 
ac_ext=f
16221
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16222
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16223
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16224
 
 
16225
 
 
16226
 
archive_cmds_need_lc_F77=no
16227
 
allow_undefined_flag_F77=
16228
 
always_export_symbols_F77=no
16229
 
archive_expsym_cmds_F77=
16230
 
export_dynamic_flag_spec_F77=
16231
 
hardcode_direct_F77=no
16232
 
hardcode_libdir_flag_spec_F77=
16233
 
hardcode_libdir_flag_spec_ld_F77=
16234
 
hardcode_libdir_separator_F77=
16235
 
hardcode_minus_L_F77=no
16236
 
hardcode_automatic_F77=no
16237
 
module_cmds_F77=
16238
 
module_expsym_cmds_F77=
16239
 
link_all_deplibs_F77=unknown
16240
 
old_archive_cmds_F77=$old_archive_cmds
16241
 
no_undefined_flag_F77=
16242
 
whole_archive_flag_spec_F77=
16243
 
enable_shared_with_static_runtimes_F77=no
16244
 
 
16245
 
# Source file extension for f77 test sources.
16246
 
ac_ext=f
16247
 
 
16248
 
# Object file extension for compiled f77 test sources.
16249
 
objext=o
16250
 
objext_F77=$objext
16251
 
 
16252
 
# Code to be used in simple compile tests
16253
 
lt_simple_compile_test_code="\
16254
 
      subroutine t
16255
 
      return
16256
 
      end
16257
 
"
16258
 
 
16259
 
# Code to be used in simple link tests
16260
 
lt_simple_link_test_code="\
16261
 
      program t
16262
 
      end
16263
 
"
16264
 
 
16265
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16266
 
 
16267
 
# If no C compiler was specified, use CC.
16268
 
LTCC=${LTCC-"$CC"}
16269
 
 
16270
 
# If no C compiler flags were specified, use CFLAGS.
16271
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16272
 
 
16273
 
# Allow CC to be a program name with arguments.
16274
 
compiler=$CC
16275
 
 
16276
 
 
16277
 
# save warnings/boilerplate of simple test code
16278
 
ac_outfile=conftest.$ac_objext
16279
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16280
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16281
 
_lt_compiler_boilerplate=`cat conftest.err`
16282
 
$rm conftest*
16283
 
 
16284
 
ac_outfile=conftest.$ac_objext
16285
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16286
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16287
 
_lt_linker_boilerplate=`cat conftest.err`
16288
 
$rm -r conftest*
16289
 
 
16290
 
 
16291
 
# Allow CC to be a program name with arguments.
16292
 
lt_save_CC="$CC"
16293
 
CC=${F77-"f77"}
16294
 
compiler=$CC
16295
 
compiler_F77=$CC
16296
 
for cc_temp in $compiler""; do
16297
 
  case $cc_temp in
16298
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16299
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16300
 
    \-*) ;;
16301
 
    *) break;;
16302
 
  esac
16303
 
done
16304
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16305
 
 
16306
 
 
16307
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16308
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
16309
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
16310
 
echo "${ECHO_T}$can_build_shared" >&6; }
16311
 
 
16312
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16313
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
16314
 
test "$can_build_shared" = "no" && enable_shared=no
16315
 
 
16316
 
# On AIX, shared libraries and static libraries use the same namespace, and
16317
 
# are all built from PIC.
16318
 
case $host_os in
16319
 
aix3*)
16320
 
  test "$enable_shared" = yes && enable_static=no
16321
 
  if test -n "$RANLIB"; then
16322
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
16323
 
    postinstall_cmds='$RANLIB $lib'
16324
 
  fi
16325
 
  ;;
16326
 
aix[4-9]*)
16327
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
16328
 
    test "$enable_shared" = yes && enable_static=no
16329
 
  fi
16330
 
  ;;
16331
 
esac
16332
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
16333
 
echo "${ECHO_T}$enable_shared" >&6; }
16334
 
 
16335
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16336
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
16337
 
# Make sure either enable_shared or enable_static is yes.
16338
 
test "$enable_shared" = yes || enable_static=yes
16339
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
16340
 
echo "${ECHO_T}$enable_static" >&6; }
16341
 
 
16342
 
GCC_F77="$G77"
16343
 
LD_F77="$LD"
16344
 
 
16345
 
lt_prog_compiler_wl_F77=
16346
 
lt_prog_compiler_pic_F77=
16347
 
lt_prog_compiler_static_F77=
16348
 
 
16349
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16350
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16351
 
 
16352
 
  if test "$GCC" = yes; then
16353
 
    lt_prog_compiler_wl_F77='-Wl,'
16354
 
    lt_prog_compiler_static_F77='-static'
16355
 
 
16356
 
    case $host_os in
16357
 
      aix*)
16358
 
      # All AIX code is PIC.
16359
 
      if test "$host_cpu" = ia64; then
16360
 
        # AIX 5 now supports IA64 processor
16361
 
        lt_prog_compiler_static_F77='-Bstatic'
16362
 
      fi
16363
 
      ;;
16364
 
 
16365
 
    amigaos*)
16366
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16367
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16368
 
      # like `-m68040'.
16369
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
16370
 
      ;;
16371
 
 
16372
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16373
 
      # PIC is the default for these OSes.
16374
 
      ;;
16375
 
 
16376
 
    mingw* | cygwin* | pw32* | os2*)
16377
 
      # This hack is so that the source file can tell whether it is being
16378
 
      # built for inclusion in a dll (and should export symbols for example).
16379
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16380
 
      # (--disable-auto-import) libraries
16381
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16382
 
      ;;
16383
 
 
16384
 
    darwin* | rhapsody*)
16385
 
      # PIC is the default on this platform
16386
 
      # Common symbols not allowed in MH_DYLIB files
16387
 
      lt_prog_compiler_pic_F77='-fno-common'
16388
 
      ;;
16389
 
 
16390
 
    interix[3-9]*)
16391
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16392
 
      # Instead, we relocate shared libraries at runtime.
16393
 
      ;;
16394
 
 
16395
 
    msdosdjgpp*)
16396
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16397
 
      # on systems that don't support them.
16398
 
      lt_prog_compiler_can_build_shared_F77=no
16399
 
      enable_shared=no
16400
 
      ;;
16401
 
 
16402
 
    sysv4*MP*)
16403
 
      if test -d /usr/nec; then
16404
 
        lt_prog_compiler_pic_F77=-Kconform_pic
16405
 
      fi
16406
 
      ;;
16407
 
 
16408
 
    hpux*)
16409
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16410
 
      # not for PA HP-UX.
16411
 
      case $host_cpu in
16412
 
      hppa*64*|ia64*)
16413
 
        # +Z the default
16414
 
        ;;
16415
 
      *)
16416
 
        lt_prog_compiler_pic_F77='-fPIC'
16417
 
        ;;
16418
 
      esac
16419
 
      ;;
16420
 
 
16421
 
    *)
16422
 
      lt_prog_compiler_pic_F77='-fPIC'
16423
 
      ;;
16424
 
    esac
16425
 
  else
16426
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16427
 
    case $host_os in
16428
 
    aix*)
16429
 
      lt_prog_compiler_wl_F77='-Wl,'
16430
 
      if test "$host_cpu" = ia64; then
16431
 
        # AIX 5 now supports IA64 processor
16432
 
        lt_prog_compiler_static_F77='-Bstatic'
16433
 
      else
16434
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
16435
 
      fi
16436
 
      ;;
16437
 
      darwin*)
16438
 
        # PIC is the default on this platform
16439
 
        # Common symbols not allowed in MH_DYLIB files
16440
 
       case $cc_basename in
16441
 
         xlc*)
16442
 
         lt_prog_compiler_pic_F77='-qnocommon'
16443
 
         lt_prog_compiler_wl_F77='-Wl,'
16444
 
         ;;
16445
 
       esac
16446
 
       ;;
16447
 
 
16448
 
    mingw* | cygwin* | pw32* | os2*)
16449
 
      # This hack is so that the source file can tell whether it is being
16450
 
      # built for inclusion in a dll (and should export symbols for example).
16451
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16452
 
      ;;
16453
 
 
16454
 
    hpux9* | hpux10* | hpux11*)
16455
 
      lt_prog_compiler_wl_F77='-Wl,'
16456
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16457
 
      # not for PA HP-UX.
16458
 
      case $host_cpu in
16459
 
      hppa*64*|ia64*)
16460
 
        # +Z the default
16461
 
        ;;
16462
 
      *)
16463
 
        lt_prog_compiler_pic_F77='+Z'
16464
 
        ;;
16465
 
      esac
16466
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16467
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
16468
 
      ;;
16469
 
 
16470
 
    irix5* | irix6* | nonstopux*)
16471
 
      lt_prog_compiler_wl_F77='-Wl,'
16472
 
      # PIC (with -KPIC) is the default.
16473
 
      lt_prog_compiler_static_F77='-non_shared'
16474
 
      ;;
16475
 
 
16476
 
    newsos6)
16477
 
      lt_prog_compiler_pic_F77='-KPIC'
16478
 
      lt_prog_compiler_static_F77='-Bstatic'
16479
 
      ;;
16480
 
 
16481
 
    linux* | k*bsd*-gnu)
16482
 
      case $cc_basename in
16483
 
      icc* | ecc*)
16484
 
        lt_prog_compiler_wl_F77='-Wl,'
16485
 
        lt_prog_compiler_pic_F77='-KPIC'
16486
 
        lt_prog_compiler_static_F77='-static'
16487
 
        ;;
16488
 
      pgcc* | pgf77* | pgf90* | pgf95*)
16489
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
16490
 
        # which looks to be a dead project)
16491
 
        lt_prog_compiler_wl_F77='-Wl,'
16492
 
        lt_prog_compiler_pic_F77='-fpic'
16493
 
        lt_prog_compiler_static_F77='-Bstatic'
16494
 
        ;;
16495
 
      ccc*)
16496
 
        lt_prog_compiler_wl_F77='-Wl,'
16497
 
        # All Alpha code is PIC.
16498
 
        lt_prog_compiler_static_F77='-non_shared'
16499
 
        ;;
16500
 
      *)
16501
 
        case `$CC -V 2>&1 | sed 5q` in
16502
 
        *Sun\ C*)
16503
 
          # Sun C 5.9
16504
 
          lt_prog_compiler_pic_F77='-KPIC'
16505
 
          lt_prog_compiler_static_F77='-Bstatic'
16506
 
          lt_prog_compiler_wl_F77='-Wl,'
16507
 
          ;;
16508
 
        *Sun\ F*)
16509
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
16510
 
          lt_prog_compiler_pic_F77='-KPIC'
16511
 
          lt_prog_compiler_static_F77='-Bstatic'
16512
 
          lt_prog_compiler_wl_F77=''
16513
 
          ;;
16514
 
        esac
16515
 
        ;;
16516
 
      esac
16517
 
      ;;
16518
 
 
16519
 
    osf3* | osf4* | osf5*)
16520
 
      lt_prog_compiler_wl_F77='-Wl,'
16521
 
      # All OSF/1 code is PIC.
16522
 
      lt_prog_compiler_static_F77='-non_shared'
16523
 
      ;;
16524
 
 
16525
 
    rdos*)
16526
 
      lt_prog_compiler_static_F77='-non_shared'
16527
 
      ;;
16528
 
 
16529
 
    solaris*)
16530
 
      lt_prog_compiler_pic_F77='-KPIC'
16531
 
      lt_prog_compiler_static_F77='-Bstatic'
16532
 
      case $cc_basename in
16533
 
      f77* | f90* | f95*)
16534
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
16535
 
      *)
16536
 
        lt_prog_compiler_wl_F77='-Wl,';;
16537
 
      esac
16538
 
      ;;
16539
 
 
16540
 
    sunos4*)
16541
 
      lt_prog_compiler_wl_F77='-Qoption ld '
16542
 
      lt_prog_compiler_pic_F77='-PIC'
16543
 
      lt_prog_compiler_static_F77='-Bstatic'
16544
 
      ;;
16545
 
 
16546
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
16547
 
      lt_prog_compiler_wl_F77='-Wl,'
16548
 
      lt_prog_compiler_pic_F77='-KPIC'
16549
 
      lt_prog_compiler_static_F77='-Bstatic'
16550
 
      ;;
16551
 
 
16552
 
    sysv4*MP*)
16553
 
      if test -d /usr/nec ;then
16554
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
16555
 
        lt_prog_compiler_static_F77='-Bstatic'
16556
 
      fi
16557
 
      ;;
16558
 
 
16559
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16560
 
      lt_prog_compiler_wl_F77='-Wl,'
16561
 
      lt_prog_compiler_pic_F77='-KPIC'
16562
 
      lt_prog_compiler_static_F77='-Bstatic'
16563
 
      ;;
16564
 
 
16565
 
    unicos*)
16566
 
      lt_prog_compiler_wl_F77='-Wl,'
16567
 
      lt_prog_compiler_can_build_shared_F77=no
16568
 
      ;;
16569
 
 
16570
 
    uts4*)
16571
 
      lt_prog_compiler_pic_F77='-pic'
16572
 
      lt_prog_compiler_static_F77='-Bstatic'
16573
 
      ;;
16574
 
 
16575
 
    *)
16576
 
      lt_prog_compiler_can_build_shared_F77=no
16577
 
      ;;
16578
 
    esac
16579
 
  fi
16580
 
 
16581
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
16582
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
16583
 
 
16584
 
#
16585
 
# Check to make sure the PIC flag actually works.
16586
 
#
16587
 
if test -n "$lt_prog_compiler_pic_F77"; then
16588
 
 
16589
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
16590
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
16591
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
16592
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16593
 
else
16594
 
  lt_cv_prog_compiler_pic_works_F77=no
16595
 
  ac_outfile=conftest.$ac_objext
16596
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16597
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
16598
 
   # Insert the option either (1) after the last *FLAGS variable, or
16599
 
   # (2) before a word containing "conftest.", or (3) at the end.
16600
 
   # Note that $ac_compile itself does not contain backslashes and begins
16601
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16602
 
   # The option is referenced via a variable to avoid confusing sed.
16603
 
   lt_compile=`echo "$ac_compile" | $SED \
16604
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16605
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16606
 
   -e 's:$: $lt_compiler_flag:'`
16607
 
   (eval echo "\"\$as_me:16607: $lt_compile\"" >&5)
16608
 
   (eval "$lt_compile" 2>conftest.err)
16609
 
   ac_status=$?
16610
 
   cat conftest.err >&5
16611
 
   echo "$as_me:16611: \$? = $ac_status" >&5
16612
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16613
 
     # The compiler can only warn and ignore the option if not recognized
16614
 
     # So say no if there are warnings other than the usual output.
16615
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16616
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16617
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16618
 
       lt_cv_prog_compiler_pic_works_F77=yes
16619
 
     fi
16620
 
   fi
16621
 
   $rm conftest*
16622
 
 
16623
 
fi
16624
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
16625
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
16626
 
 
16627
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
16628
 
    case $lt_prog_compiler_pic_F77 in
16629
 
     "" | " "*) ;;
16630
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
16631
 
     esac
16632
 
else
16633
 
    lt_prog_compiler_pic_F77=
16634
 
     lt_prog_compiler_can_build_shared_F77=no
16635
 
fi
16636
 
 
16637
 
fi
16638
 
case $host_os in
16639
 
  # For platforms which do not support PIC, -DPIC is meaningless:
16640
 
  *djgpp*)
16641
 
    lt_prog_compiler_pic_F77=
16642
 
    ;;
16643
 
  *)
16644
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
16645
 
    ;;
16646
 
esac
16647
 
 
16648
 
#
16649
 
# Check to make sure the static flag actually works.
16650
 
#
16651
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
16652
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16653
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16654
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
16655
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16656
 
else
16657
 
  lt_cv_prog_compiler_static_works_F77=no
16658
 
   save_LDFLAGS="$LDFLAGS"
16659
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16660
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16661
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16662
 
     # The linker can only warn and ignore the option if not recognized
16663
 
     # So say no if there are warnings
16664
 
     if test -s conftest.err; then
16665
 
       # Append any errors to the config.log.
16666
 
       cat conftest.err 1>&5
16667
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16668
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16669
 
       if diff conftest.exp conftest.er2 >/dev/null; then
16670
 
         lt_cv_prog_compiler_static_works_F77=yes
16671
 
       fi
16672
 
     else
16673
 
       lt_cv_prog_compiler_static_works_F77=yes
16674
 
     fi
16675
 
   fi
16676
 
   $rm -r conftest*
16677
 
   LDFLAGS="$save_LDFLAGS"
16678
 
 
16679
 
fi
16680
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
16681
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
16682
 
 
16683
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
16684
 
    :
16685
 
else
16686
 
    lt_prog_compiler_static_F77=
16687
 
fi
16688
 
 
16689
 
 
16690
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16691
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16692
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
16693
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16694
 
else
16695
 
  lt_cv_prog_compiler_c_o_F77=no
16696
 
   $rm -r conftest 2>/dev/null
16697
 
   mkdir conftest
16698
 
   cd conftest
16699
 
   mkdir out
16700
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16701
 
 
16702
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16703
 
   # Insert the option either (1) after the last *FLAGS variable, or
16704
 
   # (2) before a word containing "conftest.", or (3) at the end.
16705
 
   # Note that $ac_compile itself does not contain backslashes and begins
16706
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16707
 
   lt_compile=`echo "$ac_compile" | $SED \
16708
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16709
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16710
 
   -e 's:$: $lt_compiler_flag:'`
16711
 
   (eval echo "\"\$as_me:16711: $lt_compile\"" >&5)
16712
 
   (eval "$lt_compile" 2>out/conftest.err)
16713
 
   ac_status=$?
16714
 
   cat out/conftest.err >&5
16715
 
   echo "$as_me:16715: \$? = $ac_status" >&5
16716
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16717
 
   then
16718
 
     # The compiler can only warn and ignore the option if not recognized
16719
 
     # So say no if there are warnings
16720
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16721
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16722
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16723
 
       lt_cv_prog_compiler_c_o_F77=yes
16724
 
     fi
16725
 
   fi
16726
 
   chmod u+w . 2>&5
16727
 
   $rm conftest*
16728
 
   # SGI C++ compiler will create directory out/ii_files/ for
16729
 
   # template instantiation
16730
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16731
 
   $rm out/* && rmdir out
16732
 
   cd ..
16733
 
   rmdir conftest
16734
 
   $rm conftest*
16735
 
 
16736
 
fi
16737
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16738
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
16739
 
 
16740
 
 
16741
 
hard_links="nottested"
16742
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
16743
 
  # do not overwrite the value of need_locks provided by the user
16744
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16745
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16746
 
  hard_links=yes
16747
 
  $rm conftest*
16748
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16749
 
  touch conftest.a
16750
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
16751
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16752
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
16753
 
echo "${ECHO_T}$hard_links" >&6; }
16754
 
  if test "$hard_links" = no; then
16755
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16756
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16757
 
    need_locks=warn
16758
 
  fi
16759
 
else
16760
 
  need_locks=no
16761
 
fi
16762
 
 
16763
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16764
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16765
 
 
16766
 
  runpath_var=
16767
 
  allow_undefined_flag_F77=
16768
 
  enable_shared_with_static_runtimes_F77=no
16769
 
  archive_cmds_F77=
16770
 
  archive_expsym_cmds_F77=
16771
 
  old_archive_From_new_cmds_F77=
16772
 
  old_archive_from_expsyms_cmds_F77=
16773
 
  export_dynamic_flag_spec_F77=
16774
 
  whole_archive_flag_spec_F77=
16775
 
  thread_safe_flag_spec_F77=
16776
 
  hardcode_libdir_flag_spec_F77=
16777
 
  hardcode_libdir_flag_spec_ld_F77=
16778
 
  hardcode_libdir_separator_F77=
16779
 
  hardcode_direct_F77=no
16780
 
  hardcode_minus_L_F77=no
16781
 
  hardcode_shlibpath_var_F77=unsupported
16782
 
  link_all_deplibs_F77=unknown
16783
 
  hardcode_automatic_F77=no
16784
 
  module_cmds_F77=
16785
 
  module_expsym_cmds_F77=
16786
 
  always_export_symbols_F77=no
16787
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16788
 
  # include_expsyms should be a list of space-separated symbols to be *always*
16789
 
  # included in the symbol list
16790
 
  include_expsyms_F77=
16791
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
16792
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16793
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16794
 
  # as well as any symbol that contains `d'.
16795
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16796
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16797
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
16798
 
  # the symbol is explicitly referenced.  Since portable code cannot
16799
 
  # rely on this symbol name, it's probably fine to never include it in
16800
 
  # preloaded symbol tables.
16801
 
  # Exclude shared library initialization/finalization symbols.
16802
 
  extract_expsyms_cmds=
16803
 
  # Just being paranoid about ensuring that cc_basename is set.
16804
 
  for cc_temp in $compiler""; do
16805
 
  case $cc_temp in
16806
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16807
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16808
 
    \-*) ;;
16809
 
    *) break;;
16810
 
  esac
16811
 
done
16812
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16813
 
 
16814
 
  case $host_os in
16815
 
  cygwin* | mingw* | pw32*)
16816
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
16817
 
    # When not using gcc, we currently assume that we are using
16818
 
    # Microsoft Visual C++.
16819
 
    if test "$GCC" != yes; then
16820
 
      with_gnu_ld=no
16821
 
    fi
16822
 
    ;;
16823
 
  interix*)
16824
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
16825
 
    with_gnu_ld=yes
16826
 
    ;;
16827
 
  openbsd*)
16828
 
    with_gnu_ld=no
16829
 
    ;;
16830
 
  esac
16831
 
 
16832
 
  ld_shlibs_F77=yes
16833
 
  if test "$with_gnu_ld" = yes; then
16834
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
16835
 
    wlarc='${wl}'
16836
 
 
16837
 
    # Set some defaults for GNU ld with shared library support. These
16838
 
    # are reset later if shared libraries are not supported. Putting them
16839
 
    # here allows them to be overridden if necessary.
16840
 
    runpath_var=LD_RUN_PATH
16841
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
16842
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
16843
 
    # ancient GNU ld didn't support --whole-archive et. al.
16844
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16845
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16846
 
      else
16847
 
        whole_archive_flag_spec_F77=
16848
 
    fi
16849
 
    supports_anon_versioning=no
16850
 
    case `$LD -v 2>/dev/null` in
16851
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16852
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16853
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16854
 
      *\ 2.11.*) ;; # other 2.11 versions
16855
 
      *) supports_anon_versioning=yes ;;
16856
 
    esac
16857
 
 
16858
 
    # See if GNU ld supports shared libraries.
16859
 
    case $host_os in
16860
 
    aix[3-9]*)
16861
 
      # On AIX/PPC, the GNU linker is very broken
16862
 
      if test "$host_cpu" != ia64; then
16863
 
        ld_shlibs_F77=no
16864
 
        cat <<EOF 1>&2
16865
 
 
16866
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16867
 
*** to be unable to reliably create shared libraries on AIX.
16868
 
*** Therefore, libtool is disabling shared libraries support.  If you
16869
 
*** really care for shared libraries, you may want to modify your PATH
16870
 
*** so that a non-GNU linker is found, and then restart.
16871
 
 
16872
 
EOF
16873
 
      fi
16874
 
      ;;
16875
 
 
16876
 
    amigaos*)
16877
 
      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)'
16878
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16879
 
      hardcode_minus_L_F77=yes
16880
 
 
16881
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16882
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
16883
 
      # to version 4, is to share data among multiple programs linked
16884
 
      # with the same dynamic library.  Since this doesn't match the
16885
 
      # behavior of shared libraries on other platforms, we can't use
16886
 
      # them.
16887
 
      ld_shlibs_F77=no
16888
 
      ;;
16889
 
 
16890
 
    beos*)
16891
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16892
 
        allow_undefined_flag_F77=unsupported
16893
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16894
 
        # support --undefined.  This deserves some investigation.  FIXME
16895
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16896
 
      else
16897
 
        ld_shlibs_F77=no
16898
 
      fi
16899
 
      ;;
16900
 
 
16901
 
    cygwin* | mingw* | pw32*)
16902
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
16903
 
      # as there is no search path for DLLs.
16904
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16905
 
      allow_undefined_flag_F77=unsupported
16906
 
      always_export_symbols_F77=no
16907
 
      enable_shared_with_static_runtimes_F77=yes
16908
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16909
 
 
16910
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16911
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16912
 
        # If the export-symbols file already is a .def file (1st line
16913
 
        # is EXPORTS), use it as is; otherwise, prepend...
16914
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16915
 
          cp $export_symbols $output_objdir/$soname.def;
16916
 
        else
16917
 
          echo EXPORTS > $output_objdir/$soname.def;
16918
 
          cat $export_symbols >> $output_objdir/$soname.def;
16919
 
        fi~
16920
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16921
 
      else
16922
 
        ld_shlibs_F77=no
16923
 
      fi
16924
 
      ;;
16925
 
 
16926
 
    interix[3-9]*)
16927
 
      hardcode_direct_F77=no
16928
 
      hardcode_shlibpath_var_F77=no
16929
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16930
 
      export_dynamic_flag_spec_F77='${wl}-E'
16931
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16932
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
16933
 
      # default) and relocated if they conflict, which is a slow very memory
16934
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
16935
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16936
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
16937
 
      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'
16938
 
      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'
16939
 
      ;;
16940
 
 
16941
 
    gnu* | linux* | k*bsd*-gnu)
16942
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16943
 
        tmp_addflag=
16944
 
        case $cc_basename,$host_cpu in
16945
 
        pgcc*)                          # Portland Group C compiler
16946
 
          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'
16947
 
          tmp_addflag=' $pic_flag'
16948
 
          ;;
16949
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
16950
 
          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'
16951
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
16952
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
16953
 
          tmp_addflag=' -i_dynamic' ;;
16954
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
16955
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
16956
 
        ifc* | ifort*)                  # Intel Fortran compiler
16957
 
          tmp_addflag=' -nofor_main' ;;
16958
 
        esac
16959
 
        case `$CC -V 2>&1 | sed 5q` in
16960
 
        *Sun\ C*)                       # Sun C 5.9
16961
 
          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'
16962
 
          tmp_sharedflag='-G' ;;
16963
 
        *Sun\ F*)                       # Sun Fortran 8.3
16964
 
          tmp_sharedflag='-G' ;;
16965
 
        *)
16966
 
          tmp_sharedflag='-shared' ;;
16967
 
        esac
16968
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16969
 
 
16970
 
        if test $supports_anon_versioning = yes; then
16971
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
16972
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16973
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16974
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16975
 
        fi
16976
 
        link_all_deplibs_F77=no
16977
 
      else
16978
 
        ld_shlibs_F77=no
16979
 
      fi
16980
 
      ;;
16981
 
 
16982
 
    netbsd* | netbsdelf*-gnu)
16983
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16984
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16985
 
        wlarc=
16986
 
      else
16987
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16988
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16989
 
      fi
16990
 
      ;;
16991
 
 
16992
 
    solaris*)
16993
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16994
 
        ld_shlibs_F77=no
16995
 
        cat <<EOF 1>&2
16996
 
 
16997
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16998
 
*** create shared libraries on Solaris systems.  Therefore, libtool
16999
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17000
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17001
 
*** your PATH or compiler configuration so that the native linker is
17002
 
*** used, and then restart.
17003
 
 
17004
 
EOF
17005
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17006
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17007
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17008
 
      else
17009
 
        ld_shlibs_F77=no
17010
 
      fi
17011
 
      ;;
17012
 
 
17013
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17014
 
      case `$LD -v 2>&1` in
17015
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17016
 
        ld_shlibs_F77=no
17017
 
        cat <<_LT_EOF 1>&2
17018
 
 
17019
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17020
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
17021
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17022
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17023
 
*** your PATH or compiler configuration so that the native linker is
17024
 
*** used, and then restart.
17025
 
 
17026
 
_LT_EOF
17027
 
        ;;
17028
 
        *)
17029
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17030
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17031
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17032
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17033
 
          else
17034
 
            ld_shlibs_F77=no
17035
 
          fi
17036
 
        ;;
17037
 
      esac
17038
 
      ;;
17039
 
 
17040
 
    sunos4*)
17041
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17042
 
      wlarc=
17043
 
      hardcode_direct_F77=yes
17044
 
      hardcode_shlibpath_var_F77=no
17045
 
      ;;
17046
 
 
17047
 
    *)
17048
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17049
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17050
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17051
 
      else
17052
 
        ld_shlibs_F77=no
17053
 
      fi
17054
 
      ;;
17055
 
    esac
17056
 
 
17057
 
    if test "$ld_shlibs_F77" = no; then
17058
 
      runpath_var=
17059
 
      hardcode_libdir_flag_spec_F77=
17060
 
      export_dynamic_flag_spec_F77=
17061
 
      whole_archive_flag_spec_F77=
17062
 
    fi
17063
 
  else
17064
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17065
 
    case $host_os in
17066
 
    aix3*)
17067
 
      allow_undefined_flag_F77=unsupported
17068
 
      always_export_symbols_F77=yes
17069
 
      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'
17070
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17071
 
      # are no directories specified by -L.
17072
 
      hardcode_minus_L_F77=yes
17073
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17074
 
        # Neither direct hardcoding nor static linking is supported with a
17075
 
        # broken collect2.
17076
 
        hardcode_direct_F77=unsupported
17077
 
      fi
17078
 
      ;;
17079
 
 
17080
 
    aix[4-9]*)
17081
 
      if test "$host_cpu" = ia64; then
17082
 
        # On IA64, the linker does run time linking by default, so we don't
17083
 
        # have to do anything special.
17084
 
        aix_use_runtimelinking=no
17085
 
        exp_sym_flag='-Bexport'
17086
 
        no_entry_flag=""
17087
 
      else
17088
 
        # If we're using GNU nm, then we don't want the "-C" option.
17089
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17090
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17091
 
          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'
17092
 
        else
17093
 
          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'
17094
 
        fi
17095
 
        aix_use_runtimelinking=no
17096
 
 
17097
 
        # Test if we are trying to use run time linking or normal
17098
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17099
 
        # need to do runtime linking.
17100
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17101
 
          for ld_flag in $LDFLAGS; do
17102
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17103
 
            aix_use_runtimelinking=yes
17104
 
            break
17105
 
          fi
17106
 
          done
17107
 
          ;;
17108
 
        esac
17109
 
 
17110
 
        exp_sym_flag='-bexport'
17111
 
        no_entry_flag='-bnoentry'
17112
 
      fi
17113
 
 
17114
 
      # When large executables or shared objects are built, AIX ld can
17115
 
      # have problems creating the table of contents.  If linking a library
17116
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17117
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17118
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17119
 
 
17120
 
      archive_cmds_F77=''
17121
 
      hardcode_direct_F77=yes
17122
 
      hardcode_libdir_separator_F77=':'
17123
 
      link_all_deplibs_F77=yes
17124
 
 
17125
 
      if test "$GCC" = yes; then
17126
 
        case $host_os in aix4.[012]|aix4.[012].*)
17127
 
        # We only want to do this on AIX 4.2 and lower, the check
17128
 
        # below for broken collect2 doesn't work under 4.3+
17129
 
          collect2name=`${CC} -print-prog-name=collect2`
17130
 
          if test -f "$collect2name" && \
17131
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17132
 
          then
17133
 
          # We have reworked collect2
17134
 
          :
17135
 
          else
17136
 
          # We have old collect2
17137
 
          hardcode_direct_F77=unsupported
17138
 
          # It fails to find uninstalled libraries when the uninstalled
17139
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17140
 
          # to unsupported forces relinking
17141
 
          hardcode_minus_L_F77=yes
17142
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
17143
 
          hardcode_libdir_separator_F77=
17144
 
          fi
17145
 
          ;;
17146
 
        esac
17147
 
        shared_flag='-shared'
17148
 
        if test "$aix_use_runtimelinking" = yes; then
17149
 
          shared_flag="$shared_flag "'${wl}-G'
17150
 
        fi
17151
 
      else
17152
 
        # not using gcc
17153
 
        if test "$host_cpu" = ia64; then
17154
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17155
 
        # chokes on -Wl,-G. The following line is correct:
17156
 
          shared_flag='-G'
17157
 
        else
17158
 
          if test "$aix_use_runtimelinking" = yes; then
17159
 
            shared_flag='${wl}-G'
17160
 
          else
17161
 
            shared_flag='${wl}-bM:SRE'
17162
 
          fi
17163
 
        fi
17164
 
      fi
17165
 
 
17166
 
      # It seems that -bexpall does not export symbols beginning with
17167
 
      # underscore (_), so it is better to generate a list of symbols to export.
17168
 
      always_export_symbols_F77=yes
17169
 
      if test "$aix_use_runtimelinking" = yes; then
17170
 
        # Warning - without using the other runtime loading flags (-brtl),
17171
 
        # -berok will link without error, but may produce a broken library.
17172
 
        allow_undefined_flag_F77='-berok'
17173
 
       # Determine the default libpath from the value encoded in an empty executable.
17174
 
       cat >conftest.$ac_ext <<_ACEOF
17175
 
      program main
17176
 
 
17177
 
      end
17178
 
_ACEOF
17179
 
rm -f conftest.$ac_objext conftest$ac_exeext
17180
 
if { (ac_try="$ac_link"
17181
 
case "(($ac_try" in
17182
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17183
 
  *) ac_try_echo=$ac_try;;
17184
 
esac
17185
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17186
 
  (eval "$ac_link") 2>conftest.er1
17187
 
  ac_status=$?
17188
 
  grep -v '^ *+' conftest.er1 >conftest.err
17189
 
  rm -f conftest.er1
17190
 
  cat conftest.err >&5
17191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192
 
  (exit $ac_status); } && {
17193
 
         test -z "$ac_f77_werror_flag" ||
17194
 
         test ! -s conftest.err
17195
 
       } && test -s conftest$ac_exeext &&
17196
 
       $as_test_x conftest$ac_exeext; then
17197
 
 
17198
 
lt_aix_libpath_sed='
17199
 
    /Import File Strings/,/^$/ {
17200
 
        /^0/ {
17201
 
            s/^0  *\(.*\)$/\1/
17202
 
            p
17203
 
        }
17204
 
    }'
17205
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17206
 
# Check for a 64-bit object if we didn't find anything.
17207
 
if test -z "$aix_libpath"; then
17208
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17209
 
fi
17210
 
else
17211
 
  echo "$as_me: failed program was:" >&5
17212
 
sed 's/^/| /' conftest.$ac_ext >&5
17213
 
 
17214
 
 
17215
 
fi
17216
 
 
17217
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17218
 
      conftest$ac_exeext conftest.$ac_ext
17219
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17220
 
 
17221
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17222
 
        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"
17223
 
       else
17224
 
        if test "$host_cpu" = ia64; then
17225
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17226
 
          allow_undefined_flag_F77="-z nodefs"
17227
 
          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"
17228
 
        else
17229
 
         # Determine the default libpath from the value encoded in an empty executable.
17230
 
         cat >conftest.$ac_ext <<_ACEOF
17231
 
      program main
17232
 
 
17233
 
      end
17234
 
_ACEOF
17235
 
rm -f conftest.$ac_objext conftest$ac_exeext
17236
 
if { (ac_try="$ac_link"
17237
 
case "(($ac_try" in
17238
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17239
 
  *) ac_try_echo=$ac_try;;
17240
 
esac
17241
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17242
 
  (eval "$ac_link") 2>conftest.er1
17243
 
  ac_status=$?
17244
 
  grep -v '^ *+' conftest.er1 >conftest.err
17245
 
  rm -f conftest.er1
17246
 
  cat conftest.err >&5
17247
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248
 
  (exit $ac_status); } && {
17249
 
         test -z "$ac_f77_werror_flag" ||
17250
 
         test ! -s conftest.err
17251
 
       } && test -s conftest$ac_exeext &&
17252
 
       $as_test_x conftest$ac_exeext; then
17253
 
 
17254
 
lt_aix_libpath_sed='
17255
 
    /Import File Strings/,/^$/ {
17256
 
        /^0/ {
17257
 
            s/^0  *\(.*\)$/\1/
17258
 
            p
17259
 
        }
17260
 
    }'
17261
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17262
 
# Check for a 64-bit object if we didn't find anything.
17263
 
if test -z "$aix_libpath"; then
17264
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17265
 
fi
17266
 
else
17267
 
  echo "$as_me: failed program was:" >&5
17268
 
sed 's/^/| /' conftest.$ac_ext >&5
17269
 
 
17270
 
 
17271
 
fi
17272
 
 
17273
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17274
 
      conftest$ac_exeext conftest.$ac_ext
17275
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17276
 
 
17277
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17278
 
          # Warning - without using the other run time loading flags,
17279
 
          # -berok will link without error, but may produce a broken library.
17280
 
          no_undefined_flag_F77=' ${wl}-bernotok'
17281
 
          allow_undefined_flag_F77=' ${wl}-berok'
17282
 
          # Exported symbols can be pulled into shared objects from archives
17283
 
          whole_archive_flag_spec_F77='$convenience'
17284
 
          archive_cmds_need_lc_F77=yes
17285
 
          # This is similar to how AIX traditionally builds its shared libraries.
17286
 
          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'
17287
 
        fi
17288
 
      fi
17289
 
      ;;
17290
 
 
17291
 
    amigaos*)
17292
 
      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)'
17293
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17294
 
      hardcode_minus_L_F77=yes
17295
 
      # see comment about different semantics on the GNU ld section
17296
 
      ld_shlibs_F77=no
17297
 
      ;;
17298
 
 
17299
 
    bsdi[45]*)
17300
 
      export_dynamic_flag_spec_F77=-rdynamic
17301
 
      ;;
17302
 
 
17303
 
    cygwin* | mingw* | pw32*)
17304
 
      # When not using gcc, we currently assume that we are using
17305
 
      # Microsoft Visual C++.
17306
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17307
 
      # no search path for DLLs.
17308
 
      hardcode_libdir_flag_spec_F77=' '
17309
 
      allow_undefined_flag_F77=unsupported
17310
 
      # Tell ltmain to make .lib files, not .a files.
17311
 
      libext=lib
17312
 
      # Tell ltmain to make .dll files, not .so files.
17313
 
      shrext_cmds=".dll"
17314
 
      # FIXME: Setting linknames here is a bad hack.
17315
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17316
 
      # The linker will automatically build a .lib file if we build a DLL.
17317
 
      old_archive_From_new_cmds_F77='true'
17318
 
      # FIXME: Should let the user specify the lib program.
17319
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
17320
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
17321
 
      enable_shared_with_static_runtimes_F77=yes
17322
 
      ;;
17323
 
 
17324
 
    darwin* | rhapsody*)
17325
 
      case $host_os in
17326
 
        rhapsody* | darwin1.[012])
17327
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
17328
 
         ;;
17329
 
       *) # Darwin 1.3 on
17330
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17331
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17332
 
         else
17333
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
17334
 
             10.[012])
17335
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17336
 
               ;;
17337
 
             10.*)
17338
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
17339
 
               ;;
17340
 
           esac
17341
 
         fi
17342
 
         ;;
17343
 
      esac
17344
 
      archive_cmds_need_lc_F77=no
17345
 
      hardcode_direct_F77=no
17346
 
      hardcode_automatic_F77=yes
17347
 
      hardcode_shlibpath_var_F77=unsupported
17348
 
      whole_archive_flag_spec_F77=''
17349
 
      link_all_deplibs_F77=yes
17350
 
    if test "$GCC" = yes ; then
17351
 
        output_verbose_link_cmd='echo'
17352
 
        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}"
17353
 
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17354
 
        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}"
17355
 
        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}"
17356
 
    else
17357
 
      case $cc_basename in
17358
 
        xlc*)
17359
 
         output_verbose_link_cmd='echo'
17360
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17361
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17362
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17363
 
         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}'
17364
 
          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}'
17365
 
          ;;
17366
 
       *)
17367
 
         ld_shlibs_F77=no
17368
 
          ;;
17369
 
      esac
17370
 
    fi
17371
 
      ;;
17372
 
 
17373
 
    dgux*)
17374
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17375
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17376
 
      hardcode_shlibpath_var_F77=no
17377
 
      ;;
17378
 
 
17379
 
    freebsd1*)
17380
 
      ld_shlibs_F77=no
17381
 
      ;;
17382
 
 
17383
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17384
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17385
 
    # does not break anything, and helps significantly (at the cost of a little
17386
 
    # extra space).
17387
 
    freebsd2.2*)
17388
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17389
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17390
 
      hardcode_direct_F77=yes
17391
 
      hardcode_shlibpath_var_F77=no
17392
 
      ;;
17393
 
 
17394
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17395
 
    freebsd2*)
17396
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17397
 
      hardcode_direct_F77=yes
17398
 
      hardcode_minus_L_F77=yes
17399
 
      hardcode_shlibpath_var_F77=no
17400
 
      ;;
17401
 
 
17402
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17403
 
    freebsd* | dragonfly*)
17404
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17405
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17406
 
      hardcode_direct_F77=yes
17407
 
      hardcode_shlibpath_var_F77=no
17408
 
      ;;
17409
 
 
17410
 
    hpux9*)
17411
 
      if test "$GCC" = yes; then
17412
 
        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'
17413
 
      else
17414
 
        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'
17415
 
      fi
17416
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17417
 
      hardcode_libdir_separator_F77=:
17418
 
      hardcode_direct_F77=yes
17419
 
 
17420
 
      # hardcode_minus_L: Not really in the search PATH,
17421
 
      # but as the default location of the library.
17422
 
      hardcode_minus_L_F77=yes
17423
 
      export_dynamic_flag_spec_F77='${wl}-E'
17424
 
      ;;
17425
 
 
17426
 
    hpux10*)
17427
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17428
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17429
 
      else
17430
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17431
 
      fi
17432
 
      if test "$with_gnu_ld" = no; then
17433
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17434
 
        hardcode_libdir_separator_F77=:
17435
 
 
17436
 
        hardcode_direct_F77=yes
17437
 
        export_dynamic_flag_spec_F77='${wl}-E'
17438
 
 
17439
 
        # hardcode_minus_L: Not really in the search PATH,
17440
 
        # but as the default location of the library.
17441
 
        hardcode_minus_L_F77=yes
17442
 
      fi
17443
 
      ;;
17444
 
 
17445
 
    hpux11*)
17446
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17447
 
        case $host_cpu in
17448
 
        hppa*64*)
17449
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17450
 
          ;;
17451
 
        ia64*)
17452
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17453
 
          ;;
17454
 
        *)
17455
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17456
 
          ;;
17457
 
        esac
17458
 
      else
17459
 
        case $host_cpu in
17460
 
        hppa*64*)
17461
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17462
 
          ;;
17463
 
        ia64*)
17464
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17465
 
          ;;
17466
 
        *)
17467
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17468
 
          ;;
17469
 
        esac
17470
 
      fi
17471
 
      if test "$with_gnu_ld" = no; then
17472
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17473
 
        hardcode_libdir_separator_F77=:
17474
 
 
17475
 
        case $host_cpu in
17476
 
        hppa*64*|ia64*)
17477
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
17478
 
          hardcode_direct_F77=no
17479
 
          hardcode_shlibpath_var_F77=no
17480
 
          ;;
17481
 
        *)
17482
 
          hardcode_direct_F77=yes
17483
 
          export_dynamic_flag_spec_F77='${wl}-E'
17484
 
 
17485
 
          # hardcode_minus_L: Not really in the search PATH,
17486
 
          # but as the default location of the library.
17487
 
          hardcode_minus_L_F77=yes
17488
 
          ;;
17489
 
        esac
17490
 
      fi
17491
 
      ;;
17492
 
 
17493
 
    irix5* | irix6* | nonstopux*)
17494
 
      if test "$GCC" = yes; then
17495
 
        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'
17496
 
      else
17497
 
        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'
17498
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
17499
 
      fi
17500
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17501
 
      hardcode_libdir_separator_F77=:
17502
 
      link_all_deplibs_F77=yes
17503
 
      ;;
17504
 
 
17505
 
    netbsd* | netbsdelf*-gnu)
17506
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17507
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17508
 
      else
17509
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17510
 
      fi
17511
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17512
 
      hardcode_direct_F77=yes
17513
 
      hardcode_shlibpath_var_F77=no
17514
 
      ;;
17515
 
 
17516
 
    newsos6)
17517
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17518
 
      hardcode_direct_F77=yes
17519
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17520
 
      hardcode_libdir_separator_F77=:
17521
 
      hardcode_shlibpath_var_F77=no
17522
 
      ;;
17523
 
 
17524
 
    openbsd*)
17525
 
      if test -f /usr/libexec/ld.so; then
17526
 
        hardcode_direct_F77=yes
17527
 
        hardcode_shlibpath_var_F77=no
17528
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17529
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17530
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17531
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17532
 
          export_dynamic_flag_spec_F77='${wl}-E'
17533
 
        else
17534
 
          case $host_os in
17535
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17536
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17537
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
17538
 
             ;;
17539
 
           *)
17540
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17541
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17542
 
             ;;
17543
 
          esac
17544
 
        fi
17545
 
      else
17546
 
        ld_shlibs_F77=no
17547
 
      fi
17548
 
      ;;
17549
 
 
17550
 
    os2*)
17551
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17552
 
      hardcode_minus_L_F77=yes
17553
 
      allow_undefined_flag_F77=unsupported
17554
 
      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'
17555
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17556
 
      ;;
17557
 
 
17558
 
    osf3*)
17559
 
      if test "$GCC" = yes; then
17560
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17561
 
        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'
17562
 
      else
17563
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
17564
 
        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'
17565
 
      fi
17566
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17567
 
      hardcode_libdir_separator_F77=:
17568
 
      ;;
17569
 
 
17570
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
17571
 
      if test "$GCC" = yes; then
17572
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17573
 
        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'
17574
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17575
 
      else
17576
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
17577
 
        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'
17578
 
        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~
17579
 
        $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'
17580
 
 
17581
 
        # Both c and cxx compiler support -rpath directly
17582
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
17583
 
      fi
17584
 
      hardcode_libdir_separator_F77=:
17585
 
      ;;
17586
 
 
17587
 
    solaris*)
17588
 
      no_undefined_flag_F77=' -z text'
17589
 
      if test "$GCC" = yes; then
17590
 
        wlarc='${wl}'
17591
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17592
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17593
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17594
 
      else
17595
 
        wlarc=''
17596
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17597
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17598
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17599
 
      fi
17600
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17601
 
      hardcode_shlibpath_var_F77=no
17602
 
      case $host_os in
17603
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17604
 
      *)
17605
 
        # The compiler driver will combine and reorder linker options,
17606
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
17607
 
        # but is careful enough not to reorder.
17608
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
17609
 
        if test "$GCC" = yes; then
17610
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17611
 
        else
17612
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
17613
 
        fi
17614
 
        ;;
17615
 
      esac
17616
 
      link_all_deplibs_F77=yes
17617
 
      ;;
17618
 
 
17619
 
    sunos4*)
17620
 
      if test "x$host_vendor" = xsequent; then
17621
 
        # Use $CC to link under sequent, because it throws in some extra .o
17622
 
        # files that make .init and .fini sections work.
17623
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17624
 
      else
17625
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17626
 
      fi
17627
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17628
 
      hardcode_direct_F77=yes
17629
 
      hardcode_minus_L_F77=yes
17630
 
      hardcode_shlibpath_var_F77=no
17631
 
      ;;
17632
 
 
17633
 
    sysv4)
17634
 
      case $host_vendor in
17635
 
        sni)
17636
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17637
 
          hardcode_direct_F77=yes # is this really true???
17638
 
        ;;
17639
 
        siemens)
17640
 
          ## LD is ld it makes a PLAMLIB
17641
 
          ## CC just makes a GrossModule.
17642
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17643
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
17644
 
          hardcode_direct_F77=no
17645
 
        ;;
17646
 
        motorola)
17647
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17648
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
17649
 
        ;;
17650
 
      esac
17651
 
      runpath_var='LD_RUN_PATH'
17652
 
      hardcode_shlibpath_var_F77=no
17653
 
      ;;
17654
 
 
17655
 
    sysv4.3*)
17656
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17657
 
      hardcode_shlibpath_var_F77=no
17658
 
      export_dynamic_flag_spec_F77='-Bexport'
17659
 
      ;;
17660
 
 
17661
 
    sysv4*MP*)
17662
 
      if test -d /usr/nec; then
17663
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17664
 
        hardcode_shlibpath_var_F77=no
17665
 
        runpath_var=LD_RUN_PATH
17666
 
        hardcode_runpath_var=yes
17667
 
        ld_shlibs_F77=yes
17668
 
      fi
17669
 
      ;;
17670
 
 
17671
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17672
 
      no_undefined_flag_F77='${wl}-z,text'
17673
 
      archive_cmds_need_lc_F77=no
17674
 
      hardcode_shlibpath_var_F77=no
17675
 
      runpath_var='LD_RUN_PATH'
17676
 
 
17677
 
      if test "$GCC" = yes; then
17678
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17679
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17680
 
      else
17681
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17682
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17683
 
      fi
17684
 
      ;;
17685
 
 
17686
 
    sysv5* | sco3.2v5* | sco5v6*)
17687
 
      # Note: We can NOT use -z defs as we might desire, because we do not
17688
 
      # link with -lc, and that would cause any symbols used from libc to
17689
 
      # always be unresolved, which means just about no library would
17690
 
      # ever link correctly.  If we're not using GNU ld we use -z text
17691
 
      # though, which does catch some bad symbols but isn't as heavy-handed
17692
 
      # as -z defs.
17693
 
      no_undefined_flag_F77='${wl}-z,text'
17694
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
17695
 
      archive_cmds_need_lc_F77=no
17696
 
      hardcode_shlibpath_var_F77=no
17697
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17698
 
      hardcode_libdir_separator_F77=':'
17699
 
      link_all_deplibs_F77=yes
17700
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
17701
 
      runpath_var='LD_RUN_PATH'
17702
 
 
17703
 
      if test "$GCC" = yes; then
17704
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17705
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17706
 
      else
17707
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17708
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17709
 
      fi
17710
 
      ;;
17711
 
 
17712
 
    uts4*)
17713
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17714
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17715
 
      hardcode_shlibpath_var_F77=no
17716
 
      ;;
17717
 
 
17718
 
    *)
17719
 
      ld_shlibs_F77=no
17720
 
      ;;
17721
 
    esac
17722
 
  fi
17723
 
 
17724
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17725
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
17726
 
test "$ld_shlibs_F77" = no && can_build_shared=no
17727
 
 
17728
 
#
17729
 
# Do we need to explicitly link libc?
17730
 
#
17731
 
case "x$archive_cmds_need_lc_F77" in
17732
 
x|xyes)
17733
 
  # Assume -lc should be added
17734
 
  archive_cmds_need_lc_F77=yes
17735
 
 
17736
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
17737
 
    case $archive_cmds_F77 in
17738
 
    *'~'*)
17739
 
      # FIXME: we may have to deal with multi-command sequences.
17740
 
      ;;
17741
 
    '$CC '*)
17742
 
      # Test whether the compiler implicitly links with -lc since on some
17743
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17744
 
      # to ld, don't add -lc before -lgcc.
17745
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17746
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17747
 
      $rm conftest*
17748
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17749
 
 
17750
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17751
 
  (eval $ac_compile) 2>&5
17752
 
  ac_status=$?
17753
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754
 
  (exit $ac_status); } 2>conftest.err; then
17755
 
        soname=conftest
17756
 
        lib=conftest
17757
 
        libobjs=conftest.$ac_objext
17758
 
        deplibs=
17759
 
        wl=$lt_prog_compiler_wl_F77
17760
 
        pic_flag=$lt_prog_compiler_pic_F77
17761
 
        compiler_flags=-v
17762
 
        linker_flags=-v
17763
 
        verstring=
17764
 
        output_objdir=.
17765
 
        libname=conftest
17766
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
17767
 
        allow_undefined_flag_F77=
17768
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17769
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17770
 
  ac_status=$?
17771
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772
 
  (exit $ac_status); }
17773
 
        then
17774
 
          archive_cmds_need_lc_F77=no
17775
 
        else
17776
 
          archive_cmds_need_lc_F77=yes
17777
 
        fi
17778
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
17779
 
      else
17780
 
        cat conftest.err 1>&5
17781
 
      fi
17782
 
      $rm conftest*
17783
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17784
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
17785
 
      ;;
17786
 
    esac
17787
 
  fi
17788
 
  ;;
17789
 
esac
17790
 
 
17791
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17792
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17793
 
library_names_spec=
17794
 
libname_spec='lib$name'
17795
 
soname_spec=
17796
 
shrext_cmds=".so"
17797
 
postinstall_cmds=
17798
 
postuninstall_cmds=
17799
 
finish_cmds=
17800
 
finish_eval=
17801
 
shlibpath_var=
17802
 
shlibpath_overrides_runpath=unknown
17803
 
version_type=none
17804
 
dynamic_linker="$host_os ld.so"
17805
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17806
 
 
17807
 
need_lib_prefix=unknown
17808
 
hardcode_into_libs=no
17809
 
 
17810
 
# when you set need_version to no, make sure it does not cause -set_version
17811
 
# flags to be left without arguments
17812
 
need_version=unknown
17813
 
 
17814
 
case $host_os in
17815
 
aix3*)
17816
 
  version_type=linux
17817
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17818
 
  shlibpath_var=LIBPATH
17819
 
 
17820
 
  # AIX 3 has no versioning support, so we append a major version to the name.
17821
 
  soname_spec='${libname}${release}${shared_ext}$major'
17822
 
  ;;
17823
 
 
17824
 
aix[4-9]*)
17825
 
  version_type=linux
17826
 
  need_lib_prefix=no
17827
 
  need_version=no
17828
 
  hardcode_into_libs=yes
17829
 
  if test "$host_cpu" = ia64; then
17830
 
    # AIX 5 supports IA64
17831
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17832
 
    shlibpath_var=LD_LIBRARY_PATH
17833
 
  else
17834
 
    # With GCC up to 2.95.x, collect2 would create an import file
17835
 
    # for dependence libraries.  The import file would start with
17836
 
    # the line `#! .'.  This would cause the generated library to
17837
 
    # depend on `.', always an invalid library.  This was fixed in
17838
 
    # development snapshots of GCC prior to 3.0.
17839
 
    case $host_os in
17840
 
      aix4 | aix4.[01] | aix4.[01].*)
17841
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17842
 
           echo ' yes '
17843
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17844
 
        :
17845
 
      else
17846
 
        can_build_shared=no
17847
 
      fi
17848
 
      ;;
17849
 
    esac
17850
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17851
 
    # soname into executable. Probably we can add versioning support to
17852
 
    # collect2, so additional links can be useful in future.
17853
 
    if test "$aix_use_runtimelinking" = yes; then
17854
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17855
 
      # instead of lib<name>.a to let people know that these are not
17856
 
      # typical AIX shared libraries.
17857
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17858
 
    else
17859
 
      # We preserve .a as extension for shared libraries through AIX4.2
17860
 
      # and later when we are not doing run time linking.
17861
 
      library_names_spec='${libname}${release}.a $libname.a'
17862
 
      soname_spec='${libname}${release}${shared_ext}$major'
17863
 
    fi
17864
 
    shlibpath_var=LIBPATH
17865
 
  fi
17866
 
  ;;
17867
 
 
17868
 
amigaos*)
17869
 
  library_names_spec='$libname.ixlibrary $libname.a'
17870
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
17871
 
  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'
17872
 
  ;;
17873
 
 
17874
 
beos*)
17875
 
  library_names_spec='${libname}${shared_ext}'
17876
 
  dynamic_linker="$host_os ld.so"
17877
 
  shlibpath_var=LIBRARY_PATH
17878
 
  ;;
17879
 
 
17880
 
bsdi[45]*)
17881
 
  version_type=linux
17882
 
  need_version=no
17883
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17884
 
  soname_spec='${libname}${release}${shared_ext}$major'
17885
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17886
 
  shlibpath_var=LD_LIBRARY_PATH
17887
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17888
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17889
 
  # the default ld.so.conf also contains /usr/contrib/lib and
17890
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17891
 
  # libtool to hard-code these into programs
17892
 
  ;;
17893
 
 
17894
 
cygwin* | mingw* | pw32*)
17895
 
  version_type=windows
17896
 
  shrext_cmds=".dll"
17897
 
  need_version=no
17898
 
  need_lib_prefix=no
17899
 
 
17900
 
  case $GCC,$host_os in
17901
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
17902
 
    library_names_spec='$libname.dll.a'
17903
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
17904
 
    postinstall_cmds='base_file=`basename \${file}`~
17905
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17906
 
      dldir=$destdir/`dirname \$dlpath`~
17907
 
      test -d \$dldir || mkdir -p \$dldir~
17908
 
      $install_prog $dir/$dlname \$dldir/$dlname~
17909
 
      chmod a+x \$dldir/$dlname'
17910
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17911
 
      dlpath=$dir/\$dldll~
17912
 
       $rm \$dlpath'
17913
 
    shlibpath_overrides_runpath=yes
17914
 
 
17915
 
    case $host_os in
17916
 
    cygwin*)
17917
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17918
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17919
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17920
 
      ;;
17921
 
    mingw*)
17922
 
      # MinGW DLLs use traditional 'lib' prefix
17923
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17924
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17925
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17926
 
        # It is most probably a Windows format PATH printed by
17927
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
17928
 
        # path with ; separators, and with drive letters. We can handle the
17929
 
        # drive letters (cygwin fileutils understands them), so leave them,
17930
 
        # especially as we might pass files found there to a mingw objdump,
17931
 
        # which wouldn't understand a cygwinified path. Ahh.
17932
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17933
 
      else
17934
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17935
 
      fi
17936
 
      ;;
17937
 
    pw32*)
17938
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
17939
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17940
 
      ;;
17941
 
    esac
17942
 
    ;;
17943
 
 
17944
 
  *)
17945
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17946
 
    ;;
17947
 
  esac
17948
 
  dynamic_linker='Win32 ld.exe'
17949
 
  # FIXME: first we should search . and the directory the executable is in
17950
 
  shlibpath_var=PATH
17951
 
  ;;
17952
 
 
17953
 
darwin* | rhapsody*)
17954
 
  dynamic_linker="$host_os dyld"
17955
 
  version_type=darwin
17956
 
  need_lib_prefix=no
17957
 
  need_version=no
17958
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17959
 
  soname_spec='${libname}${release}${major}$shared_ext'
17960
 
  shlibpath_overrides_runpath=yes
17961
 
  shlibpath_var=DYLD_LIBRARY_PATH
17962
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17963
 
 
17964
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17965
 
  ;;
17966
 
 
17967
 
dgux*)
17968
 
  version_type=linux
17969
 
  need_lib_prefix=no
17970
 
  need_version=no
17971
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17972
 
  soname_spec='${libname}${release}${shared_ext}$major'
17973
 
  shlibpath_var=LD_LIBRARY_PATH
17974
 
  ;;
17975
 
 
17976
 
freebsd1*)
17977
 
  dynamic_linker=no
17978
 
  ;;
17979
 
 
17980
 
freebsd* | dragonfly*)
17981
 
  # DragonFly does not have aout.  When/if they implement a new
17982
 
  # versioning mechanism, adjust this.
17983
 
  if test -x /usr/bin/objformat; then
17984
 
    objformat=`/usr/bin/objformat`
17985
 
  else
17986
 
    case $host_os in
17987
 
    freebsd[123]*) objformat=aout ;;
17988
 
    *) objformat=elf ;;
17989
 
    esac
17990
 
  fi
17991
 
  version_type=freebsd-$objformat
17992
 
  case $version_type in
17993
 
    freebsd-elf*)
17994
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17995
 
      need_version=no
17996
 
      need_lib_prefix=no
17997
 
      ;;
17998
 
    freebsd-*)
17999
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18000
 
      need_version=yes
18001
 
      ;;
18002
 
  esac
18003
 
  shlibpath_var=LD_LIBRARY_PATH
18004
 
  case $host_os in
18005
 
  freebsd2*)
18006
 
    shlibpath_overrides_runpath=yes
18007
 
    ;;
18008
 
  freebsd3.[01]* | freebsdelf3.[01]*)
18009
 
    shlibpath_overrides_runpath=yes
18010
 
    hardcode_into_libs=yes
18011
 
    ;;
18012
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18013
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18014
 
    shlibpath_overrides_runpath=no
18015
 
    hardcode_into_libs=yes
18016
 
    ;;
18017
 
  *) # from 4.6 on, and DragonFly
18018
 
    shlibpath_overrides_runpath=yes
18019
 
    hardcode_into_libs=yes
18020
 
    ;;
18021
 
  esac
18022
 
  ;;
18023
 
 
18024
 
gnu*)
18025
 
  version_type=linux
18026
 
  need_lib_prefix=no
18027
 
  need_version=no
18028
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18029
 
  soname_spec='${libname}${release}${shared_ext}$major'
18030
 
  shlibpath_var=LD_LIBRARY_PATH
18031
 
  hardcode_into_libs=yes
18032
 
  ;;
18033
 
 
18034
 
hpux9* | hpux10* | hpux11*)
18035
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18036
 
  # link against other versions.
18037
 
  version_type=sunos
18038
 
  need_lib_prefix=no
18039
 
  need_version=no
18040
 
  case $host_cpu in
18041
 
  ia64*)
18042
 
    shrext_cmds='.so'
18043
 
    hardcode_into_libs=yes
18044
 
    dynamic_linker="$host_os dld.so"
18045
 
    shlibpath_var=LD_LIBRARY_PATH
18046
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18047
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18048
 
    soname_spec='${libname}${release}${shared_ext}$major'
18049
 
    if test "X$HPUX_IA64_MODE" = X32; then
18050
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18051
 
    else
18052
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18053
 
    fi
18054
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18055
 
    ;;
18056
 
   hppa*64*)
18057
 
     shrext_cmds='.sl'
18058
 
     hardcode_into_libs=yes
18059
 
     dynamic_linker="$host_os dld.sl"
18060
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18061
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18062
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18063
 
     soname_spec='${libname}${release}${shared_ext}$major'
18064
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18065
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18066
 
     ;;
18067
 
   *)
18068
 
    shrext_cmds='.sl'
18069
 
    dynamic_linker="$host_os dld.sl"
18070
 
    shlibpath_var=SHLIB_PATH
18071
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18072
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18073
 
    soname_spec='${libname}${release}${shared_ext}$major'
18074
 
    ;;
18075
 
  esac
18076
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18077
 
  postinstall_cmds='chmod 555 $lib'
18078
 
  ;;
18079
 
 
18080
 
interix[3-9]*)
18081
 
  version_type=linux
18082
 
  need_lib_prefix=no
18083
 
  need_version=no
18084
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18085
 
  soname_spec='${libname}${release}${shared_ext}$major'
18086
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18087
 
  shlibpath_var=LD_LIBRARY_PATH
18088
 
  shlibpath_overrides_runpath=no
18089
 
  hardcode_into_libs=yes
18090
 
  ;;
18091
 
 
18092
 
irix5* | irix6* | nonstopux*)
18093
 
  case $host_os in
18094
 
    nonstopux*) version_type=nonstopux ;;
18095
 
    *)
18096
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18097
 
                version_type=linux
18098
 
        else
18099
 
                version_type=irix
18100
 
        fi ;;
18101
 
  esac
18102
 
  need_lib_prefix=no
18103
 
  need_version=no
18104
 
  soname_spec='${libname}${release}${shared_ext}$major'
18105
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18106
 
  case $host_os in
18107
 
  irix5* | nonstopux*)
18108
 
    libsuff= shlibsuff=
18109
 
    ;;
18110
 
  *)
18111
 
    case $LD in # libtool.m4 will add one of these switches to LD
18112
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18113
 
      libsuff= shlibsuff= libmagic=32-bit;;
18114
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18115
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18116
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18117
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18118
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18119
 
    esac
18120
 
    ;;
18121
 
  esac
18122
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18123
 
  shlibpath_overrides_runpath=no
18124
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18125
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18126
 
  hardcode_into_libs=yes
18127
 
  ;;
18128
 
 
18129
 
# No shared lib support for Linux oldld, aout, or coff.
18130
 
linux*oldld* | linux*aout* | linux*coff*)
18131
 
  dynamic_linker=no
18132
 
  ;;
18133
 
 
18134
 
# This must be Linux ELF.
18135
 
linux* | k*bsd*-gnu)
18136
 
  version_type=linux
18137
 
  need_lib_prefix=no
18138
 
  need_version=no
18139
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18140
 
  soname_spec='${libname}${release}${shared_ext}$major'
18141
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18142
 
  shlibpath_var=LD_LIBRARY_PATH
18143
 
  shlibpath_overrides_runpath=no
18144
 
  # This implies no fast_install, which is unacceptable.
18145
 
  # Some rework will be needed to allow for fast_install
18146
 
  # before this can be enabled.
18147
 
  hardcode_into_libs=yes
18148
 
 
18149
 
  # Append ld.so.conf contents to the search path
18150
 
  if test -f /etc/ld.so.conf; then
18151
 
    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' ' '`
18152
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18153
 
  fi
18154
 
 
18155
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18156
 
  # powerpc, because MkLinux only supported shared libraries with the
18157
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18158
 
  # most powerpc-linux boxes support dynamic linking these days and
18159
 
  # people can always --disable-shared, the test was removed, and we
18160
 
  # assume the GNU/Linux dynamic linker is in use.
18161
 
  dynamic_linker='GNU/Linux ld.so'
18162
 
  ;;
18163
 
 
18164
 
netbsdelf*-gnu)
18165
 
  version_type=linux
18166
 
  need_lib_prefix=no
18167
 
  need_version=no
18168
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18169
 
  soname_spec='${libname}${release}${shared_ext}$major'
18170
 
  shlibpath_var=LD_LIBRARY_PATH
18171
 
  shlibpath_overrides_runpath=no
18172
 
  hardcode_into_libs=yes
18173
 
  dynamic_linker='NetBSD ld.elf_so'
18174
 
  ;;
18175
 
 
18176
 
netbsd*)
18177
 
  version_type=sunos
18178
 
  need_lib_prefix=no
18179
 
  need_version=no
18180
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18181
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18182
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18183
 
    dynamic_linker='NetBSD (a.out) ld.so'
18184
 
  else
18185
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18186
 
    soname_spec='${libname}${release}${shared_ext}$major'
18187
 
    dynamic_linker='NetBSD ld.elf_so'
18188
 
  fi
18189
 
  shlibpath_var=LD_LIBRARY_PATH
18190
 
  shlibpath_overrides_runpath=yes
18191
 
  hardcode_into_libs=yes
18192
 
  ;;
18193
 
 
18194
 
newsos6)
18195
 
  version_type=linux
18196
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18197
 
  shlibpath_var=LD_LIBRARY_PATH
18198
 
  shlibpath_overrides_runpath=yes
18199
 
  ;;
18200
 
 
18201
 
nto-qnx*)
18202
 
  version_type=linux
18203
 
  need_lib_prefix=no
18204
 
  need_version=no
18205
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18206
 
  soname_spec='${libname}${release}${shared_ext}$major'
18207
 
  shlibpath_var=LD_LIBRARY_PATH
18208
 
  shlibpath_overrides_runpath=yes
18209
 
  ;;
18210
 
 
18211
 
openbsd*)
18212
 
  version_type=sunos
18213
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18214
 
  need_lib_prefix=no
18215
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18216
 
  case $host_os in
18217
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18218
 
    *)                         need_version=no  ;;
18219
 
  esac
18220
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18221
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18222
 
  shlibpath_var=LD_LIBRARY_PATH
18223
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18224
 
    case $host_os in
18225
 
      openbsd2.[89] | openbsd2.[89].*)
18226
 
        shlibpath_overrides_runpath=no
18227
 
        ;;
18228
 
      *)
18229
 
        shlibpath_overrides_runpath=yes
18230
 
        ;;
18231
 
      esac
18232
 
  else
18233
 
    shlibpath_overrides_runpath=yes
18234
 
  fi
18235
 
  ;;
18236
 
 
18237
 
os2*)
18238
 
  libname_spec='$name'
18239
 
  shrext_cmds=".dll"
18240
 
  need_lib_prefix=no
18241
 
  library_names_spec='$libname${shared_ext} $libname.a'
18242
 
  dynamic_linker='OS/2 ld.exe'
18243
 
  shlibpath_var=LIBPATH
18244
 
  ;;
18245
 
 
18246
 
osf3* | osf4* | osf5*)
18247
 
  version_type=osf
18248
 
  need_lib_prefix=no
18249
 
  need_version=no
18250
 
  soname_spec='${libname}${release}${shared_ext}$major'
18251
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18252
 
  shlibpath_var=LD_LIBRARY_PATH
18253
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18254
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18255
 
  ;;
18256
 
 
18257
 
rdos*)
18258
 
  dynamic_linker=no
18259
 
  ;;
18260
 
 
18261
 
solaris*)
18262
 
  version_type=linux
18263
 
  need_lib_prefix=no
18264
 
  need_version=no
18265
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18266
 
  soname_spec='${libname}${release}${shared_ext}$major'
18267
 
  shlibpath_var=LD_LIBRARY_PATH
18268
 
  shlibpath_overrides_runpath=yes
18269
 
  hardcode_into_libs=yes
18270
 
  # ldd complains unless libraries are executable
18271
 
  postinstall_cmds='chmod +x $lib'
18272
 
  ;;
18273
 
 
18274
 
sunos4*)
18275
 
  version_type=sunos
18276
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18277
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18278
 
  shlibpath_var=LD_LIBRARY_PATH
18279
 
  shlibpath_overrides_runpath=yes
18280
 
  if test "$with_gnu_ld" = yes; then
18281
 
    need_lib_prefix=no
18282
 
  fi
18283
 
  need_version=yes
18284
 
  ;;
18285
 
 
18286
 
sysv4 | sysv4.3*)
18287
 
  version_type=linux
18288
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18289
 
  soname_spec='${libname}${release}${shared_ext}$major'
18290
 
  shlibpath_var=LD_LIBRARY_PATH
18291
 
  case $host_vendor in
18292
 
    sni)
18293
 
      shlibpath_overrides_runpath=no
18294
 
      need_lib_prefix=no
18295
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18296
 
      runpath_var=LD_RUN_PATH
18297
 
      ;;
18298
 
    siemens)
18299
 
      need_lib_prefix=no
18300
 
      ;;
18301
 
    motorola)
18302
 
      need_lib_prefix=no
18303
 
      need_version=no
18304
 
      shlibpath_overrides_runpath=no
18305
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18306
 
      ;;
18307
 
  esac
18308
 
  ;;
18309
 
 
18310
 
sysv4*MP*)
18311
 
  if test -d /usr/nec ;then
18312
 
    version_type=linux
18313
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18314
 
    soname_spec='$libname${shared_ext}.$major'
18315
 
    shlibpath_var=LD_LIBRARY_PATH
18316
 
  fi
18317
 
  ;;
18318
 
 
18319
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18320
 
  version_type=freebsd-elf
18321
 
  need_lib_prefix=no
18322
 
  need_version=no
18323
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18324
 
  soname_spec='${libname}${release}${shared_ext}$major'
18325
 
  shlibpath_var=LD_LIBRARY_PATH
18326
 
  hardcode_into_libs=yes
18327
 
  if test "$with_gnu_ld" = yes; then
18328
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18329
 
    shlibpath_overrides_runpath=no
18330
 
  else
18331
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18332
 
    shlibpath_overrides_runpath=yes
18333
 
    case $host_os in
18334
 
      sco3.2v5*)
18335
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18336
 
        ;;
18337
 
    esac
18338
 
  fi
18339
 
  sys_lib_dlsearch_path_spec='/usr/lib'
18340
 
  ;;
18341
 
 
18342
 
uts4*)
18343
 
  version_type=linux
18344
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18345
 
  soname_spec='${libname}${release}${shared_ext}$major'
18346
 
  shlibpath_var=LD_LIBRARY_PATH
18347
 
  ;;
18348
 
 
18349
 
*)
18350
 
  dynamic_linker=no
18351
 
  ;;
18352
 
esac
18353
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18354
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18355
 
test "$dynamic_linker" = no && can_build_shared=no
18356
 
 
18357
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18358
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18359
 
else
18360
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
18361
 
fi
18362
 
 
18363
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18364
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18365
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18366
 
else
18367
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
18368
 
fi
18369
 
 
18370
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18371
 
 
18372
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18373
 
if test "$GCC" = yes; then
18374
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18375
 
fi
18376
 
 
18377
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18378
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18379
 
hardcode_action_F77=
18380
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
18381
 
   test -n "$runpath_var_F77" || \
18382
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
18383
 
 
18384
 
  # We can hardcode non-existant directories.
18385
 
  if test "$hardcode_direct_F77" != no &&
18386
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18387
 
     # have to relink, otherwise we might link with an installed library
18388
 
     # when we should be linking with a yet-to-be-installed one
18389
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18390
 
     test "$hardcode_minus_L_F77" != no; then
18391
 
    # Linking always hardcodes the temporary library directory.
18392
 
    hardcode_action_F77=relink
18393
 
  else
18394
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18395
 
    hardcode_action_F77=immediate
18396
 
  fi
18397
 
else
18398
 
  # We cannot hardcode anything, or else we can only hardcode existing
18399
 
  # directories.
18400
 
  hardcode_action_F77=unsupported
18401
 
fi
18402
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18403
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
18404
 
 
18405
 
if test "$hardcode_action_F77" = relink; then
18406
 
  # Fast installation is not supported
18407
 
  enable_fast_install=no
18408
 
elif test "$shlibpath_overrides_runpath" = yes ||
18409
 
     test "$enable_shared" = no; then
18410
 
  # Fast installation is not necessary
18411
 
  enable_fast_install=needless
18412
 
fi
18413
 
 
18414
 
 
18415
 
# The else clause should only fire when bootstrapping the
18416
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18417
 
# with your package, and you will get complaints that there are
18418
 
# no rules to generate ltmain.sh.
18419
 
if test -f "$ltmain"; then
18420
 
  # See if we are running on zsh, and set the options which allow our commands through
18421
 
  # without removal of \ escapes.
18422
 
  if test -n "${ZSH_VERSION+set}" ; then
18423
 
    setopt NO_GLOB_SUBST
18424
 
  fi
18425
 
  # Now quote all the things that may contain metacharacters while being
18426
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18427
 
  # variables and quote the copies for generation of the libtool script.
18428
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18429
 
    SED SHELL STRIP \
18430
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18431
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18432
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18433
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18434
 
    lt_cv_sys_global_symbol_to_c_name_address \
18435
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18436
 
    old_postinstall_cmds old_postuninstall_cmds \
18437
 
    compiler_F77 \
18438
 
    CC_F77 \
18439
 
    LD_F77 \
18440
 
    lt_prog_compiler_wl_F77 \
18441
 
    lt_prog_compiler_pic_F77 \
18442
 
    lt_prog_compiler_static_F77 \
18443
 
    lt_prog_compiler_no_builtin_flag_F77 \
18444
 
    export_dynamic_flag_spec_F77 \
18445
 
    thread_safe_flag_spec_F77 \
18446
 
    whole_archive_flag_spec_F77 \
18447
 
    enable_shared_with_static_runtimes_F77 \
18448
 
    old_archive_cmds_F77 \
18449
 
    old_archive_from_new_cmds_F77 \
18450
 
    predep_objects_F77 \
18451
 
    postdep_objects_F77 \
18452
 
    predeps_F77 \
18453
 
    postdeps_F77 \
18454
 
    compiler_lib_search_path_F77 \
18455
 
    compiler_lib_search_dirs_F77 \
18456
 
    archive_cmds_F77 \
18457
 
    archive_expsym_cmds_F77 \
18458
 
    postinstall_cmds_F77 \
18459
 
    postuninstall_cmds_F77 \
18460
 
    old_archive_from_expsyms_cmds_F77 \
18461
 
    allow_undefined_flag_F77 \
18462
 
    no_undefined_flag_F77 \
18463
 
    export_symbols_cmds_F77 \
18464
 
    hardcode_libdir_flag_spec_F77 \
18465
 
    hardcode_libdir_flag_spec_ld_F77 \
18466
 
    hardcode_libdir_separator_F77 \
18467
 
    hardcode_automatic_F77 \
18468
 
    module_cmds_F77 \
18469
 
    module_expsym_cmds_F77 \
18470
 
    lt_cv_prog_compiler_c_o_F77 \
18471
 
    fix_srcfile_path_F77 \
18472
 
    exclude_expsyms_F77 \
18473
 
    include_expsyms_F77; do
18474
 
 
18475
 
    case $var in
18476
 
    old_archive_cmds_F77 | \
18477
 
    old_archive_from_new_cmds_F77 | \
18478
 
    archive_cmds_F77 | \
18479
 
    archive_expsym_cmds_F77 | \
18480
 
    module_cmds_F77 | \
18481
 
    module_expsym_cmds_F77 | \
18482
 
    old_archive_from_expsyms_cmds_F77 | \
18483
 
    export_symbols_cmds_F77 | \
18484
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18485
 
    postinstall_cmds | postuninstall_cmds | \
18486
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18487
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18488
 
      # Double-quote double-evaled strings.
18489
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18490
 
      ;;
18491
 
    *)
18492
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18493
 
      ;;
18494
 
    esac
18495
 
  done
18496
 
 
18497
 
  case $lt_echo in
18498
 
  *'\$0 --fallback-echo"')
18499
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18500
 
    ;;
18501
 
  esac
18502
 
 
18503
 
cfgfile="$ofile"
18504
 
 
18505
 
  cat <<__EOF__ >> "$cfgfile"
18506
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18507
 
 
18508
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18509
 
 
18510
 
# Shell to use when invoking shell scripts.
18511
 
SHELL=$lt_SHELL
18512
 
 
18513
 
# Whether or not to build shared libraries.
18514
 
build_libtool_libs=$enable_shared
18515
 
 
18516
 
# Whether or not to build static libraries.
18517
 
build_old_libs=$enable_static
18518
 
 
18519
 
# Whether or not to add -lc for building shared libraries.
18520
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
18521
 
 
18522
 
# Whether or not to disallow shared libs when runtime libs are static
18523
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18524
 
 
18525
 
# Whether or not to optimize for fast installation.
18526
 
fast_install=$enable_fast_install
18527
 
 
18528
 
# The host system.
18529
 
host_alias=$host_alias
18530
 
host=$host
18531
 
host_os=$host_os
18532
 
 
18533
 
# The build system.
18534
 
build_alias=$build_alias
18535
 
build=$build
18536
 
build_os=$build_os
18537
 
 
18538
 
# An echo program that does not interpret backslashes.
18539
 
echo=$lt_echo
18540
 
 
18541
 
# The archiver.
18542
 
AR=$lt_AR
18543
 
AR_FLAGS=$lt_AR_FLAGS
18544
 
 
18545
 
# A C compiler.
18546
 
LTCC=$lt_LTCC
18547
 
 
18548
 
# LTCC compiler flags.
18549
 
LTCFLAGS=$lt_LTCFLAGS
18550
 
 
18551
 
# A language-specific compiler.
18552
 
CC=$lt_compiler_F77
18553
 
 
18554
 
# Is the compiler the GNU C compiler?
18555
 
with_gcc=$GCC_F77
18556
 
 
18557
 
# An ERE matcher.
18558
 
EGREP=$lt_EGREP
18559
 
 
18560
 
# The linker used to build libraries.
18561
 
LD=$lt_LD_F77
18562
 
 
18563
 
# Whether we need hard or soft links.
18564
 
LN_S=$lt_LN_S
18565
 
 
18566
 
# A BSD-compatible nm program.
18567
 
NM=$lt_NM
18568
 
 
18569
 
# A symbol stripping program
18570
 
STRIP=$lt_STRIP
18571
 
 
18572
 
# Used to examine libraries when file_magic_cmd begins "file"
18573
 
MAGIC_CMD=$MAGIC_CMD
18574
 
 
18575
 
# Used on cygwin: DLL creation program.
18576
 
DLLTOOL="$DLLTOOL"
18577
 
 
18578
 
# Used on cygwin: object dumper.
18579
 
OBJDUMP="$OBJDUMP"
18580
 
 
18581
 
# Used on cygwin: assembler.
18582
 
AS="$AS"
18583
 
 
18584
 
# The name of the directory that contains temporary libtool files.
18585
 
objdir=$objdir
18586
 
 
18587
 
# How to create reloadable object files.
18588
 
reload_flag=$lt_reload_flag
18589
 
reload_cmds=$lt_reload_cmds
18590
 
 
18591
 
# How to pass a linker flag through the compiler.
18592
 
wl=$lt_lt_prog_compiler_wl_F77
18593
 
 
18594
 
# Object file suffix (normally "o").
18595
 
objext="$ac_objext"
18596
 
 
18597
 
# Old archive suffix (normally "a").
18598
 
libext="$libext"
18599
 
 
18600
 
# Shared library suffix (normally ".so").
18601
 
shrext_cmds='$shrext_cmds'
18602
 
 
18603
 
# Executable file suffix (normally "").
18604
 
exeext="$exeext"
18605
 
 
18606
 
# Additional compiler flags for building library objects.
18607
 
pic_flag=$lt_lt_prog_compiler_pic_F77
18608
 
pic_mode=$pic_mode
18609
 
 
18610
 
# What is the maximum length of a command?
18611
 
max_cmd_len=$lt_cv_sys_max_cmd_len
18612
 
 
18613
 
# Does compiler simultaneously support -c and -o options?
18614
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18615
 
 
18616
 
# Must we lock files when doing compilation?
18617
 
need_locks=$lt_need_locks
18618
 
 
18619
 
# Do we need the lib prefix for modules?
18620
 
need_lib_prefix=$need_lib_prefix
18621
 
 
18622
 
# Do we need a version for libraries?
18623
 
need_version=$need_version
18624
 
 
18625
 
# Whether dlopen is supported.
18626
 
dlopen_support=$enable_dlopen
18627
 
 
18628
 
# Whether dlopen of programs is supported.
18629
 
dlopen_self=$enable_dlopen_self
18630
 
 
18631
 
# Whether dlopen of statically linked programs is supported.
18632
 
dlopen_self_static=$enable_dlopen_self_static
18633
 
 
18634
 
# Compiler flag to prevent dynamic linking.
18635
 
link_static_flag=$lt_lt_prog_compiler_static_F77
18636
 
 
18637
 
# Compiler flag to turn off builtin functions.
18638
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
18639
 
 
18640
 
# Compiler flag to allow reflexive dlopens.
18641
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
18642
 
 
18643
 
# Compiler flag to generate shared objects directly from archives.
18644
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
18645
 
 
18646
 
# Compiler flag to generate thread-safe objects.
18647
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
18648
 
 
18649
 
# Library versioning type.
18650
 
version_type=$version_type
18651
 
 
18652
 
# Format of library name prefix.
18653
 
libname_spec=$lt_libname_spec
18654
 
 
18655
 
# List of archive names.  First name is the real one, the rest are links.
18656
 
# The last name is the one that the linker finds with -lNAME.
18657
 
library_names_spec=$lt_library_names_spec
18658
 
 
18659
 
# The coded name of the library, if different from the real name.
18660
 
soname_spec=$lt_soname_spec
18661
 
 
18662
 
# Commands used to build and install an old-style archive.
18663
 
RANLIB=$lt_RANLIB
18664
 
old_archive_cmds=$lt_old_archive_cmds_F77
18665
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18666
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18667
 
 
18668
 
# Create an old-style archive from a shared archive.
18669
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18670
 
 
18671
 
# Create a temporary old-style archive to link instead of a shared archive.
18672
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18673
 
 
18674
 
# Commands used to build and install a shared archive.
18675
 
archive_cmds=$lt_archive_cmds_F77
18676
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18677
 
postinstall_cmds=$lt_postinstall_cmds
18678
 
postuninstall_cmds=$lt_postuninstall_cmds
18679
 
 
18680
 
# Commands used to build a loadable module (assumed same as above if empty)
18681
 
module_cmds=$lt_module_cmds_F77
18682
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
18683
 
 
18684
 
# Commands to strip libraries.
18685
 
old_striplib=$lt_old_striplib
18686
 
striplib=$lt_striplib
18687
 
 
18688
 
# Dependencies to place before the objects being linked to create a
18689
 
# shared library.
18690
 
predep_objects=$lt_predep_objects_F77
18691
 
 
18692
 
# Dependencies to place after the objects being linked to create a
18693
 
# shared library.
18694
 
postdep_objects=$lt_postdep_objects_F77
18695
 
 
18696
 
# Dependencies to place before the objects being linked to create a
18697
 
# shared library.
18698
 
predeps=$lt_predeps_F77
18699
 
 
18700
 
# Dependencies to place after the objects being linked to create a
18701
 
# shared library.
18702
 
postdeps=$lt_postdeps_F77
18703
 
 
18704
 
# The directories searched by this compiler when creating a shared
18705
 
# library
18706
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
18707
 
 
18708
 
# The library search path used internally by the compiler when linking
18709
 
# a shared library.
18710
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18711
 
 
18712
 
# Method to check whether dependent libraries are shared objects.
18713
 
deplibs_check_method=$lt_deplibs_check_method
18714
 
 
18715
 
# Command to use when deplibs_check_method == file_magic.
18716
 
file_magic_cmd=$lt_file_magic_cmd
18717
 
 
18718
 
# Flag that allows shared libraries with undefined symbols to be built.
18719
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
18720
 
 
18721
 
# Flag that forces no undefined symbols.
18722
 
no_undefined_flag=$lt_no_undefined_flag_F77
18723
 
 
18724
 
# Commands used to finish a libtool library installation in a directory.
18725
 
finish_cmds=$lt_finish_cmds
18726
 
 
18727
 
# Same as above, but a single script fragment to be evaled but not shown.
18728
 
finish_eval=$lt_finish_eval
18729
 
 
18730
 
# Take the output of nm and produce a listing of raw symbols and C names.
18731
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18732
 
 
18733
 
# Transform the output of nm in a proper C declaration
18734
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18735
 
 
18736
 
# Transform the output of nm in a C name address pair
18737
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18738
 
 
18739
 
# This is the shared library runtime path variable.
18740
 
runpath_var=$runpath_var
18741
 
 
18742
 
# This is the shared library path variable.
18743
 
shlibpath_var=$shlibpath_var
18744
 
 
18745
 
# Is shlibpath searched before the hard-coded library search path?
18746
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18747
 
 
18748
 
# How to hardcode a shared library path into an executable.
18749
 
hardcode_action=$hardcode_action_F77
18750
 
 
18751
 
# Whether we should hardcode library paths into libraries.
18752
 
hardcode_into_libs=$hardcode_into_libs
18753
 
 
18754
 
# Flag to hardcode \$libdir into a binary during linking.
18755
 
# This must work even if \$libdir does not exist.
18756
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18757
 
 
18758
 
# If ld is used when linking, flag to hardcode \$libdir into
18759
 
# a binary during linking. This must work even if \$libdir does
18760
 
# not exist.
18761
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18762
 
 
18763
 
# Whether we need a single -rpath flag with a separated argument.
18764
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18765
 
 
18766
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18767
 
# resulting binary.
18768
 
hardcode_direct=$hardcode_direct_F77
18769
 
 
18770
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18771
 
# resulting binary.
18772
 
hardcode_minus_L=$hardcode_minus_L_F77
18773
 
 
18774
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18775
 
# the resulting binary.
18776
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18777
 
 
18778
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
18779
 
# and all subsequent libraries and executables linked against it.
18780
 
hardcode_automatic=$hardcode_automatic_F77
18781
 
 
18782
 
# Variables whose values should be saved in libtool wrapper scripts and
18783
 
# restored at relink time.
18784
 
variables_saved_for_relink="$variables_saved_for_relink"
18785
 
 
18786
 
# Whether libtool must link a program against all its dependency libraries.
18787
 
link_all_deplibs=$link_all_deplibs_F77
18788
 
 
18789
 
# Compile-time system search path for libraries
18790
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18791
 
 
18792
 
# Run-time system search path for libraries
18793
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18794
 
 
18795
 
# Fix the shell variable \$srcfile for the compiler.
18796
 
fix_srcfile_path=$lt_fix_srcfile_path
18797
 
 
18798
 
# Set to yes if exported symbols are required.
18799
 
always_export_symbols=$always_export_symbols_F77
18800
 
 
18801
 
# The commands to list exported symbols.
18802
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
18803
 
 
18804
 
# The commands to extract the exported symbol list from a shared archive.
18805
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18806
 
 
18807
 
# Symbols that should not be listed in the preloaded symbols.
18808
 
exclude_expsyms=$lt_exclude_expsyms_F77
18809
 
 
18810
 
# Symbols that must always be exported.
18811
 
include_expsyms=$lt_include_expsyms_F77
18812
 
 
18813
 
# ### END LIBTOOL TAG CONFIG: $tagname
18814
 
 
18815
 
__EOF__
18816
 
 
18817
 
 
18818
 
else
18819
 
  # If there is no Makefile yet, we rely on a make rule to execute
18820
 
  # `config.status --recheck' to rerun these tests and create the
18821
 
  # libtool script then.
18822
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18823
 
  if test -f "$ltmain_in"; then
18824
 
    test -f Makefile && make "$ltmain"
18825
 
  fi
18826
 
fi
18827
 
 
18828
 
 
18829
 
ac_ext=c
18830
 
ac_cpp='$CPP $CPPFLAGS'
18831
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18832
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18833
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18834
 
 
18835
 
CC="$lt_save_CC"
18836
 
 
18837
 
        else
18838
 
          tagname=""
18839
 
        fi
18840
 
        ;;
18841
 
 
18842
 
      GCJ)
18843
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18844
 
 
18845
 
 
18846
 
# Source file extension for Java test sources.
18847
 
ac_ext=java
18848
 
 
18849
 
# Object file extension for compiled Java test sources.
18850
 
objext=o
18851
 
objext_GCJ=$objext
18852
 
 
18853
 
# Code to be used in simple compile tests
18854
 
lt_simple_compile_test_code="class foo {}"
18855
 
 
18856
 
# Code to be used in simple link tests
18857
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
18858
 
 
18859
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18860
 
 
18861
 
# If no C compiler was specified, use CC.
18862
 
LTCC=${LTCC-"$CC"}
18863
 
 
18864
 
# If no C compiler flags were specified, use CFLAGS.
18865
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18866
 
 
18867
 
# Allow CC to be a program name with arguments.
18868
 
compiler=$CC
18869
 
 
18870
 
 
18871
 
# save warnings/boilerplate of simple test code
18872
 
ac_outfile=conftest.$ac_objext
18873
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18874
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18875
 
_lt_compiler_boilerplate=`cat conftest.err`
18876
 
$rm conftest*
18877
 
 
18878
 
ac_outfile=conftest.$ac_objext
18879
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18880
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18881
 
_lt_linker_boilerplate=`cat conftest.err`
18882
 
$rm -r conftest*
18883
 
 
18884
 
 
18885
 
# Allow CC to be a program name with arguments.
18886
 
lt_save_CC="$CC"
18887
 
CC=${GCJ-"gcj"}
18888
 
compiler=$CC
18889
 
compiler_GCJ=$CC
18890
 
for cc_temp in $compiler""; do
18891
 
  case $cc_temp in
18892
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18893
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18894
 
    \-*) ;;
18895
 
    *) break;;
18896
 
  esac
18897
 
done
18898
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18899
 
 
18900
 
 
18901
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
18902
 
archive_cmds_need_lc_GCJ=no
18903
 
 
18904
 
old_archive_cmds_GCJ=$old_archive_cmds
18905
 
 
18906
 
 
18907
 
lt_prog_compiler_no_builtin_flag_GCJ=
18908
 
 
18909
 
if test "$GCC" = yes; then
18910
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
18911
 
 
18912
 
 
18913
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18914
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
18915
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18916
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18917
 
else
18918
 
  lt_cv_prog_compiler_rtti_exceptions=no
18919
 
  ac_outfile=conftest.$ac_objext
18920
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18921
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
18922
 
   # Insert the option either (1) after the last *FLAGS variable, or
18923
 
   # (2) before a word containing "conftest.", or (3) at the end.
18924
 
   # Note that $ac_compile itself does not contain backslashes and begins
18925
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18926
 
   # The option is referenced via a variable to avoid confusing sed.
18927
 
   lt_compile=`echo "$ac_compile" | $SED \
18928
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18929
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18930
 
   -e 's:$: $lt_compiler_flag:'`
18931
 
   (eval echo "\"\$as_me:18931: $lt_compile\"" >&5)
18932
 
   (eval "$lt_compile" 2>conftest.err)
18933
 
   ac_status=$?
18934
 
   cat conftest.err >&5
18935
 
   echo "$as_me:18935: \$? = $ac_status" >&5
18936
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
18937
 
     # The compiler can only warn and ignore the option if not recognized
18938
 
     # So say no if there are warnings other than the usual output.
18939
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18940
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18941
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18942
 
       lt_cv_prog_compiler_rtti_exceptions=yes
18943
 
     fi
18944
 
   fi
18945
 
   $rm conftest*
18946
 
 
18947
 
fi
18948
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18949
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18950
 
 
18951
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18952
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18953
 
else
18954
 
    :
18955
 
fi
18956
 
 
18957
 
fi
18958
 
 
18959
 
lt_prog_compiler_wl_GCJ=
18960
 
lt_prog_compiler_pic_GCJ=
18961
 
lt_prog_compiler_static_GCJ=
18962
 
 
18963
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18964
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
18965
 
 
18966
 
  if test "$GCC" = yes; then
18967
 
    lt_prog_compiler_wl_GCJ='-Wl,'
18968
 
    lt_prog_compiler_static_GCJ='-static'
18969
 
 
18970
 
    case $host_os in
18971
 
      aix*)
18972
 
      # All AIX code is PIC.
18973
 
      if test "$host_cpu" = ia64; then
18974
 
        # AIX 5 now supports IA64 processor
18975
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18976
 
      fi
18977
 
      ;;
18978
 
 
18979
 
    amigaos*)
18980
 
      # FIXME: we need at least 68020 code to build shared libraries, but
18981
 
      # adding the `-m68020' flag to GCC prevents building anything better,
18982
 
      # like `-m68040'.
18983
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
18984
 
      ;;
18985
 
 
18986
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18987
 
      # PIC is the default for these OSes.
18988
 
      ;;
18989
 
 
18990
 
    mingw* | cygwin* | pw32* | os2*)
18991
 
      # This hack is so that the source file can tell whether it is being
18992
 
      # built for inclusion in a dll (and should export symbols for example).
18993
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
18994
 
      # (--disable-auto-import) libraries
18995
 
 
18996
 
      ;;
18997
 
 
18998
 
    darwin* | rhapsody*)
18999
 
      # PIC is the default on this platform
19000
 
      # Common symbols not allowed in MH_DYLIB files
19001
 
      lt_prog_compiler_pic_GCJ='-fno-common'
19002
 
      ;;
19003
 
 
19004
 
    interix[3-9]*)
19005
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19006
 
      # Instead, we relocate shared libraries at runtime.
19007
 
      ;;
19008
 
 
19009
 
    msdosdjgpp*)
19010
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
19011
 
      # on systems that don't support them.
19012
 
      lt_prog_compiler_can_build_shared_GCJ=no
19013
 
      enable_shared=no
19014
 
      ;;
19015
 
 
19016
 
    sysv4*MP*)
19017
 
      if test -d /usr/nec; then
19018
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
19019
 
      fi
19020
 
      ;;
19021
 
 
19022
 
    hpux*)
19023
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19024
 
      # not for PA HP-UX.
19025
 
      case $host_cpu in
19026
 
      hppa*64*|ia64*)
19027
 
        # +Z the default
19028
 
        ;;
19029
 
      *)
19030
 
        lt_prog_compiler_pic_GCJ='-fPIC'
19031
 
        ;;
19032
 
      esac
19033
 
      ;;
19034
 
 
19035
 
    *)
19036
 
      lt_prog_compiler_pic_GCJ='-fPIC'
19037
 
      ;;
19038
 
    esac
19039
 
  else
19040
 
    # PORTME Check for flag to pass linker flags through the system compiler.
19041
 
    case $host_os in
19042
 
    aix*)
19043
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19044
 
      if test "$host_cpu" = ia64; then
19045
 
        # AIX 5 now supports IA64 processor
19046
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19047
 
      else
19048
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
19049
 
      fi
19050
 
      ;;
19051
 
      darwin*)
19052
 
        # PIC is the default on this platform
19053
 
        # Common symbols not allowed in MH_DYLIB files
19054
 
       case $cc_basename in
19055
 
         xlc*)
19056
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
19057
 
         lt_prog_compiler_wl_GCJ='-Wl,'
19058
 
         ;;
19059
 
       esac
19060
 
       ;;
19061
 
 
19062
 
    mingw* | cygwin* | pw32* | os2*)
19063
 
      # This hack is so that the source file can tell whether it is being
19064
 
      # built for inclusion in a dll (and should export symbols for example).
19065
 
 
19066
 
      ;;
19067
 
 
19068
 
    hpux9* | hpux10* | hpux11*)
19069
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19070
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19071
 
      # not for PA HP-UX.
19072
 
      case $host_cpu in
19073
 
      hppa*64*|ia64*)
19074
 
        # +Z the default
19075
 
        ;;
19076
 
      *)
19077
 
        lt_prog_compiler_pic_GCJ='+Z'
19078
 
        ;;
19079
 
      esac
19080
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
19081
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
19082
 
      ;;
19083
 
 
19084
 
    irix5* | irix6* | nonstopux*)
19085
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19086
 
      # PIC (with -KPIC) is the default.
19087
 
      lt_prog_compiler_static_GCJ='-non_shared'
19088
 
      ;;
19089
 
 
19090
 
    newsos6)
19091
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19092
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19093
 
      ;;
19094
 
 
19095
 
    linux* | k*bsd*-gnu)
19096
 
      case $cc_basename in
19097
 
      icc* | ecc*)
19098
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19099
 
        lt_prog_compiler_pic_GCJ='-KPIC'
19100
 
        lt_prog_compiler_static_GCJ='-static'
19101
 
        ;;
19102
 
      pgcc* | pgf77* | pgf90* | pgf95*)
19103
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
19104
 
        # which looks to be a dead project)
19105
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19106
 
        lt_prog_compiler_pic_GCJ='-fpic'
19107
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19108
 
        ;;
19109
 
      ccc*)
19110
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19111
 
        # All Alpha code is PIC.
19112
 
        lt_prog_compiler_static_GCJ='-non_shared'
19113
 
        ;;
19114
 
      *)
19115
 
        case `$CC -V 2>&1 | sed 5q` in
19116
 
        *Sun\ C*)
19117
 
          # Sun C 5.9
19118
 
          lt_prog_compiler_pic_GCJ='-KPIC'
19119
 
          lt_prog_compiler_static_GCJ='-Bstatic'
19120
 
          lt_prog_compiler_wl_GCJ='-Wl,'
19121
 
          ;;
19122
 
        *Sun\ F*)
19123
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
19124
 
          lt_prog_compiler_pic_GCJ='-KPIC'
19125
 
          lt_prog_compiler_static_GCJ='-Bstatic'
19126
 
          lt_prog_compiler_wl_GCJ=''
19127
 
          ;;
19128
 
        esac
19129
 
        ;;
19130
 
      esac
19131
 
      ;;
19132
 
 
19133
 
    osf3* | osf4* | osf5*)
19134
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19135
 
      # All OSF/1 code is PIC.
19136
 
      lt_prog_compiler_static_GCJ='-non_shared'
19137
 
      ;;
19138
 
 
19139
 
    rdos*)
19140
 
      lt_prog_compiler_static_GCJ='-non_shared'
19141
 
      ;;
19142
 
 
19143
 
    solaris*)
19144
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19145
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19146
 
      case $cc_basename in
19147
 
      f77* | f90* | f95*)
19148
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
19149
 
      *)
19150
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
19151
 
      esac
19152
 
      ;;
19153
 
 
19154
 
    sunos4*)
19155
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
19156
 
      lt_prog_compiler_pic_GCJ='-PIC'
19157
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19158
 
      ;;
19159
 
 
19160
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
19161
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19162
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19163
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19164
 
      ;;
19165
 
 
19166
 
    sysv4*MP*)
19167
 
      if test -d /usr/nec ;then
19168
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
19169
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19170
 
      fi
19171
 
      ;;
19172
 
 
19173
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19174
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19175
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19176
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19177
 
      ;;
19178
 
 
19179
 
    unicos*)
19180
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19181
 
      lt_prog_compiler_can_build_shared_GCJ=no
19182
 
      ;;
19183
 
 
19184
 
    uts4*)
19185
 
      lt_prog_compiler_pic_GCJ='-pic'
19186
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19187
 
      ;;
19188
 
 
19189
 
    *)
19190
 
      lt_prog_compiler_can_build_shared_GCJ=no
19191
 
      ;;
19192
 
    esac
19193
 
  fi
19194
 
 
19195
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
19196
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
19197
 
 
19198
 
#
19199
 
# Check to make sure the PIC flag actually works.
19200
 
#
19201
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
19202
 
 
19203
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
19204
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
19205
 
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
19206
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19207
 
else
19208
 
  lt_cv_prog_compiler_pic_works_GCJ=no
19209
 
  ac_outfile=conftest.$ac_objext
19210
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19211
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
19212
 
   # Insert the option either (1) after the last *FLAGS variable, or
19213
 
   # (2) before a word containing "conftest.", or (3) at the end.
19214
 
   # Note that $ac_compile itself does not contain backslashes and begins
19215
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19216
 
   # The option is referenced via a variable to avoid confusing sed.
19217
 
   lt_compile=`echo "$ac_compile" | $SED \
19218
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19219
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19220
 
   -e 's:$: $lt_compiler_flag:'`
19221
 
   (eval echo "\"\$as_me:19221: $lt_compile\"" >&5)
19222
 
   (eval "$lt_compile" 2>conftest.err)
19223
 
   ac_status=$?
19224
 
   cat conftest.err >&5
19225
 
   echo "$as_me:19225: \$? = $ac_status" >&5
19226
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
19227
 
     # The compiler can only warn and ignore the option if not recognized
19228
 
     # So say no if there are warnings other than the usual output.
19229
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19230
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19231
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19232
 
       lt_cv_prog_compiler_pic_works_GCJ=yes
19233
 
     fi
19234
 
   fi
19235
 
   $rm conftest*
19236
 
 
19237
 
fi
19238
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
19239
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
19240
 
 
19241
 
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
19242
 
    case $lt_prog_compiler_pic_GCJ in
19243
 
     "" | " "*) ;;
19244
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
19245
 
     esac
19246
 
else
19247
 
    lt_prog_compiler_pic_GCJ=
19248
 
     lt_prog_compiler_can_build_shared_GCJ=no
19249
 
fi
19250
 
 
19251
 
fi
19252
 
case $host_os in
19253
 
  # For platforms which do not support PIC, -DPIC is meaningless:
19254
 
  *djgpp*)
19255
 
    lt_prog_compiler_pic_GCJ=
19256
 
    ;;
19257
 
  *)
19258
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
19259
 
    ;;
19260
 
esac
19261
 
 
19262
 
#
19263
 
# Check to make sure the static flag actually works.
19264
 
#
19265
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
19266
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19267
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19268
 
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
19269
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19270
 
else
19271
 
  lt_cv_prog_compiler_static_works_GCJ=no
19272
 
   save_LDFLAGS="$LDFLAGS"
19273
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19274
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
19275
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19276
 
     # The linker can only warn and ignore the option if not recognized
19277
 
     # So say no if there are warnings
19278
 
     if test -s conftest.err; then
19279
 
       # Append any errors to the config.log.
19280
 
       cat conftest.err 1>&5
19281
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
19282
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19283
 
       if diff conftest.exp conftest.er2 >/dev/null; then
19284
 
         lt_cv_prog_compiler_static_works_GCJ=yes
19285
 
       fi
19286
 
     else
19287
 
       lt_cv_prog_compiler_static_works_GCJ=yes
19288
 
     fi
19289
 
   fi
19290
 
   $rm -r conftest*
19291
 
   LDFLAGS="$save_LDFLAGS"
19292
 
 
19293
 
fi
19294
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
19295
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
19296
 
 
19297
 
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
19298
 
    :
19299
 
else
19300
 
    lt_prog_compiler_static_GCJ=
19301
 
fi
19302
 
 
19303
 
 
19304
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19305
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19306
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
19307
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19308
 
else
19309
 
  lt_cv_prog_compiler_c_o_GCJ=no
19310
 
   $rm -r conftest 2>/dev/null
19311
 
   mkdir conftest
19312
 
   cd conftest
19313
 
   mkdir out
19314
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19315
 
 
19316
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
19317
 
   # Insert the option either (1) after the last *FLAGS variable, or
19318
 
   # (2) before a word containing "conftest.", or (3) at the end.
19319
 
   # Note that $ac_compile itself does not contain backslashes and begins
19320
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19321
 
   lt_compile=`echo "$ac_compile" | $SED \
19322
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19323
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19324
 
   -e 's:$: $lt_compiler_flag:'`
19325
 
   (eval echo "\"\$as_me:19325: $lt_compile\"" >&5)
19326
 
   (eval "$lt_compile" 2>out/conftest.err)
19327
 
   ac_status=$?
19328
 
   cat out/conftest.err >&5
19329
 
   echo "$as_me:19329: \$? = $ac_status" >&5
19330
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
19331
 
   then
19332
 
     # The compiler can only warn and ignore the option if not recognized
19333
 
     # So say no if there are warnings
19334
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19335
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19336
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19337
 
       lt_cv_prog_compiler_c_o_GCJ=yes
19338
 
     fi
19339
 
   fi
19340
 
   chmod u+w . 2>&5
19341
 
   $rm conftest*
19342
 
   # SGI C++ compiler will create directory out/ii_files/ for
19343
 
   # template instantiation
19344
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
19345
 
   $rm out/* && rmdir out
19346
 
   cd ..
19347
 
   rmdir conftest
19348
 
   $rm conftest*
19349
 
 
19350
 
fi
19351
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
19352
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
19353
 
 
19354
 
 
19355
 
hard_links="nottested"
19356
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
19357
 
  # do not overwrite the value of need_locks provided by the user
19358
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19359
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19360
 
  hard_links=yes
19361
 
  $rm conftest*
19362
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19363
 
  touch conftest.a
19364
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
19365
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19366
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
19367
 
echo "${ECHO_T}$hard_links" >&6; }
19368
 
  if test "$hard_links" = no; then
19369
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19370
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19371
 
    need_locks=warn
19372
 
  fi
19373
 
else
19374
 
  need_locks=no
19375
 
fi
19376
 
 
19377
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19378
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19379
 
 
19380
 
  runpath_var=
19381
 
  allow_undefined_flag_GCJ=
19382
 
  enable_shared_with_static_runtimes_GCJ=no
19383
 
  archive_cmds_GCJ=
19384
 
  archive_expsym_cmds_GCJ=
19385
 
  old_archive_From_new_cmds_GCJ=
19386
 
  old_archive_from_expsyms_cmds_GCJ=
19387
 
  export_dynamic_flag_spec_GCJ=
19388
 
  whole_archive_flag_spec_GCJ=
19389
 
  thread_safe_flag_spec_GCJ=
19390
 
  hardcode_libdir_flag_spec_GCJ=
19391
 
  hardcode_libdir_flag_spec_ld_GCJ=
19392
 
  hardcode_libdir_separator_GCJ=
19393
 
  hardcode_direct_GCJ=no
19394
 
  hardcode_minus_L_GCJ=no
19395
 
  hardcode_shlibpath_var_GCJ=unsupported
19396
 
  link_all_deplibs_GCJ=unknown
19397
 
  hardcode_automatic_GCJ=no
19398
 
  module_cmds_GCJ=
19399
 
  module_expsym_cmds_GCJ=
19400
 
  always_export_symbols_GCJ=no
19401
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19402
 
  # include_expsyms should be a list of space-separated symbols to be *always*
19403
 
  # included in the symbol list
19404
 
  include_expsyms_GCJ=
19405
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
19406
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
19407
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19408
 
  # as well as any symbol that contains `d'.
19409
 
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19410
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19411
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
19412
 
  # the symbol is explicitly referenced.  Since portable code cannot
19413
 
  # rely on this symbol name, it's probably fine to never include it in
19414
 
  # preloaded symbol tables.
19415
 
  # Exclude shared library initialization/finalization symbols.
19416
 
  extract_expsyms_cmds=
19417
 
  # Just being paranoid about ensuring that cc_basename is set.
19418
 
  for cc_temp in $compiler""; do
19419
 
  case $cc_temp in
19420
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19421
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19422
 
    \-*) ;;
19423
 
    *) break;;
19424
 
  esac
19425
 
done
19426
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19427
 
 
19428
 
  case $host_os in
19429
 
  cygwin* | mingw* | pw32*)
19430
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
19431
 
    # When not using gcc, we currently assume that we are using
19432
 
    # Microsoft Visual C++.
19433
 
    if test "$GCC" != yes; then
19434
 
      with_gnu_ld=no
19435
 
    fi
19436
 
    ;;
19437
 
  interix*)
19438
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
19439
 
    with_gnu_ld=yes
19440
 
    ;;
19441
 
  openbsd*)
19442
 
    with_gnu_ld=no
19443
 
    ;;
19444
 
  esac
19445
 
 
19446
 
  ld_shlibs_GCJ=yes
19447
 
  if test "$with_gnu_ld" = yes; then
19448
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
19449
 
    wlarc='${wl}'
19450
 
 
19451
 
    # Set some defaults for GNU ld with shared library support. These
19452
 
    # are reset later if shared libraries are not supported. Putting them
19453
 
    # here allows them to be overridden if necessary.
19454
 
    runpath_var=LD_RUN_PATH
19455
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
19456
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
19457
 
    # ancient GNU ld didn't support --whole-archive et. al.
19458
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
19459
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19460
 
      else
19461
 
        whole_archive_flag_spec_GCJ=
19462
 
    fi
19463
 
    supports_anon_versioning=no
19464
 
    case `$LD -v 2>/dev/null` in
19465
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
19466
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
19467
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
19468
 
      *\ 2.11.*) ;; # other 2.11 versions
19469
 
      *) supports_anon_versioning=yes ;;
19470
 
    esac
19471
 
 
19472
 
    # See if GNU ld supports shared libraries.
19473
 
    case $host_os in
19474
 
    aix[3-9]*)
19475
 
      # On AIX/PPC, the GNU linker is very broken
19476
 
      if test "$host_cpu" != ia64; then
19477
 
        ld_shlibs_GCJ=no
19478
 
        cat <<EOF 1>&2
19479
 
 
19480
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
19481
 
*** to be unable to reliably create shared libraries on AIX.
19482
 
*** Therefore, libtool is disabling shared libraries support.  If you
19483
 
*** really care for shared libraries, you may want to modify your PATH
19484
 
*** so that a non-GNU linker is found, and then restart.
19485
 
 
19486
 
EOF
19487
 
      fi
19488
 
      ;;
19489
 
 
19490
 
    amigaos*)
19491
 
      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)'
19492
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19493
 
      hardcode_minus_L_GCJ=yes
19494
 
 
19495
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19496
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
19497
 
      # to version 4, is to share data among multiple programs linked
19498
 
      # with the same dynamic library.  Since this doesn't match the
19499
 
      # behavior of shared libraries on other platforms, we can't use
19500
 
      # them.
19501
 
      ld_shlibs_GCJ=no
19502
 
      ;;
19503
 
 
19504
 
    beos*)
19505
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19506
 
        allow_undefined_flag_GCJ=unsupported
19507
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19508
 
        # support --undefined.  This deserves some investigation.  FIXME
19509
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19510
 
      else
19511
 
        ld_shlibs_GCJ=no
19512
 
      fi
19513
 
      ;;
19514
 
 
19515
 
    cygwin* | mingw* | pw32*)
19516
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
19517
 
      # as there is no search path for DLLs.
19518
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19519
 
      allow_undefined_flag_GCJ=unsupported
19520
 
      always_export_symbols_GCJ=no
19521
 
      enable_shared_with_static_runtimes_GCJ=yes
19522
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
19523
 
 
19524
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19525
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19526
 
        # If the export-symbols file already is a .def file (1st line
19527
 
        # is EXPORTS), use it as is; otherwise, prepend...
19528
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19529
 
          cp $export_symbols $output_objdir/$soname.def;
19530
 
        else
19531
 
          echo EXPORTS > $output_objdir/$soname.def;
19532
 
          cat $export_symbols >> $output_objdir/$soname.def;
19533
 
        fi~
19534
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19535
 
      else
19536
 
        ld_shlibs_GCJ=no
19537
 
      fi
19538
 
      ;;
19539
 
 
19540
 
    interix[3-9]*)
19541
 
      hardcode_direct_GCJ=no
19542
 
      hardcode_shlibpath_var_GCJ=no
19543
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19544
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
19545
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19546
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
19547
 
      # default) and relocated if they conflict, which is a slow very memory
19548
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
19549
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19550
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
19551
 
      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'
19552
 
      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'
19553
 
      ;;
19554
 
 
19555
 
    gnu* | linux* | k*bsd*-gnu)
19556
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19557
 
        tmp_addflag=
19558
 
        case $cc_basename,$host_cpu in
19559
 
        pgcc*)                          # Portland Group C compiler
19560
 
          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'
19561
 
          tmp_addflag=' $pic_flag'
19562
 
          ;;
19563
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
19564
 
          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'
19565
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
19566
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
19567
 
          tmp_addflag=' -i_dynamic' ;;
19568
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
19569
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
19570
 
        ifc* | ifort*)                  # Intel Fortran compiler
19571
 
          tmp_addflag=' -nofor_main' ;;
19572
 
        esac
19573
 
        case `$CC -V 2>&1 | sed 5q` in
19574
 
        *Sun\ C*)                       # Sun C 5.9
19575
 
          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'
19576
 
          tmp_sharedflag='-G' ;;
19577
 
        *Sun\ F*)                       # Sun Fortran 8.3
19578
 
          tmp_sharedflag='-G' ;;
19579
 
        *)
19580
 
          tmp_sharedflag='-shared' ;;
19581
 
        esac
19582
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19583
 
 
19584
 
        if test $supports_anon_versioning = yes; then
19585
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
19586
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19587
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
19588
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19589
 
        fi
19590
 
        link_all_deplibs_GCJ=no
19591
 
      else
19592
 
        ld_shlibs_GCJ=no
19593
 
      fi
19594
 
      ;;
19595
 
 
19596
 
    netbsd* | netbsdelf*-gnu)
19597
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19598
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19599
 
        wlarc=
19600
 
      else
19601
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19602
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19603
 
      fi
19604
 
      ;;
19605
 
 
19606
 
    solaris*)
19607
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
19608
 
        ld_shlibs_GCJ=no
19609
 
        cat <<EOF 1>&2
19610
 
 
19611
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
19612
 
*** create shared libraries on Solaris systems.  Therefore, libtool
19613
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
19614
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
19615
 
*** your PATH or compiler configuration so that the native linker is
19616
 
*** used, and then restart.
19617
 
 
19618
 
EOF
19619
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19620
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19621
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19622
 
      else
19623
 
        ld_shlibs_GCJ=no
19624
 
      fi
19625
 
      ;;
19626
 
 
19627
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
19628
 
      case `$LD -v 2>&1` in
19629
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
19630
 
        ld_shlibs_GCJ=no
19631
 
        cat <<_LT_EOF 1>&2
19632
 
 
19633
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
19634
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
19635
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
19636
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
19637
 
*** your PATH or compiler configuration so that the native linker is
19638
 
*** used, and then restart.
19639
 
 
19640
 
_LT_EOF
19641
 
        ;;
19642
 
        *)
19643
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19644
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
19645
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
19646
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
19647
 
          else
19648
 
            ld_shlibs_GCJ=no
19649
 
          fi
19650
 
        ;;
19651
 
      esac
19652
 
      ;;
19653
 
 
19654
 
    sunos4*)
19655
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19656
 
      wlarc=
19657
 
      hardcode_direct_GCJ=yes
19658
 
      hardcode_shlibpath_var_GCJ=no
19659
 
      ;;
19660
 
 
19661
 
    *)
19662
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19663
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19664
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19665
 
      else
19666
 
        ld_shlibs_GCJ=no
19667
 
      fi
19668
 
      ;;
19669
 
    esac
19670
 
 
19671
 
    if test "$ld_shlibs_GCJ" = no; then
19672
 
      runpath_var=
19673
 
      hardcode_libdir_flag_spec_GCJ=
19674
 
      export_dynamic_flag_spec_GCJ=
19675
 
      whole_archive_flag_spec_GCJ=
19676
 
    fi
19677
 
  else
19678
 
    # PORTME fill in a description of your system's linker (not GNU ld)
19679
 
    case $host_os in
19680
 
    aix3*)
19681
 
      allow_undefined_flag_GCJ=unsupported
19682
 
      always_export_symbols_GCJ=yes
19683
 
      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'
19684
 
      # Note: this linker hardcodes the directories in LIBPATH if there
19685
 
      # are no directories specified by -L.
19686
 
      hardcode_minus_L_GCJ=yes
19687
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
19688
 
        # Neither direct hardcoding nor static linking is supported with a
19689
 
        # broken collect2.
19690
 
        hardcode_direct_GCJ=unsupported
19691
 
      fi
19692
 
      ;;
19693
 
 
19694
 
    aix[4-9]*)
19695
 
      if test "$host_cpu" = ia64; then
19696
 
        # On IA64, the linker does run time linking by default, so we don't
19697
 
        # have to do anything special.
19698
 
        aix_use_runtimelinking=no
19699
 
        exp_sym_flag='-Bexport'
19700
 
        no_entry_flag=""
19701
 
      else
19702
 
        # If we're using GNU nm, then we don't want the "-C" option.
19703
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
19704
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19705
 
          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'
19706
 
        else
19707
 
          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'
19708
 
        fi
19709
 
        aix_use_runtimelinking=no
19710
 
 
19711
 
        # Test if we are trying to use run time linking or normal
19712
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19713
 
        # need to do runtime linking.
19714
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
19715
 
          for ld_flag in $LDFLAGS; do
19716
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
19717
 
            aix_use_runtimelinking=yes
19718
 
            break
19719
 
          fi
19720
 
          done
19721
 
          ;;
19722
 
        esac
19723
 
 
19724
 
        exp_sym_flag='-bexport'
19725
 
        no_entry_flag='-bnoentry'
19726
 
      fi
19727
 
 
19728
 
      # When large executables or shared objects are built, AIX ld can
19729
 
      # have problems creating the table of contents.  If linking a library
19730
 
      # or program results in "error TOC overflow" add -mminimal-toc to
19731
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
19732
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19733
 
 
19734
 
      archive_cmds_GCJ=''
19735
 
      hardcode_direct_GCJ=yes
19736
 
      hardcode_libdir_separator_GCJ=':'
19737
 
      link_all_deplibs_GCJ=yes
19738
 
 
19739
 
      if test "$GCC" = yes; then
19740
 
        case $host_os in aix4.[012]|aix4.[012].*)
19741
 
        # We only want to do this on AIX 4.2 and lower, the check
19742
 
        # below for broken collect2 doesn't work under 4.3+
19743
 
          collect2name=`${CC} -print-prog-name=collect2`
19744
 
          if test -f "$collect2name" && \
19745
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
19746
 
          then
19747
 
          # We have reworked collect2
19748
 
          :
19749
 
          else
19750
 
          # We have old collect2
19751
 
          hardcode_direct_GCJ=unsupported
19752
 
          # It fails to find uninstalled libraries when the uninstalled
19753
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
19754
 
          # to unsupported forces relinking
19755
 
          hardcode_minus_L_GCJ=yes
19756
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
19757
 
          hardcode_libdir_separator_GCJ=
19758
 
          fi
19759
 
          ;;
19760
 
        esac
19761
 
        shared_flag='-shared'
19762
 
        if test "$aix_use_runtimelinking" = yes; then
19763
 
          shared_flag="$shared_flag "'${wl}-G'
19764
 
        fi
19765
 
      else
19766
 
        # not using gcc
19767
 
        if test "$host_cpu" = ia64; then
19768
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19769
 
        # chokes on -Wl,-G. The following line is correct:
19770
 
          shared_flag='-G'
19771
 
        else
19772
 
          if test "$aix_use_runtimelinking" = yes; then
19773
 
            shared_flag='${wl}-G'
19774
 
          else
19775
 
            shared_flag='${wl}-bM:SRE'
19776
 
          fi
19777
 
        fi
19778
 
      fi
19779
 
 
19780
 
      # It seems that -bexpall does not export symbols beginning with
19781
 
      # underscore (_), so it is better to generate a list of symbols to export.
19782
 
      always_export_symbols_GCJ=yes
19783
 
      if test "$aix_use_runtimelinking" = yes; then
19784
 
        # Warning - without using the other runtime loading flags (-brtl),
19785
 
        # -berok will link without error, but may produce a broken library.
19786
 
        allow_undefined_flag_GCJ='-berok'
19787
 
       # Determine the default libpath from the value encoded in an empty executable.
19788
 
       cat >conftest.$ac_ext <<_ACEOF
19789
 
/* confdefs.h.  */
19790
 
_ACEOF
19791
 
cat confdefs.h >>conftest.$ac_ext
19792
 
cat >>conftest.$ac_ext <<_ACEOF
19793
 
/* end confdefs.h.  */
19794
 
 
19795
 
int
19796
 
main ()
19797
 
{
19798
 
 
19799
 
  ;
19800
 
  return 0;
19801
 
}
19802
 
_ACEOF
19803
 
rm -f conftest.$ac_objext conftest$ac_exeext
19804
 
if { (ac_try="$ac_link"
19805
 
case "(($ac_try" in
19806
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19807
 
  *) ac_try_echo=$ac_try;;
19808
 
esac
19809
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19810
 
  (eval "$ac_link") 2>conftest.er1
19811
 
  ac_status=$?
19812
 
  grep -v '^ *+' conftest.er1 >conftest.err
19813
 
  rm -f conftest.er1
19814
 
  cat conftest.err >&5
19815
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816
 
  (exit $ac_status); } && {
19817
 
         test -z "$ac_c_werror_flag" ||
19818
 
         test ! -s conftest.err
19819
 
       } && test -s conftest$ac_exeext &&
19820
 
       $as_test_x conftest$ac_exeext; then
19821
 
 
19822
 
lt_aix_libpath_sed='
19823
 
    /Import File Strings/,/^$/ {
19824
 
        /^0/ {
19825
 
            s/^0  *\(.*\)$/\1/
19826
 
            p
19827
 
        }
19828
 
    }'
19829
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19830
 
# Check for a 64-bit object if we didn't find anything.
19831
 
if test -z "$aix_libpath"; then
19832
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19833
 
fi
19834
 
else
19835
 
  echo "$as_me: failed program was:" >&5
19836
 
sed 's/^/| /' conftest.$ac_ext >&5
19837
 
 
19838
 
 
19839
 
fi
19840
 
 
19841
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19842
 
      conftest$ac_exeext conftest.$ac_ext
19843
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19844
 
 
19845
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19846
 
        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"
19847
 
       else
19848
 
        if test "$host_cpu" = ia64; then
19849
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19850
 
          allow_undefined_flag_GCJ="-z nodefs"
19851
 
          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"
19852
 
        else
19853
 
         # Determine the default libpath from the value encoded in an empty executable.
19854
 
         cat >conftest.$ac_ext <<_ACEOF
19855
 
/* confdefs.h.  */
19856
 
_ACEOF
19857
 
cat confdefs.h >>conftest.$ac_ext
19858
 
cat >>conftest.$ac_ext <<_ACEOF
19859
 
/* end confdefs.h.  */
19860
 
 
19861
 
int
19862
 
main ()
19863
 
{
19864
 
 
19865
 
  ;
19866
 
  return 0;
19867
 
}
19868
 
_ACEOF
19869
 
rm -f conftest.$ac_objext conftest$ac_exeext
19870
 
if { (ac_try="$ac_link"
19871
 
case "(($ac_try" in
19872
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19873
 
  *) ac_try_echo=$ac_try;;
19874
 
esac
19875
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19876
 
  (eval "$ac_link") 2>conftest.er1
19877
 
  ac_status=$?
19878
 
  grep -v '^ *+' conftest.er1 >conftest.err
19879
 
  rm -f conftest.er1
19880
 
  cat conftest.err >&5
19881
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882
 
  (exit $ac_status); } && {
19883
 
         test -z "$ac_c_werror_flag" ||
19884
 
         test ! -s conftest.err
19885
 
       } && test -s conftest$ac_exeext &&
19886
 
       $as_test_x conftest$ac_exeext; then
19887
 
 
19888
 
lt_aix_libpath_sed='
19889
 
    /Import File Strings/,/^$/ {
19890
 
        /^0/ {
19891
 
            s/^0  *\(.*\)$/\1/
19892
 
            p
19893
 
        }
19894
 
    }'
19895
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19896
 
# Check for a 64-bit object if we didn't find anything.
19897
 
if test -z "$aix_libpath"; then
19898
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19899
 
fi
19900
 
else
19901
 
  echo "$as_me: failed program was:" >&5
19902
 
sed 's/^/| /' conftest.$ac_ext >&5
19903
 
 
19904
 
 
19905
 
fi
19906
 
 
19907
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19908
 
      conftest$ac_exeext conftest.$ac_ext
19909
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19910
 
 
19911
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19912
 
          # Warning - without using the other run time loading flags,
19913
 
          # -berok will link without error, but may produce a broken library.
19914
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
19915
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
19916
 
          # Exported symbols can be pulled into shared objects from archives
19917
 
          whole_archive_flag_spec_GCJ='$convenience'
19918
 
          archive_cmds_need_lc_GCJ=yes
19919
 
          # This is similar to how AIX traditionally builds its shared libraries.
19920
 
          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'
19921
 
        fi
19922
 
      fi
19923
 
      ;;
19924
 
 
19925
 
    amigaos*)
19926
 
      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)'
19927
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19928
 
      hardcode_minus_L_GCJ=yes
19929
 
      # see comment about different semantics on the GNU ld section
19930
 
      ld_shlibs_GCJ=no
19931
 
      ;;
19932
 
 
19933
 
    bsdi[45]*)
19934
 
      export_dynamic_flag_spec_GCJ=-rdynamic
19935
 
      ;;
19936
 
 
19937
 
    cygwin* | mingw* | pw32*)
19938
 
      # When not using gcc, we currently assume that we are using
19939
 
      # Microsoft Visual C++.
19940
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
19941
 
      # no search path for DLLs.
19942
 
      hardcode_libdir_flag_spec_GCJ=' '
19943
 
      allow_undefined_flag_GCJ=unsupported
19944
 
      # Tell ltmain to make .lib files, not .a files.
19945
 
      libext=lib
19946
 
      # Tell ltmain to make .dll files, not .so files.
19947
 
      shrext_cmds=".dll"
19948
 
      # FIXME: Setting linknames here is a bad hack.
19949
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19950
 
      # The linker will automatically build a .lib file if we build a DLL.
19951
 
      old_archive_From_new_cmds_GCJ='true'
19952
 
      # FIXME: Should let the user specify the lib program.
19953
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
19954
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
19955
 
      enable_shared_with_static_runtimes_GCJ=yes
19956
 
      ;;
19957
 
 
19958
 
    darwin* | rhapsody*)
19959
 
      case $host_os in
19960
 
        rhapsody* | darwin1.[012])
19961
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
19962
 
         ;;
19963
 
       *) # Darwin 1.3 on
19964
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19965
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19966
 
         else
19967
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
19968
 
             10.[012])
19969
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19970
 
               ;;
19971
 
             10.*)
19972
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
19973
 
               ;;
19974
 
           esac
19975
 
         fi
19976
 
         ;;
19977
 
      esac
19978
 
      archive_cmds_need_lc_GCJ=no
19979
 
      hardcode_direct_GCJ=no
19980
 
      hardcode_automatic_GCJ=yes
19981
 
      hardcode_shlibpath_var_GCJ=unsupported
19982
 
      whole_archive_flag_spec_GCJ=''
19983
 
      link_all_deplibs_GCJ=yes
19984
 
    if test "$GCC" = yes ; then
19985
 
        output_verbose_link_cmd='echo'
19986
 
        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}"
19987
 
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
19988
 
        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}"
19989
 
        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}"
19990
 
    else
19991
 
      case $cc_basename in
19992
 
        xlc*)
19993
 
         output_verbose_link_cmd='echo'
19994
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
19995
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19996
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19997
 
         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}'
19998
 
          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}'
19999
 
          ;;
20000
 
       *)
20001
 
         ld_shlibs_GCJ=no
20002
 
          ;;
20003
 
      esac
20004
 
    fi
20005
 
      ;;
20006
 
 
20007
 
    dgux*)
20008
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20009
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20010
 
      hardcode_shlibpath_var_GCJ=no
20011
 
      ;;
20012
 
 
20013
 
    freebsd1*)
20014
 
      ld_shlibs_GCJ=no
20015
 
      ;;
20016
 
 
20017
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
20018
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
20019
 
    # does not break anything, and helps significantly (at the cost of a little
20020
 
    # extra space).
20021
 
    freebsd2.2*)
20022
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
20023
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20024
 
      hardcode_direct_GCJ=yes
20025
 
      hardcode_shlibpath_var_GCJ=no
20026
 
      ;;
20027
 
 
20028
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
20029
 
    freebsd2*)
20030
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20031
 
      hardcode_direct_GCJ=yes
20032
 
      hardcode_minus_L_GCJ=yes
20033
 
      hardcode_shlibpath_var_GCJ=no
20034
 
      ;;
20035
 
 
20036
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
20037
 
    freebsd* | dragonfly*)
20038
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
20039
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20040
 
      hardcode_direct_GCJ=yes
20041
 
      hardcode_shlibpath_var_GCJ=no
20042
 
      ;;
20043
 
 
20044
 
    hpux9*)
20045
 
      if test "$GCC" = yes; then
20046
 
        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'
20047
 
      else
20048
 
        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'
20049
 
      fi
20050
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20051
 
      hardcode_libdir_separator_GCJ=:
20052
 
      hardcode_direct_GCJ=yes
20053
 
 
20054
 
      # hardcode_minus_L: Not really in the search PATH,
20055
 
      # but as the default location of the library.
20056
 
      hardcode_minus_L_GCJ=yes
20057
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
20058
 
      ;;
20059
 
 
20060
 
    hpux10*)
20061
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20062
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20063
 
      else
20064
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20065
 
      fi
20066
 
      if test "$with_gnu_ld" = no; then
20067
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20068
 
        hardcode_libdir_separator_GCJ=:
20069
 
 
20070
 
        hardcode_direct_GCJ=yes
20071
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
20072
 
 
20073
 
        # hardcode_minus_L: Not really in the search PATH,
20074
 
        # but as the default location of the library.
20075
 
        hardcode_minus_L_GCJ=yes
20076
 
      fi
20077
 
      ;;
20078
 
 
20079
 
    hpux11*)
20080
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20081
 
        case $host_cpu in
20082
 
        hppa*64*)
20083
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20084
 
          ;;
20085
 
        ia64*)
20086
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
20087
 
          ;;
20088
 
        *)
20089
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20090
 
          ;;
20091
 
        esac
20092
 
      else
20093
 
        case $host_cpu in
20094
 
        hppa*64*)
20095
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20096
 
          ;;
20097
 
        ia64*)
20098
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
20099
 
          ;;
20100
 
        *)
20101
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20102
 
          ;;
20103
 
        esac
20104
 
      fi
20105
 
      if test "$with_gnu_ld" = no; then
20106
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20107
 
        hardcode_libdir_separator_GCJ=:
20108
 
 
20109
 
        case $host_cpu in
20110
 
        hppa*64*|ia64*)
20111
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
20112
 
          hardcode_direct_GCJ=no
20113
 
          hardcode_shlibpath_var_GCJ=no
20114
 
          ;;
20115
 
        *)
20116
 
          hardcode_direct_GCJ=yes
20117
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
20118
 
 
20119
 
          # hardcode_minus_L: Not really in the search PATH,
20120
 
          # but as the default location of the library.
20121
 
          hardcode_minus_L_GCJ=yes
20122
 
          ;;
20123
 
        esac
20124
 
      fi
20125
 
      ;;
20126
 
 
20127
 
    irix5* | irix6* | nonstopux*)
20128
 
      if test "$GCC" = yes; then
20129
 
        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'
20130
 
      else
20131
 
        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'
20132
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
20133
 
      fi
20134
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20135
 
      hardcode_libdir_separator_GCJ=:
20136
 
      link_all_deplibs_GCJ=yes
20137
 
      ;;
20138
 
 
20139
 
    netbsd* | netbsdelf*-gnu)
20140
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20141
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
20142
 
      else
20143
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
20144
 
      fi
20145
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20146
 
      hardcode_direct_GCJ=yes
20147
 
      hardcode_shlibpath_var_GCJ=no
20148
 
      ;;
20149
 
 
20150
 
    newsos6)
20151
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20152
 
      hardcode_direct_GCJ=yes
20153
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20154
 
      hardcode_libdir_separator_GCJ=:
20155
 
      hardcode_shlibpath_var_GCJ=no
20156
 
      ;;
20157
 
 
20158
 
    openbsd*)
20159
 
      if test -f /usr/libexec/ld.so; then
20160
 
        hardcode_direct_GCJ=yes
20161
 
        hardcode_shlibpath_var_GCJ=no
20162
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20163
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20164
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
20165
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20166
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
20167
 
        else
20168
 
          case $host_os in
20169
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
20170
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20171
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
20172
 
             ;;
20173
 
           *)
20174
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20175
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20176
 
             ;;
20177
 
          esac
20178
 
        fi
20179
 
      else
20180
 
        ld_shlibs_GCJ=no
20181
 
      fi
20182
 
      ;;
20183
 
 
20184
 
    os2*)
20185
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20186
 
      hardcode_minus_L_GCJ=yes
20187
 
      allow_undefined_flag_GCJ=unsupported
20188
 
      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'
20189
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20190
 
      ;;
20191
 
 
20192
 
    osf3*)
20193
 
      if test "$GCC" = yes; then
20194
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20195
 
        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'
20196
 
      else
20197
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
20198
 
        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'
20199
 
      fi
20200
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20201
 
      hardcode_libdir_separator_GCJ=:
20202
 
      ;;
20203
 
 
20204
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
20205
 
      if test "$GCC" = yes; then
20206
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20207
 
        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'
20208
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20209
 
      else
20210
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
20211
 
        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'
20212
 
        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~
20213
 
        $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'
20214
 
 
20215
 
        # Both c and cxx compiler support -rpath directly
20216
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
20217
 
      fi
20218
 
      hardcode_libdir_separator_GCJ=:
20219
 
      ;;
20220
 
 
20221
 
    solaris*)
20222
 
      no_undefined_flag_GCJ=' -z text'
20223
 
      if test "$GCC" = yes; then
20224
 
        wlarc='${wl}'
20225
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20226
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20227
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
20228
 
      else
20229
 
        wlarc=''
20230
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20231
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20232
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20233
 
      fi
20234
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20235
 
      hardcode_shlibpath_var_GCJ=no
20236
 
      case $host_os in
20237
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
20238
 
      *)
20239
 
        # The compiler driver will combine and reorder linker options,
20240
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
20241
 
        # but is careful enough not to reorder.
20242
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
20243
 
        if test "$GCC" = yes; then
20244
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
20245
 
        else
20246
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
20247
 
        fi
20248
 
        ;;
20249
 
      esac
20250
 
      link_all_deplibs_GCJ=yes
20251
 
      ;;
20252
 
 
20253
 
    sunos4*)
20254
 
      if test "x$host_vendor" = xsequent; then
20255
 
        # Use $CC to link under sequent, because it throws in some extra .o
20256
 
        # files that make .init and .fini sections work.
20257
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
20258
 
      else
20259
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20260
 
      fi
20261
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20262
 
      hardcode_direct_GCJ=yes
20263
 
      hardcode_minus_L_GCJ=yes
20264
 
      hardcode_shlibpath_var_GCJ=no
20265
 
      ;;
20266
 
 
20267
 
    sysv4)
20268
 
      case $host_vendor in
20269
 
        sni)
20270
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20271
 
          hardcode_direct_GCJ=yes # is this really true???
20272
 
        ;;
20273
 
        siemens)
20274
 
          ## LD is ld it makes a PLAMLIB
20275
 
          ## CC just makes a GrossModule.
20276
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20277
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
20278
 
          hardcode_direct_GCJ=no
20279
 
        ;;
20280
 
        motorola)
20281
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20282
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
20283
 
        ;;
20284
 
      esac
20285
 
      runpath_var='LD_RUN_PATH'
20286
 
      hardcode_shlibpath_var_GCJ=no
20287
 
      ;;
20288
 
 
20289
 
    sysv4.3*)
20290
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20291
 
      hardcode_shlibpath_var_GCJ=no
20292
 
      export_dynamic_flag_spec_GCJ='-Bexport'
20293
 
      ;;
20294
 
 
20295
 
    sysv4*MP*)
20296
 
      if test -d /usr/nec; then
20297
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20298
 
        hardcode_shlibpath_var_GCJ=no
20299
 
        runpath_var=LD_RUN_PATH
20300
 
        hardcode_runpath_var=yes
20301
 
        ld_shlibs_GCJ=yes
20302
 
      fi
20303
 
      ;;
20304
 
 
20305
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
20306
 
      no_undefined_flag_GCJ='${wl}-z,text'
20307
 
      archive_cmds_need_lc_GCJ=no
20308
 
      hardcode_shlibpath_var_GCJ=no
20309
 
      runpath_var='LD_RUN_PATH'
20310
 
 
20311
 
      if test "$GCC" = yes; then
20312
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20313
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20314
 
      else
20315
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20316
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20317
 
      fi
20318
 
      ;;
20319
 
 
20320
 
    sysv5* | sco3.2v5* | sco5v6*)
20321
 
      # Note: We can NOT use -z defs as we might desire, because we do not
20322
 
      # link with -lc, and that would cause any symbols used from libc to
20323
 
      # always be unresolved, which means just about no library would
20324
 
      # ever link correctly.  If we're not using GNU ld we use -z text
20325
 
      # though, which does catch some bad symbols but isn't as heavy-handed
20326
 
      # as -z defs.
20327
 
      no_undefined_flag_GCJ='${wl}-z,text'
20328
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
20329
 
      archive_cmds_need_lc_GCJ=no
20330
 
      hardcode_shlibpath_var_GCJ=no
20331
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
20332
 
      hardcode_libdir_separator_GCJ=':'
20333
 
      link_all_deplibs_GCJ=yes
20334
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
20335
 
      runpath_var='LD_RUN_PATH'
20336
 
 
20337
 
      if test "$GCC" = yes; then
20338
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20339
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20340
 
      else
20341
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20342
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20343
 
      fi
20344
 
      ;;
20345
 
 
20346
 
    uts4*)
20347
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20348
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20349
 
      hardcode_shlibpath_var_GCJ=no
20350
 
      ;;
20351
 
 
20352
 
    *)
20353
 
      ld_shlibs_GCJ=no
20354
 
      ;;
20355
 
    esac
20356
 
  fi
20357
 
 
20358
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20359
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
20360
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
20361
 
 
20362
 
#
20363
 
# Do we need to explicitly link libc?
20364
 
#
20365
 
case "x$archive_cmds_need_lc_GCJ" in
20366
 
x|xyes)
20367
 
  # Assume -lc should be added
20368
 
  archive_cmds_need_lc_GCJ=yes
20369
 
 
20370
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
20371
 
    case $archive_cmds_GCJ in
20372
 
    *'~'*)
20373
 
      # FIXME: we may have to deal with multi-command sequences.
20374
 
      ;;
20375
 
    '$CC '*)
20376
 
      # Test whether the compiler implicitly links with -lc since on some
20377
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
20378
 
      # to ld, don't add -lc before -lgcc.
20379
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20380
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20381
 
      $rm conftest*
20382
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20383
 
 
20384
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20385
 
  (eval $ac_compile) 2>&5
20386
 
  ac_status=$?
20387
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20388
 
  (exit $ac_status); } 2>conftest.err; then
20389
 
        soname=conftest
20390
 
        lib=conftest
20391
 
        libobjs=conftest.$ac_objext
20392
 
        deplibs=
20393
 
        wl=$lt_prog_compiler_wl_GCJ
20394
 
        pic_flag=$lt_prog_compiler_pic_GCJ
20395
 
        compiler_flags=-v
20396
 
        linker_flags=-v
20397
 
        verstring=
20398
 
        output_objdir=.
20399
 
        libname=conftest
20400
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
20401
 
        allow_undefined_flag_GCJ=
20402
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20403
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20404
 
  ac_status=$?
20405
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406
 
  (exit $ac_status); }
20407
 
        then
20408
 
          archive_cmds_need_lc_GCJ=no
20409
 
        else
20410
 
          archive_cmds_need_lc_GCJ=yes
20411
 
        fi
20412
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
20413
 
      else
20414
 
        cat conftest.err 1>&5
20415
 
      fi
20416
 
      $rm conftest*
20417
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20418
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
20419
 
      ;;
20420
 
    esac
20421
 
  fi
20422
 
  ;;
20423
 
esac
20424
 
 
20425
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20426
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20427
 
library_names_spec=
20428
 
libname_spec='lib$name'
20429
 
soname_spec=
20430
 
shrext_cmds=".so"
20431
 
postinstall_cmds=
20432
 
postuninstall_cmds=
20433
 
finish_cmds=
20434
 
finish_eval=
20435
 
shlibpath_var=
20436
 
shlibpath_overrides_runpath=unknown
20437
 
version_type=none
20438
 
dynamic_linker="$host_os ld.so"
20439
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
20440
 
 
20441
 
need_lib_prefix=unknown
20442
 
hardcode_into_libs=no
20443
 
 
20444
 
# when you set need_version to no, make sure it does not cause -set_version
20445
 
# flags to be left without arguments
20446
 
need_version=unknown
20447
 
 
20448
 
case $host_os in
20449
 
aix3*)
20450
 
  version_type=linux
20451
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20452
 
  shlibpath_var=LIBPATH
20453
 
 
20454
 
  # AIX 3 has no versioning support, so we append a major version to the name.
20455
 
  soname_spec='${libname}${release}${shared_ext}$major'
20456
 
  ;;
20457
 
 
20458
 
aix[4-9]*)
20459
 
  version_type=linux
20460
 
  need_lib_prefix=no
20461
 
  need_version=no
20462
 
  hardcode_into_libs=yes
20463
 
  if test "$host_cpu" = ia64; then
20464
 
    # AIX 5 supports IA64
20465
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20466
 
    shlibpath_var=LD_LIBRARY_PATH
20467
 
  else
20468
 
    # With GCC up to 2.95.x, collect2 would create an import file
20469
 
    # for dependence libraries.  The import file would start with
20470
 
    # the line `#! .'.  This would cause the generated library to
20471
 
    # depend on `.', always an invalid library.  This was fixed in
20472
 
    # development snapshots of GCC prior to 3.0.
20473
 
    case $host_os in
20474
 
      aix4 | aix4.[01] | aix4.[01].*)
20475
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20476
 
           echo ' yes '
20477
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20478
 
        :
20479
 
      else
20480
 
        can_build_shared=no
20481
 
      fi
20482
 
      ;;
20483
 
    esac
20484
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20485
 
    # soname into executable. Probably we can add versioning support to
20486
 
    # collect2, so additional links can be useful in future.
20487
 
    if test "$aix_use_runtimelinking" = yes; then
20488
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20489
 
      # instead of lib<name>.a to let people know that these are not
20490
 
      # typical AIX shared libraries.
20491
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20492
 
    else
20493
 
      # We preserve .a as extension for shared libraries through AIX4.2
20494
 
      # and later when we are not doing run time linking.
20495
 
      library_names_spec='${libname}${release}.a $libname.a'
20496
 
      soname_spec='${libname}${release}${shared_ext}$major'
20497
 
    fi
20498
 
    shlibpath_var=LIBPATH
20499
 
  fi
20500
 
  ;;
20501
 
 
20502
 
amigaos*)
20503
 
  library_names_spec='$libname.ixlibrary $libname.a'
20504
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
20505
 
  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'
20506
 
  ;;
20507
 
 
20508
 
beos*)
20509
 
  library_names_spec='${libname}${shared_ext}'
20510
 
  dynamic_linker="$host_os ld.so"
20511
 
  shlibpath_var=LIBRARY_PATH
20512
 
  ;;
20513
 
 
20514
 
bsdi[45]*)
20515
 
  version_type=linux
20516
 
  need_version=no
20517
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20518
 
  soname_spec='${libname}${release}${shared_ext}$major'
20519
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20520
 
  shlibpath_var=LD_LIBRARY_PATH
20521
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20522
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20523
 
  # the default ld.so.conf also contains /usr/contrib/lib and
20524
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20525
 
  # libtool to hard-code these into programs
20526
 
  ;;
20527
 
 
20528
 
cygwin* | mingw* | pw32*)
20529
 
  version_type=windows
20530
 
  shrext_cmds=".dll"
20531
 
  need_version=no
20532
 
  need_lib_prefix=no
20533
 
 
20534
 
  case $GCC,$host_os in
20535
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
20536
 
    library_names_spec='$libname.dll.a'
20537
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
20538
 
    postinstall_cmds='base_file=`basename \${file}`~
20539
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20540
 
      dldir=$destdir/`dirname \$dlpath`~
20541
 
      test -d \$dldir || mkdir -p \$dldir~
20542
 
      $install_prog $dir/$dlname \$dldir/$dlname~
20543
 
      chmod a+x \$dldir/$dlname'
20544
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20545
 
      dlpath=$dir/\$dldll~
20546
 
       $rm \$dlpath'
20547
 
    shlibpath_overrides_runpath=yes
20548
 
 
20549
 
    case $host_os in
20550
 
    cygwin*)
20551
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20552
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20553
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20554
 
      ;;
20555
 
    mingw*)
20556
 
      # MinGW DLLs use traditional 'lib' prefix
20557
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20558
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20559
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20560
 
        # It is most probably a Windows format PATH printed by
20561
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
20562
 
        # path with ; separators, and with drive letters. We can handle the
20563
 
        # drive letters (cygwin fileutils understands them), so leave them,
20564
 
        # especially as we might pass files found there to a mingw objdump,
20565
 
        # which wouldn't understand a cygwinified path. Ahh.
20566
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20567
 
      else
20568
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
20569
 
      fi
20570
 
      ;;
20571
 
    pw32*)
20572
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
20573
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20574
 
      ;;
20575
 
    esac
20576
 
    ;;
20577
 
 
20578
 
  *)
20579
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20580
 
    ;;
20581
 
  esac
20582
 
  dynamic_linker='Win32 ld.exe'
20583
 
  # FIXME: first we should search . and the directory the executable is in
20584
 
  shlibpath_var=PATH
20585
 
  ;;
20586
 
 
20587
 
darwin* | rhapsody*)
20588
 
  dynamic_linker="$host_os dyld"
20589
 
  version_type=darwin
20590
 
  need_lib_prefix=no
20591
 
  need_version=no
20592
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20593
 
  soname_spec='${libname}${release}${major}$shared_ext'
20594
 
  shlibpath_overrides_runpath=yes
20595
 
  shlibpath_var=DYLD_LIBRARY_PATH
20596
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20597
 
 
20598
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20599
 
  ;;
20600
 
 
20601
 
dgux*)
20602
 
  version_type=linux
20603
 
  need_lib_prefix=no
20604
 
  need_version=no
20605
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20606
 
  soname_spec='${libname}${release}${shared_ext}$major'
20607
 
  shlibpath_var=LD_LIBRARY_PATH
20608
 
  ;;
20609
 
 
20610
 
freebsd1*)
20611
 
  dynamic_linker=no
20612
 
  ;;
20613
 
 
20614
 
freebsd* | dragonfly*)
20615
 
  # DragonFly does not have aout.  When/if they implement a new
20616
 
  # versioning mechanism, adjust this.
20617
 
  if test -x /usr/bin/objformat; then
20618
 
    objformat=`/usr/bin/objformat`
20619
 
  else
20620
 
    case $host_os in
20621
 
    freebsd[123]*) objformat=aout ;;
20622
 
    *) objformat=elf ;;
20623
 
    esac
20624
 
  fi
20625
 
  version_type=freebsd-$objformat
20626
 
  case $version_type in
20627
 
    freebsd-elf*)
20628
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20629
 
      need_version=no
20630
 
      need_lib_prefix=no
20631
 
      ;;
20632
 
    freebsd-*)
20633
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20634
 
      need_version=yes
20635
 
      ;;
20636
 
  esac
20637
 
  shlibpath_var=LD_LIBRARY_PATH
20638
 
  case $host_os in
20639
 
  freebsd2*)
20640
 
    shlibpath_overrides_runpath=yes
20641
 
    ;;
20642
 
  freebsd3.[01]* | freebsdelf3.[01]*)
20643
 
    shlibpath_overrides_runpath=yes
20644
 
    hardcode_into_libs=yes
20645
 
    ;;
20646
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20647
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20648
 
    shlibpath_overrides_runpath=no
20649
 
    hardcode_into_libs=yes
20650
 
    ;;
20651
 
  *) # from 4.6 on, and DragonFly
20652
 
    shlibpath_overrides_runpath=yes
20653
 
    hardcode_into_libs=yes
20654
 
    ;;
20655
 
  esac
20656
 
  ;;
20657
 
 
20658
 
gnu*)
20659
 
  version_type=linux
20660
 
  need_lib_prefix=no
20661
 
  need_version=no
20662
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20663
 
  soname_spec='${libname}${release}${shared_ext}$major'
20664
 
  shlibpath_var=LD_LIBRARY_PATH
20665
 
  hardcode_into_libs=yes
20666
 
  ;;
20667
 
 
20668
 
hpux9* | hpux10* | hpux11*)
20669
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
20670
 
  # link against other versions.
20671
 
  version_type=sunos
20672
 
  need_lib_prefix=no
20673
 
  need_version=no
20674
 
  case $host_cpu in
20675
 
  ia64*)
20676
 
    shrext_cmds='.so'
20677
 
    hardcode_into_libs=yes
20678
 
    dynamic_linker="$host_os dld.so"
20679
 
    shlibpath_var=LD_LIBRARY_PATH
20680
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20681
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20682
 
    soname_spec='${libname}${release}${shared_ext}$major'
20683
 
    if test "X$HPUX_IA64_MODE" = X32; then
20684
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20685
 
    else
20686
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20687
 
    fi
20688
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20689
 
    ;;
20690
 
   hppa*64*)
20691
 
     shrext_cmds='.sl'
20692
 
     hardcode_into_libs=yes
20693
 
     dynamic_linker="$host_os dld.sl"
20694
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20695
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20696
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20697
 
     soname_spec='${libname}${release}${shared_ext}$major'
20698
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20699
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20700
 
     ;;
20701
 
   *)
20702
 
    shrext_cmds='.sl'
20703
 
    dynamic_linker="$host_os dld.sl"
20704
 
    shlibpath_var=SHLIB_PATH
20705
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20706
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20707
 
    soname_spec='${libname}${release}${shared_ext}$major'
20708
 
    ;;
20709
 
  esac
20710
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
20711
 
  postinstall_cmds='chmod 555 $lib'
20712
 
  ;;
20713
 
 
20714
 
interix[3-9]*)
20715
 
  version_type=linux
20716
 
  need_lib_prefix=no
20717
 
  need_version=no
20718
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20719
 
  soname_spec='${libname}${release}${shared_ext}$major'
20720
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20721
 
  shlibpath_var=LD_LIBRARY_PATH
20722
 
  shlibpath_overrides_runpath=no
20723
 
  hardcode_into_libs=yes
20724
 
  ;;
20725
 
 
20726
 
irix5* | irix6* | nonstopux*)
20727
 
  case $host_os in
20728
 
    nonstopux*) version_type=nonstopux ;;
20729
 
    *)
20730
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
20731
 
                version_type=linux
20732
 
        else
20733
 
                version_type=irix
20734
 
        fi ;;
20735
 
  esac
20736
 
  need_lib_prefix=no
20737
 
  need_version=no
20738
 
  soname_spec='${libname}${release}${shared_ext}$major'
20739
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20740
 
  case $host_os in
20741
 
  irix5* | nonstopux*)
20742
 
    libsuff= shlibsuff=
20743
 
    ;;
20744
 
  *)
20745
 
    case $LD in # libtool.m4 will add one of these switches to LD
20746
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20747
 
      libsuff= shlibsuff= libmagic=32-bit;;
20748
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20749
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
20750
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20751
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
20752
 
    *) libsuff= shlibsuff= libmagic=never-match;;
20753
 
    esac
20754
 
    ;;
20755
 
  esac
20756
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20757
 
  shlibpath_overrides_runpath=no
20758
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20759
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20760
 
  hardcode_into_libs=yes
20761
 
  ;;
20762
 
 
20763
 
# No shared lib support for Linux oldld, aout, or coff.
20764
 
linux*oldld* | linux*aout* | linux*coff*)
20765
 
  dynamic_linker=no
20766
 
  ;;
20767
 
 
20768
 
# This must be Linux ELF.
20769
 
linux* | k*bsd*-gnu)
20770
 
  version_type=linux
20771
 
  need_lib_prefix=no
20772
 
  need_version=no
20773
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20774
 
  soname_spec='${libname}${release}${shared_ext}$major'
20775
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20776
 
  shlibpath_var=LD_LIBRARY_PATH
20777
 
  shlibpath_overrides_runpath=no
20778
 
  # This implies no fast_install, which is unacceptable.
20779
 
  # Some rework will be needed to allow for fast_install
20780
 
  # before this can be enabled.
20781
 
  hardcode_into_libs=yes
20782
 
 
20783
 
  # Append ld.so.conf contents to the search path
20784
 
  if test -f /etc/ld.so.conf; then
20785
 
    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' ' '`
20786
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20787
 
  fi
20788
 
 
20789
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
20790
 
  # powerpc, because MkLinux only supported shared libraries with the
20791
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
20792
 
  # most powerpc-linux boxes support dynamic linking these days and
20793
 
  # people can always --disable-shared, the test was removed, and we
20794
 
  # assume the GNU/Linux dynamic linker is in use.
20795
 
  dynamic_linker='GNU/Linux ld.so'
20796
 
  ;;
20797
 
 
20798
 
netbsdelf*-gnu)
20799
 
  version_type=linux
20800
 
  need_lib_prefix=no
20801
 
  need_version=no
20802
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20803
 
  soname_spec='${libname}${release}${shared_ext}$major'
20804
 
  shlibpath_var=LD_LIBRARY_PATH
20805
 
  shlibpath_overrides_runpath=no
20806
 
  hardcode_into_libs=yes
20807
 
  dynamic_linker='NetBSD ld.elf_so'
20808
 
  ;;
20809
 
 
20810
 
netbsd*)
20811
 
  version_type=sunos
20812
 
  need_lib_prefix=no
20813
 
  need_version=no
20814
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20815
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20816
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20817
 
    dynamic_linker='NetBSD (a.out) ld.so'
20818
 
  else
20819
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20820
 
    soname_spec='${libname}${release}${shared_ext}$major'
20821
 
    dynamic_linker='NetBSD ld.elf_so'
20822
 
  fi
20823
 
  shlibpath_var=LD_LIBRARY_PATH
20824
 
  shlibpath_overrides_runpath=yes
20825
 
  hardcode_into_libs=yes
20826
 
  ;;
20827
 
 
20828
 
newsos6)
20829
 
  version_type=linux
20830
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20831
 
  shlibpath_var=LD_LIBRARY_PATH
20832
 
  shlibpath_overrides_runpath=yes
20833
 
  ;;
20834
 
 
20835
 
nto-qnx*)
20836
 
  version_type=linux
20837
 
  need_lib_prefix=no
20838
 
  need_version=no
20839
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20840
 
  soname_spec='${libname}${release}${shared_ext}$major'
20841
 
  shlibpath_var=LD_LIBRARY_PATH
20842
 
  shlibpath_overrides_runpath=yes
20843
 
  ;;
20844
 
 
20845
 
openbsd*)
20846
 
  version_type=sunos
20847
 
  sys_lib_dlsearch_path_spec="/usr/lib"
20848
 
  need_lib_prefix=no
20849
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20850
 
  case $host_os in
20851
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20852
 
    *)                         need_version=no  ;;
20853
 
  esac
20854
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20855
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20856
 
  shlibpath_var=LD_LIBRARY_PATH
20857
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20858
 
    case $host_os in
20859
 
      openbsd2.[89] | openbsd2.[89].*)
20860
 
        shlibpath_overrides_runpath=no
20861
 
        ;;
20862
 
      *)
20863
 
        shlibpath_overrides_runpath=yes
20864
 
        ;;
20865
 
      esac
20866
 
  else
20867
 
    shlibpath_overrides_runpath=yes
20868
 
  fi
20869
 
  ;;
20870
 
 
20871
 
os2*)
20872
 
  libname_spec='$name'
20873
 
  shrext_cmds=".dll"
20874
 
  need_lib_prefix=no
20875
 
  library_names_spec='$libname${shared_ext} $libname.a'
20876
 
  dynamic_linker='OS/2 ld.exe'
20877
 
  shlibpath_var=LIBPATH
20878
 
  ;;
20879
 
 
20880
 
osf3* | osf4* | osf5*)
20881
 
  version_type=osf
20882
 
  need_lib_prefix=no
20883
 
  need_version=no
20884
 
  soname_spec='${libname}${release}${shared_ext}$major'
20885
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20886
 
  shlibpath_var=LD_LIBRARY_PATH
20887
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20888
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20889
 
  ;;
20890
 
 
20891
 
rdos*)
20892
 
  dynamic_linker=no
20893
 
  ;;
20894
 
 
20895
 
solaris*)
20896
 
  version_type=linux
20897
 
  need_lib_prefix=no
20898
 
  need_version=no
20899
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20900
 
  soname_spec='${libname}${release}${shared_ext}$major'
20901
 
  shlibpath_var=LD_LIBRARY_PATH
20902
 
  shlibpath_overrides_runpath=yes
20903
 
  hardcode_into_libs=yes
20904
 
  # ldd complains unless libraries are executable
20905
 
  postinstall_cmds='chmod +x $lib'
20906
 
  ;;
20907
 
 
20908
 
sunos4*)
20909
 
  version_type=sunos
20910
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20911
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20912
 
  shlibpath_var=LD_LIBRARY_PATH
20913
 
  shlibpath_overrides_runpath=yes
20914
 
  if test "$with_gnu_ld" = yes; then
20915
 
    need_lib_prefix=no
20916
 
  fi
20917
 
  need_version=yes
20918
 
  ;;
20919
 
 
20920
 
sysv4 | sysv4.3*)
20921
 
  version_type=linux
20922
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20923
 
  soname_spec='${libname}${release}${shared_ext}$major'
20924
 
  shlibpath_var=LD_LIBRARY_PATH
20925
 
  case $host_vendor in
20926
 
    sni)
20927
 
      shlibpath_overrides_runpath=no
20928
 
      need_lib_prefix=no
20929
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
20930
 
      runpath_var=LD_RUN_PATH
20931
 
      ;;
20932
 
    siemens)
20933
 
      need_lib_prefix=no
20934
 
      ;;
20935
 
    motorola)
20936
 
      need_lib_prefix=no
20937
 
      need_version=no
20938
 
      shlibpath_overrides_runpath=no
20939
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20940
 
      ;;
20941
 
  esac
20942
 
  ;;
20943
 
 
20944
 
sysv4*MP*)
20945
 
  if test -d /usr/nec ;then
20946
 
    version_type=linux
20947
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20948
 
    soname_spec='$libname${shared_ext}.$major'
20949
 
    shlibpath_var=LD_LIBRARY_PATH
20950
 
  fi
20951
 
  ;;
20952
 
 
20953
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20954
 
  version_type=freebsd-elf
20955
 
  need_lib_prefix=no
20956
 
  need_version=no
20957
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20958
 
  soname_spec='${libname}${release}${shared_ext}$major'
20959
 
  shlibpath_var=LD_LIBRARY_PATH
20960
 
  hardcode_into_libs=yes
20961
 
  if test "$with_gnu_ld" = yes; then
20962
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20963
 
    shlibpath_overrides_runpath=no
20964
 
  else
20965
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20966
 
    shlibpath_overrides_runpath=yes
20967
 
    case $host_os in
20968
 
      sco3.2v5*)
20969
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20970
 
        ;;
20971
 
    esac
20972
 
  fi
20973
 
  sys_lib_dlsearch_path_spec='/usr/lib'
20974
 
  ;;
20975
 
 
20976
 
uts4*)
20977
 
  version_type=linux
20978
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20979
 
  soname_spec='${libname}${release}${shared_ext}$major'
20980
 
  shlibpath_var=LD_LIBRARY_PATH
20981
 
  ;;
20982
 
 
20983
 
*)
20984
 
  dynamic_linker=no
20985
 
  ;;
20986
 
esac
20987
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20988
 
echo "${ECHO_T}$dynamic_linker" >&6; }
20989
 
test "$dynamic_linker" = no && can_build_shared=no
20990
 
 
20991
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20992
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20993
 
else
20994
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
20995
 
fi
20996
 
 
20997
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20998
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20999
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21000
 
else
21001
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
21002
 
fi
21003
 
 
21004
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
21005
 
 
21006
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21007
 
if test "$GCC" = yes; then
21008
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21009
 
fi
21010
 
 
21011
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21012
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
21013
 
hardcode_action_GCJ=
21014
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
21015
 
   test -n "$runpath_var_GCJ" || \
21016
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
21017
 
 
21018
 
  # We can hardcode non-existant directories.
21019
 
  if test "$hardcode_direct_GCJ" != no &&
21020
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
21021
 
     # have to relink, otherwise we might link with an installed library
21022
 
     # when we should be linking with a yet-to-be-installed one
21023
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
21024
 
     test "$hardcode_minus_L_GCJ" != no; then
21025
 
    # Linking always hardcodes the temporary library directory.
21026
 
    hardcode_action_GCJ=relink
21027
 
  else
21028
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
21029
 
    hardcode_action_GCJ=immediate
21030
 
  fi
21031
 
else
21032
 
  # We cannot hardcode anything, or else we can only hardcode existing
21033
 
  # directories.
21034
 
  hardcode_action_GCJ=unsupported
21035
 
fi
21036
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
21037
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
21038
 
 
21039
 
if test "$hardcode_action_GCJ" = relink; then
21040
 
  # Fast installation is not supported
21041
 
  enable_fast_install=no
21042
 
elif test "$shlibpath_overrides_runpath" = yes ||
21043
 
     test "$enable_shared" = no; then
21044
 
  # Fast installation is not necessary
21045
 
  enable_fast_install=needless
21046
 
fi
21047
 
 
21048
 
 
21049
 
# The else clause should only fire when bootstrapping the
21050
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
21051
 
# with your package, and you will get complaints that there are
21052
 
# no rules to generate ltmain.sh.
21053
 
if test -f "$ltmain"; then
21054
 
  # See if we are running on zsh, and set the options which allow our commands through
21055
 
  # without removal of \ escapes.
21056
 
  if test -n "${ZSH_VERSION+set}" ; then
21057
 
    setopt NO_GLOB_SUBST
21058
 
  fi
21059
 
  # Now quote all the things that may contain metacharacters while being
21060
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
21061
 
  # variables and quote the copies for generation of the libtool script.
21062
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21063
 
    SED SHELL STRIP \
21064
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21065
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21066
 
    deplibs_check_method reload_flag reload_cmds need_locks \
21067
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21068
 
    lt_cv_sys_global_symbol_to_c_name_address \
21069
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21070
 
    old_postinstall_cmds old_postuninstall_cmds \
21071
 
    compiler_GCJ \
21072
 
    CC_GCJ \
21073
 
    LD_GCJ \
21074
 
    lt_prog_compiler_wl_GCJ \
21075
 
    lt_prog_compiler_pic_GCJ \
21076
 
    lt_prog_compiler_static_GCJ \
21077
 
    lt_prog_compiler_no_builtin_flag_GCJ \
21078
 
    export_dynamic_flag_spec_GCJ \
21079
 
    thread_safe_flag_spec_GCJ \
21080
 
    whole_archive_flag_spec_GCJ \
21081
 
    enable_shared_with_static_runtimes_GCJ \
21082
 
    old_archive_cmds_GCJ \
21083
 
    old_archive_from_new_cmds_GCJ \
21084
 
    predep_objects_GCJ \
21085
 
    postdep_objects_GCJ \
21086
 
    predeps_GCJ \
21087
 
    postdeps_GCJ \
21088
 
    compiler_lib_search_path_GCJ \
21089
 
    compiler_lib_search_dirs_GCJ \
21090
 
    archive_cmds_GCJ \
21091
 
    archive_expsym_cmds_GCJ \
21092
 
    postinstall_cmds_GCJ \
21093
 
    postuninstall_cmds_GCJ \
21094
 
    old_archive_from_expsyms_cmds_GCJ \
21095
 
    allow_undefined_flag_GCJ \
21096
 
    no_undefined_flag_GCJ \
21097
 
    export_symbols_cmds_GCJ \
21098
 
    hardcode_libdir_flag_spec_GCJ \
21099
 
    hardcode_libdir_flag_spec_ld_GCJ \
21100
 
    hardcode_libdir_separator_GCJ \
21101
 
    hardcode_automatic_GCJ \
21102
 
    module_cmds_GCJ \
21103
 
    module_expsym_cmds_GCJ \
21104
 
    lt_cv_prog_compiler_c_o_GCJ \
21105
 
    fix_srcfile_path_GCJ \
21106
 
    exclude_expsyms_GCJ \
21107
 
    include_expsyms_GCJ; do
21108
 
 
21109
 
    case $var in
21110
 
    old_archive_cmds_GCJ | \
21111
 
    old_archive_from_new_cmds_GCJ | \
21112
 
    archive_cmds_GCJ | \
21113
 
    archive_expsym_cmds_GCJ | \
21114
 
    module_cmds_GCJ | \
21115
 
    module_expsym_cmds_GCJ | \
21116
 
    old_archive_from_expsyms_cmds_GCJ | \
21117
 
    export_symbols_cmds_GCJ | \
21118
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
21119
 
    postinstall_cmds | postuninstall_cmds | \
21120
 
    old_postinstall_cmds | old_postuninstall_cmds | \
21121
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21122
 
      # Double-quote double-evaled strings.
21123
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21124
 
      ;;
21125
 
    *)
21126
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21127
 
      ;;
21128
 
    esac
21129
 
  done
21130
 
 
21131
 
  case $lt_echo in
21132
 
  *'\$0 --fallback-echo"')
21133
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21134
 
    ;;
21135
 
  esac
21136
 
 
21137
 
cfgfile="$ofile"
21138
 
 
21139
 
  cat <<__EOF__ >> "$cfgfile"
21140
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21141
 
 
21142
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21143
 
 
21144
 
# Shell to use when invoking shell scripts.
21145
 
SHELL=$lt_SHELL
21146
 
 
21147
 
# Whether or not to build shared libraries.
21148
 
build_libtool_libs=$enable_shared
21149
 
 
21150
 
# Whether or not to build static libraries.
21151
 
build_old_libs=$enable_static
21152
 
 
21153
 
# Whether or not to add -lc for building shared libraries.
21154
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
21155
 
 
21156
 
# Whether or not to disallow shared libs when runtime libs are static
21157
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
21158
 
 
21159
 
# Whether or not to optimize for fast installation.
21160
 
fast_install=$enable_fast_install
21161
 
 
21162
 
# The host system.
21163
 
host_alias=$host_alias
21164
 
host=$host
21165
 
host_os=$host_os
21166
 
 
21167
 
# The build system.
21168
 
build_alias=$build_alias
21169
 
build=$build
21170
 
build_os=$build_os
21171
 
 
21172
 
# An echo program that does not interpret backslashes.
21173
 
echo=$lt_echo
21174
 
 
21175
 
# The archiver.
21176
 
AR=$lt_AR
21177
 
AR_FLAGS=$lt_AR_FLAGS
21178
 
 
21179
 
# A C compiler.
21180
 
LTCC=$lt_LTCC
21181
 
 
21182
 
# LTCC compiler flags.
21183
 
LTCFLAGS=$lt_LTCFLAGS
21184
 
 
21185
 
# A language-specific compiler.
21186
 
CC=$lt_compiler_GCJ
21187
 
 
21188
 
# Is the compiler the GNU C compiler?
21189
 
with_gcc=$GCC_GCJ
21190
 
 
21191
 
# An ERE matcher.
21192
 
EGREP=$lt_EGREP
21193
 
 
21194
 
# The linker used to build libraries.
21195
 
LD=$lt_LD_GCJ
21196
 
 
21197
 
# Whether we need hard or soft links.
21198
 
LN_S=$lt_LN_S
21199
 
 
21200
 
# A BSD-compatible nm program.
21201
 
NM=$lt_NM
21202
 
 
21203
 
# A symbol stripping program
21204
 
STRIP=$lt_STRIP
21205
 
 
21206
 
# Used to examine libraries when file_magic_cmd begins "file"
21207
 
MAGIC_CMD=$MAGIC_CMD
21208
 
 
21209
 
# Used on cygwin: DLL creation program.
21210
 
DLLTOOL="$DLLTOOL"
21211
 
 
21212
 
# Used on cygwin: object dumper.
21213
 
OBJDUMP="$OBJDUMP"
21214
 
 
21215
 
# Used on cygwin: assembler.
21216
 
AS="$AS"
21217
 
 
21218
 
# The name of the directory that contains temporary libtool files.
21219
 
objdir=$objdir
21220
 
 
21221
 
# How to create reloadable object files.
21222
 
reload_flag=$lt_reload_flag
21223
 
reload_cmds=$lt_reload_cmds
21224
 
 
21225
 
# How to pass a linker flag through the compiler.
21226
 
wl=$lt_lt_prog_compiler_wl_GCJ
21227
 
 
21228
 
# Object file suffix (normally "o").
21229
 
objext="$ac_objext"
21230
 
 
21231
 
# Old archive suffix (normally "a").
21232
 
libext="$libext"
21233
 
 
21234
 
# Shared library suffix (normally ".so").
21235
 
shrext_cmds='$shrext_cmds'
21236
 
 
21237
 
# Executable file suffix (normally "").
21238
 
exeext="$exeext"
21239
 
 
21240
 
# Additional compiler flags for building library objects.
21241
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
21242
 
pic_mode=$pic_mode
21243
 
 
21244
 
# What is the maximum length of a command?
21245
 
max_cmd_len=$lt_cv_sys_max_cmd_len
21246
 
 
21247
 
# Does compiler simultaneously support -c and -o options?
21248
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
21249
 
 
21250
 
# Must we lock files when doing compilation?
21251
 
need_locks=$lt_need_locks
21252
 
 
21253
 
# Do we need the lib prefix for modules?
21254
 
need_lib_prefix=$need_lib_prefix
21255
 
 
21256
 
# Do we need a version for libraries?
21257
 
need_version=$need_version
21258
 
 
21259
 
# Whether dlopen is supported.
21260
 
dlopen_support=$enable_dlopen
21261
 
 
21262
 
# Whether dlopen of programs is supported.
21263
 
dlopen_self=$enable_dlopen_self
21264
 
 
21265
 
# Whether dlopen of statically linked programs is supported.
21266
 
dlopen_self_static=$enable_dlopen_self_static
21267
 
 
21268
 
# Compiler flag to prevent dynamic linking.
21269
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
21270
 
 
21271
 
# Compiler flag to turn off builtin functions.
21272
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
21273
 
 
21274
 
# Compiler flag to allow reflexive dlopens.
21275
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
21276
 
 
21277
 
# Compiler flag to generate shared objects directly from archives.
21278
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
21279
 
 
21280
 
# Compiler flag to generate thread-safe objects.
21281
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
21282
 
 
21283
 
# Library versioning type.
21284
 
version_type=$version_type
21285
 
 
21286
 
# Format of library name prefix.
21287
 
libname_spec=$lt_libname_spec
21288
 
 
21289
 
# List of archive names.  First name is the real one, the rest are links.
21290
 
# The last name is the one that the linker finds with -lNAME.
21291
 
library_names_spec=$lt_library_names_spec
21292
 
 
21293
 
# The coded name of the library, if different from the real name.
21294
 
soname_spec=$lt_soname_spec
21295
 
 
21296
 
# Commands used to build and install an old-style archive.
21297
 
RANLIB=$lt_RANLIB
21298
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
21299
 
old_postinstall_cmds=$lt_old_postinstall_cmds
21300
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21301
 
 
21302
 
# Create an old-style archive from a shared archive.
21303
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
21304
 
 
21305
 
# Create a temporary old-style archive to link instead of a shared archive.
21306
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
21307
 
 
21308
 
# Commands used to build and install a shared archive.
21309
 
archive_cmds=$lt_archive_cmds_GCJ
21310
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
21311
 
postinstall_cmds=$lt_postinstall_cmds
21312
 
postuninstall_cmds=$lt_postuninstall_cmds
21313
 
 
21314
 
# Commands used to build a loadable module (assumed same as above if empty)
21315
 
module_cmds=$lt_module_cmds_GCJ
21316
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
21317
 
 
21318
 
# Commands to strip libraries.
21319
 
old_striplib=$lt_old_striplib
21320
 
striplib=$lt_striplib
21321
 
 
21322
 
# Dependencies to place before the objects being linked to create a
21323
 
# shared library.
21324
 
predep_objects=$lt_predep_objects_GCJ
21325
 
 
21326
 
# Dependencies to place after the objects being linked to create a
21327
 
# shared library.
21328
 
postdep_objects=$lt_postdep_objects_GCJ
21329
 
 
21330
 
# Dependencies to place before the objects being linked to create a
21331
 
# shared library.
21332
 
predeps=$lt_predeps_GCJ
21333
 
 
21334
 
# Dependencies to place after the objects being linked to create a
21335
 
# shared library.
21336
 
postdeps=$lt_postdeps_GCJ
21337
 
 
21338
 
# The directories searched by this compiler when creating a shared
21339
 
# library
21340
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
21341
 
 
21342
 
# The library search path used internally by the compiler when linking
21343
 
# a shared library.
21344
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
21345
 
 
21346
 
# Method to check whether dependent libraries are shared objects.
21347
 
deplibs_check_method=$lt_deplibs_check_method
21348
 
 
21349
 
# Command to use when deplibs_check_method == file_magic.
21350
 
file_magic_cmd=$lt_file_magic_cmd
21351
 
 
21352
 
# Flag that allows shared libraries with undefined symbols to be built.
21353
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
21354
 
 
21355
 
# Flag that forces no undefined symbols.
21356
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
21357
 
 
21358
 
# Commands used to finish a libtool library installation in a directory.
21359
 
finish_cmds=$lt_finish_cmds
21360
 
 
21361
 
# Same as above, but a single script fragment to be evaled but not shown.
21362
 
finish_eval=$lt_finish_eval
21363
 
 
21364
 
# Take the output of nm and produce a listing of raw symbols and C names.
21365
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21366
 
 
21367
 
# Transform the output of nm in a proper C declaration
21368
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21369
 
 
21370
 
# Transform the output of nm in a C name address pair
21371
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21372
 
 
21373
 
# This is the shared library runtime path variable.
21374
 
runpath_var=$runpath_var
21375
 
 
21376
 
# This is the shared library path variable.
21377
 
shlibpath_var=$shlibpath_var
21378
 
 
21379
 
# Is shlibpath searched before the hard-coded library search path?
21380
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21381
 
 
21382
 
# How to hardcode a shared library path into an executable.
21383
 
hardcode_action=$hardcode_action_GCJ
21384
 
 
21385
 
# Whether we should hardcode library paths into libraries.
21386
 
hardcode_into_libs=$hardcode_into_libs
21387
 
 
21388
 
# Flag to hardcode \$libdir into a binary during linking.
21389
 
# This must work even if \$libdir does not exist.
21390
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
21391
 
 
21392
 
# If ld is used when linking, flag to hardcode \$libdir into
21393
 
# a binary during linking. This must work even if \$libdir does
21394
 
# not exist.
21395
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
21396
 
 
21397
 
# Whether we need a single -rpath flag with a separated argument.
21398
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
21399
 
 
21400
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21401
 
# resulting binary.
21402
 
hardcode_direct=$hardcode_direct_GCJ
21403
 
 
21404
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21405
 
# resulting binary.
21406
 
hardcode_minus_L=$hardcode_minus_L_GCJ
21407
 
 
21408
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21409
 
# the resulting binary.
21410
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
21411
 
 
21412
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
21413
 
# and all subsequent libraries and executables linked against it.
21414
 
hardcode_automatic=$hardcode_automatic_GCJ
21415
 
 
21416
 
# Variables whose values should be saved in libtool wrapper scripts and
21417
 
# restored at relink time.
21418
 
variables_saved_for_relink="$variables_saved_for_relink"
21419
 
 
21420
 
# Whether libtool must link a program against all its dependency libraries.
21421
 
link_all_deplibs=$link_all_deplibs_GCJ
21422
 
 
21423
 
# Compile-time system search path for libraries
21424
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21425
 
 
21426
 
# Run-time system search path for libraries
21427
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21428
 
 
21429
 
# Fix the shell variable \$srcfile for the compiler.
21430
 
fix_srcfile_path=$lt_fix_srcfile_path
21431
 
 
21432
 
# Set to yes if exported symbols are required.
21433
 
always_export_symbols=$always_export_symbols_GCJ
21434
 
 
21435
 
# The commands to list exported symbols.
21436
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
21437
 
 
21438
 
# The commands to extract the exported symbol list from a shared archive.
21439
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21440
 
 
21441
 
# Symbols that should not be listed in the preloaded symbols.
21442
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
21443
 
 
21444
 
# Symbols that must always be exported.
21445
 
include_expsyms=$lt_include_expsyms_GCJ
21446
 
 
21447
 
# ### END LIBTOOL TAG CONFIG: $tagname
21448
 
 
21449
 
__EOF__
21450
 
 
21451
 
 
21452
 
else
21453
 
  # If there is no Makefile yet, we rely on a make rule to execute
21454
 
  # `config.status --recheck' to rerun these tests and create the
21455
 
  # libtool script then.
21456
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21457
 
  if test -f "$ltmain_in"; then
21458
 
    test -f Makefile && make "$ltmain"
21459
 
  fi
21460
 
fi
21461
 
 
21462
 
 
21463
 
ac_ext=c
21464
 
ac_cpp='$CPP $CPPFLAGS'
21465
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21466
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21467
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21468
 
 
21469
 
CC="$lt_save_CC"
21470
 
 
21471
 
        else
21472
 
          tagname=""
21473
 
        fi
21474
 
        ;;
21475
 
 
21476
 
      RC)
21477
 
 
21478
 
 
21479
 
# Source file extension for RC test sources.
21480
 
ac_ext=rc
21481
 
 
21482
 
# Object file extension for compiled RC test sources.
21483
 
objext=o
21484
 
objext_RC=$objext
21485
 
 
21486
 
# Code to be used in simple compile tests
21487
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
21488
 
 
21489
 
# Code to be used in simple link tests
21490
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
21491
 
 
21492
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
21493
 
 
21494
 
# If no C compiler was specified, use CC.
21495
 
LTCC=${LTCC-"$CC"}
21496
 
 
21497
 
# If no C compiler flags were specified, use CFLAGS.
21498
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21499
 
 
21500
 
# Allow CC to be a program name with arguments.
21501
 
compiler=$CC
21502
 
 
21503
 
 
21504
 
# save warnings/boilerplate of simple test code
21505
 
ac_outfile=conftest.$ac_objext
21506
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
21507
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21508
 
_lt_compiler_boilerplate=`cat conftest.err`
21509
 
$rm conftest*
21510
 
 
21511
 
ac_outfile=conftest.$ac_objext
21512
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
21513
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21514
 
_lt_linker_boilerplate=`cat conftest.err`
21515
 
$rm -r conftest*
21516
 
 
21517
 
 
21518
 
# Allow CC to be a program name with arguments.
21519
 
lt_save_CC="$CC"
21520
 
CC=${RC-"windres"}
21521
 
compiler=$CC
21522
 
compiler_RC=$CC
21523
 
for cc_temp in $compiler""; do
21524
 
  case $cc_temp in
21525
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21526
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21527
 
    \-*) ;;
21528
 
    *) break;;
21529
 
  esac
21530
 
done
21531
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21532
 
 
21533
 
lt_cv_prog_compiler_c_o_RC=yes
21534
 
 
21535
 
# The else clause should only fire when bootstrapping the
21536
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
21537
 
# with your package, and you will get complaints that there are
21538
 
# no rules to generate ltmain.sh.
21539
 
if test -f "$ltmain"; then
21540
 
  # See if we are running on zsh, and set the options which allow our commands through
21541
 
  # without removal of \ escapes.
21542
 
  if test -n "${ZSH_VERSION+set}" ; then
21543
 
    setopt NO_GLOB_SUBST
21544
 
  fi
21545
 
  # Now quote all the things that may contain metacharacters while being
21546
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
21547
 
  # variables and quote the copies for generation of the libtool script.
21548
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21549
 
    SED SHELL STRIP \
21550
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21551
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21552
 
    deplibs_check_method reload_flag reload_cmds need_locks \
21553
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21554
 
    lt_cv_sys_global_symbol_to_c_name_address \
21555
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21556
 
    old_postinstall_cmds old_postuninstall_cmds \
21557
 
    compiler_RC \
21558
 
    CC_RC \
21559
 
    LD_RC \
21560
 
    lt_prog_compiler_wl_RC \
21561
 
    lt_prog_compiler_pic_RC \
21562
 
    lt_prog_compiler_static_RC \
21563
 
    lt_prog_compiler_no_builtin_flag_RC \
21564
 
    export_dynamic_flag_spec_RC \
21565
 
    thread_safe_flag_spec_RC \
21566
 
    whole_archive_flag_spec_RC \
21567
 
    enable_shared_with_static_runtimes_RC \
21568
 
    old_archive_cmds_RC \
21569
 
    old_archive_from_new_cmds_RC \
21570
 
    predep_objects_RC \
21571
 
    postdep_objects_RC \
21572
 
    predeps_RC \
21573
 
    postdeps_RC \
21574
 
    compiler_lib_search_path_RC \
21575
 
    compiler_lib_search_dirs_RC \
21576
 
    archive_cmds_RC \
21577
 
    archive_expsym_cmds_RC \
21578
 
    postinstall_cmds_RC \
21579
 
    postuninstall_cmds_RC \
21580
 
    old_archive_from_expsyms_cmds_RC \
21581
 
    allow_undefined_flag_RC \
21582
 
    no_undefined_flag_RC \
21583
 
    export_symbols_cmds_RC \
21584
 
    hardcode_libdir_flag_spec_RC \
21585
 
    hardcode_libdir_flag_spec_ld_RC \
21586
 
    hardcode_libdir_separator_RC \
21587
 
    hardcode_automatic_RC \
21588
 
    module_cmds_RC \
21589
 
    module_expsym_cmds_RC \
21590
 
    lt_cv_prog_compiler_c_o_RC \
21591
 
    fix_srcfile_path_RC \
21592
 
    exclude_expsyms_RC \
21593
 
    include_expsyms_RC; do
21594
 
 
21595
 
    case $var in
21596
 
    old_archive_cmds_RC | \
21597
 
    old_archive_from_new_cmds_RC | \
21598
 
    archive_cmds_RC | \
21599
 
    archive_expsym_cmds_RC | \
21600
 
    module_cmds_RC | \
21601
 
    module_expsym_cmds_RC | \
21602
 
    old_archive_from_expsyms_cmds_RC | \
21603
 
    export_symbols_cmds_RC | \
21604
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
21605
 
    postinstall_cmds | postuninstall_cmds | \
21606
 
    old_postinstall_cmds | old_postuninstall_cmds | \
21607
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21608
 
      # Double-quote double-evaled strings.
21609
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21610
 
      ;;
21611
 
    *)
21612
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21613
 
      ;;
21614
 
    esac
21615
 
  done
21616
 
 
21617
 
  case $lt_echo in
21618
 
  *'\$0 --fallback-echo"')
21619
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21620
 
    ;;
21621
 
  esac
21622
 
 
21623
 
cfgfile="$ofile"
21624
 
 
21625
 
  cat <<__EOF__ >> "$cfgfile"
21626
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21627
 
 
21628
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21629
 
 
21630
 
# Shell to use when invoking shell scripts.
21631
 
SHELL=$lt_SHELL
21632
 
 
21633
 
# Whether or not to build shared libraries.
21634
 
build_libtool_libs=$enable_shared
21635
 
 
21636
 
# Whether or not to build static libraries.
21637
 
build_old_libs=$enable_static
21638
 
 
21639
 
# Whether or not to add -lc for building shared libraries.
21640
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
21641
 
 
21642
 
# Whether or not to disallow shared libs when runtime libs are static
21643
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
21644
 
 
21645
 
# Whether or not to optimize for fast installation.
21646
 
fast_install=$enable_fast_install
21647
 
 
21648
 
# The host system.
21649
 
host_alias=$host_alias
21650
 
host=$host
21651
 
host_os=$host_os
21652
 
 
21653
 
# The build system.
21654
 
build_alias=$build_alias
21655
 
build=$build
21656
 
build_os=$build_os
21657
 
 
21658
 
# An echo program that does not interpret backslashes.
21659
 
echo=$lt_echo
21660
 
 
21661
 
# The archiver.
21662
 
AR=$lt_AR
21663
 
AR_FLAGS=$lt_AR_FLAGS
21664
 
 
21665
 
# A C compiler.
21666
 
LTCC=$lt_LTCC
21667
 
 
21668
 
# LTCC compiler flags.
21669
 
LTCFLAGS=$lt_LTCFLAGS
21670
 
 
21671
 
# A language-specific compiler.
21672
 
CC=$lt_compiler_RC
21673
 
 
21674
 
# Is the compiler the GNU C compiler?
21675
 
with_gcc=$GCC_RC
21676
 
 
21677
 
# An ERE matcher.
21678
 
EGREP=$lt_EGREP
21679
 
 
21680
 
# The linker used to build libraries.
21681
 
LD=$lt_LD_RC
21682
 
 
21683
 
# Whether we need hard or soft links.
21684
 
LN_S=$lt_LN_S
21685
 
 
21686
 
# A BSD-compatible nm program.
21687
 
NM=$lt_NM
21688
 
 
21689
 
# A symbol stripping program
21690
 
STRIP=$lt_STRIP
21691
 
 
21692
 
# Used to examine libraries when file_magic_cmd begins "file"
21693
 
MAGIC_CMD=$MAGIC_CMD
21694
 
 
21695
 
# Used on cygwin: DLL creation program.
21696
 
DLLTOOL="$DLLTOOL"
21697
 
 
21698
 
# Used on cygwin: object dumper.
21699
 
OBJDUMP="$OBJDUMP"
21700
 
 
21701
 
# Used on cygwin: assembler.
21702
 
AS="$AS"
21703
 
 
21704
 
# The name of the directory that contains temporary libtool files.
21705
 
objdir=$objdir
21706
 
 
21707
 
# How to create reloadable object files.
21708
 
reload_flag=$lt_reload_flag
21709
 
reload_cmds=$lt_reload_cmds
21710
 
 
21711
 
# How to pass a linker flag through the compiler.
21712
 
wl=$lt_lt_prog_compiler_wl_RC
21713
 
 
21714
 
# Object file suffix (normally "o").
21715
 
objext="$ac_objext"
21716
 
 
21717
 
# Old archive suffix (normally "a").
21718
 
libext="$libext"
21719
 
 
21720
 
# Shared library suffix (normally ".so").
21721
 
shrext_cmds='$shrext_cmds'
21722
 
 
21723
 
# Executable file suffix (normally "").
21724
 
exeext="$exeext"
21725
 
 
21726
 
# Additional compiler flags for building library objects.
21727
 
pic_flag=$lt_lt_prog_compiler_pic_RC
21728
 
pic_mode=$pic_mode
21729
 
 
21730
 
# What is the maximum length of a command?
21731
 
max_cmd_len=$lt_cv_sys_max_cmd_len
21732
 
 
21733
 
# Does compiler simultaneously support -c and -o options?
21734
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
21735
 
 
21736
 
# Must we lock files when doing compilation?
21737
 
need_locks=$lt_need_locks
21738
 
 
21739
 
# Do we need the lib prefix for modules?
21740
 
need_lib_prefix=$need_lib_prefix
21741
 
 
21742
 
# Do we need a version for libraries?
21743
 
need_version=$need_version
21744
 
 
21745
 
# Whether dlopen is supported.
21746
 
dlopen_support=$enable_dlopen
21747
 
 
21748
 
# Whether dlopen of programs is supported.
21749
 
dlopen_self=$enable_dlopen_self
21750
 
 
21751
 
# Whether dlopen of statically linked programs is supported.
21752
 
dlopen_self_static=$enable_dlopen_self_static
21753
 
 
21754
 
# Compiler flag to prevent dynamic linking.
21755
 
link_static_flag=$lt_lt_prog_compiler_static_RC
21756
 
 
21757
 
# Compiler flag to turn off builtin functions.
21758
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
21759
 
 
21760
 
# Compiler flag to allow reflexive dlopens.
21761
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
21762
 
 
21763
 
# Compiler flag to generate shared objects directly from archives.
21764
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
21765
 
 
21766
 
# Compiler flag to generate thread-safe objects.
21767
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
21768
 
 
21769
 
# Library versioning type.
21770
 
version_type=$version_type
21771
 
 
21772
 
# Format of library name prefix.
21773
 
libname_spec=$lt_libname_spec
21774
 
 
21775
 
# List of archive names.  First name is the real one, the rest are links.
21776
 
# The last name is the one that the linker finds with -lNAME.
21777
 
library_names_spec=$lt_library_names_spec
21778
 
 
21779
 
# The coded name of the library, if different from the real name.
21780
 
soname_spec=$lt_soname_spec
21781
 
 
21782
 
# Commands used to build and install an old-style archive.
21783
 
RANLIB=$lt_RANLIB
21784
 
old_archive_cmds=$lt_old_archive_cmds_RC
21785
 
old_postinstall_cmds=$lt_old_postinstall_cmds
21786
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21787
 
 
21788
 
# Create an old-style archive from a shared archive.
21789
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
21790
 
 
21791
 
# Create a temporary old-style archive to link instead of a shared archive.
21792
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
21793
 
 
21794
 
# Commands used to build and install a shared archive.
21795
 
archive_cmds=$lt_archive_cmds_RC
21796
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
21797
 
postinstall_cmds=$lt_postinstall_cmds
21798
 
postuninstall_cmds=$lt_postuninstall_cmds
21799
 
 
21800
 
# Commands used to build a loadable module (assumed same as above if empty)
21801
 
module_cmds=$lt_module_cmds_RC
21802
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
21803
 
 
21804
 
# Commands to strip libraries.
21805
 
old_striplib=$lt_old_striplib
21806
 
striplib=$lt_striplib
21807
 
 
21808
 
# Dependencies to place before the objects being linked to create a
21809
 
# shared library.
21810
 
predep_objects=$lt_predep_objects_RC
21811
 
 
21812
 
# Dependencies to place after the objects being linked to create a
21813
 
# shared library.
21814
 
postdep_objects=$lt_postdep_objects_RC
21815
 
 
21816
 
# Dependencies to place before the objects being linked to create a
21817
 
# shared library.
21818
 
predeps=$lt_predeps_RC
21819
 
 
21820
 
# Dependencies to place after the objects being linked to create a
21821
 
# shared library.
21822
 
postdeps=$lt_postdeps_RC
21823
 
 
21824
 
# The directories searched by this compiler when creating a shared
21825
 
# library
21826
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
21827
 
 
21828
 
# The library search path used internally by the compiler when linking
21829
 
# a shared library.
21830
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
21831
 
 
21832
 
# Method to check whether dependent libraries are shared objects.
21833
 
deplibs_check_method=$lt_deplibs_check_method
21834
 
 
21835
 
# Command to use when deplibs_check_method == file_magic.
21836
 
file_magic_cmd=$lt_file_magic_cmd
21837
 
 
21838
 
# Flag that allows shared libraries with undefined symbols to be built.
21839
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
21840
 
 
21841
 
# Flag that forces no undefined symbols.
21842
 
no_undefined_flag=$lt_no_undefined_flag_RC
21843
 
 
21844
 
# Commands used to finish a libtool library installation in a directory.
21845
 
finish_cmds=$lt_finish_cmds
21846
 
 
21847
 
# Same as above, but a single script fragment to be evaled but not shown.
21848
 
finish_eval=$lt_finish_eval
21849
 
 
21850
 
# Take the output of nm and produce a listing of raw symbols and C names.
21851
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21852
 
 
21853
 
# Transform the output of nm in a proper C declaration
21854
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21855
 
 
21856
 
# Transform the output of nm in a C name address pair
21857
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21858
 
 
21859
 
# This is the shared library runtime path variable.
21860
 
runpath_var=$runpath_var
21861
 
 
21862
 
# This is the shared library path variable.
21863
 
shlibpath_var=$shlibpath_var
21864
 
 
21865
 
# Is shlibpath searched before the hard-coded library search path?
21866
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21867
 
 
21868
 
# How to hardcode a shared library path into an executable.
21869
 
hardcode_action=$hardcode_action_RC
21870
 
 
21871
 
# Whether we should hardcode library paths into libraries.
21872
 
hardcode_into_libs=$hardcode_into_libs
21873
 
 
21874
 
# Flag to hardcode \$libdir into a binary during linking.
21875
 
# This must work even if \$libdir does not exist.
21876
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
21877
 
 
21878
 
# If ld is used when linking, flag to hardcode \$libdir into
21879
 
# a binary during linking. This must work even if \$libdir does
21880
 
# not exist.
21881
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
21882
 
 
21883
 
# Whether we need a single -rpath flag with a separated argument.
21884
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
21885
 
 
21886
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21887
 
# resulting binary.
21888
 
hardcode_direct=$hardcode_direct_RC
21889
 
 
21890
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21891
 
# resulting binary.
21892
 
hardcode_minus_L=$hardcode_minus_L_RC
21893
 
 
21894
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21895
 
# the resulting binary.
21896
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21897
 
 
21898
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
21899
 
# and all subsequent libraries and executables linked against it.
21900
 
hardcode_automatic=$hardcode_automatic_RC
21901
 
 
21902
 
# Variables whose values should be saved in libtool wrapper scripts and
21903
 
# restored at relink time.
21904
 
variables_saved_for_relink="$variables_saved_for_relink"
21905
 
 
21906
 
# Whether libtool must link a program against all its dependency libraries.
21907
 
link_all_deplibs=$link_all_deplibs_RC
21908
 
 
21909
 
# Compile-time system search path for libraries
21910
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21911
 
 
21912
 
# Run-time system search path for libraries
21913
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21914
 
 
21915
 
# Fix the shell variable \$srcfile for the compiler.
21916
 
fix_srcfile_path=$lt_fix_srcfile_path
21917
 
 
21918
 
# Set to yes if exported symbols are required.
21919
 
always_export_symbols=$always_export_symbols_RC
21920
 
 
21921
 
# The commands to list exported symbols.
21922
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
21923
 
 
21924
 
# The commands to extract the exported symbol list from a shared archive.
21925
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21926
 
 
21927
 
# Symbols that should not be listed in the preloaded symbols.
21928
 
exclude_expsyms=$lt_exclude_expsyms_RC
21929
 
 
21930
 
# Symbols that must always be exported.
21931
 
include_expsyms=$lt_include_expsyms_RC
21932
 
 
21933
 
# ### END LIBTOOL TAG CONFIG: $tagname
21934
 
 
21935
 
__EOF__
21936
 
 
21937
 
 
21938
 
else
21939
 
  # If there is no Makefile yet, we rely on a make rule to execute
21940
 
  # `config.status --recheck' to rerun these tests and create the
21941
 
  # libtool script then.
21942
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21943
 
  if test -f "$ltmain_in"; then
21944
 
    test -f Makefile && make "$ltmain"
21945
 
  fi
21946
 
fi
21947
 
 
21948
 
 
21949
 
ac_ext=c
21950
 
ac_cpp='$CPP $CPPFLAGS'
21951
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21952
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21953
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21954
 
 
21955
 
CC="$lt_save_CC"
21956
 
 
21957
 
        ;;
21958
 
 
21959
 
      *)
21960
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21961
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21962
 
   { (exit 1); exit 1; }; }
21963
 
        ;;
21964
 
      esac
21965
 
 
21966
 
      # Append the new tag name to the list of available tags.
21967
 
      if test -n "$tagname" ; then
21968
 
      available_tags="$available_tags $tagname"
21969
 
    fi
21970
 
    fi
21971
 
  done
21972
 
  IFS="$lt_save_ifs"
21973
 
 
21974
 
  # Now substitute the updated list of available tags.
21975
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21976
 
    mv "${ofile}T" "$ofile"
21977
 
    chmod +x "$ofile"
21978
 
  else
21979
 
    rm -f "${ofile}T"
21980
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21981
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21982
 
   { (exit 1); exit 1; }; }
21983
 
  fi
21984
 
fi
21985
 
 
21986
 
 
21987
 
 
21988
 
# This can be used to rebuild libtool when needed
21989
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
21990
 
 
21991
 
# Always use our own libtool.
21992
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
21993
 
 
21994
 
# Prevent multiple expansion
21995
 
 
21996
 
 
21997
 
 
21998
 
 
21999
 
 
22000
 
 
22001
 
 
22002
 
 
22003
 
 
22004
 
 
22005
 
 
22006
 
 
22007
 
 
22008
 
 
22009
 
 
22010
 
 
22011
 
 
22012
 
 
 
17461
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
17462
$as_echo "$hardcode_action_CXX" >&6; }
 
17463
 
 
17464
if test "$hardcode_action_CXX" = relink ||
 
17465
   test "$inherit_rpath_CXX" = yes; then
 
17466
  # Fast installation is not supported
 
17467
  enable_fast_install=no
 
17468
elif test "$shlibpath_overrides_runpath" = yes ||
 
17469
     test "$enable_shared" = no; then
 
17470
  # Fast installation is not necessary
 
17471
  enable_fast_install=needless
 
17472
fi
 
17473
 
 
17474
 
 
17475
 
 
17476
 
 
17477
 
 
17478
 
 
17479
 
 
17480
  fi # test -n "$compiler"
 
17481
 
 
17482
  CC=$lt_save_CC
 
17483
  LDCXX=$LD
 
17484
  LD=$lt_save_LD
 
17485
  GCC=$lt_save_GCC
 
17486
  with_gnu_ld=$lt_save_with_gnu_ld
 
17487
  lt_cv_path_LDCXX=$lt_cv_path_LD
 
17488
  lt_cv_path_LD=$lt_save_path_LD
 
17489
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
17490
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
17491
fi # test "$_lt_caught_CXX_error" != yes
 
17492
 
 
17493
ac_ext=c
 
17494
ac_cpp='$CPP $CPPFLAGS'
 
17495
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
17496
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
17497
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
17498
 
 
17499
 
 
17500
 
 
17501
 
 
17502
 
 
17503
 
 
17504
 
 
17505
 
 
17506
 
 
17507
 
 
17508
 
 
17509
 
 
17510
 
 
17511
        ac_config_commands="$ac_config_commands libtool"
 
17512
 
 
17513
 
 
17514
 
 
17515
 
 
17516
# Only expand once:
22013
17517
 
22014
17518
 
22015
17519
 
22063
17567
                 sys/syslog.h \
22064
17568
 
22065
17569
do
22066
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22067
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22068
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
22069
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22070
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22071
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17570
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
17571
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
17572
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
17573
$as_echo_n "checking for $ac_header... " >&6; }
 
17574
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
17575
  $as_echo_n "(cached) " >&6
22072
17576
fi
22073
 
ac_res=`eval echo '${'$as_ac_Header'}'`
22074
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22075
 
echo "${ECHO_T}$ac_res" >&6; }
 
17577
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
17578
                 $as_echo "$as_val"'`
 
17579
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
17580
$as_echo "$ac_res" >&6; }
22076
17581
else
22077
17582
  # Is the header compilable?
22078
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
22079
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
17583
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
17584
$as_echo_n "checking $ac_header usability... " >&6; }
22080
17585
cat >conftest.$ac_ext <<_ACEOF
22081
17586
/* confdefs.h.  */
22082
17587
_ACEOF
22092
17597
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22093
17598
  *) ac_try_echo=$ac_try;;
22094
17599
esac
22095
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17600
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17601
$as_echo "$ac_try_echo") >&5
22096
17602
  (eval "$ac_compile") 2>conftest.er1
22097
17603
  ac_status=$?
22098
17604
  grep -v '^ *+' conftest.er1 >conftest.err
22099
17605
  rm -f conftest.er1
22100
17606
  cat conftest.err >&5
22101
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17607
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102
17608
  (exit $ac_status); } && {
22103
17609
         test -z "$ac_c_werror_flag" ||
22104
17610
         test ! -s conftest.err
22105
17611
       } && test -s conftest.$ac_objext; then
22106
17612
  ac_header_compiler=yes
22107
17613
else
22108
 
  echo "$as_me: failed program was:" >&5
 
17614
  $as_echo "$as_me: failed program was:" >&5
22109
17615
sed 's/^/| /' conftest.$ac_ext >&5
22110
17616
 
22111
17617
        ac_header_compiler=no
22112
17618
fi
22113
17619
 
22114
17620
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22115
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22116
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
17621
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
17622
$as_echo "$ac_header_compiler" >&6; }
22117
17623
 
22118
17624
# Is the header present?
22119
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22120
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
17625
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
17626
$as_echo_n "checking $ac_header presence... " >&6; }
22121
17627
cat >conftest.$ac_ext <<_ACEOF
22122
17628
/* confdefs.h.  */
22123
17629
_ACEOF
22131
17637
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22132
17638
  *) ac_try_echo=$ac_try;;
22133
17639
esac
22134
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17640
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17641
$as_echo "$ac_try_echo") >&5
22135
17642
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22136
17643
  ac_status=$?
22137
17644
  grep -v '^ *+' conftest.er1 >conftest.err
22138
17645
  rm -f conftest.er1
22139
17646
  cat conftest.err >&5
22140
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17647
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141
17648
  (exit $ac_status); } >/dev/null && {
22142
17649
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22143
17650
         test ! -s conftest.err
22144
17651
       }; then
22145
17652
  ac_header_preproc=yes
22146
17653
else
22147
 
  echo "$as_me: failed program was:" >&5
 
17654
  $as_echo "$as_me: failed program was:" >&5
22148
17655
sed 's/^/| /' conftest.$ac_ext >&5
22149
17656
 
22150
17657
  ac_header_preproc=no
22151
17658
fi
22152
17659
 
22153
17660
rm -f conftest.err conftest.$ac_ext
22154
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22155
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
17661
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
17662
$as_echo "$ac_header_preproc" >&6; }
22156
17663
 
22157
17664
# So?  What about this header?
22158
17665
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22159
17666
  yes:no: )
22160
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22161
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22162
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22163
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
17667
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
17668
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
17669
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
17670
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22164
17671
    ac_header_preproc=yes
22165
17672
    ;;
22166
17673
  no:yes:* )
22167
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22168
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22169
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22170
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22171
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22172
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22173
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22174
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22175
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22176
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22177
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22178
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
17674
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
17675
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
17676
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
17677
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
17678
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
17679
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
17680
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
17681
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
17682
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
17683
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
17684
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
17685
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22179
17686
 
22180
17687
    ;;
22181
17688
esac
22182
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22183
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
17689
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
17690
$as_echo_n "checking for $ac_header... " >&6; }
22184
17691
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22185
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17692
  $as_echo_n "(cached) " >&6
22186
17693
else
22187
17694
  eval "$as_ac_Header=\$ac_header_preproc"
22188
17695
fi
22189
 
ac_res=`eval echo '${'$as_ac_Header'}'`
22190
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22191
 
echo "${ECHO_T}$ac_res" >&6; }
 
17696
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
17697
                 $as_echo "$as_val"'`
 
17698
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
17699
$as_echo "$ac_res" >&6; }
22192
17700
 
22193
17701
fi
22194
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
17702
as_val=`eval 'as_val=${'$as_ac_Header'}
 
17703
                 $as_echo "$as_val"'`
 
17704
   if test "x$as_val" = x""yes; then
22195
17705
  cat >>confdefs.h <<_ACEOF
22196
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
17706
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22197
17707
_ACEOF
22198
17708
 
22199
17709
fi
22200
17710
 
22201
17711
done
22202
17712
 
22203
 
{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
22204
 
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
 
17713
{ $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
 
17714
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
22205
17715
if test "${ac_cv_header_sys_wait_h+set}" = set; then
22206
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17716
  $as_echo_n "(cached) " >&6
22207
17717
else
22208
17718
  cat >conftest.$ac_ext <<_ACEOF
22209
17719
/* confdefs.h.  */
22236
17746
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22237
17747
  *) ac_try_echo=$ac_try;;
22238
17748
esac
22239
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17749
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17750
$as_echo "$ac_try_echo") >&5
22240
17751
  (eval "$ac_compile") 2>conftest.er1
22241
17752
  ac_status=$?
22242
17753
  grep -v '^ *+' conftest.er1 >conftest.err
22243
17754
  rm -f conftest.er1
22244
17755
  cat conftest.err >&5
22245
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17756
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246
17757
  (exit $ac_status); } && {
22247
17758
         test -z "$ac_c_werror_flag" ||
22248
17759
         test ! -s conftest.err
22249
17760
       } && test -s conftest.$ac_objext; then
22250
17761
  ac_cv_header_sys_wait_h=yes
22251
17762
else
22252
 
  echo "$as_me: failed program was:" >&5
 
17763
  $as_echo "$as_me: failed program was:" >&5
22253
17764
sed 's/^/| /' conftest.$ac_ext >&5
22254
17765
 
22255
17766
        ac_cv_header_sys_wait_h=no
22257
17768
 
22258
17769
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22259
17770
fi
22260
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
22261
 
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
 
17771
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
 
17772
$as_echo "$ac_cv_header_sys_wait_h" >&6; }
22262
17773
if test $ac_cv_header_sys_wait_h = yes; then
22263
17774
 
22264
17775
cat >>confdefs.h <<\_ACEOF
22267
17778
 
22268
17779
fi
22269
17780
 
22270
 
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
22271
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
 
17781
{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
 
17782
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
22272
17783
if test "${ac_cv_header_time+set}" = set; then
22273
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17784
  $as_echo_n "(cached) " >&6
22274
17785
else
22275
17786
  cat >conftest.$ac_ext <<_ACEOF
22276
17787
/* confdefs.h.  */
22297
17808
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22298
17809
  *) ac_try_echo=$ac_try;;
22299
17810
esac
22300
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17811
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17812
$as_echo "$ac_try_echo") >&5
22301
17813
  (eval "$ac_compile") 2>conftest.er1
22302
17814
  ac_status=$?
22303
17815
  grep -v '^ *+' conftest.er1 >conftest.err
22304
17816
  rm -f conftest.er1
22305
17817
  cat conftest.err >&5
22306
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17818
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307
17819
  (exit $ac_status); } && {
22308
17820
         test -z "$ac_c_werror_flag" ||
22309
17821
         test ! -s conftest.err
22310
17822
       } && test -s conftest.$ac_objext; then
22311
17823
  ac_cv_header_time=yes
22312
17824
else
22313
 
  echo "$as_me: failed program was:" >&5
 
17825
  $as_echo "$as_me: failed program was:" >&5
22314
17826
sed 's/^/| /' conftest.$ac_ext >&5
22315
17827
 
22316
17828
        ac_cv_header_time=no
22318
17830
 
22319
17831
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22320
17832
fi
22321
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
22322
 
echo "${ECHO_T}$ac_cv_header_time" >&6; }
 
17833
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
 
17834
$as_echo "$ac_cv_header_time" >&6; }
22323
17835
if test $ac_cv_header_time = yes; then
22324
17836
 
22325
17837
cat >>confdefs.h <<\_ACEOF
22328
17840
 
22329
17841
fi
22330
17842
 
22331
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
22332
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
17843
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
17844
$as_echo_n "checking for ANSI C header files... " >&6; }
22333
17845
if test "${ac_cv_header_stdc+set}" = set; then
22334
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17846
  $as_echo_n "(cached) " >&6
22335
17847
else
22336
17848
  cat >conftest.$ac_ext <<_ACEOF
22337
17849
/* confdefs.h.  */
22358
17870
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22359
17871
  *) ac_try_echo=$ac_try;;
22360
17872
esac
22361
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17873
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17874
$as_echo "$ac_try_echo") >&5
22362
17875
  (eval "$ac_compile") 2>conftest.er1
22363
17876
  ac_status=$?
22364
17877
  grep -v '^ *+' conftest.er1 >conftest.err
22365
17878
  rm -f conftest.er1
22366
17879
  cat conftest.err >&5
22367
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17880
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368
17881
  (exit $ac_status); } && {
22369
17882
         test -z "$ac_c_werror_flag" ||
22370
17883
         test ! -s conftest.err
22371
17884
       } && test -s conftest.$ac_objext; then
22372
17885
  ac_cv_header_stdc=yes
22373
17886
else
22374
 
  echo "$as_me: failed program was:" >&5
 
17887
  $as_echo "$as_me: failed program was:" >&5
22375
17888
sed 's/^/| /' conftest.$ac_ext >&5
22376
17889
 
22377
17890
        ac_cv_header_stdc=no
22463
17976
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22464
17977
  *) ac_try_echo=$ac_try;;
22465
17978
esac
22466
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17979
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17980
$as_echo "$ac_try_echo") >&5
22467
17981
  (eval "$ac_link") 2>&5
22468
17982
  ac_status=$?
22469
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17983
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22470
17984
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22471
17985
  { (case "(($ac_try" in
22472
17986
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22473
17987
  *) ac_try_echo=$ac_try;;
22474
17988
esac
22475
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17989
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17990
$as_echo "$ac_try_echo") >&5
22476
17991
  (eval "$ac_try") 2>&5
22477
17992
  ac_status=$?
22478
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17993
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22479
17994
  (exit $ac_status); }; }; then
22480
17995
  :
22481
17996
else
22482
 
  echo "$as_me: program exited with status $ac_status" >&5
22483
 
echo "$as_me: failed program was:" >&5
 
17997
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
17998
$as_echo "$as_me: failed program was:" >&5
22484
17999
sed 's/^/| /' conftest.$ac_ext >&5
22485
18000
 
22486
18001
( exit $ac_status )
22487
18002
ac_cv_header_stdc=no
22488
18003
fi
 
18004
rm -rf conftest.dSYM
22489
18005
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22490
18006
fi
22491
18007
 
22492
18008
 
22493
18009
fi
22494
18010
fi
22495
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
22496
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
18011
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
18012
$as_echo "$ac_cv_header_stdc" >&6; }
22497
18013
if test $ac_cv_header_stdc = yes; then
22498
18014
 
22499
18015
cat >>confdefs.h <<\_ACEOF
22526
18042
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22527
18043
  *) ac_try_echo=$ac_try;;
22528
18044
esac
22529
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18045
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18046
$as_echo "$ac_try_echo") >&5
22530
18047
  (eval "$ac_compile") 2>conftest.er1
22531
18048
  ac_status=$?
22532
18049
  grep -v '^ *+' conftest.er1 >conftest.err
22533
18050
  rm -f conftest.er1
22534
18051
  cat conftest.err >&5
22535
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18052
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536
18053
  (exit $ac_status); } && {
22537
18054
         test -z "$ac_c_werror_flag" ||
22538
18055
         test ! -s conftest.err
22543
18060
_ACEOF
22544
18061
 
22545
18062
else
22546
 
  echo "$as_me: failed program was:" >&5
 
18063
  $as_echo "$as_me: failed program was:" >&5
22547
18064
sed 's/^/| /' conftest.$ac_ext >&5
22548
18065
 
22549
18066
 
22553
18070
 
22554
18071
 
22555
18072
 
22556
 
  { echo "$as_me:$LINENO: checking for program_invocation_name" >&5
22557
 
echo $ECHO_N "checking for program_invocation_name... $ECHO_C" >&6; }
 
18073
  { $as_echo "$as_me:$LINENO: checking for program_invocation_name" >&5
 
18074
$as_echo_n "checking for program_invocation_name... " >&6; }
22558
18075
 
22559
18076
  cat >conftest.$ac_ext <<_ACEOF
22560
18077
/* confdefs.h.  */
22577
18094
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22578
18095
  *) ac_try_echo=$ac_try;;
22579
18096
esac
22580
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18097
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18098
$as_echo "$ac_try_echo") >&5
22581
18099
  (eval "$ac_link") 2>conftest.er1
22582
18100
  ac_status=$?
22583
18101
  grep -v '^ *+' conftest.er1 >conftest.err
22584
18102
  rm -f conftest.er1
22585
18103
  cat conftest.err >&5
22586
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18104
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587
18105
  (exit $ac_status); } && {
22588
18106
         test -z "$ac_c_werror_flag" ||
22589
18107
         test ! -s conftest.err
22590
 
       } && test -s conftest$ac_exeext &&
22591
 
       $as_test_x conftest$ac_exeext; then
 
18108
       } && test -s conftest$ac_exeext && {
 
18109
         test "$cross_compiling" = yes ||
 
18110
         $as_test_x conftest$ac_exeext
 
18111
       }; then
22592
18112
  got_program_invocation_name=yes
22593
18113
else
22594
 
  echo "$as_me: failed program was:" >&5
 
18114
  $as_echo "$as_me: failed program was:" >&5
22595
18115
sed 's/^/| /' conftest.$ac_ext >&5
22596
18116
 
22597
18117
 
22598
18118
 
22599
18119
fi
22600
18120
 
 
18121
rm -rf conftest.dSYM
22601
18122
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22602
18123
      conftest$ac_exeext conftest.$ac_ext
22603
18124
 
22604
 
  { echo "$as_me:$LINENO: result: ${got_program_invocation_name=no}" >&5
22605
 
echo "${ECHO_T}${got_program_invocation_name=no}" >&6; }
 
18125
  { $as_echo "$as_me:$LINENO: result: ${got_program_invocation_name=no}" >&5
 
18126
$as_echo "${got_program_invocation_name=no}" >&6; }
22606
18127
 
22607
18128
  if test "x$got_program_invocation_name" = "xyes"; then
22608
18129
 
22637
18158
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22638
18159
  *) ac_try_echo=$ac_try;;
22639
18160
esac
22640
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18161
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18162
$as_echo "$ac_try_echo") >&5
22641
18163
  (eval "$ac_compile") 2>conftest.er1
22642
18164
  ac_status=$?
22643
18165
  grep -v '^ *+' conftest.er1 >conftest.err
22644
18166
  rm -f conftest.er1
22645
18167
  cat conftest.err >&5
22646
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18168
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647
18169
  (exit $ac_status); } && {
22648
18170
         test -z "$ac_c_werror_flag" ||
22649
18171
         test ! -s conftest.err
22654
18176
_ACEOF
22655
18177
 
22656
18178
else
22657
 
  echo "$as_me: failed program was:" >&5
 
18179
  $as_echo "$as_me: failed program was:" >&5
22658
18180
sed 's/^/| /' conftest.$ac_ext >&5
22659
18181
 
22660
18182
 
22665
18187
 
22666
18188
for ac_func in ptrace64
22667
18189
do
22668
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22669
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22670
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
18190
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
18191
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
18192
$as_echo_n "checking for $ac_func... " >&6; }
22671
18193
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22672
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18194
  $as_echo_n "(cached) " >&6
22673
18195
else
22674
18196
  cat >conftest.$ac_ext <<_ACEOF
22675
18197
/* confdefs.h.  */
22722
18244
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22723
18245
  *) ac_try_echo=$ac_try;;
22724
18246
esac
22725
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18247
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18248
$as_echo "$ac_try_echo") >&5
22726
18249
  (eval "$ac_link") 2>conftest.er1
22727
18250
  ac_status=$?
22728
18251
  grep -v '^ *+' conftest.er1 >conftest.err
22729
18252
  rm -f conftest.er1
22730
18253
  cat conftest.err >&5
22731
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18254
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732
18255
  (exit $ac_status); } && {
22733
18256
         test -z "$ac_c_werror_flag" ||
22734
18257
         test ! -s conftest.err
22735
 
       } && test -s conftest$ac_exeext &&
22736
 
       $as_test_x conftest$ac_exeext; then
 
18258
       } && test -s conftest$ac_exeext && {
 
18259
         test "$cross_compiling" = yes ||
 
18260
         $as_test_x conftest$ac_exeext
 
18261
       }; then
22737
18262
  eval "$as_ac_var=yes"
22738
18263
else
22739
 
  echo "$as_me: failed program was:" >&5
 
18264
  $as_echo "$as_me: failed program was:" >&5
22740
18265
sed 's/^/| /' conftest.$ac_ext >&5
22741
18266
 
22742
18267
        eval "$as_ac_var=no"
22743
18268
fi
22744
18269
 
 
18270
rm -rf conftest.dSYM
22745
18271
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22746
18272
      conftest$ac_exeext conftest.$ac_ext
22747
18273
fi
22748
 
ac_res=`eval echo '${'$as_ac_var'}'`
22749
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22750
 
echo "${ECHO_T}$ac_res" >&6; }
22751
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
18274
ac_res=`eval 'as_val=${'$as_ac_var'}
 
18275
                 $as_echo "$as_val"'`
 
18276
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
18277
$as_echo "$ac_res" >&6; }
 
18278
as_val=`eval 'as_val=${'$as_ac_var'}
 
18279
                 $as_echo "$as_val"'`
 
18280
   if test "x$as_val" = x""yes; then
22752
18281
  cat >>confdefs.h <<_ACEOF
22753
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
18282
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22754
18283
_ACEOF
22755
18284
 
22756
18285
fi
22780
18309
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22781
18310
  *) ac_try_echo=$ac_try;;
22782
18311
esac
22783
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18312
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18313
$as_echo "$ac_try_echo") >&5
22784
18314
  (eval "$ac_compile") 2>conftest.er1
22785
18315
  ac_status=$?
22786
18316
  grep -v '^ *+' conftest.er1 >conftest.err
22787
18317
  rm -f conftest.er1
22788
18318
  cat conftest.err >&5
22789
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18319
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790
18320
  (exit $ac_status); } && {
22791
18321
         test -z "$ac_c_werror_flag" ||
22792
18322
         test ! -s conftest.err
22797
18327
_ACEOF
22798
18328
 
22799
18329
else
22800
 
  echo "$as_me: failed program was:" >&5
 
18330
  $as_echo "$as_me: failed program was:" >&5
22801
18331
sed 's/^/| /' conftest.$ac_ext >&5
22802
18332
 
22803
18333
 
22812
18342
 
22813
18343
for ac_func in sched_setaffinity
22814
18344
do
22815
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22816
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22817
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
18345
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
18346
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
18347
$as_echo_n "checking for $ac_func... " >&6; }
22818
18348
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22819
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18349
  $as_echo_n "(cached) " >&6
22820
18350
else
22821
18351
  cat >conftest.$ac_ext <<_ACEOF
22822
18352
/* confdefs.h.  */
22869
18399
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22870
18400
  *) ac_try_echo=$ac_try;;
22871
18401
esac
22872
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18402
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18403
$as_echo "$ac_try_echo") >&5
22873
18404
  (eval "$ac_link") 2>conftest.er1
22874
18405
  ac_status=$?
22875
18406
  grep -v '^ *+' conftest.er1 >conftest.err
22876
18407
  rm -f conftest.er1
22877
18408
  cat conftest.err >&5
22878
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18409
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879
18410
  (exit $ac_status); } && {
22880
18411
         test -z "$ac_c_werror_flag" ||
22881
18412
         test ! -s conftest.err
22882
 
       } && test -s conftest$ac_exeext &&
22883
 
       $as_test_x conftest$ac_exeext; then
 
18413
       } && test -s conftest$ac_exeext && {
 
18414
         test "$cross_compiling" = yes ||
 
18415
         $as_test_x conftest$ac_exeext
 
18416
       }; then
22884
18417
  eval "$as_ac_var=yes"
22885
18418
else
22886
 
  echo "$as_me: failed program was:" >&5
 
18419
  $as_echo "$as_me: failed program was:" >&5
22887
18420
sed 's/^/| /' conftest.$ac_ext >&5
22888
18421
 
22889
18422
        eval "$as_ac_var=no"
22890
18423
fi
22891
18424
 
 
18425
rm -rf conftest.dSYM
22892
18426
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22893
18427
      conftest$ac_exeext conftest.$ac_ext
22894
18428
fi
22895
 
ac_res=`eval echo '${'$as_ac_var'}'`
22896
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22897
 
echo "${ECHO_T}$ac_res" >&6; }
22898
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
18429
ac_res=`eval 'as_val=${'$as_ac_var'}
 
18430
                 $as_echo "$as_val"'`
 
18431
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
18432
$as_echo "$ac_res" >&6; }
 
18433
as_val=`eval 'as_val=${'$as_ac_var'}
 
18434
                 $as_echo "$as_val"'`
 
18435
   if test "x$as_val" = x""yes; then
22899
18436
  cat >>confdefs.h <<_ACEOF
22900
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
18437
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22901
18438
_ACEOF
22902
18439
 have_sched_setaffinity=yes
22903
18440
fi
22927
18464
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22928
18465
  *) ac_try_echo=$ac_try;;
22929
18466
esac
22930
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18467
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18468
$as_echo "$ac_try_echo") >&5
22931
18469
  (eval "$ac_compile") 2>conftest.er1
22932
18470
  ac_status=$?
22933
18471
  grep -v '^ *+' conftest.er1 >conftest.err
22934
18472
  rm -f conftest.er1
22935
18473
  cat conftest.err >&5
22936
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18474
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937
18475
  (exit $ac_status); } && {
22938
18476
         test -z "$ac_c_werror_flag" ||
22939
18477
         test ! -s conftest.err
22944
18482
_ACEOF
22945
18483
 
22946
18484
else
22947
 
  echo "$as_me: failed program was:" >&5
 
18485
  $as_echo "$as_me: failed program was:" >&5
22948
18486
sed 's/^/| /' conftest.$ac_ext >&5
22949
18487
 
22950
18488
 
22975
18513
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22976
18514
  *) ac_try_echo=$ac_try;;
22977
18515
esac
22978
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18516
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18517
$as_echo "$ac_try_echo") >&5
22979
18518
  (eval "$ac_compile") 2>conftest.er1
22980
18519
  ac_status=$?
22981
18520
  grep -v '^ *+' conftest.er1 >conftest.err
22982
18521
  rm -f conftest.er1
22983
18522
  cat conftest.err >&5
22984
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18523
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985
18524
  (exit $ac_status); } && {
22986
18525
         test -z "$ac_c_werror_flag" ||
22987
18526
         test ! -s conftest.err
22992
18531
_ACEOF
22993
18532
 
22994
18533
else
22995
 
  echo "$as_me: failed program was:" >&5
 
18534
  $as_echo "$as_me: failed program was:" >&5
22996
18535
sed 's/^/| /' conftest.$ac_ext >&5
22997
18536
 
22998
18537
 
23003
18542
#
23004
18543
# Test for NUMA memory afffinity functions and set the definitions
23005
18544
#
23006
 
  { echo "$as_me:$LINENO: checking for numa_available in -lnuma" >&5
23007
 
echo $ECHO_N "checking for numa_available in -lnuma... $ECHO_C" >&6; }
 
18545
  { $as_echo "$as_me:$LINENO: checking for numa_available in -lnuma" >&5
 
18546
$as_echo_n "checking for numa_available in -lnuma... " >&6; }
23008
18547
if test "${ac_cv_lib_numa_numa_available+set}" = set; then
23009
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18548
  $as_echo_n "(cached) " >&6
23010
18549
else
23011
18550
  ac_check_lib_save_LIBS=$LIBS
23012
18551
LIBS="-lnuma  $LIBS"
23038
18577
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23039
18578
  *) ac_try_echo=$ac_try;;
23040
18579
esac
23041
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18580
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18581
$as_echo "$ac_try_echo") >&5
23042
18582
  (eval "$ac_link") 2>conftest.er1
23043
18583
  ac_status=$?
23044
18584
  grep -v '^ *+' conftest.er1 >conftest.err
23045
18585
  rm -f conftest.er1
23046
18586
  cat conftest.err >&5
23047
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18587
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048
18588
  (exit $ac_status); } && {
23049
18589
         test -z "$ac_c_werror_flag" ||
23050
18590
         test ! -s conftest.err
23051
 
       } && test -s conftest$ac_exeext &&
23052
 
       $as_test_x conftest$ac_exeext; then
 
18591
       } && test -s conftest$ac_exeext && {
 
18592
         test "$cross_compiling" = yes ||
 
18593
         $as_test_x conftest$ac_exeext
 
18594
       }; then
23053
18595
  ac_cv_lib_numa_numa_available=yes
23054
18596
else
23055
 
  echo "$as_me: failed program was:" >&5
 
18597
  $as_echo "$as_me: failed program was:" >&5
23056
18598
sed 's/^/| /' conftest.$ac_ext >&5
23057
18599
 
23058
18600
        ac_cv_lib_numa_numa_available=no
23059
18601
fi
23060
18602
 
 
18603
rm -rf conftest.dSYM
23061
18604
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23062
18605
      conftest$ac_exeext conftest.$ac_ext
23063
18606
LIBS=$ac_check_lib_save_LIBS
23064
18607
fi
23065
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_numa_numa_available" >&5
23066
 
echo "${ECHO_T}$ac_cv_lib_numa_numa_available" >&6; }
23067
 
if test $ac_cv_lib_numa_numa_available = yes; then
 
18608
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_numa_numa_available" >&5
 
18609
$as_echo "$ac_cv_lib_numa_numa_available" >&6; }
 
18610
if test "x$ac_cv_lib_numa_numa_available" = x""yes; then
23068
18611
  ac_have_numa=yes; NUMA_LIBS="-lnuma"
23069
18612
fi
23070
18613
 
23086
18629
 
23087
18630
    CFLAGS="-DNUMA_VERSION1_COMPATIBILITY $CFLAGS"
23088
18631
  else
23089
 
    { echo "$as_me:$LINENO: WARNING: Unable to locate NUMA memory affinity functions" >&5
23090
 
echo "$as_me: WARNING: Unable to locate NUMA memory affinity functions" >&2;}
 
18632
    { $as_echo "$as_me:$LINENO: WARNING: Unable to locate NUMA memory affinity functions" >&5
 
18633
$as_echo "$as_me: WARNING: Unable to locate NUMA memory affinity functions" >&2;}
23091
18634
  fi
23092
18635
 
23093
18636
#
23094
18637
# Test for PLPA functions (see http://www.open-mpi.org/software/plpa)
23095
18638
#
23096
 
  { echo "$as_me:$LINENO: checking for plpa_sched_getaffinity in -lplpa" >&5
23097
 
echo $ECHO_N "checking for plpa_sched_getaffinity in -lplpa... $ECHO_C" >&6; }
 
18639
  { $as_echo "$as_me:$LINENO: checking for plpa_sched_getaffinity in -lplpa" >&5
 
18640
$as_echo_n "checking for plpa_sched_getaffinity in -lplpa... " >&6; }
23098
18641
if test "${ac_cv_lib_plpa_plpa_sched_getaffinity+set}" = set; then
23099
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18642
  $as_echo_n "(cached) " >&6
23100
18643
else
23101
18644
  ac_check_lib_save_LIBS=$LIBS
23102
18645
LIBS="-lplpa  $LIBS"
23128
18671
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23129
18672
  *) ac_try_echo=$ac_try;;
23130
18673
esac
23131
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18674
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18675
$as_echo "$ac_try_echo") >&5
23132
18676
  (eval "$ac_link") 2>conftest.er1
23133
18677
  ac_status=$?
23134
18678
  grep -v '^ *+' conftest.er1 >conftest.err
23135
18679
  rm -f conftest.er1
23136
18680
  cat conftest.err >&5
23137
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18681
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138
18682
  (exit $ac_status); } && {
23139
18683
         test -z "$ac_c_werror_flag" ||
23140
18684
         test ! -s conftest.err
23141
 
       } && test -s conftest$ac_exeext &&
23142
 
       $as_test_x conftest$ac_exeext; then
 
18685
       } && test -s conftest$ac_exeext && {
 
18686
         test "$cross_compiling" = yes ||
 
18687
         $as_test_x conftest$ac_exeext
 
18688
       }; then
23143
18689
  ac_cv_lib_plpa_plpa_sched_getaffinity=yes
23144
18690
else
23145
 
  echo "$as_me: failed program was:" >&5
 
18691
  $as_echo "$as_me: failed program was:" >&5
23146
18692
sed 's/^/| /' conftest.$ac_ext >&5
23147
18693
 
23148
18694
        ac_cv_lib_plpa_plpa_sched_getaffinity=no
23149
18695
fi
23150
18696
 
 
18697
rm -rf conftest.dSYM
23151
18698
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23152
18699
      conftest$ac_exeext conftest.$ac_ext
23153
18700
LIBS=$ac_check_lib_save_LIBS
23154
18701
fi
23155
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_plpa_plpa_sched_getaffinity" >&5
23156
 
echo "${ECHO_T}$ac_cv_lib_plpa_plpa_sched_getaffinity" >&6; }
23157
 
if test $ac_cv_lib_plpa_plpa_sched_getaffinity = yes; then
 
18702
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_plpa_plpa_sched_getaffinity" >&5
 
18703
$as_echo "$ac_cv_lib_plpa_plpa_sched_getaffinity" >&6; }
 
18704
if test "x$ac_cv_lib_plpa_plpa_sched_getaffinity" = x""yes; then
23158
18705
  ac_have_plpa=yes; PLPA_LIBS="-rpath /usr/local/lib -lplpa"
23159
18706
fi
23160
18707
 
23168
18715
_ACEOF
23169
18716
 
23170
18717
  else
23171
 
    { echo "$as_me:$LINENO: WARNING: Unable to locate PLPA processor affinity functions" >&5
23172
 
echo "$as_me: WARNING: Unable to locate PLPA processor affinity functions" >&2;}
23173
 
  fi
23174
 
 
23175
 
#
23176
 
# Test for cpusets
23177
 
#
23178
 
  if test -d "/dev/cpuset" ; then
23179
 
     have_sched_setaffinity=yes
23180
 
  fi
23181
 
 
23182
 
#
23183
 
# Test for other affinity functions as appropriate
23184
 
# TBD
23185
 
#
 
18718
    { $as_echo "$as_me:$LINENO: WARNING: Unable to locate PLPA processor affinity functions" >&5
 
18719
$as_echo "$as_me: WARNING: Unable to locate PLPA processor affinity functions" >&2;}
 
18720
  fi
 
18721
 
 
18722
#
 
18723
# Test for cpuset directory
 
18724
#
 
18725
  cpuset_default_dir="/dev/cpuset"
 
18726
 
 
18727
# Check whether --with-cpusetdir was given.
 
18728
if test "${with_cpusetdir+set}" = set; then
 
18729
  withval=$with_cpusetdir; try_path=$withval
 
18730
fi
 
18731
 
 
18732
  for cpuset_dir in $try_path "" $cpuset_default_dir; do
 
18733
    if test -d "$cpuset_dir" ; then
 
18734
 
 
18735
cat >>confdefs.h <<_ACEOF
 
18736
#define CPUSET_DIR "$cpuset_dir"
 
18737
_ACEOF
 
18738
 
 
18739
      have_sched_setaffinity=yes
 
18740
      break
 
18741
    fi
 
18742
  done
23186
18743
 
23187
18744
#
23188
18745
# Set HAVE_SCHED_SETAFFINITY if any task affinity supported
23197
18754
 
23198
18755
 
23199
18756
 
23200
 
  { echo "$as_me:$LINENO: checking whether to enable PAM support" >&5
23201
 
echo $ECHO_N "checking whether to enable PAM support... $ECHO_C" >&6; }
 
18757
  { $as_echo "$as_me:$LINENO: checking whether to enable PAM support" >&5
 
18758
$as_echo_n "checking whether to enable PAM support... " >&6; }
23202
18759
  # Check whether --enable-pam was given.
23203
18760
if test "${enable_pam+set}" = set; then
23204
18761
  enableval=$enable_pam;  case "$enableval" in
23205
18762
        yes) x_ac_pam=yes ;;
23206
18763
         no) x_ac_pam=no ;;
23207
 
          *) { echo "$as_me:$LINENO: result: doh!" >&5
23208
 
echo "${ECHO_T}doh!" >&6; }
23209
 
             { { echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-pam" >&5
23210
 
echo "$as_me: error: bad value \"$enableval\" for --enable-pam" >&2;}
 
18764
          *) { $as_echo "$as_me:$LINENO: result: doh!" >&5
 
18765
$as_echo "doh!" >&6; }
 
18766
             { { $as_echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-pam" >&5
 
18767
$as_echo "$as_me: error: bad value \"$enableval\" for --enable-pam" >&2;}
23211
18768
   { (exit 1); exit 1; }; } ;;
23212
18769
      esac
23213
18770
 
23218
18775
 
23219
18776
 
23220
18777
  if test "$x_ac_pam" = yes; then
23221
 
    { echo "$as_me:$LINENO: result: yes" >&5
23222
 
echo "${ECHO_T}yes" >&6; }
23223
 
    { echo "$as_me:$LINENO: checking for pam_get_user in -lpam" >&5
23224
 
echo $ECHO_N "checking for pam_get_user in -lpam... $ECHO_C" >&6; }
 
18778
    { $as_echo "$as_me:$LINENO: result: yes" >&5
 
18779
$as_echo "yes" >&6; }
 
18780
    { $as_echo "$as_me:$LINENO: checking for pam_get_user in -lpam" >&5
 
18781
$as_echo_n "checking for pam_get_user in -lpam... " >&6; }
23225
18782
if test "${ac_cv_lib_pam_pam_get_user+set}" = set; then
23226
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18783
  $as_echo_n "(cached) " >&6
23227
18784
else
23228
18785
  ac_check_lib_save_LIBS=$LIBS
23229
18786
LIBS="-lpam  $LIBS"
23255
18812
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23256
18813
  *) ac_try_echo=$ac_try;;
23257
18814
esac
23258
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18815
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18816
$as_echo "$ac_try_echo") >&5
23259
18817
  (eval "$ac_link") 2>conftest.er1
23260
18818
  ac_status=$?
23261
18819
  grep -v '^ *+' conftest.er1 >conftest.err
23262
18820
  rm -f conftest.er1
23263
18821
  cat conftest.err >&5
23264
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18822
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265
18823
  (exit $ac_status); } && {
23266
18824
         test -z "$ac_c_werror_flag" ||
23267
18825
         test ! -s conftest.err
23268
 
       } && test -s conftest$ac_exeext &&
23269
 
       $as_test_x conftest$ac_exeext; then
 
18826
       } && test -s conftest$ac_exeext && {
 
18827
         test "$cross_compiling" = yes ||
 
18828
         $as_test_x conftest$ac_exeext
 
18829
       }; then
23270
18830
  ac_cv_lib_pam_pam_get_user=yes
23271
18831
else
23272
 
  echo "$as_me: failed program was:" >&5
 
18832
  $as_echo "$as_me: failed program was:" >&5
23273
18833
sed 's/^/| /' conftest.$ac_ext >&5
23274
18834
 
23275
18835
        ac_cv_lib_pam_pam_get_user=no
23276
18836
fi
23277
18837
 
 
18838
rm -rf conftest.dSYM
23278
18839
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23279
18840
      conftest$ac_exeext conftest.$ac_ext
23280
18841
LIBS=$ac_check_lib_save_LIBS
23281
18842
fi
23282
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_get_user" >&5
23283
 
echo "${ECHO_T}$ac_cv_lib_pam_pam_get_user" >&6; }
23284
 
if test $ac_cv_lib_pam_pam_get_user = yes; then
 
18843
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_get_user" >&5
 
18844
$as_echo "$ac_cv_lib_pam_pam_get_user" >&6; }
 
18845
if test "x$ac_cv_lib_pam_pam_get_user" = x""yes; then
23285
18846
  ac_have_pam=yes; PAM_LIBS="-lpam"
23286
18847
fi
23287
18848
 
23288
18849
 
23289
 
    { echo "$as_me:$LINENO: checking for misc_conv in -lpam_misc" >&5
23290
 
echo $ECHO_N "checking for misc_conv in -lpam_misc... $ECHO_C" >&6; }
 
18850
    { $as_echo "$as_me:$LINENO: checking for misc_conv in -lpam_misc" >&5
 
18851
$as_echo_n "checking for misc_conv in -lpam_misc... " >&6; }
23291
18852
if test "${ac_cv_lib_pam_misc_misc_conv+set}" = set; then
23292
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18853
  $as_echo_n "(cached) " >&6
23293
18854
else
23294
18855
  ac_check_lib_save_LIBS=$LIBS
23295
18856
LIBS="-lpam_misc  $LIBS"
23321
18882
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23322
18883
  *) ac_try_echo=$ac_try;;
23323
18884
esac
23324
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18885
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18886
$as_echo "$ac_try_echo") >&5
23325
18887
  (eval "$ac_link") 2>conftest.er1
23326
18888
  ac_status=$?
23327
18889
  grep -v '^ *+' conftest.er1 >conftest.err
23328
18890
  rm -f conftest.er1
23329
18891
  cat conftest.err >&5
23330
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18892
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331
18893
  (exit $ac_status); } && {
23332
18894
         test -z "$ac_c_werror_flag" ||
23333
18895
         test ! -s conftest.err
23334
 
       } && test -s conftest$ac_exeext &&
23335
 
       $as_test_x conftest$ac_exeext; then
 
18896
       } && test -s conftest$ac_exeext && {
 
18897
         test "$cross_compiling" = yes ||
 
18898
         $as_test_x conftest$ac_exeext
 
18899
       }; then
23336
18900
  ac_cv_lib_pam_misc_misc_conv=yes
23337
18901
else
23338
 
  echo "$as_me: failed program was:" >&5
 
18902
  $as_echo "$as_me: failed program was:" >&5
23339
18903
sed 's/^/| /' conftest.$ac_ext >&5
23340
18904
 
23341
18905
        ac_cv_lib_pam_misc_misc_conv=no
23342
18906
fi
23343
18907
 
 
18908
rm -rf conftest.dSYM
23344
18909
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23345
18910
      conftest$ac_exeext conftest.$ac_ext
23346
18911
LIBS=$ac_check_lib_save_LIBS
23347
18912
fi
23348
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pam_misc_misc_conv" >&5
23349
 
echo "${ECHO_T}$ac_cv_lib_pam_misc_misc_conv" >&6; }
23350
 
if test $ac_cv_lib_pam_misc_misc_conv = yes; then
 
18913
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pam_misc_misc_conv" >&5
 
18914
$as_echo "$ac_cv_lib_pam_misc_misc_conv" >&6; }
 
18915
if test "x$ac_cv_lib_pam_misc_misc_conv" = x""yes; then
23351
18916
  ac_have_pam_misc=yes; PAM_LIBS="$PAM_LIBS -lpam_misc"
23352
18917
fi
23353
18918
 
23356
18921
    if test "x$ac_have_pam" = "xyes" -a "x$ac_have_pam_misc" = "xyes"; then
23357
18922
 
23358
18923
cat >>confdefs.h <<\_ACEOF
23359
 
#define HAVE_PAM
 
18924
#define HAVE_PAM /**/
23360
18925
_ACEOF
23361
18926
 
23362
18927
    else
23363
 
      { echo "$as_me:$LINENO: WARNING: Unable to locate PAM libraries" >&5
23364
 
echo "$as_me: WARNING: Unable to locate PAM libraries" >&2;}
 
18928
      { $as_echo "$as_me:$LINENO: WARNING: Unable to locate PAM libraries" >&5
 
18929
$as_echo "$as_me: WARNING: Unable to locate PAM libraries" >&2;}
23365
18930
    fi
23366
18931
  else
23367
 
    { echo "$as_me:$LINENO: result: no" >&5
23368
 
echo "${ECHO_T}no" >&6; }
 
18932
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
18933
$as_echo "no" >&6; }
23369
18934
  fi
23370
18935
 
23371
18936
   if test "x$x_ac_pam" = "xyes" -a "x$ac_have_pam" = "xyes" -a "x$ac_have_pam_misc" = "xyes"; then
23380
18945
 
23381
18946
 
23382
18947
 
23383
 
  { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23384
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
 
18948
  { $as_echo "$as_me:$LINENO: checking whether to enable ISO 8601 time format support" >&5
 
18949
$as_echo_n "checking whether to enable ISO 8601 time format support... " >&6; }
 
18950
  # Check whether --enable-iso8601 was given.
 
18951
if test "${enable_iso8601+set}" = set; then
 
18952
  enableval=$enable_iso8601;  case "$enableval" in
 
18953
        yes) x_ac_iso8601=yes ;;
 
18954
         no) x_ac_iso8601=no ;;
 
18955
          *) { $as_echo "$as_me:$LINENO: result: doh!" >&5
 
18956
$as_echo "doh!" >&6; }
 
18957
             { { $as_echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-iso8601" >&5
 
18958
$as_echo "$as_me: error: bad value \"$enableval\" for --enable-iso8601" >&2;}
 
18959
   { (exit 1); exit 1; }; } ;;
 
18960
      esac
 
18961
 
 
18962
else
 
18963
  x_ac_iso8601=yes
 
18964
 
 
18965
fi
 
18966
 
 
18967
 
 
18968
  if test "$x_ac_iso8601" = yes; then
 
18969
    { $as_echo "$as_me:$LINENO: result: yes" >&5
 
18970
$as_echo "yes" >&6; }
 
18971
 
 
18972
cat >>confdefs.h <<\_ACEOF
 
18973
#define USE_ISO_8601 /**/
 
18974
_ACEOF
 
18975
 
 
18976
  else
 
18977
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
18978
$as_echo "no" >&6; }
 
18979
  fi
 
18980
 
 
18981
 
 
18982
 
 
18983
  { $as_echo "$as_me:$LINENO: checking whether sbatch --get-user-env option should load .login" >&5
 
18984
$as_echo_n "checking whether sbatch --get-user-env option should load .login... " >&6; }
 
18985
  # Check whether --enable-load-env-no-login was given.
 
18986
if test "${enable_load_env_no_login+set}" = set; then
 
18987
  enableval=$enable_load_env_no_login;  case "$enableval" in
 
18988
        yes) x_ac_load_env_no_login=yes ;;
 
18989
         no) x_ac_load_env_no_login=no ;;
 
18990
          *) { $as_echo "$as_me:$LINENO: result: doh!" >&5
 
18991
$as_echo "doh!" >&6; }
 
18992
             { { $as_echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-load-env-no-login" >&5
 
18993
$as_echo "$as_me: error: bad value \"$enableval\" for --enable-load-env-no-login" >&2;}
 
18994
   { (exit 1); exit 1; }; } ;;
 
18995
      esac
 
18996
 
 
18997
else
 
18998
  x_ac_load_env_no_login=no
 
18999
 
 
19000
fi
 
19001
 
 
19002
 
 
19003
  if test "$x_ac_load_env_no_login" = yes; then
 
19004
    { $as_echo "$as_me:$LINENO: result: yes" >&5
 
19005
$as_echo "yes" >&6; }
 
19006
 
 
19007
cat >>confdefs.h <<\_ACEOF
 
19008
#define LOAD_ENV_NO_LOGIN 1
 
19009
_ACEOF
 
19010
 
 
19011
  else
 
19012
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
19013
$as_echo "no" >&6; }
 
19014
  fi
 
19015
 
 
19016
 
 
19017
 
 
19018
 
 
19019
 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
19020
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
23385
19021
if test "${ac_cv_c_bigendian+set}" = set; then
23386
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23387
 
else
23388
 
  # See if sys/param.h defines the BYTE_ORDER macro.
23389
 
cat >conftest.$ac_ext <<_ACEOF
 
19022
  $as_echo_n "(cached) " >&6
 
19023
else
 
19024
  ac_cv_c_bigendian=unknown
 
19025
    # See if we're dealing with a universal compiler.
 
19026
    cat >conftest.$ac_ext <<_ACEOF
 
19027
/* confdefs.h.  */
 
19028
_ACEOF
 
19029
cat confdefs.h >>conftest.$ac_ext
 
19030
cat >>conftest.$ac_ext <<_ACEOF
 
19031
/* end confdefs.h.  */
 
19032
#ifndef __APPLE_CC__
 
19033
               not a universal capable compiler
 
19034
             #endif
 
19035
             typedef int dummy;
 
19036
 
 
19037
_ACEOF
 
19038
rm -f conftest.$ac_objext
 
19039
if { (ac_try="$ac_compile"
 
19040
case "(($ac_try" in
 
19041
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19042
  *) ac_try_echo=$ac_try;;
 
19043
esac
 
19044
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19045
$as_echo "$ac_try_echo") >&5
 
19046
  (eval "$ac_compile") 2>conftest.er1
 
19047
  ac_status=$?
 
19048
  grep -v '^ *+' conftest.er1 >conftest.err
 
19049
  rm -f conftest.er1
 
19050
  cat conftest.err >&5
 
19051
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19052
  (exit $ac_status); } && {
 
19053
         test -z "$ac_c_werror_flag" ||
 
19054
         test ! -s conftest.err
 
19055
       } && test -s conftest.$ac_objext; then
 
19056
 
 
19057
        # Check for potential -arch flags.  It is not universal unless
 
19058
        # there are some -arch flags.  Note that *ppc* also matches
 
19059
        # ppc64.  This check is also rather less than ideal.
 
19060
        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
 
19061
          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
 
19062
        esac
 
19063
else
 
19064
  $as_echo "$as_me: failed program was:" >&5
 
19065
sed 's/^/| /' conftest.$ac_ext >&5
 
19066
 
 
19067
 
 
19068
fi
 
19069
 
 
19070
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
19071
    if test $ac_cv_c_bigendian = unknown; then
 
19072
      # See if sys/param.h defines the BYTE_ORDER macro.
 
19073
      cat >conftest.$ac_ext <<_ACEOF
23390
19074
/* confdefs.h.  */
23391
19075
_ACEOF
23392
19076
cat confdefs.h >>conftest.$ac_ext
23393
19077
cat >>conftest.$ac_ext <<_ACEOF
23394
19078
/* end confdefs.h.  */
23395
19079
#include <sys/types.h>
23396
 
#include <sys/param.h>
 
19080
             #include <sys/param.h>
23397
19081
 
23398
19082
int
23399
19083
main ()
23400
19084
{
23401
 
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
23402
 
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
23403
 
 bogus endian macros
23404
 
#endif
 
19085
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
 
19086
                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
 
19087
                     && LITTLE_ENDIAN)
 
19088
              bogus endian macros
 
19089
             #endif
23405
19090
 
23406
19091
  ;
23407
19092
  return 0;
23413
19098
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23414
19099
  *) ac_try_echo=$ac_try;;
23415
19100
esac
23416
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19101
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19102
$as_echo "$ac_try_echo") >&5
23417
19103
  (eval "$ac_compile") 2>conftest.er1
23418
19104
  ac_status=$?
23419
19105
  grep -v '^ *+' conftest.er1 >conftest.err
23420
19106
  rm -f conftest.er1
23421
19107
  cat conftest.err >&5
23422
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19108
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23423
19109
  (exit $ac_status); } && {
23424
19110
         test -z "$ac_c_werror_flag" ||
23425
19111
         test ! -s conftest.err
23426
19112
       } && test -s conftest.$ac_objext; then
23427
19113
  # It does; now see whether it defined to BIG_ENDIAN or not.
23428
 
cat >conftest.$ac_ext <<_ACEOF
 
19114
         cat >conftest.$ac_ext <<_ACEOF
23429
19115
/* confdefs.h.  */
23430
19116
_ACEOF
23431
19117
cat confdefs.h >>conftest.$ac_ext
23432
19118
cat >>conftest.$ac_ext <<_ACEOF
23433
19119
/* end confdefs.h.  */
23434
19120
#include <sys/types.h>
23435
 
#include <sys/param.h>
 
19121
                #include <sys/param.h>
23436
19122
 
23437
19123
int
23438
19124
main ()
23439
19125
{
23440
19126
#if BYTE_ORDER != BIG_ENDIAN
23441
 
 not big endian
23442
 
#endif
23443
 
 
23444
 
  ;
23445
 
  return 0;
23446
 
}
23447
 
_ACEOF
23448
 
rm -f conftest.$ac_objext
23449
 
if { (ac_try="$ac_compile"
23450
 
case "(($ac_try" in
23451
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23452
 
  *) ac_try_echo=$ac_try;;
23453
 
esac
23454
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23455
 
  (eval "$ac_compile") 2>conftest.er1
23456
 
  ac_status=$?
23457
 
  grep -v '^ *+' conftest.er1 >conftest.err
23458
 
  rm -f conftest.er1
23459
 
  cat conftest.err >&5
23460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23461
 
  (exit $ac_status); } && {
23462
 
         test -z "$ac_c_werror_flag" ||
23463
 
         test ! -s conftest.err
23464
 
       } && test -s conftest.$ac_objext; then
23465
 
  ac_cv_c_bigendian=yes
23466
 
else
23467
 
  echo "$as_me: failed program was:" >&5
23468
 
sed 's/^/| /' conftest.$ac_ext >&5
23469
 
 
23470
 
        ac_cv_c_bigendian=no
23471
 
fi
23472
 
 
23473
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23474
 
else
23475
 
  echo "$as_me: failed program was:" >&5
23476
 
sed 's/^/| /' conftest.$ac_ext >&5
23477
 
 
23478
 
        # It does not; compile a test program.
23479
 
if test "$cross_compiling" = yes; then
23480
 
  # try to guess the endianness by grepping values into an object file
23481
 
  ac_cv_c_bigendian=unknown
23482
 
  cat >conftest.$ac_ext <<_ACEOF
23483
 
/* confdefs.h.  */
23484
 
_ACEOF
23485
 
cat confdefs.h >>conftest.$ac_ext
23486
 
cat >>conftest.$ac_ext <<_ACEOF
23487
 
/* end confdefs.h.  */
23488
 
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
23489
 
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
23490
 
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
23491
 
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
23492
 
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
23493
 
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
23494
 
int
23495
 
main ()
23496
 
{
23497
 
 _ascii (); _ebcdic ();
23498
 
  ;
23499
 
  return 0;
23500
 
}
23501
 
_ACEOF
23502
 
rm -f conftest.$ac_objext
23503
 
if { (ac_try="$ac_compile"
23504
 
case "(($ac_try" in
23505
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23506
 
  *) ac_try_echo=$ac_try;;
23507
 
esac
23508
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23509
 
  (eval "$ac_compile") 2>conftest.er1
23510
 
  ac_status=$?
23511
 
  grep -v '^ *+' conftest.er1 >conftest.err
23512
 
  rm -f conftest.er1
23513
 
  cat conftest.err >&5
23514
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23515
 
  (exit $ac_status); } && {
23516
 
         test -z "$ac_c_werror_flag" ||
23517
 
         test ! -s conftest.err
23518
 
       } && test -s conftest.$ac_objext; then
23519
 
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
23520
 
  ac_cv_c_bigendian=yes
23521
 
fi
23522
 
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
23523
 
  if test "$ac_cv_c_bigendian" = unknown; then
23524
 
    ac_cv_c_bigendian=no
23525
 
  else
23526
 
    # finding both strings is unlikely to happen, but who knows?
23527
 
    ac_cv_c_bigendian=unknown
23528
 
  fi
23529
 
fi
23530
 
else
23531
 
  echo "$as_me: failed program was:" >&5
 
19127
                 not big endian
 
19128
                #endif
 
19129
 
 
19130
  ;
 
19131
  return 0;
 
19132
}
 
19133
_ACEOF
 
19134
rm -f conftest.$ac_objext
 
19135
if { (ac_try="$ac_compile"
 
19136
case "(($ac_try" in
 
19137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19138
  *) ac_try_echo=$ac_try;;
 
19139
esac
 
19140
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19141
$as_echo "$ac_try_echo") >&5
 
19142
  (eval "$ac_compile") 2>conftest.er1
 
19143
  ac_status=$?
 
19144
  grep -v '^ *+' conftest.er1 >conftest.err
 
19145
  rm -f conftest.er1
 
19146
  cat conftest.err >&5
 
19147
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19148
  (exit $ac_status); } && {
 
19149
         test -z "$ac_c_werror_flag" ||
 
19150
         test ! -s conftest.err
 
19151
       } && test -s conftest.$ac_objext; then
 
19152
  ac_cv_c_bigendian=yes
 
19153
else
 
19154
  $as_echo "$as_me: failed program was:" >&5
 
19155
sed 's/^/| /' conftest.$ac_ext >&5
 
19156
 
 
19157
        ac_cv_c_bigendian=no
 
19158
fi
 
19159
 
 
19160
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
19161
else
 
19162
  $as_echo "$as_me: failed program was:" >&5
 
19163
sed 's/^/| /' conftest.$ac_ext >&5
 
19164
 
 
19165
 
 
19166
fi
 
19167
 
 
19168
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
19169
    fi
 
19170
    if test $ac_cv_c_bigendian = unknown; then
 
19171
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
 
19172
      cat >conftest.$ac_ext <<_ACEOF
 
19173
/* confdefs.h.  */
 
19174
_ACEOF
 
19175
cat confdefs.h >>conftest.$ac_ext
 
19176
cat >>conftest.$ac_ext <<_ACEOF
 
19177
/* end confdefs.h.  */
 
19178
#include <limits.h>
 
19179
 
 
19180
int
 
19181
main ()
 
19182
{
 
19183
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
 
19184
              bogus endian macros
 
19185
             #endif
 
19186
 
 
19187
  ;
 
19188
  return 0;
 
19189
}
 
19190
_ACEOF
 
19191
rm -f conftest.$ac_objext
 
19192
if { (ac_try="$ac_compile"
 
19193
case "(($ac_try" in
 
19194
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19195
  *) ac_try_echo=$ac_try;;
 
19196
esac
 
19197
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19198
$as_echo "$ac_try_echo") >&5
 
19199
  (eval "$ac_compile") 2>conftest.er1
 
19200
  ac_status=$?
 
19201
  grep -v '^ *+' conftest.er1 >conftest.err
 
19202
  rm -f conftest.er1
 
19203
  cat conftest.err >&5
 
19204
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19205
  (exit $ac_status); } && {
 
19206
         test -z "$ac_c_werror_flag" ||
 
19207
         test ! -s conftest.err
 
19208
       } && test -s conftest.$ac_objext; then
 
19209
  # It does; now see whether it defined to _BIG_ENDIAN or not.
 
19210
         cat >conftest.$ac_ext <<_ACEOF
 
19211
/* confdefs.h.  */
 
19212
_ACEOF
 
19213
cat confdefs.h >>conftest.$ac_ext
 
19214
cat >>conftest.$ac_ext <<_ACEOF
 
19215
/* end confdefs.h.  */
 
19216
#include <limits.h>
 
19217
 
 
19218
int
 
19219
main ()
 
19220
{
 
19221
#ifndef _BIG_ENDIAN
 
19222
                 not big endian
 
19223
                #endif
 
19224
 
 
19225
  ;
 
19226
  return 0;
 
19227
}
 
19228
_ACEOF
 
19229
rm -f conftest.$ac_objext
 
19230
if { (ac_try="$ac_compile"
 
19231
case "(($ac_try" in
 
19232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19233
  *) ac_try_echo=$ac_try;;
 
19234
esac
 
19235
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19236
$as_echo "$ac_try_echo") >&5
 
19237
  (eval "$ac_compile") 2>conftest.er1
 
19238
  ac_status=$?
 
19239
  grep -v '^ *+' conftest.er1 >conftest.err
 
19240
  rm -f conftest.er1
 
19241
  cat conftest.err >&5
 
19242
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19243
  (exit $ac_status); } && {
 
19244
         test -z "$ac_c_werror_flag" ||
 
19245
         test ! -s conftest.err
 
19246
       } && test -s conftest.$ac_objext; then
 
19247
  ac_cv_c_bigendian=yes
 
19248
else
 
19249
  $as_echo "$as_me: failed program was:" >&5
 
19250
sed 's/^/| /' conftest.$ac_ext >&5
 
19251
 
 
19252
        ac_cv_c_bigendian=no
 
19253
fi
 
19254
 
 
19255
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
19256
else
 
19257
  $as_echo "$as_me: failed program was:" >&5
 
19258
sed 's/^/| /' conftest.$ac_ext >&5
 
19259
 
 
19260
 
 
19261
fi
 
19262
 
 
19263
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
19264
    fi
 
19265
    if test $ac_cv_c_bigendian = unknown; then
 
19266
      # Compile a test program.
 
19267
      if test "$cross_compiling" = yes; then
 
19268
  # Try to guess by grepping values from an object file.
 
19269
         cat >conftest.$ac_ext <<_ACEOF
 
19270
/* confdefs.h.  */
 
19271
_ACEOF
 
19272
cat confdefs.h >>conftest.$ac_ext
 
19273
cat >>conftest.$ac_ext <<_ACEOF
 
19274
/* end confdefs.h.  */
 
19275
short int ascii_mm[] =
 
19276
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
19277
                short int ascii_ii[] =
 
19278
                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
19279
                int use_ascii (int i) {
 
19280
                  return ascii_mm[i] + ascii_ii[i];
 
19281
                }
 
19282
                short int ebcdic_ii[] =
 
19283
                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
19284
                short int ebcdic_mm[] =
 
19285
                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
19286
                int use_ebcdic (int i) {
 
19287
                  return ebcdic_mm[i] + ebcdic_ii[i];
 
19288
                }
 
19289
                extern int foo;
 
19290
 
 
19291
int
 
19292
main ()
 
19293
{
 
19294
return use_ascii (foo) == use_ebcdic (foo);
 
19295
  ;
 
19296
  return 0;
 
19297
}
 
19298
_ACEOF
 
19299
rm -f conftest.$ac_objext
 
19300
if { (ac_try="$ac_compile"
 
19301
case "(($ac_try" in
 
19302
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19303
  *) ac_try_echo=$ac_try;;
 
19304
esac
 
19305
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19306
$as_echo "$ac_try_echo") >&5
 
19307
  (eval "$ac_compile") 2>conftest.er1
 
19308
  ac_status=$?
 
19309
  grep -v '^ *+' conftest.er1 >conftest.err
 
19310
  rm -f conftest.er1
 
19311
  cat conftest.err >&5
 
19312
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19313
  (exit $ac_status); } && {
 
19314
         test -z "$ac_c_werror_flag" ||
 
19315
         test ! -s conftest.err
 
19316
       } && test -s conftest.$ac_objext; then
 
19317
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
 
19318
              ac_cv_c_bigendian=yes
 
19319
            fi
 
19320
            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 
19321
              if test "$ac_cv_c_bigendian" = unknown; then
 
19322
                ac_cv_c_bigendian=no
 
19323
              else
 
19324
                # finding both strings is unlikely to happen, but who knows?
 
19325
                ac_cv_c_bigendian=unknown
 
19326
              fi
 
19327
            fi
 
19328
else
 
19329
  $as_echo "$as_me: failed program was:" >&5
23532
19330
sed 's/^/| /' conftest.$ac_ext >&5
23533
19331
 
23534
19332
 
23547
19345
main ()
23548
19346
{
23549
19347
 
23550
 
  /* Are we little or big endian?  From Harbison&Steele.  */
23551
 
  union
23552
 
  {
23553
 
    long int l;
23554
 
    char c[sizeof (long int)];
23555
 
  } u;
23556
 
  u.l = 1;
23557
 
  return u.c[sizeof (long int) - 1] == 1;
 
19348
             /* Are we little or big endian?  From Harbison&Steele.  */
 
19349
             union
 
19350
             {
 
19351
               long int l;
 
19352
               char c[sizeof (long int)];
 
19353
             } u;
 
19354
             u.l = 1;
 
19355
             return u.c[sizeof (long int) - 1] == 1;
23558
19356
 
23559
19357
  ;
23560
19358
  return 0;
23566
19364
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23567
19365
  *) ac_try_echo=$ac_try;;
23568
19366
esac
23569
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19367
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19368
$as_echo "$ac_try_echo") >&5
23570
19369
  (eval "$ac_link") 2>&5
23571
19370
  ac_status=$?
23572
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19371
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573
19372
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23574
19373
  { (case "(($ac_try" in
23575
19374
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23576
19375
  *) ac_try_echo=$ac_try;;
23577
19376
esac
23578
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19377
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19378
$as_echo "$ac_try_echo") >&5
23579
19379
  (eval "$ac_try") 2>&5
23580
19380
  ac_status=$?
23581
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19381
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582
19382
  (exit $ac_status); }; }; then
23583
19383
  ac_cv_c_bigendian=no
23584
19384
else
23585
 
  echo "$as_me: program exited with status $ac_status" >&5
23586
 
echo "$as_me: failed program was:" >&5
 
19385
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
19386
$as_echo "$as_me: failed program was:" >&5
23587
19387
sed 's/^/| /' conftest.$ac_ext >&5
23588
19388
 
23589
19389
( exit $ac_status )
23590
19390
ac_cv_c_bigendian=yes
23591
19391
fi
 
19392
rm -rf conftest.dSYM
23592
19393
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23593
19394
fi
23594
19395
 
23595
19396
 
23596
 
fi
23597
 
 
23598
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23599
 
fi
23600
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23601
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23602
 
case $ac_cv_c_bigendian in
23603
 
  yes)
23604
 
 
23605
 
cat >>confdefs.h <<\_ACEOF
 
19397
    fi
 
19398
fi
 
19399
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
19400
$as_echo "$ac_cv_c_bigendian" >&6; }
 
19401
 case $ac_cv_c_bigendian in #(
 
19402
   yes)
 
19403
     cat >>confdefs.h <<\_ACEOF
23606
19404
#define WORDS_BIGENDIAN 1
23607
19405
_ACEOF
23608
 
 ;;
23609
 
  no)
23610
 
     ;;
23611
 
  *)
23612
 
    { { echo "$as_me:$LINENO: error: unknown endianness
23613
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
23614
 
echo "$as_me: error: unknown endianness
23615
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
 
19406
;; #(
 
19407
   no)
 
19408
      ;; #(
 
19409
   universal)
 
19410
 
 
19411
cat >>confdefs.h <<\_ACEOF
 
19412
#define AC_APPLE_UNIVERSAL_BUILD 1
 
19413
_ACEOF
 
19414
 
 
19415
     ;; #(
 
19416
   *)
 
19417
     { { $as_echo "$as_me:$LINENO: error: unknown endianness
 
19418
 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
 
19419
$as_echo "$as_me: error: unknown endianness
 
19420
 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
23616
19421
   { (exit 1); exit 1; }; } ;;
23617
 
esac
 
19422
 esac
23618
19423
 
23619
19424
  if test "x$ac_cv_c_bigendian" = "xyes"; then
23620
19425
 
23626
19431
 
23627
19432
 
23628
19433
if test $ac_cv_c_compiler_gnu = yes; then
23629
 
    { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
23630
 
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
 
19434
    { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
 
19435
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
23631
19436
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
23632
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19437
  $as_echo_n "(cached) " >&6
23633
19438
else
23634
19439
    ac_pattern="Autoconf.*'x'"
23635
19440
  cat >conftest.$ac_ext <<_ACEOF
23668
19473
 
23669
19474
  fi
23670
19475
fi
23671
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
23672
 
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
 
19476
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
 
19477
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
23673
19478
  if test $ac_cv_prog_gcc_traditional = yes; then
23674
19479
    CC="$CC -traditional"
23675
19480
  fi
23680
19485
 
23681
19486
for ac_header in stdlib.h
23682
19487
do
23683
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23684
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23685
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
23686
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23687
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23688
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19488
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
19489
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
19490
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
19491
$as_echo_n "checking for $ac_header... " >&6; }
 
19492
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
19493
  $as_echo_n "(cached) " >&6
23689
19494
fi
23690
 
ac_res=`eval echo '${'$as_ac_Header'}'`
23691
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
23692
 
echo "${ECHO_T}$ac_res" >&6; }
 
19495
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
19496
                 $as_echo "$as_val"'`
 
19497
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
19498
$as_echo "$ac_res" >&6; }
23693
19499
else
23694
19500
  # Is the header compilable?
23695
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
23696
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
19501
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
19502
$as_echo_n "checking $ac_header usability... " >&6; }
23697
19503
cat >conftest.$ac_ext <<_ACEOF
23698
19504
/* confdefs.h.  */
23699
19505
_ACEOF
23709
19515
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23710
19516
  *) ac_try_echo=$ac_try;;
23711
19517
esac
23712
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19518
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19519
$as_echo "$ac_try_echo") >&5
23713
19520
  (eval "$ac_compile") 2>conftest.er1
23714
19521
  ac_status=$?
23715
19522
  grep -v '^ *+' conftest.er1 >conftest.err
23716
19523
  rm -f conftest.er1
23717
19524
  cat conftest.err >&5
23718
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19525
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719
19526
  (exit $ac_status); } && {
23720
19527
         test -z "$ac_c_werror_flag" ||
23721
19528
         test ! -s conftest.err
23722
19529
       } && test -s conftest.$ac_objext; then
23723
19530
  ac_header_compiler=yes
23724
19531
else
23725
 
  echo "$as_me: failed program was:" >&5
 
19532
  $as_echo "$as_me: failed program was:" >&5
23726
19533
sed 's/^/| /' conftest.$ac_ext >&5
23727
19534
 
23728
19535
        ac_header_compiler=no
23729
19536
fi
23730
19537
 
23731
19538
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23732
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23733
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
19539
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
19540
$as_echo "$ac_header_compiler" >&6; }
23734
19541
 
23735
19542
# Is the header present?
23736
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
23737
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
19543
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
19544
$as_echo_n "checking $ac_header presence... " >&6; }
23738
19545
cat >conftest.$ac_ext <<_ACEOF
23739
19546
/* confdefs.h.  */
23740
19547
_ACEOF
23748
19555
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23749
19556
  *) ac_try_echo=$ac_try;;
23750
19557
esac
23751
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19558
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19559
$as_echo "$ac_try_echo") >&5
23752
19560
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23753
19561
  ac_status=$?
23754
19562
  grep -v '^ *+' conftest.er1 >conftest.err
23755
19563
  rm -f conftest.er1
23756
19564
  cat conftest.err >&5
23757
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19565
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23758
19566
  (exit $ac_status); } >/dev/null && {
23759
19567
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23760
19568
         test ! -s conftest.err
23761
19569
       }; then
23762
19570
  ac_header_preproc=yes
23763
19571
else
23764
 
  echo "$as_me: failed program was:" >&5
 
19572
  $as_echo "$as_me: failed program was:" >&5
23765
19573
sed 's/^/| /' conftest.$ac_ext >&5
23766
19574
 
23767
19575
  ac_header_preproc=no
23768
19576
fi
23769
19577
 
23770
19578
rm -f conftest.err conftest.$ac_ext
23771
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23772
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
19579
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
19580
$as_echo "$ac_header_preproc" >&6; }
23773
19581
 
23774
19582
# So?  What about this header?
23775
19583
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23776
19584
  yes:no: )
23777
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23778
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23779
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23780
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
19585
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
19586
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
19587
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
19588
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23781
19589
    ac_header_preproc=yes
23782
19590
    ;;
23783
19591
  no:yes:* )
23784
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23785
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23786
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
23787
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
23788
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23789
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23790
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
23791
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
23792
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23793
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23794
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23795
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
19592
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
19593
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
19594
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
19595
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
19596
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
19597
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
19598
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
19599
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
19600
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
19601
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
19602
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
19603
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23796
19604
 
23797
19605
    ;;
23798
19606
esac
23799
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
23800
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
19607
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
19608
$as_echo_n "checking for $ac_header... " >&6; }
23801
19609
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23802
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19610
  $as_echo_n "(cached) " >&6
23803
19611
else
23804
19612
  eval "$as_ac_Header=\$ac_header_preproc"
23805
19613
fi
23806
 
ac_res=`eval echo '${'$as_ac_Header'}'`
23807
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
23808
 
echo "${ECHO_T}$ac_res" >&6; }
 
19614
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
19615
                 $as_echo "$as_val"'`
 
19616
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
19617
$as_echo "$ac_res" >&6; }
23809
19618
 
23810
19619
fi
23811
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
19620
as_val=`eval 'as_val=${'$as_ac_Header'}
 
19621
                 $as_echo "$as_val"'`
 
19622
   if test "x$as_val" = x""yes; then
23812
19623
  cat >>confdefs.h <<_ACEOF
23813
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
19624
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23814
19625
_ACEOF
23815
19626
 
23816
19627
fi
23817
19628
 
23818
19629
done
23819
19630
 
23820
 
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
23821
 
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
 
19631
{ $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
 
19632
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
23822
19633
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
23823
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19634
  $as_echo_n "(cached) " >&6
23824
19635
else
23825
19636
  if test "$cross_compiling" = yes; then
23826
19637
  ac_cv_func_malloc_0_nonnull=no
23851
19662
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23852
19663
  *) ac_try_echo=$ac_try;;
23853
19664
esac
23854
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19665
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19666
$as_echo "$ac_try_echo") >&5
23855
19667
  (eval "$ac_link") 2>&5
23856
19668
  ac_status=$?
23857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19669
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858
19670
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23859
19671
  { (case "(($ac_try" in
23860
19672
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23861
19673
  *) ac_try_echo=$ac_try;;
23862
19674
esac
23863
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19675
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19676
$as_echo "$ac_try_echo") >&5
23864
19677
  (eval "$ac_try") 2>&5
23865
19678
  ac_status=$?
23866
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19679
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867
19680
  (exit $ac_status); }; }; then
23868
19681
  ac_cv_func_malloc_0_nonnull=yes
23869
19682
else
23870
 
  echo "$as_me: program exited with status $ac_status" >&5
23871
 
echo "$as_me: failed program was:" >&5
 
19683
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
19684
$as_echo "$as_me: failed program was:" >&5
23872
19685
sed 's/^/| /' conftest.$ac_ext >&5
23873
19686
 
23874
19687
( exit $ac_status )
23875
19688
ac_cv_func_malloc_0_nonnull=no
23876
19689
fi
 
19690
rm -rf conftest.dSYM
23877
19691
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23878
19692
fi
23879
19693
 
23880
19694
 
23881
19695
fi
23882
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
23883
 
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
 
19696
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
 
19697
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
23884
19698
if test $ac_cv_func_malloc_0_nonnull = yes; then
23885
19699
 
23886
19700
cat >>confdefs.h <<\_ACEOF
23907
19721
 
23908
19722
 
23909
19723
 
23910
 
{ echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
23911
 
echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6; }
 
19724
{ $as_echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
 
19725
$as_echo_n "checking whether strerror_r is declared... " >&6; }
23912
19726
if test "${ac_cv_have_decl_strerror_r+set}" = set; then
23913
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19727
  $as_echo_n "(cached) " >&6
23914
19728
else
23915
19729
  cat >conftest.$ac_ext <<_ACEOF
23916
19730
/* confdefs.h.  */
23936
19750
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23937
19751
  *) ac_try_echo=$ac_try;;
23938
19752
esac
23939
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19753
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19754
$as_echo "$ac_try_echo") >&5
23940
19755
  (eval "$ac_compile") 2>conftest.er1
23941
19756
  ac_status=$?
23942
19757
  grep -v '^ *+' conftest.er1 >conftest.err
23943
19758
  rm -f conftest.er1
23944
19759
  cat conftest.err >&5
23945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19760
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23946
19761
  (exit $ac_status); } && {
23947
19762
         test -z "$ac_c_werror_flag" ||
23948
19763
         test ! -s conftest.err
23949
19764
       } && test -s conftest.$ac_objext; then
23950
19765
  ac_cv_have_decl_strerror_r=yes
23951
19766
else
23952
 
  echo "$as_me: failed program was:" >&5
 
19767
  $as_echo "$as_me: failed program was:" >&5
23953
19768
sed 's/^/| /' conftest.$ac_ext >&5
23954
19769
 
23955
19770
        ac_cv_have_decl_strerror_r=no
23957
19772
 
23958
19773
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23959
19774
fi
23960
 
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
23961
 
echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6; }
23962
 
if test $ac_cv_have_decl_strerror_r = yes; then
 
19775
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
 
19776
$as_echo "$ac_cv_have_decl_strerror_r" >&6; }
 
19777
if test "x$ac_cv_have_decl_strerror_r" = x""yes; then
23963
19778
 
23964
19779
cat >>confdefs.h <<_ACEOF
23965
19780
#define HAVE_DECL_STRERROR_R 1
23978
19793
 
23979
19794
for ac_func in strerror_r
23980
19795
do
23981
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23982
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
23983
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
19796
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
19797
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
19798
$as_echo_n "checking for $ac_func... " >&6; }
23984
19799
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23985
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19800
  $as_echo_n "(cached) " >&6
23986
19801
else
23987
19802
  cat >conftest.$ac_ext <<_ACEOF
23988
19803
/* confdefs.h.  */
24035
19850
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24036
19851
  *) ac_try_echo=$ac_try;;
24037
19852
esac
24038
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19853
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19854
$as_echo "$ac_try_echo") >&5
24039
19855
  (eval "$ac_link") 2>conftest.er1
24040
19856
  ac_status=$?
24041
19857
  grep -v '^ *+' conftest.er1 >conftest.err
24042
19858
  rm -f conftest.er1
24043
19859
  cat conftest.err >&5
24044
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19860
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045
19861
  (exit $ac_status); } && {
24046
19862
         test -z "$ac_c_werror_flag" ||
24047
19863
         test ! -s conftest.err
24048
 
       } && test -s conftest$ac_exeext &&
24049
 
       $as_test_x conftest$ac_exeext; then
 
19864
       } && test -s conftest$ac_exeext && {
 
19865
         test "$cross_compiling" = yes ||
 
19866
         $as_test_x conftest$ac_exeext
 
19867
       }; then
24050
19868
  eval "$as_ac_var=yes"
24051
19869
else
24052
 
  echo "$as_me: failed program was:" >&5
 
19870
  $as_echo "$as_me: failed program was:" >&5
24053
19871
sed 's/^/| /' conftest.$ac_ext >&5
24054
19872
 
24055
19873
        eval "$as_ac_var=no"
24056
19874
fi
24057
19875
 
 
19876
rm -rf conftest.dSYM
24058
19877
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24059
19878
      conftest$ac_exeext conftest.$ac_ext
24060
19879
fi
24061
 
ac_res=`eval echo '${'$as_ac_var'}'`
24062
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24063
 
echo "${ECHO_T}$ac_res" >&6; }
24064
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
19880
ac_res=`eval 'as_val=${'$as_ac_var'}
 
19881
                 $as_echo "$as_val"'`
 
19882
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
19883
$as_echo "$ac_res" >&6; }
 
19884
as_val=`eval 'as_val=${'$as_ac_var'}
 
19885
                 $as_echo "$as_val"'`
 
19886
   if test "x$as_val" = x""yes; then
24065
19887
  cat >>confdefs.h <<_ACEOF
24066
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
19888
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24067
19889
_ACEOF
24068
19890
 
24069
19891
fi
24070
19892
done
24071
19893
 
24072
 
{ echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
24073
 
echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6; }
 
19894
{ $as_echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
 
19895
$as_echo_n "checking whether strerror_r returns char *... " >&6; }
24074
19896
if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
24075
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19897
  $as_echo_n "(cached) " >&6
24076
19898
else
24077
19899
 
24078
19900
    ac_cv_func_strerror_r_char_p=no
24103
19925
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24104
19926
  *) ac_try_echo=$ac_try;;
24105
19927
esac
24106
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19928
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19929
$as_echo "$ac_try_echo") >&5
24107
19930
  (eval "$ac_compile") 2>conftest.er1
24108
19931
  ac_status=$?
24109
19932
  grep -v '^ *+' conftest.er1 >conftest.err
24110
19933
  rm -f conftest.er1
24111
19934
  cat conftest.err >&5
24112
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19935
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113
19936
  (exit $ac_status); } && {
24114
19937
         test -z "$ac_c_werror_flag" ||
24115
19938
         test ! -s conftest.err
24116
19939
       } && test -s conftest.$ac_objext; then
24117
19940
  ac_cv_func_strerror_r_char_p=yes
24118
19941
else
24119
 
  echo "$as_me: failed program was:" >&5
 
19942
  $as_echo "$as_me: failed program was:" >&5
24120
19943
sed 's/^/| /' conftest.$ac_ext >&5
24121
19944
 
24122
19945
 
24157
19980
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24158
19981
  *) ac_try_echo=$ac_try;;
24159
19982
esac
24160
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19983
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19984
$as_echo "$ac_try_echo") >&5
24161
19985
  (eval "$ac_link") 2>&5
24162
19986
  ac_status=$?
24163
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19987
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24164
19988
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24165
19989
  { (case "(($ac_try" in
24166
19990
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24167
19991
  *) ac_try_echo=$ac_try;;
24168
19992
esac
24169
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19993
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19994
$as_echo "$ac_try_echo") >&5
24170
19995
  (eval "$ac_try") 2>&5
24171
19996
  ac_status=$?
24172
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19997
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173
19998
  (exit $ac_status); }; }; then
24174
19999
  ac_cv_func_strerror_r_char_p=yes
24175
20000
else
24176
 
  echo "$as_me: program exited with status $ac_status" >&5
24177
 
echo "$as_me: failed program was:" >&5
 
20001
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
20002
$as_echo "$as_me: failed program was:" >&5
24178
20003
sed 's/^/| /' conftest.$ac_ext >&5
24179
20004
 
24180
20005
fi
 
20006
rm -rf conftest.dSYM
24181
20007
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24182
20008
fi
24183
20009
 
24185
20011
    fi
24186
20012
 
24187
20013
fi
24188
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
24189
 
echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6; }
 
20014
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
 
20015
$as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
24190
20016
if test $ac_cv_func_strerror_r_char_p = yes; then
24191
20017
 
24192
20018
cat >>confdefs.h <<\_ACEOF
24223
20049
   sysctlbyname \
24224
20050
 
24225
20051
do
24226
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24227
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
24228
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
20052
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
20053
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
20054
$as_echo_n "checking for $ac_func... " >&6; }
24229
20055
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24230
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20056
  $as_echo_n "(cached) " >&6
24231
20057
else
24232
20058
  cat >conftest.$ac_ext <<_ACEOF
24233
20059
/* confdefs.h.  */
24280
20106
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24281
20107
  *) ac_try_echo=$ac_try;;
24282
20108
esac
24283
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20109
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20110
$as_echo "$ac_try_echo") >&5
24284
20111
  (eval "$ac_link") 2>conftest.er1
24285
20112
  ac_status=$?
24286
20113
  grep -v '^ *+' conftest.er1 >conftest.err
24287
20114
  rm -f conftest.er1
24288
20115
  cat conftest.err >&5
24289
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20116
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290
20117
  (exit $ac_status); } && {
24291
20118
         test -z "$ac_c_werror_flag" ||
24292
20119
         test ! -s conftest.err
24293
 
       } && test -s conftest$ac_exeext &&
24294
 
       $as_test_x conftest$ac_exeext; then
 
20120
       } && test -s conftest$ac_exeext && {
 
20121
         test "$cross_compiling" = yes ||
 
20122
         $as_test_x conftest$ac_exeext
 
20123
       }; then
24295
20124
  eval "$as_ac_var=yes"
24296
20125
else
24297
 
  echo "$as_me: failed program was:" >&5
 
20126
  $as_echo "$as_me: failed program was:" >&5
24298
20127
sed 's/^/| /' conftest.$ac_ext >&5
24299
20128
 
24300
20129
        eval "$as_ac_var=no"
24301
20130
fi
24302
20131
 
 
20132
rm -rf conftest.dSYM
24303
20133
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24304
20134
      conftest$ac_exeext conftest.$ac_ext
24305
20135
fi
24306
 
ac_res=`eval echo '${'$as_ac_var'}'`
24307
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24308
 
echo "${ECHO_T}$ac_res" >&6; }
24309
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
20136
ac_res=`eval 'as_val=${'$as_ac_var'}
 
20137
                 $as_echo "$as_val"'`
 
20138
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20139
$as_echo "$ac_res" >&6; }
 
20140
as_val=`eval 'as_val=${'$as_ac_var'}
 
20141
                 $as_echo "$as_val"'`
 
20142
   if test "x$as_val" = x""yes; then
24310
20143
  cat >>confdefs.h <<_ACEOF
24311
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
20144
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24312
20145
_ACEOF
24313
20146
 
24314
20147
fi
24315
20148
done
24316
20149
 
24317
20150
 
24318
 
{ echo "$as_me:$LINENO: checking whether hstrerror is declared" >&5
24319
 
echo $ECHO_N "checking whether hstrerror is declared... $ECHO_C" >&6; }
 
20151
{ $as_echo "$as_me:$LINENO: checking whether hstrerror is declared" >&5
 
20152
$as_echo_n "checking whether hstrerror is declared... " >&6; }
24320
20153
if test "${ac_cv_have_decl_hstrerror+set}" = set; then
24321
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20154
  $as_echo_n "(cached) " >&6
24322
20155
else
24323
20156
  cat >conftest.$ac_ext <<_ACEOF
24324
20157
/* confdefs.h.  */
24344
20177
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24345
20178
  *) ac_try_echo=$ac_try;;
24346
20179
esac
24347
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20180
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20181
$as_echo "$ac_try_echo") >&5
24348
20182
  (eval "$ac_compile") 2>conftest.er1
24349
20183
  ac_status=$?
24350
20184
  grep -v '^ *+' conftest.er1 >conftest.err
24351
20185
  rm -f conftest.er1
24352
20186
  cat conftest.err >&5
24353
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20187
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24354
20188
  (exit $ac_status); } && {
24355
20189
         test -z "$ac_c_werror_flag" ||
24356
20190
         test ! -s conftest.err
24357
20191
       } && test -s conftest.$ac_objext; then
24358
20192
  ac_cv_have_decl_hstrerror=yes
24359
20193
else
24360
 
  echo "$as_me: failed program was:" >&5
 
20194
  $as_echo "$as_me: failed program was:" >&5
24361
20195
sed 's/^/| /' conftest.$ac_ext >&5
24362
20196
 
24363
20197
        ac_cv_have_decl_hstrerror=no
24365
20199
 
24366
20200
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24367
20201
fi
24368
 
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_hstrerror" >&5
24369
 
echo "${ECHO_T}$ac_cv_have_decl_hstrerror" >&6; }
24370
 
if test $ac_cv_have_decl_hstrerror = yes; then
 
20202
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_hstrerror" >&5
 
20203
$as_echo "$ac_cv_have_decl_hstrerror" >&6; }
 
20204
if test "x$ac_cv_have_decl_hstrerror" = x""yes; then
24371
20205
 
24372
20206
cat >>confdefs.h <<_ACEOF
24373
20207
#define HAVE_DECL_HSTRERROR 1
24381
20215
 
24382
20216
 
24383
20217
fi
24384
 
{ echo "$as_me:$LINENO: checking whether strsignal is declared" >&5
24385
 
echo $ECHO_N "checking whether strsignal is declared... $ECHO_C" >&6; }
 
20218
{ $as_echo "$as_me:$LINENO: checking whether strsignal is declared" >&5
 
20219
$as_echo_n "checking whether strsignal is declared... " >&6; }
24386
20220
if test "${ac_cv_have_decl_strsignal+set}" = set; then
24387
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20221
  $as_echo_n "(cached) " >&6
24388
20222
else
24389
20223
  cat >conftest.$ac_ext <<_ACEOF
24390
20224
/* confdefs.h.  */
24410
20244
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24411
20245
  *) ac_try_echo=$ac_try;;
24412
20246
esac
24413
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20247
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20248
$as_echo "$ac_try_echo") >&5
24414
20249
  (eval "$ac_compile") 2>conftest.er1
24415
20250
  ac_status=$?
24416
20251
  grep -v '^ *+' conftest.er1 >conftest.err
24417
20252
  rm -f conftest.er1
24418
20253
  cat conftest.err >&5
24419
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20254
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24420
20255
  (exit $ac_status); } && {
24421
20256
         test -z "$ac_c_werror_flag" ||
24422
20257
         test ! -s conftest.err
24423
20258
       } && test -s conftest.$ac_objext; then
24424
20259
  ac_cv_have_decl_strsignal=yes
24425
20260
else
24426
 
  echo "$as_me: failed program was:" >&5
 
20261
  $as_echo "$as_me: failed program was:" >&5
24427
20262
sed 's/^/| /' conftest.$ac_ext >&5
24428
20263
 
24429
20264
        ac_cv_have_decl_strsignal=no
24431
20266
 
24432
20267
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24433
20268
fi
24434
 
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsignal" >&5
24435
 
echo "${ECHO_T}$ac_cv_have_decl_strsignal" >&6; }
24436
 
if test $ac_cv_have_decl_strsignal = yes; then
 
20269
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsignal" >&5
 
20270
$as_echo "$ac_cv_have_decl_strsignal" >&6; }
 
20271
if test "x$ac_cv_have_decl_strsignal" = x""yes; then
24437
20272
 
24438
20273
cat >>confdefs.h <<_ACEOF
24439
20274
#define HAVE_DECL_STRSIGNAL 1
24447
20282
 
24448
20283
 
24449
20284
fi
24450
 
{ echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
24451
 
echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6; }
 
20285
{ $as_echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
 
20286
$as_echo_n "checking whether sys_siglist is declared... " >&6; }
24452
20287
if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
24453
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20288
  $as_echo_n "(cached) " >&6
24454
20289
else
24455
20290
  cat >conftest.$ac_ext <<_ACEOF
24456
20291
/* confdefs.h.  */
24476
20311
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24477
20312
  *) ac_try_echo=$ac_try;;
24478
20313
esac
24479
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20314
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20315
$as_echo "$ac_try_echo") >&5
24480
20316
  (eval "$ac_compile") 2>conftest.er1
24481
20317
  ac_status=$?
24482
20318
  grep -v '^ *+' conftest.er1 >conftest.err
24483
20319
  rm -f conftest.er1
24484
20320
  cat conftest.err >&5
24485
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20321
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24486
20322
  (exit $ac_status); } && {
24487
20323
         test -z "$ac_c_werror_flag" ||
24488
20324
         test ! -s conftest.err
24489
20325
       } && test -s conftest.$ac_objext; then
24490
20326
  ac_cv_have_decl_sys_siglist=yes
24491
20327
else
24492
 
  echo "$as_me: failed program was:" >&5
 
20328
  $as_echo "$as_me: failed program was:" >&5
24493
20329
sed 's/^/| /' conftest.$ac_ext >&5
24494
20330
 
24495
20331
        ac_cv_have_decl_sys_siglist=no
24497
20333
 
24498
20334
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24499
20335
fi
24500
 
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
24501
 
echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6; }
24502
 
if test $ac_cv_have_decl_sys_siglist = yes; then
 
20336
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
 
20337
$as_echo "$ac_cv_have_decl_sys_siglist" >&6; }
 
20338
if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then
24503
20339
 
24504
20340
cat >>confdefs.h <<_ACEOF
24505
20341
#define HAVE_DECL_SYS_SIGLIST 1
24519
20355
 
24520
20356
for ac_func in unsetenv
24521
20357
do
24522
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24523
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
24524
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
20358
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
20359
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
20360
$as_echo_n "checking for $ac_func... " >&6; }
24525
20361
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24526
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20362
  $as_echo_n "(cached) " >&6
24527
20363
else
24528
20364
  cat >conftest.$ac_ext <<_ACEOF
24529
20365
/* confdefs.h.  */
24576
20412
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24577
20413
  *) ac_try_echo=$ac_try;;
24578
20414
esac
24579
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20415
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20416
$as_echo "$ac_try_echo") >&5
24580
20417
  (eval "$ac_link") 2>conftest.er1
24581
20418
  ac_status=$?
24582
20419
  grep -v '^ *+' conftest.er1 >conftest.err
24583
20420
  rm -f conftest.er1
24584
20421
  cat conftest.err >&5
24585
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20422
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24586
20423
  (exit $ac_status); } && {
24587
20424
         test -z "$ac_c_werror_flag" ||
24588
20425
         test ! -s conftest.err
24589
 
       } && test -s conftest$ac_exeext &&
24590
 
       $as_test_x conftest$ac_exeext; then
 
20426
       } && test -s conftest$ac_exeext && {
 
20427
         test "$cross_compiling" = yes ||
 
20428
         $as_test_x conftest$ac_exeext
 
20429
       }; then
24591
20430
  eval "$as_ac_var=yes"
24592
20431
else
24593
 
  echo "$as_me: failed program was:" >&5
 
20432
  $as_echo "$as_me: failed program was:" >&5
24594
20433
sed 's/^/| /' conftest.$ac_ext >&5
24595
20434
 
24596
20435
        eval "$as_ac_var=no"
24597
20436
fi
24598
20437
 
 
20438
rm -rf conftest.dSYM
24599
20439
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24600
20440
      conftest$ac_exeext conftest.$ac_ext
24601
20441
fi
24602
 
ac_res=`eval echo '${'$as_ac_var'}'`
24603
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24604
 
echo "${ECHO_T}$ac_res" >&6; }
24605
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
20442
ac_res=`eval 'as_val=${'$as_ac_var'}
 
20443
                 $as_echo "$as_val"'`
 
20444
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20445
$as_echo "$ac_res" >&6; }
 
20446
as_val=`eval 'as_val=${'$as_ac_var'}
 
20447
                 $as_echo "$as_val"'`
 
20448
   if test "x$as_val" = x""yes; then
24606
20449
  cat >>confdefs.h <<_ACEOF
24607
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
20450
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24608
20451
_ACEOF
24609
20452
 have_unsetenv=yes
24610
20453
fi
24642
20485
        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
24643
20486
        save_LIBS="$LIBS"
24644
20487
        LIBS="$PTHREAD_LIBS $LIBS"
24645
 
        { echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
24646
 
echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6; }
 
20488
        { $as_echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
 
20489
$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
24647
20490
        cat >conftest.$ac_ext <<_ACEOF
24648
20491
/* confdefs.h.  */
24649
20492
_ACEOF
24672
20515
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24673
20516
  *) ac_try_echo=$ac_try;;
24674
20517
esac
24675
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20518
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20519
$as_echo "$ac_try_echo") >&5
24676
20520
  (eval "$ac_link") 2>conftest.er1
24677
20521
  ac_status=$?
24678
20522
  grep -v '^ *+' conftest.er1 >conftest.err
24679
20523
  rm -f conftest.er1
24680
20524
  cat conftest.err >&5
24681
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20525
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24682
20526
  (exit $ac_status); } && {
24683
20527
         test -z "$ac_c_werror_flag" ||
24684
20528
         test ! -s conftest.err
24685
 
       } && test -s conftest$ac_exeext &&
24686
 
       $as_test_x conftest$ac_exeext; then
 
20529
       } && test -s conftest$ac_exeext && {
 
20530
         test "$cross_compiling" = yes ||
 
20531
         $as_test_x conftest$ac_exeext
 
20532
       }; then
24687
20533
  acx_pthread_ok=yes
24688
20534
else
24689
 
  echo "$as_me: failed program was:" >&5
 
20535
  $as_echo "$as_me: failed program was:" >&5
24690
20536
sed 's/^/| /' conftest.$ac_ext >&5
24691
20537
 
24692
20538
 
24693
20539
fi
24694
20540
 
 
20541
rm -rf conftest.dSYM
24695
20542
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24696
20543
      conftest$ac_exeext conftest.$ac_ext
24697
 
        { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
24698
 
echo "${ECHO_T}$acx_pthread_ok" >&6; }
 
20544
        { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
 
20545
$as_echo "$acx_pthread_ok" >&6; }
24699
20546
        if test x"$acx_pthread_ok" = xno; then
24700
20547
                PTHREAD_LIBS=""
24701
20548
                PTHREAD_CFLAGS=""
24753
20600
 
24754
20601
        case $flag in
24755
20602
                none)
24756
 
                { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
24757
 
echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
 
20603
                { $as_echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
 
20604
$as_echo_n "checking whether pthreads work without any flags... " >&6; }
24758
20605
                ;;
24759
20606
 
24760
20607
                -*)
24761
 
                { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
24762
 
echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
 
20608
                { $as_echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
 
20609
$as_echo_n "checking whether pthreads work with $flag... " >&6; }
24763
20610
                PTHREAD_CFLAGS="$flag"
24764
20611
                ;;
24765
20612
 
24766
20613
                *)
24767
 
                { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
24768
 
echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
 
20614
                { $as_echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
 
20615
$as_echo_n "checking for the pthreads library -l$flag... " >&6; }
24769
20616
                PTHREAD_LIBS="-l$flag"
24770
20617
                ;;
24771
20618
        esac
24807
20654
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24808
20655
  *) ac_try_echo=$ac_try;;
24809
20656
esac
24810
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20657
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20658
$as_echo "$ac_try_echo") >&5
24811
20659
  (eval "$ac_link") 2>conftest.er1
24812
20660
  ac_status=$?
24813
20661
  grep -v '^ *+' conftest.er1 >conftest.err
24814
20662
  rm -f conftest.er1
24815
20663
  cat conftest.err >&5
24816
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20664
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24817
20665
  (exit $ac_status); } && {
24818
20666
         test -z "$ac_c_werror_flag" ||
24819
20667
         test ! -s conftest.err
24820
 
       } && test -s conftest$ac_exeext &&
24821
 
       $as_test_x conftest$ac_exeext; then
 
20668
       } && test -s conftest$ac_exeext && {
 
20669
         test "$cross_compiling" = yes ||
 
20670
         $as_test_x conftest$ac_exeext
 
20671
       }; then
24822
20672
  acx_pthread_ok=yes
24823
20673
else
24824
 
  echo "$as_me: failed program was:" >&5
 
20674
  $as_echo "$as_me: failed program was:" >&5
24825
20675
sed 's/^/| /' conftest.$ac_ext >&5
24826
20676
 
24827
20677
 
24828
20678
fi
24829
20679
 
 
20680
rm -rf conftest.dSYM
24830
20681
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24831
20682
      conftest$ac_exeext conftest.$ac_ext
24832
20683
 
24833
20684
        LIBS="$save_LIBS"
24834
20685
        CFLAGS="$save_CFLAGS"
24835
20686
 
24836
 
        { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
24837
 
echo "${ECHO_T}$acx_pthread_ok" >&6; }
 
20687
        { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
 
20688
$as_echo "$acx_pthread_ok" >&6; }
24838
20689
        if test "x$acx_pthread_ok" = xyes; then
24839
20690
                break;
24840
20691
        fi
24853
20704
 
24854
20705
        # Detect AIX lossage: threads are created detached by default
24855
20706
        # and the JOINABLE attribute has a nonstandard name (UNDETACHED).
24856
 
        { echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
24857
 
echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6; }
 
20707
        { $as_echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
 
20708
$as_echo_n "checking for joinable pthread attribute... " >&6; }
24858
20709
        cat >conftest.$ac_ext <<_ACEOF
24859
20710
/* confdefs.h.  */
24860
20711
_ACEOF
24876
20727
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24877
20728
  *) ac_try_echo=$ac_try;;
24878
20729
esac
24879
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20730
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20731
$as_echo "$ac_try_echo") >&5
24880
20732
  (eval "$ac_link") 2>conftest.er1
24881
20733
  ac_status=$?
24882
20734
  grep -v '^ *+' conftest.er1 >conftest.err
24883
20735
  rm -f conftest.er1
24884
20736
  cat conftest.err >&5
24885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20737
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24886
20738
  (exit $ac_status); } && {
24887
20739
         test -z "$ac_c_werror_flag" ||
24888
20740
         test ! -s conftest.err
24889
 
       } && test -s conftest$ac_exeext &&
24890
 
       $as_test_x conftest$ac_exeext; then
 
20741
       } && test -s conftest$ac_exeext && {
 
20742
         test "$cross_compiling" = yes ||
 
20743
         $as_test_x conftest$ac_exeext
 
20744
       }; then
24891
20745
  ok=PTHREAD_CREATE_JOINABLE
24892
20746
else
24893
 
  echo "$as_me: failed program was:" >&5
 
20747
  $as_echo "$as_me: failed program was:" >&5
24894
20748
sed 's/^/| /' conftest.$ac_ext >&5
24895
20749
 
24896
20750
        ok=unknown
24897
20751
fi
24898
20752
 
 
20753
rm -rf conftest.dSYM
24899
20754
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24900
20755
      conftest$ac_exeext conftest.$ac_ext
24901
20756
        if test x"$ok" = xunknown; then
24920
20775
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24921
20776
  *) ac_try_echo=$ac_try;;
24922
20777
esac
24923
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20778
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20779
$as_echo "$ac_try_echo") >&5
24924
20780
  (eval "$ac_link") 2>conftest.er1
24925
20781
  ac_status=$?
24926
20782
  grep -v '^ *+' conftest.er1 >conftest.err
24927
20783
  rm -f conftest.er1
24928
20784
  cat conftest.err >&5
24929
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20785
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24930
20786
  (exit $ac_status); } && {
24931
20787
         test -z "$ac_c_werror_flag" ||
24932
20788
         test ! -s conftest.err
24933
 
       } && test -s conftest$ac_exeext &&
24934
 
       $as_test_x conftest$ac_exeext; then
 
20789
       } && test -s conftest$ac_exeext && {
 
20790
         test "$cross_compiling" = yes ||
 
20791
         $as_test_x conftest$ac_exeext
 
20792
       }; then
24935
20793
  ok=PTHREAD_CREATE_UNDETACHED
24936
20794
else
24937
 
  echo "$as_me: failed program was:" >&5
 
20795
  $as_echo "$as_me: failed program was:" >&5
24938
20796
sed 's/^/| /' conftest.$ac_ext >&5
24939
20797
 
24940
20798
        ok=unknown
24941
20799
fi
24942
20800
 
 
20801
rm -rf conftest.dSYM
24943
20802
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24944
20803
      conftest$ac_exeext conftest.$ac_ext
24945
20804
        fi
24950
20809
_ACEOF
24951
20810
 
24952
20811
        fi
24953
 
        { echo "$as_me:$LINENO: result: ${ok}" >&5
24954
 
echo "${ECHO_T}${ok}" >&6; }
 
20812
        { $as_echo "$as_me:$LINENO: result: ${ok}" >&5
 
20813
$as_echo "${ok}" >&6; }
24955
20814
        if test x"$ok" = xunknown; then
24956
 
                { echo "$as_me:$LINENO: WARNING: we do not know how to create joinable pthreads" >&5
24957
 
echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;}
 
20815
                { $as_echo "$as_me:$LINENO: WARNING: we do not know how to create joinable pthreads" >&5
 
20816
$as_echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;}
24958
20817
        fi
24959
20818
 
24960
 
        { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
24961
 
echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
 
20819
        { $as_echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
 
20820
$as_echo_n "checking if more special flags are required for pthreads... " >&6; }
24962
20821
        flag=no
24963
20822
        case "${host_cpu}-${host_os}" in
24964
20823
                *-aix* | *-freebsd*)     flag="-D_THREAD_SAFE";;
24965
20824
                *solaris* | alpha*-osf*) flag="-D_REENTRANT";;
24966
20825
        esac
24967
 
        { echo "$as_me:$LINENO: result: ${flag}" >&5
24968
 
echo "${ECHO_T}${flag}" >&6; }
 
20826
        { $as_echo "$as_me:$LINENO: result: ${flag}" >&5
 
20827
$as_echo "${flag}" >&6; }
24969
20828
        if test "x$flag" != xno; then
24970
20829
                PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
24971
20830
        fi
24976
20835
        # More AIX lossage: must compile with cc_r
24977
20836
        # Extract the first word of "cc_r", so it can be a program name with args.
24978
20837
set dummy cc_r; ac_word=$2
24979
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24980
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20838
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20839
$as_echo_n "checking for $ac_word... " >&6; }
24981
20840
if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
24982
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20841
  $as_echo_n "(cached) " >&6
24983
20842
else
24984
20843
  if test -n "$PTHREAD_CC"; then
24985
20844
  ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
24992
20851
  for ac_exec_ext in '' $ac_executable_extensions; do
24993
20852
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24994
20853
    ac_cv_prog_PTHREAD_CC="cc_r"
24995
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20854
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24996
20855
    break 2
24997
20856
  fi
24998
20857
done
25004
20863
fi
25005
20864
PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
25006
20865
if test -n "$PTHREAD_CC"; then
25007
 
  { echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
25008
 
echo "${ECHO_T}$PTHREAD_CC" >&6; }
 
20866
  { $as_echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
 
20867
$as_echo "$PTHREAD_CC" >&6; }
25009
20868
else
25010
 
  { echo "$as_me:$LINENO: result: no" >&5
25011
 
echo "${ECHO_T}no" >&6; }
 
20869
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
20870
$as_echo "no" >&6; }
25012
20871
fi
25013
20872
 
25014
20873
 
25030
20889
        :
25031
20890
else
25032
20891
        acx_pthread_ok=no
25033
 
        { { echo "$as_me:$LINENO: error: Error: Cannot figure out how to use pthreads!" >&5
25034
 
echo "$as_me: error: Error: Cannot figure out how to use pthreads!" >&2;}
 
20892
        { { $as_echo "$as_me:$LINENO: error: Error: Cannot figure out how to use pthreads!" >&5
 
20893
$as_echo "$as_me: error: Error: Cannot figure out how to use pthreads!" >&2;}
25035
20894
   { (exit 1); exit 1; }; }
25036
20895
fi
25037
20896
ac_ext=c
25053
20912
LIBS="$PTHREAD_LIBS $LIBS"
25054
20913
 
25055
20914
 
25056
 
  { echo "$as_me:$LINENO: checking for Sun Constellation system" >&5
25057
 
echo $ECHO_N "checking for Sun Constellation system... $ECHO_C" >&6; }
 
20915
  { $as_echo "$as_me:$LINENO: checking for Cray XT" >&5
 
20916
$as_echo_n "checking for Cray XT... " >&6; }
 
20917
  # Check whether --enable-cray-xt was given.
 
20918
if test "${enable_cray_xt+set}" = set; then
 
20919
  enableval=$enable_cray_xt;  case "$enableval" in
 
20920
        yes) x_ac_cray_xt=yes ;;
 
20921
         no) x_ac_cray_xt=no ;;
 
20922
          *) { $as_echo "$as_me:$LINENO: result: doh!" >&5
 
20923
$as_echo "doh!" >&6; }
 
20924
             { { $as_echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-cray-xt" >&5
 
20925
$as_echo "$as_me: error: bad value \"$enableval\" for --enable-cray-xt" >&2;}
 
20926
   { (exit 1); exit 1; }; } ;;
 
20927
      esac
 
20928
 
 
20929
else
 
20930
  x_ac_cray_xt=no
 
20931
 
 
20932
fi
 
20933
 
 
20934
 
 
20935
  if test "$x_ac_cray_xt" = yes; then
 
20936
    { $as_echo "$as_me:$LINENO: result: yes" >&5
 
20937
$as_echo "yes" >&6; }
 
20938
 
 
20939
cat >>confdefs.h <<\_ACEOF
 
20940
#define HAVE_3D 1
 
20941
_ACEOF
 
20942
 
 
20943
 
 
20944
cat >>confdefs.h <<\_ACEOF
 
20945
#define HAVE_CRAY 1
 
20946
_ACEOF
 
20947
 
 
20948
 
 
20949
cat >>confdefs.h <<\_ACEOF
 
20950
#define HAVE_CRAY_XT 1
 
20951
_ACEOF
 
20952
 
 
20953
 
 
20954
cat >>confdefs.h <<\_ACEOF
 
20955
#define HAVE_FRONT_END 1
 
20956
_ACEOF
 
20957
 
 
20958
  else
 
20959
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
20960
$as_echo "no" >&6; }
 
20961
  fi
 
20962
 
 
20963
 
 
20964
# Check whether --with-apbasil was given.
 
20965
if test "${with_apbasil+set}" = set; then
 
20966
  withval=$with_apbasil;  try_apbasil=$withval
 
20967
fi
 
20968
 
 
20969
  apbasil_default_locs="/usr/apbasil"
 
20970
  for apbasil_loc in $try_apbasil "" $apbasil_default_locs; do
 
20971
    if test -z "$have_apbasil" -a -x "$apbasil_loc" ; then
 
20972
      have_apbasil=$apbasil_loc
 
20973
    fi
 
20974
  done
 
20975
  if test ! -z "$have_apbasil" ; then
 
20976
 
 
20977
cat >>confdefs.h <<_ACEOF
 
20978
#define APBASIL_LOC "$have_apbasil"
 
20979
_ACEOF
 
20980
 
 
20981
  fi
 
20982
 
 
20983
 
 
20984
  { $as_echo "$as_me:$LINENO: checking for Sun Constellation system" >&5
 
20985
$as_echo_n "checking for Sun Constellation system... " >&6; }
25058
20986
  # Check whether --enable-sun-const was given.
25059
20987
if test "${enable_sun_const+set}" = set; then
25060
20988
  enableval=$enable_sun_const;  case "$enableval" in
25061
20989
        yes) x_ac_sun_const=yes ;;
25062
20990
         no) x_ac_sun_const=no ;;
25063
 
          *) { echo "$as_me:$LINENO: result: doh!" >&5
25064
 
echo "${ECHO_T}doh!" >&6; }
25065
 
             { { echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-sun-const" >&5
25066
 
echo "$as_me: error: bad value \"$enableval\" for --enable-sun-const" >&2;}
 
20991
          *) { $as_echo "$as_me:$LINENO: result: doh!" >&5
 
20992
$as_echo "doh!" >&6; }
 
20993
             { { $as_echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-sun-const" >&5
 
20994
$as_echo "$as_me: error: bad value \"$enableval\" for --enable-sun-const" >&2;}
25067
20995
   { (exit 1); exit 1; }; } ;;
25068
20996
      esac
25069
20997
 
25074
21002
 
25075
21003
 
25076
21004
  if test "$x_ac_sun_const" = yes; then
25077
 
    { echo "$as_me:$LINENO: result: yes" >&5
25078
 
echo "${ECHO_T}yes" >&6; }
 
21005
    { $as_echo "$as_me:$LINENO: result: yes" >&5
 
21006
$as_echo "yes" >&6; }
25079
21007
 
25080
21008
cat >>confdefs.h <<\_ACEOF
25081
21009
#define HAVE_3D 1
25087
21015
_ACEOF
25088
21016
 
25089
21017
  else
25090
 
    { echo "$as_me:$LINENO: result: no" >&5
25091
 
echo "${ECHO_T}no" >&6; }
 
21018
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
21019
$as_echo "no" >&6; }
25092
21020
  fi
25093
21021
 
25094
21022
 
25102
21030
        fi
25103
21031
 
25104
21032
 
25105
 
   { echo "$as_me:$LINENO: checking whether XCPU is enabled" >&5
25106
 
echo $ECHO_N "checking whether XCPU is enabled... $ECHO_C" >&6; }
 
21033
   { $as_echo "$as_me:$LINENO: checking whether XCPU is enabled" >&5
 
21034
$as_echo_n "checking whether XCPU is enabled... " >&6; }
25107
21035
 
25108
21036
   xcpu_default_dirs="/mnt"
25109
21037
 
25138
21066
      fi
25139
21067
   done
25140
21068
 
25141
 
   { echo "$as_me:$LINENO: result: $ac_xcpu" >&5
25142
 
echo "${ECHO_T}$ac_xcpu" >&6; }
 
21069
   { $as_echo "$as_me:$LINENO: result: $ac_xcpu" >&5
 
21070
$as_echo "$ac_xcpu" >&6; }
25143
21071
 
25144
21072
 
25145
21073
  SEMAPHORE_SOURCES=""
25146
21074
  SEMAPHORE_LIBS=""
25147
 
  { echo "$as_me:$LINENO: checking for sem_open in -lposix4" >&5
25148
 
echo $ECHO_N "checking for sem_open in -lposix4... $ECHO_C" >&6; }
 
21075
  { $as_echo "$as_me:$LINENO: checking for sem_open in -lposix4" >&5
 
21076
$as_echo_n "checking for sem_open in -lposix4... " >&6; }
25149
21077
if test "${ac_cv_lib_posix4_sem_open+set}" = set; then
25150
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21078
  $as_echo_n "(cached) " >&6
25151
21079
else
25152
21080
  ac_check_lib_save_LIBS=$LIBS
25153
21081
LIBS="-lposix4  $LIBS"
25179
21107
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25180
21108
  *) ac_try_echo=$ac_try;;
25181
21109
esac
25182
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21110
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21111
$as_echo "$ac_try_echo") >&5
25183
21112
  (eval "$ac_link") 2>conftest.er1
25184
21113
  ac_status=$?
25185
21114
  grep -v '^ *+' conftest.er1 >conftest.err
25186
21115
  rm -f conftest.er1
25187
21116
  cat conftest.err >&5
25188
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21117
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189
21118
  (exit $ac_status); } && {
25190
21119
         test -z "$ac_c_werror_flag" ||
25191
21120
         test ! -s conftest.err
25192
 
       } && test -s conftest$ac_exeext &&
25193
 
       $as_test_x conftest$ac_exeext; then
 
21121
       } && test -s conftest$ac_exeext && {
 
21122
         test "$cross_compiling" = yes ||
 
21123
         $as_test_x conftest$ac_exeext
 
21124
       }; then
25194
21125
  ac_cv_lib_posix4_sem_open=yes
25195
21126
else
25196
 
  echo "$as_me: failed program was:" >&5
 
21127
  $as_echo "$as_me: failed program was:" >&5
25197
21128
sed 's/^/| /' conftest.$ac_ext >&5
25198
21129
 
25199
21130
        ac_cv_lib_posix4_sem_open=no
25200
21131
fi
25201
21132
 
 
21133
rm -rf conftest.dSYM
25202
21134
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25203
21135
      conftest$ac_exeext conftest.$ac_ext
25204
21136
LIBS=$ac_check_lib_save_LIBS
25205
21137
fi
25206
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sem_open" >&5
25207
 
echo "${ECHO_T}$ac_cv_lib_posix4_sem_open" >&6; }
25208
 
if test $ac_cv_lib_posix4_sem_open = yes; then
 
21138
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sem_open" >&5
 
21139
$as_echo "$ac_cv_lib_posix4_sem_open" >&6; }
 
21140
if test "x$ac_cv_lib_posix4_sem_open" = x""yes; then
25209
21141
  SEMAPHORE_LIBS="-lposix4";
25210
21142
 
25211
21143
cat >>confdefs.h <<\_ACEOF
25222
21154
 
25223
21155
 
25224
21156
 
25225
 
   { echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
25226
 
echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; }
 
21157
   { $as_echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
 
21158
$as_echo_n "checking for initscr in -lncurses... " >&6; }
25227
21159
if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
25228
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21160
  $as_echo_n "(cached) " >&6
25229
21161
else
25230
21162
  ac_check_lib_save_LIBS=$LIBS
25231
21163
LIBS="-lncurses  $LIBS"
25257
21189
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25258
21190
  *) ac_try_echo=$ac_try;;
25259
21191
esac
25260
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21192
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21193
$as_echo "$ac_try_echo") >&5
25261
21194
  (eval "$ac_link") 2>conftest.er1
25262
21195
  ac_status=$?
25263
21196
  grep -v '^ *+' conftest.er1 >conftest.err
25264
21197
  rm -f conftest.er1
25265
21198
  cat conftest.err >&5
25266
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21199
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25267
21200
  (exit $ac_status); } && {
25268
21201
         test -z "$ac_c_werror_flag" ||
25269
21202
         test ! -s conftest.err
25270
 
       } && test -s conftest$ac_exeext &&
25271
 
       $as_test_x conftest$ac_exeext; then
 
21203
       } && test -s conftest$ac_exeext && {
 
21204
         test "$cross_compiling" = yes ||
 
21205
         $as_test_x conftest$ac_exeext
 
21206
       }; then
25272
21207
  ac_cv_lib_ncurses_initscr=yes
25273
21208
else
25274
 
  echo "$as_me: failed program was:" >&5
 
21209
  $as_echo "$as_me: failed program was:" >&5
25275
21210
sed 's/^/| /' conftest.$ac_ext >&5
25276
21211
 
25277
21212
        ac_cv_lib_ncurses_initscr=no
25278
21213
fi
25279
21214
 
 
21215
rm -rf conftest.dSYM
25280
21216
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25281
21217
      conftest$ac_exeext conftest.$ac_ext
25282
21218
LIBS=$ac_check_lib_save_LIBS
25283
21219
fi
25284
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
25285
 
echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; }
25286
 
if test $ac_cv_lib_ncurses_initscr = yes; then
 
21220
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
 
21221
$as_echo "$ac_cv_lib_ncurses_initscr" >&6; }
 
21222
if test "x$ac_cv_lib_ncurses_initscr" = x""yes; then
25287
21223
  ac_have_ncurses=yes
25288
21224
fi
25289
21225
 
25290
 
   { echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
25291
 
echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; }
 
21226
   { $as_echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
 
21227
$as_echo_n "checking for initscr in -lcurses... " >&6; }
25292
21228
if test "${ac_cv_lib_curses_initscr+set}" = set; then
25293
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21229
  $as_echo_n "(cached) " >&6
25294
21230
else
25295
21231
  ac_check_lib_save_LIBS=$LIBS
25296
21232
LIBS="-lcurses  $LIBS"
25322
21258
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25323
21259
  *) ac_try_echo=$ac_try;;
25324
21260
esac
25325
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21261
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21262
$as_echo "$ac_try_echo") >&5
25326
21263
  (eval "$ac_link") 2>conftest.er1
25327
21264
  ac_status=$?
25328
21265
  grep -v '^ *+' conftest.er1 >conftest.err
25329
21266
  rm -f conftest.er1
25330
21267
  cat conftest.err >&5
25331
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21268
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332
21269
  (exit $ac_status); } && {
25333
21270
         test -z "$ac_c_werror_flag" ||
25334
21271
         test ! -s conftest.err
25335
 
       } && test -s conftest$ac_exeext &&
25336
 
       $as_test_x conftest$ac_exeext; then
 
21272
       } && test -s conftest$ac_exeext && {
 
21273
         test "$cross_compiling" = yes ||
 
21274
         $as_test_x conftest$ac_exeext
 
21275
       }; then
25337
21276
  ac_cv_lib_curses_initscr=yes
25338
21277
else
25339
 
  echo "$as_me: failed program was:" >&5
 
21278
  $as_echo "$as_me: failed program was:" >&5
25340
21279
sed 's/^/| /' conftest.$ac_ext >&5
25341
21280
 
25342
21281
        ac_cv_lib_curses_initscr=no
25343
21282
fi
25344
21283
 
 
21284
rm -rf conftest.dSYM
25345
21285
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25346
21286
      conftest$ac_exeext conftest.$ac_ext
25347
21287
LIBS=$ac_check_lib_save_LIBS
25348
21288
fi
25349
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
25350
 
echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; }
25351
 
if test $ac_cv_lib_curses_initscr = yes; then
 
21289
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
 
21290
$as_echo "$ac_cv_lib_curses_initscr" >&6; }
 
21291
if test "x$ac_cv_lib_curses_initscr" = x""yes; then
25352
21292
  ac_have_curses=yes
25353
21293
fi
25354
21294
 
25388
21328
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25389
21329
  *) ac_try_echo=$ac_try;;
25390
21330
esac
25391
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21331
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21332
$as_echo "$ac_try_echo") >&5
25392
21333
  (eval "$ac_link") 2>conftest.er1
25393
21334
  ac_status=$?
25394
21335
  grep -v '^ *+' conftest.er1 >conftest.err
25395
21336
  rm -f conftest.er1
25396
21337
  cat conftest.err >&5
25397
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21338
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25398
21339
  (exit $ac_status); } && {
25399
21340
         test -z "$ac_c_werror_flag" ||
25400
21341
         test ! -s conftest.err
25401
 
       } && test -s conftest$ac_exeext &&
25402
 
       $as_test_x conftest$ac_exeext; then
 
21342
       } && test -s conftest$ac_exeext && {
 
21343
         test "$cross_compiling" = yes ||
 
21344
         $as_test_x conftest$ac_exeext
 
21345
       }; then
25403
21346
  :
25404
21347
else
25405
 
  echo "$as_me: failed program was:" >&5
 
21348
  $as_echo "$as_me: failed program was:" >&5
25406
21349
sed 's/^/| /' conftest.$ac_ext >&5
25407
21350
 
25408
21351
        ac_have_some_curses="no"
25409
21352
fi
25410
21353
 
 
21354
rm -rf conftest.dSYM
25411
21355
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25412
21356
      conftest$ac_exeext conftest.$ac_ext
25413
21357
        LIBS="$save_LIBS"
25414
21358
        if test "$ac_have_some_curses" == "yes"; then
25415
 
            { echo "$as_me:$LINENO: result: NCURSES test program built properly." >&5
25416
 
echo "${ECHO_T}NCURSES test program built properly." >&6; }
 
21359
            { $as_echo "$as_me:$LINENO: result: NCURSES test program built properly." >&5
 
21360
$as_echo "NCURSES test program built properly." >&6; }
25417
21361
        else
25418
 
            { echo "$as_me:$LINENO: WARNING: *** NCURSES test program execution failed." >&5
25419
 
echo "$as_me: WARNING: *** NCURSES test program execution failed." >&2;}
 
21362
            { $as_echo "$as_me:$LINENO: WARNING: *** NCURSES test program execution failed." >&5
 
21363
$as_echo "$as_me: WARNING: *** NCURSES test program execution failed." >&2;}
25420
21364
        fi
25421
21365
   else
25422
 
      { echo "$as_me:$LINENO: WARNING: Can not build smap without curses or ncurses library" >&5
25423
 
echo "$as_me: WARNING: Can not build smap without curses or ncurses library" >&2;}
 
21366
      { $as_echo "$as_me:$LINENO: WARNING: Can not build smap without curses or ncurses library" >&5
 
21367
$as_echo "$as_me: WARNING: Can not build smap without curses or ncurses library" >&2;}
25424
21368
      ac_have_some_curses="no"
25425
21369
   fi
25426
21370
 
25441
21385
 
25442
21386
    # use the correct libs if running on 64bit
25443
21387
    if test -d "/usr/lib64/pkgconfig"; then
25444
 
            PKG_CONFIG_PATH="/usr/lib64/pkgconfig/"
 
21388
            PKG_CONFIG_PATH="/usr/lib64/pkgconfig/:$PKG_CONFIG_PATH"
25445
21389
    fi
25446
21390
 
 
21391
    if test -d "/opt/gnome/lib64/pkgconfig"; then
 
21392
            PKG_CONFIG_PATH="/opt/gnome/lib64/pkgconfig/:$PKG_CONFIG_PATH"
 
21393
    fi
25447
21394
 
25448
21395
### Check for pkg-config program
25449
21396
 
25456
21403
    if test x$_x_ac_pkcfg_bin = xno; then
25457
21404
            # Extract the first word of "pkg-config", so it can be a program name with args.
25458
21405
set dummy pkg-config; ac_word=$2
25459
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25460
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
21406
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21407
$as_echo_n "checking for $ac_word... " >&6; }
25461
21408
if test "${ac_cv_path_HAVEPKGCONFIG+set}" = set; then
25462
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21409
  $as_echo_n "(cached) " >&6
25463
21410
else
25464
21411
  case $HAVEPKGCONFIG in
25465
21412
  [\\/]* | ?:[\\/]*)
25474
21421
  for ac_exec_ext in '' $ac_executable_extensions; do
25475
21422
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25476
21423
    ac_cv_path_HAVEPKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
25477
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21424
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25478
21425
    break 2
25479
21426
  fi
25480
21427
done
25487
21434
fi
25488
21435
HAVEPKGCONFIG=$ac_cv_path_HAVEPKGCONFIG
25489
21436
if test -n "$HAVEPKGCONFIG"; then
25490
 
  { echo "$as_me:$LINENO: result: $HAVEPKGCONFIG" >&5
25491
 
echo "${ECHO_T}$HAVEPKGCONFIG" >&6; }
 
21437
  { $as_echo "$as_me:$LINENO: result: $HAVEPKGCONFIG" >&5
 
21438
$as_echo "$HAVEPKGCONFIG" >&6; }
25492
21439
else
25493
 
  { echo "$as_me:$LINENO: result: no" >&5
25494
 
echo "${ECHO_T}no" >&6; }
 
21440
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
21441
$as_echo "no" >&6; }
25495
21442
fi
25496
21443
 
25497
21444
 
25498
21445
    else
25499
21446
            # Extract the first word of "pkg-config", so it can be a program name with args.
25500
21447
set dummy pkg-config; ac_word=$2
25501
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25502
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
21448
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21449
$as_echo_n "checking for $ac_word... " >&6; }
25503
21450
if test "${ac_cv_path_HAVEPKGCONFIG+set}" = set; then
25504
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21451
  $as_echo_n "(cached) " >&6
25505
21452
else
25506
21453
  case $HAVEPKGCONFIG in
25507
21454
  [\\/]* | ?:[\\/]*)
25516
21463
  for ac_exec_ext in '' $ac_executable_extensions; do
25517
21464
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25518
21465
    ac_cv_path_HAVEPKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
25519
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21466
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25520
21467
    break 2
25521
21468
  fi
25522
21469
done
25529
21476
fi
25530
21477
HAVEPKGCONFIG=$ac_cv_path_HAVEPKGCONFIG
25531
21478
if test -n "$HAVEPKGCONFIG"; then
25532
 
  { echo "$as_me:$LINENO: result: $HAVEPKGCONFIG" >&5
25533
 
echo "${ECHO_T}$HAVEPKGCONFIG" >&6; }
 
21479
  { $as_echo "$as_me:$LINENO: result: $HAVEPKGCONFIG" >&5
 
21480
$as_echo "$HAVEPKGCONFIG" >&6; }
25534
21481
else
25535
 
  { echo "$as_me:$LINENO: result: no" >&5
25536
 
echo "${ECHO_T}no" >&6; }
 
21482
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
21483
$as_echo "no" >&6; }
25537
21484
fi
25538
21485
 
25539
21486
 
25540
21487
    fi
25541
21488
 
25542
21489
    if test x$HAVEPKGCONFIG = xno; then
25543
 
            { echo "$as_me:$LINENO: WARNING: *** pkg-config not found. Cannot probe for libglade-2.0 or gtk+-2.0." >&5
25544
 
echo "$as_me: WARNING: *** pkg-config not found. Cannot probe for libglade-2.0 or gtk+-2.0." >&2;}
 
21490
            { $as_echo "$as_me:$LINENO: WARNING: *** pkg-config not found. Cannot probe for libglade-2.0 or gtk+-2.0." >&5
 
21491
$as_echo "$as_me: WARNING: *** pkg-config not found. Cannot probe for libglade-2.0 or gtk+-2.0." >&2;}
25545
21492
            ac_have_gtk="no"
25546
21493
    fi
25547
21494
 
25559
21506
    if test "$ac_have_gtk" == "yes" ; then
25560
21507
        $HAVEPKGCONFIG --exists gtk+-2.0
25561
21508
        if ! test $? -eq 0 ; then
25562
 
            { echo "$as_me:$LINENO: WARNING: *** gtk+-2.0 is not available." >&5
25563
 
echo "$as_me: WARNING: *** gtk+-2.0 is not available." >&2;}
 
21509
            { $as_echo "$as_me:$LINENO: WARNING: *** gtk+-2.0 is not available." >&5
 
21510
$as_echo "$as_me: WARNING: *** gtk+-2.0 is not available." >&2;}
25564
21511
            ac_have_gtk="no"
25565
21512
        else
25566
21513
            min_gtk_version="2.7.1"
25567
21514
            $HAVEPKGCONFIG --atleast-version=$min_gtk_version gtk+-2.0
25568
21515
            if ! test $? -eq 0 ; then
25569
21516
                    gtk_config_version=`$HAVEPKGCONFIG --modversion gtk+-2.0`
25570
 
                    { echo "$as_me:$LINENO: WARNING: *** gtk+-$gtk_config_version available, we need >= gtk+-$min_gtk_version installed for sview." >&5
25571
 
echo "$as_me: WARNING: *** gtk+-$gtk_config_version available, we need >= gtk+-$min_gtk_version installed for sview." >&2;}
 
21517
                    { $as_echo "$as_me:$LINENO: WARNING: *** gtk+-$gtk_config_version available, we need >= gtk+-$min_gtk_version installed for sview." >&5
 
21518
$as_echo "$as_me: WARNING: *** gtk+-$gtk_config_version available, we need >= gtk+-$min_gtk_version installed for sview." >&2;}
25572
21519
                    ac_have_gtk="no"
25573
21520
            fi
25574
21521
        fi
25617
21564
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25618
21565
  *) ac_try_echo=$ac_try;;
25619
21566
esac
25620
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21567
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21568
$as_echo "$ac_try_echo") >&5
25621
21569
  (eval "$ac_link") 2>conftest.er1
25622
21570
  ac_status=$?
25623
21571
  grep -v '^ *+' conftest.er1 >conftest.err
25624
21572
  rm -f conftest.er1
25625
21573
  cat conftest.err >&5
25626
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21574
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627
21575
  (exit $ac_status); } && {
25628
21576
         test -z "$ac_c_werror_flag" ||
25629
21577
         test ! -s conftest.err
25630
 
       } && test -s conftest$ac_exeext &&
25631
 
       $as_test_x conftest$ac_exeext; then
 
21578
       } && test -s conftest$ac_exeext && {
 
21579
         test "$cross_compiling" = yes ||
 
21580
         $as_test_x conftest$ac_exeext
 
21581
       }; then
25632
21582
  :
25633
21583
else
25634
 
  echo "$as_me: failed program was:" >&5
 
21584
  $as_echo "$as_me: failed program was:" >&5
25635
21585
sed 's/^/| /' conftest.$ac_ext >&5
25636
21586
 
25637
21587
        ac_have_gtk="no"
25638
21588
fi
25639
21589
 
 
21590
rm -rf conftest.dSYM
25640
21591
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25641
21592
      conftest$ac_exeext conftest.$ac_ext
25642
21593
        CFLAGS="$save_CFLAGS"
25643
21594
        LIBS="$save_LIBS"
25644
21595
        if test "$ac_have_gtk" == "yes"; then
25645
 
            { echo "$as_me:$LINENO: result: GTK test program built properly." >&5
25646
 
echo "${ECHO_T}GTK test program built properly." >&6; }
 
21596
            { $as_echo "$as_me:$LINENO: result: GTK test program built properly." >&5
 
21597
$as_echo "GTK test program built properly." >&6; }
25647
21598
 
25648
21599
 
25649
21600
        else
25650
 
            { echo "$as_me:$LINENO: WARNING: *** GTK test program execution failed." >&5
25651
 
echo "$as_me: WARNING: *** GTK test program execution failed." >&2;}
 
21601
            { $as_echo "$as_me:$LINENO: WARNING: *** GTK test program execution failed." >&5
 
21602
$as_echo "$as_me: WARNING: *** GTK test program execution failed." >&2;}
25652
21603
        fi
25653
21604
    fi
25654
21605
 
25676
21627
        if test x$_x_ac_mysql_bin = xno; then
25677
21628
                # Extract the first word of "mysql_config", so it can be a program name with args.
25678
21629
set dummy mysql_config; ac_word=$2
25679
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25680
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
21630
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21631
$as_echo_n "checking for $ac_word... " >&6; }
25681
21632
if test "${ac_cv_path_HAVEMYSQLCONFIG+set}" = set; then
25682
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21633
  $as_echo_n "(cached) " >&6
25683
21634
else
25684
21635
  case $HAVEMYSQLCONFIG in
25685
21636
  [\\/]* | ?:[\\/]*)
25694
21645
  for ac_exec_ext in '' $ac_executable_extensions; do
25695
21646
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25696
21647
    ac_cv_path_HAVEMYSQLCONFIG="$as_dir/$ac_word$ac_exec_ext"
25697
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21648
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25698
21649
    break 2
25699
21650
  fi
25700
21651
done
25707
21658
fi
25708
21659
HAVEMYSQLCONFIG=$ac_cv_path_HAVEMYSQLCONFIG
25709
21660
if test -n "$HAVEMYSQLCONFIG"; then
25710
 
  { echo "$as_me:$LINENO: result: $HAVEMYSQLCONFIG" >&5
25711
 
echo "${ECHO_T}$HAVEMYSQLCONFIG" >&6; }
 
21661
  { $as_echo "$as_me:$LINENO: result: $HAVEMYSQLCONFIG" >&5
 
21662
$as_echo "$HAVEMYSQLCONFIG" >&6; }
25712
21663
else
25713
 
  { echo "$as_me:$LINENO: result: no" >&5
25714
 
echo "${ECHO_T}no" >&6; }
 
21664
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
21665
$as_echo "no" >&6; }
25715
21666
fi
25716
21667
 
25717
21668
 
25718
21669
        else
25719
21670
                # Extract the first word of "mysql_config", so it can be a program name with args.
25720
21671
set dummy mysql_config; ac_word=$2
25721
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25722
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
21672
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21673
$as_echo_n "checking for $ac_word... " >&6; }
25723
21674
if test "${ac_cv_path_HAVEMYSQLCONFIG+set}" = set; then
25724
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21675
  $as_echo_n "(cached) " >&6
25725
21676
else
25726
21677
  case $HAVEMYSQLCONFIG in
25727
21678
  [\\/]* | ?:[\\/]*)
25736
21687
  for ac_exec_ext in '' $ac_executable_extensions; do
25737
21688
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25738
21689
    ac_cv_path_HAVEMYSQLCONFIG="$as_dir/$ac_word$ac_exec_ext"
25739
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21690
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25740
21691
    break 2
25741
21692
  fi
25742
21693
done
25749
21700
fi
25750
21701
HAVEMYSQLCONFIG=$ac_cv_path_HAVEMYSQLCONFIG
25751
21702
if test -n "$HAVEMYSQLCONFIG"; then
25752
 
  { echo "$as_me:$LINENO: result: $HAVEMYSQLCONFIG" >&5
25753
 
echo "${ECHO_T}$HAVEMYSQLCONFIG" >&6; }
 
21703
  { $as_echo "$as_me:$LINENO: result: $HAVEMYSQLCONFIG" >&5
 
21704
$as_echo "$HAVEMYSQLCONFIG" >&6; }
25754
21705
else
25755
 
  { echo "$as_me:$LINENO: result: no" >&5
25756
 
echo "${ECHO_T}no" >&6; }
 
21706
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
21707
$as_echo "no" >&6; }
25757
21708
fi
25758
21709
 
25759
21710
 
25760
21711
        fi
25761
21712
 
25762
21713
        if test x$HAVEMYSQLCONFIG = xno; then
25763
 
                { echo "$as_me:$LINENO: WARNING: *** mysql_config not found. Evidently no MySQL install on system." >&5
25764
 
echo "$as_me: WARNING: *** mysql_config not found. Evidently no MySQL install on system." >&2;}
 
21714
                { $as_echo "$as_me:$LINENO: WARNING: *** mysql_config not found. Evidently no MySQL install on system." >&5
 
21715
$as_echo "$as_me: WARNING: *** mysql_config not found. Evidently no MySQL install on system." >&2;}
25765
21716
        else
25766
21717
                # check for mysql-5.0.0+
25767
21718
                mysql_config_major_version=`$HAVEMYSQLCONFIG --version | \
25772
21723
                        sed 's/\([0-9]*\).\([0-9]*\).\([a-zA-Z0-9]*\)/\3/'`
25773
21724
 
25774
21725
                if test $mysql_config_major_version -lt 5; then
25775
 
                        { echo "$as_me:$LINENO: WARNING: *** mysql-$mysql_config_major_version.$mysql_config_minor_version.$mysql_config_micro_version available, we need >= mysql-5.0.0 installed for the mysql interface." >&5
25776
 
echo "$as_me: WARNING: *** mysql-$mysql_config_major_version.$mysql_config_minor_version.$mysql_config_micro_version available, we need >= mysql-5.0.0 installed for the mysql interface." >&2;}
 
21726
                        { $as_echo "$as_me:$LINENO: WARNING: *** mysql-$mysql_config_major_version.$mysql_config_minor_version.$mysql_config_micro_version available, we need >= mysql-5.0.0 installed for the mysql interface." >&5
 
21727
$as_echo "$as_me: WARNING: *** mysql-$mysql_config_major_version.$mysql_config_minor_version.$mysql_config_micro_version available, we need >= mysql-5.0.0 installed for the mysql interface." >&2;}
25777
21728
                        ac_have_mysql="no"
25778
21729
                else
25779
21730
                # mysql_config puts -I on the front of the dir.  We don't
25812
21763
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25813
21764
  *) ac_try_echo=$ac_try;;
25814
21765
esac
25815
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21766
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21767
$as_echo "$ac_try_echo") >&5
25816
21768
  (eval "$ac_link") 2>conftest.er1
25817
21769
  ac_status=$?
25818
21770
  grep -v '^ *+' conftest.er1 >conftest.err
25819
21771
  rm -f conftest.er1
25820
21772
  cat conftest.err >&5
25821
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21773
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822
21774
  (exit $ac_status); } && {
25823
21775
         test -z "$ac_c_werror_flag" ||
25824
21776
         test ! -s conftest.err
25825
 
       } && test -s conftest$ac_exeext &&
25826
 
       $as_test_x conftest$ac_exeext; then
 
21777
       } && test -s conftest$ac_exeext && {
 
21778
         test "$cross_compiling" = yes ||
 
21779
         $as_test_x conftest$ac_exeext
 
21780
       }; then
25827
21781
  ac_have_mysql="yes"
25828
21782
else
25829
 
  echo "$as_me: failed program was:" >&5
 
21783
  $as_echo "$as_me: failed program was:" >&5
25830
21784
sed 's/^/| /' conftest.$ac_ext >&5
25831
21785
 
25832
21786
        ac_have_mysql="no"
25833
21787
fi
25834
21788
 
 
21789
rm -rf conftest.dSYM
25835
21790
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25836
21791
      conftest$ac_exeext conftest.$ac_ext
25837
21792
                        CFLAGS="$save_CFLAGS"
25838
21793
                        LIBS="$save_LIBS"
25839
21794
                        if test "$ac_have_mysql" == "yes"; then
25840
 
                                { echo "$as_me:$LINENO: result: MySQL test program built properly." >&5
25841
 
echo "${ECHO_T}MySQL test program built properly." >&6; }
 
21795
                                { $as_echo "$as_me:$LINENO: result: MySQL test program built properly." >&5
 
21796
$as_echo "MySQL test program built properly." >&6; }
25842
21797
 
25843
21798
 
25844
21799
 
25881
21836
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25882
21837
  *) ac_try_echo=$ac_try;;
25883
21838
esac
25884
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21839
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21840
$as_echo "$ac_try_echo") >&5
25885
21841
  (eval "$ac_link") 2>conftest.er1
25886
21842
  ac_status=$?
25887
21843
  grep -v '^ *+' conftest.er1 >conftest.err
25888
21844
  rm -f conftest.er1
25889
21845
  cat conftest.err >&5
25890
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21846
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25891
21847
  (exit $ac_status); } && {
25892
21848
         test -z "$ac_c_werror_flag" ||
25893
21849
         test ! -s conftest.err
25894
 
       } && test -s conftest$ac_exeext &&
25895
 
       $as_test_x conftest$ac_exeext; then
 
21850
       } && test -s conftest$ac_exeext && {
 
21851
         test "$cross_compiling" = yes ||
 
21852
         $as_test_x conftest$ac_exeext
 
21853
       }; then
25896
21854
  ac_have_mysql="yes"
25897
21855
else
25898
 
  echo "$as_me: failed program was:" >&5
 
21856
  $as_echo "$as_me: failed program was:" >&5
25899
21857
sed 's/^/| /' conftest.$ac_ext >&5
25900
21858
 
25901
21859
        ac_have_mysql="no"
25902
21860
fi
25903
21861
 
 
21862
rm -rf conftest.dSYM
25904
21863
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25905
21864
      conftest$ac_exeext conftest.$ac_ext
25906
21865
                                CFLAGS="$save_CFLAGS"
25907
21866
                                LIBS="$save_LIBS"
25908
21867
 
25909
21868
                                if test "$ac_have_mysql" == "yes"; then
25910
 
                                        { echo "$as_me:$LINENO: result: MySQL (non-threaded) test program built properly." >&5
25911
 
echo "${ECHO_T}MySQL (non-threaded) test program built properly." >&6; }
 
21869
                                        { $as_echo "$as_me:$LINENO: result: MySQL (non-threaded) test program built properly." >&5
 
21870
$as_echo "MySQL (non-threaded) test program built properly." >&6; }
25912
21871
 
25913
21872
 
25914
21873
 
25924
21883
                                else
25925
21884
                                        MYSQL_CFLAGS=""
25926
21885
                                        MYSQL_LIBS=""
25927
 
                                        { echo "$as_me:$LINENO: WARNING: *** MySQL test program execution failed." >&5
25928
 
echo "$as_me: WARNING: *** MySQL test program execution failed." >&2;}
 
21886
                                        { $as_echo "$as_me:$LINENO: WARNING: *** MySQL test program execution failed." >&5
 
21887
$as_echo "$as_me: WARNING: *** MySQL test program execution failed." >&2;}
25929
21888
                                fi
25930
21889
                        fi
25931
21890
                fi
25932
21891
        fi
 
21892
         if test x"$ac_have_mysql" == x"yes"; then
 
21893
  WITH_MYSQL_TRUE=
 
21894
  WITH_MYSQL_FALSE='#'
 
21895
else
 
21896
  WITH_MYSQL_TRUE='#'
 
21897
  WITH_MYSQL_FALSE=
 
21898
fi
25933
21899
 
25934
21900
 
25935
21901
        #Check for PostgreSQL
25946
21912
        if test x$_x_ac_pgsql_bin = xno; then
25947
21913
                # Extract the first word of "pg_config", so it can be a program name with args.
25948
21914
set dummy pg_config; ac_word=$2
25949
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25950
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
21915
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21916
$as_echo_n "checking for $ac_word... " >&6; }
25951
21917
if test "${ac_cv_path_HAVEPGCONFIG+set}" = set; then
25952
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21918
  $as_echo_n "(cached) " >&6
25953
21919
else
25954
21920
  case $HAVEPGCONFIG in
25955
21921
  [\\/]* | ?:[\\/]*)
25964
21930
  for ac_exec_ext in '' $ac_executable_extensions; do
25965
21931
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25966
21932
    ac_cv_path_HAVEPGCONFIG="$as_dir/$ac_word$ac_exec_ext"
25967
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21933
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25968
21934
    break 2
25969
21935
  fi
25970
21936
done
25977
21943
fi
25978
21944
HAVEPGCONFIG=$ac_cv_path_HAVEPGCONFIG
25979
21945
if test -n "$HAVEPGCONFIG"; then
25980
 
  { echo "$as_me:$LINENO: result: $HAVEPGCONFIG" >&5
25981
 
echo "${ECHO_T}$HAVEPGCONFIG" >&6; }
 
21946
  { $as_echo "$as_me:$LINENO: result: $HAVEPGCONFIG" >&5
 
21947
$as_echo "$HAVEPGCONFIG" >&6; }
25982
21948
else
25983
 
  { echo "$as_me:$LINENO: result: no" >&5
25984
 
echo "${ECHO_T}no" >&6; }
 
21949
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
21950
$as_echo "no" >&6; }
25985
21951
fi
25986
21952
 
25987
21953
 
25988
21954
        else
25989
21955
                # Extract the first word of "pg_config", so it can be a program name with args.
25990
21956
set dummy pg_config; ac_word=$2
25991
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25992
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
21957
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21958
$as_echo_n "checking for $ac_word... " >&6; }
25993
21959
if test "${ac_cv_path_HAVEPGCONFIG+set}" = set; then
25994
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21960
  $as_echo_n "(cached) " >&6
25995
21961
else
25996
21962
  case $HAVEPGCONFIG in
25997
21963
  [\\/]* | ?:[\\/]*)
26006
21972
  for ac_exec_ext in '' $ac_executable_extensions; do
26007
21973
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26008
21974
    ac_cv_path_HAVEPGCONFIG="$as_dir/$ac_word$ac_exec_ext"
26009
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21975
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26010
21976
    break 2
26011
21977
  fi
26012
21978
done
26019
21985
fi
26020
21986
HAVEPGCONFIG=$ac_cv_path_HAVEPGCONFIG
26021
21987
if test -n "$HAVEPGCONFIG"; then
26022
 
  { echo "$as_me:$LINENO: result: $HAVEPGCONFIG" >&5
26023
 
echo "${ECHO_T}$HAVEPGCONFIG" >&6; }
 
21988
  { $as_echo "$as_me:$LINENO: result: $HAVEPGCONFIG" >&5
 
21989
$as_echo "$HAVEPGCONFIG" >&6; }
26024
21990
else
26025
 
  { echo "$as_me:$LINENO: result: no" >&5
26026
 
echo "${ECHO_T}no" >&6; }
 
21991
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
21992
$as_echo "no" >&6; }
26027
21993
fi
26028
21994
 
26029
21995
 
26030
21996
        fi
26031
21997
 
26032
21998
        if test x$HAVEPGCONFIG = xno; then
26033
 
                { echo "$as_me:$LINENO: WARNING: *** pg_config not found. Evidently no PostgreSQL install on system." >&5
26034
 
echo "$as_me: WARNING: *** pg_config not found. Evidently no PostgreSQL install on system." >&2;}
 
21999
                { $as_echo "$as_me:$LINENO: WARNING: *** pg_config not found. Evidently no PostgreSQL install on system." >&5
 
22000
$as_echo "$as_me: WARNING: *** pg_config not found. Evidently no PostgreSQL install on system." >&2;}
26035
22001
        else
26036
22002
                PGSQL_INCLUDEDIR=`$HAVEPGCONFIG --includedir`
26037
22003
                PGSQL_LIBDIR=`$HAVEPGCONFIG --libdir`
26070
22036
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26071
22037
  *) ac_try_echo=$ac_try;;
26072
22038
esac
26073
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22039
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22040
$as_echo "$ac_try_echo") >&5
26074
22041
  (eval "$ac_link") 2>conftest.er1
26075
22042
  ac_status=$?
26076
22043
  grep -v '^ *+' conftest.er1 >conftest.err
26077
22044
  rm -f conftest.er1
26078
22045
  cat conftest.err >&5
26079
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22046
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080
22047
  (exit $ac_status); } && {
26081
22048
         test -z "$ac_c_werror_flag" ||
26082
22049
         test ! -s conftest.err
26083
 
       } && test -s conftest$ac_exeext &&
26084
 
       $as_test_x conftest$ac_exeext; then
 
22050
       } && test -s conftest$ac_exeext && {
 
22051
         test "$cross_compiling" = yes ||
 
22052
         $as_test_x conftest$ac_exeext
 
22053
       }; then
26085
22054
  ac_have_pgsql="yes"
26086
22055
else
26087
 
  echo "$as_me: failed program was:" >&5
 
22056
  $as_echo "$as_me: failed program was:" >&5
26088
22057
sed 's/^/| /' conftest.$ac_ext >&5
26089
22058
 
26090
22059
        ac_have_pgsql="no"
26091
22060
fi
26092
22061
 
 
22062
rm -rf conftest.dSYM
26093
22063
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26094
22064
      conftest$ac_exeext conftest.$ac_ext
26095
22065
                LIBS="$save_LIBS"
26096
22066
                CFLAGS="$save_CFLAGS"
26097
22067
                if test "$ac_have_pgsql" == "yes"; then
26098
 
                        { echo "$as_me:$LINENO: result: PostgreSQL test program built properly." >&5
26099
 
echo "${ECHO_T}PostgreSQL test program built properly." >&6; }
 
22068
                        { $as_echo "$as_me:$LINENO: result: PostgreSQL test program built properly." >&5
 
22069
$as_echo "PostgreSQL test program built properly." >&6; }
26100
22070
 
26101
22071
 
26102
22072
 
26107
22077
                else
26108
22078
                        PGSQL_CFLAGS=""
26109
22079
                        PGSQL_LIBS=""
26110
 
                        { echo "$as_me:$LINENO: WARNING: *** PostgreSQL test program execution failed." >&5
26111
 
echo "$as_me: WARNING: *** PostgreSQL test program execution failed." >&2;}
 
22080
                        { $as_echo "$as_me:$LINENO: WARNING: *** PostgreSQL test program execution failed." >&5
 
22081
$as_echo "$as_me: WARNING: *** PostgreSQL test program execution failed." >&2;}
26112
22082
                fi
26113
22083
        fi
 
22084
         if test x"$ac_have_pgsql" == x"yes"; then
 
22085
  WITH_PGSQL_TRUE=
 
22086
  WITH_PGSQL_FALSE='#'
 
22087
else
 
22088
  WITH_PGSQL_TRUE='#'
 
22089
  WITH_PGSQL_FALSE=
 
22090
fi
 
22091
 
 
22092
 
26114
22093
 
26115
22094
 
26116
22095
 
26159
22138
     ;;
26160
22139
esac
26161
22140
 
26162
 
{ echo "$as_me:$LINENO: checking for __progname" >&5
26163
 
echo $ECHO_N "checking for __progname... $ECHO_C" >&6; }
 
22141
{ $as_echo "$as_me:$LINENO: checking for __progname" >&5
 
22142
$as_echo_n "checking for __progname... " >&6; }
26164
22143
cat >conftest.$ac_ext <<_ACEOF
26165
22144
/* confdefs.h.  */
26166
22145
_ACEOF
26182
22161
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26183
22162
  *) ac_try_echo=$ac_try;;
26184
22163
esac
26185
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22164
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22165
$as_echo "$ac_try_echo") >&5
26186
22166
  (eval "$ac_link") 2>conftest.er1
26187
22167
  ac_status=$?
26188
22168
  grep -v '^ *+' conftest.er1 >conftest.err
26189
22169
  rm -f conftest.er1
26190
22170
  cat conftest.err >&5
26191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22171
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26192
22172
  (exit $ac_status); } && {
26193
22173
         test -z "$ac_c_werror_flag" ||
26194
22174
         test ! -s conftest.err
26195
 
       } && test -s conftest$ac_exeext &&
26196
 
       $as_test_x conftest$ac_exeext; then
 
22175
       } && test -s conftest$ac_exeext && {
 
22176
         test "$cross_compiling" = yes ||
 
22177
         $as_test_x conftest$ac_exeext
 
22178
       }; then
26197
22179
  ac_have__progname=yes
26198
22180
 
26199
22181
else
26200
 
  echo "$as_me: failed program was:" >&5
 
22182
  $as_echo "$as_me: failed program was:" >&5
26201
22183
sed 's/^/| /' conftest.$ac_ext >&5
26202
22184
 
26203
22185
 
26204
22186
fi
26205
22187
 
 
22188
rm -rf conftest.dSYM
26206
22189
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26207
22190
      conftest$ac_exeext conftest.$ac_ext
26208
 
{ echo "$as_me:$LINENO: result: ${ac_have__progname=no}" >&5
26209
 
echo "${ECHO_T}${ac_have__progname=no}" >&6; }
 
22191
{ $as_echo "$as_me:$LINENO: result: ${ac_have__progname=no}" >&5
 
22192
$as_echo "${ac_have__progname=no}" >&6; }
26210
22193
if test "$ac_have__progname" = "yes"; then
26211
22194
 
26212
22195
cat >>confdefs.h <<\_ACEOF
26218
22201
 
26219
22202
 
26220
22203
 
26221
 
  { echo "$as_me:$LINENO: checking whether debugging is enabled" >&5
26222
 
echo $ECHO_N "checking whether debugging is enabled... $ECHO_C" >&6; }
 
22204
  { $as_echo "$as_me:$LINENO: checking whether debugging is enabled" >&5
 
22205
$as_echo_n "checking whether debugging is enabled... " >&6; }
26223
22206
  # Check whether --enable-debug was given.
26224
22207
if test "${enable_debug+set}" = set; then
26225
22208
  enableval=$enable_debug;  case "$enableval" in
26226
22209
        yes) x_ac_debug=yes ;;
26227
22210
         no) x_ac_debug=no ;;
26228
 
          *) { echo "$as_me:$LINENO: result: doh!" >&5
26229
 
echo "${ECHO_T}doh!" >&6; }
26230
 
             { { echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-debug" >&5
26231
 
echo "$as_me: error: bad value \"$enableval\" for --enable-debug" >&2;}
 
22211
          *) { $as_echo "$as_me:$LINENO: result: doh!" >&5
 
22212
$as_echo "doh!" >&6; }
 
22213
             { { $as_echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-debug" >&5
 
22214
$as_echo "$as_me: error: bad value \"$enableval\" for --enable-debug" >&2;}
26232
22215
   { (exit 1); exit 1; }; } ;;
26233
22216
      esac
26234
22217
 
26244
22227
_ACEOF
26245
22228
 
26246
22229
  fi
26247
 
  { echo "$as_me:$LINENO: result: ${x_ac_debug=no}" >&5
26248
 
echo "${ECHO_T}${x_ac_debug=no}" >&6; }
 
22230
  { $as_echo "$as_me:$LINENO: result: ${x_ac_debug=no}" >&5
 
22231
$as_echo "${x_ac_debug=no}" >&6; }
26249
22232
 
26250
 
  { echo "$as_me:$LINENO: checking whether memory leak debugging is enabled" >&5
26251
 
echo $ECHO_N "checking whether memory leak debugging is enabled... $ECHO_C" >&6; }
 
22233
  { $as_echo "$as_me:$LINENO: checking whether memory leak debugging is enabled" >&5
 
22234
$as_echo_n "checking whether memory leak debugging is enabled... " >&6; }
26252
22235
  # Check whether --enable-memory-leak-debug was given.
26253
22236
if test "${enable_memory_leak_debug+set}" = set; then
26254
22237
  enableval=$enable_memory_leak_debug;  case "$enableval" in
26255
22238
        yes) x_ac_memory_debug=yes ;;
26256
22239
         no) x_ac_memory_debug=no ;;
26257
 
          *) { echo "$as_me:$LINENO: result: doh!" >&5
26258
 
echo "${ECHO_T}doh!" >&6; }
26259
 
             { { echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-memory-leak-debug" >&5
26260
 
echo "$as_me: error: bad value \"$enableval\" for --enable-memory-leak-debug" >&2;}
 
22240
          *) { $as_echo "$as_me:$LINENO: result: doh!" >&5
 
22241
$as_echo "doh!" >&6; }
 
22242
             { { $as_echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-memory-leak-debug" >&5
 
22243
$as_echo "$as_me: error: bad value \"$enableval\" for --enable-memory-leak-debug" >&2;}
26261
22244
   { (exit 1); exit 1; }; } ;;
26262
22245
      esac
26263
22246
 
26271
22254
_ACEOF
26272
22255
 
26273
22256
  fi
26274
 
  { echo "$as_me:$LINENO: result: ${x_ac_memory_debug=no}" >&5
26275
 
echo "${ECHO_T}${x_ac_memory_debug=no}" >&6; }
 
22257
  { $as_echo "$as_me:$LINENO: result: ${x_ac_memory_debug=no}" >&5
 
22258
$as_echo "${x_ac_memory_debug=no}" >&6; }
26276
22259
 
26277
 
  { echo "$as_me:$LINENO: checking whether to enable slurmd operation on a front-end" >&5
26278
 
echo $ECHO_N "checking whether to enable slurmd operation on a front-end... $ECHO_C" >&6; }
 
22260
  { $as_echo "$as_me:$LINENO: checking whether to enable slurmd operation on a front-end" >&5
 
22261
$as_echo_n "checking whether to enable slurmd operation on a front-end... " >&6; }
26279
22262
  # Check whether --enable-front-end was given.
26280
22263
if test "${enable_front_end+set}" = set; then
26281
22264
  enableval=$enable_front_end;  case "$enableval" in
26282
22265
        yes) x_ac_front_end=yes ;;
26283
22266
         no) x_ac_front_end=no ;;
26284
 
          *) { echo "$as_me:$LINENO: result: doh!" >&5
26285
 
echo "${ECHO_T}doh!" >&6; }
26286
 
             { { echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-front-end" >&5
26287
 
echo "$as_me: error: bad value \"$enableval\" for --enable-front-end" >&2;}
 
22267
          *) { $as_echo "$as_me:$LINENO: result: doh!" >&5
 
22268
$as_echo "doh!" >&6; }
 
22269
             { { $as_echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-front-end" >&5
 
22270
$as_echo "$as_me: error: bad value \"$enableval\" for --enable-front-end" >&2;}
26288
22271
   { (exit 1); exit 1; }; } ;;
26289
22272
      esac
26290
22273
 
26298
22281
_ACEOF
26299
22282
 
26300
22283
  fi
26301
 
  { echo "$as_me:$LINENO: result: ${x_ac_front_end=no}" >&5
26302
 
echo "${ECHO_T}${x_ac_front_end=no}" >&6; }
 
22284
  { $as_echo "$as_me:$LINENO: result: ${x_ac_front_end=no}" >&5
 
22285
$as_echo "${x_ac_front_end=no}" >&6; }
26303
22286
 
26304
22287
 
26305
22288
 
26314
22297
 
26315
22298
 
26316
22299
 
26317
 
  { echo "$as_me:$LINENO: checking for slurmctld default port" >&5
26318
 
echo $ECHO_N "checking for slurmctld default port... $ECHO_C" >&6; }
 
22300
  { $as_echo "$as_me:$LINENO: checking for slurmctld default port" >&5
 
22301
$as_echo_n "checking for slurmctld default port... " >&6; }
26319
22302
 
26320
22303
# Check whether --with-slurmctld-port was given.
26321
22304
if test "${with_slurmctld_port+set}" = set; then
26326
22309
 
26327
22310
fi
26328
22311
 
26329
 
  { echo "$as_me:$LINENO: result: ${slurmctldport=6817}" >&5
26330
 
echo "${ECHO_T}${slurmctldport=6817}" >&6; }
 
22312
  { $as_echo "$as_me:$LINENO: result: ${slurmctldport=6817}" >&5
 
22313
$as_echo "${slurmctldport=6817}" >&6; }
26331
22314
 
26332
22315
cat >>confdefs.h <<_ACEOF
26333
22316
#define SLURMCTLD_PORT $slurmctldport
26336
22319
 
26337
22320
 
26338
22321
 
26339
 
  { echo "$as_me:$LINENO: checking for slurmd default port" >&5
26340
 
echo $ECHO_N "checking for slurmd default port... $ECHO_C" >&6; }
 
22322
  { $as_echo "$as_me:$LINENO: checking for slurmd default port" >&5
 
22323
$as_echo_n "checking for slurmd default port... " >&6; }
26341
22324
 
26342
22325
# Check whether --with-slurmd-port was given.
26343
22326
if test "${with_slurmd_port+set}" = set; then
26348
22331
 
26349
22332
fi
26350
22333
 
26351
 
  { echo "$as_me:$LINENO: result: ${slurmdport=6818}" >&5
26352
 
echo "${ECHO_T}${slurmdport=6818}" >&6; }
 
22334
  { $as_echo "$as_me:$LINENO: result: ${slurmdport=6818}" >&5
 
22335
$as_echo "${slurmdport=6818}" >&6; }
26353
22336
 
26354
22337
cat >>confdefs.h <<_ACEOF
26355
22338
#define SLURMD_PORT $slurmdport
26358
22341
 
26359
22342
 
26360
22343
 
26361
 
  { echo "$as_me:$LINENO: checking for slurmdbd default port" >&5
26362
 
echo $ECHO_N "checking for slurmdbd default port... $ECHO_C" >&6; }
 
22344
  { $as_echo "$as_me:$LINENO: checking for slurmdbd default port" >&5
 
22345
$as_echo_n "checking for slurmdbd default port... " >&6; }
26363
22346
 
26364
22347
# Check whether --with-slurmdbd-port was given.
26365
22348
if test "${with_slurmdbd_port+set}" = set; then
26370
22353
 
26371
22354
fi
26372
22355
 
26373
 
  { echo "$as_me:$LINENO: result: ${slurmdbdport=6819}" >&5
26374
 
echo "${ECHO_T}${slurmdbdport=6819}" >&6; }
 
22356
  { $as_echo "$as_me:$LINENO: result: ${slurmdbdport=6819}" >&5
 
22357
$as_echo "${slurmdbdport=6819}" >&6; }
26375
22358
 
26376
22359
cat >>confdefs.h <<_ACEOF
26377
22360
#define SLURMDBD_PORT $slurmdbdport
26397
22380
 
26398
22381
 
26399
22382
 
26400
 
   { echo "$as_me:$LINENO: checking for rms_prgcreate in -lrmscall" >&5
26401
 
echo $ECHO_N "checking for rms_prgcreate in -lrmscall... $ECHO_C" >&6; }
 
22383
   { $as_echo "$as_me:$LINENO: checking for rms_prgcreate in -lrmscall" >&5
 
22384
$as_echo_n "checking for rms_prgcreate in -lrmscall... " >&6; }
26402
22385
if test "${ac_cv_lib_rmscall_rms_prgcreate+set}" = set; then
26403
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22386
  $as_echo_n "(cached) " >&6
26404
22387
else
26405
22388
  ac_check_lib_save_LIBS=$LIBS
26406
22389
LIBS="-lrmscall  $LIBS"
26432
22415
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26433
22416
  *) ac_try_echo=$ac_try;;
26434
22417
esac
26435
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22418
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22419
$as_echo "$ac_try_echo") >&5
26436
22420
  (eval "$ac_link") 2>conftest.er1
26437
22421
  ac_status=$?
26438
22422
  grep -v '^ *+' conftest.er1 >conftest.err
26439
22423
  rm -f conftest.er1
26440
22424
  cat conftest.err >&5
26441
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22425
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442
22426
  (exit $ac_status); } && {
26443
22427
         test -z "$ac_c_werror_flag" ||
26444
22428
         test ! -s conftest.err
26445
 
       } && test -s conftest$ac_exeext &&
26446
 
       $as_test_x conftest$ac_exeext; then
 
22429
       } && test -s conftest$ac_exeext && {
 
22430
         test "$cross_compiling" = yes ||
 
22431
         $as_test_x conftest$ac_exeext
 
22432
       }; then
26447
22433
  ac_cv_lib_rmscall_rms_prgcreate=yes
26448
22434
else
26449
 
  echo "$as_me: failed program was:" >&5
 
22435
  $as_echo "$as_me: failed program was:" >&5
26450
22436
sed 's/^/| /' conftest.$ac_ext >&5
26451
22437
 
26452
22438
        ac_cv_lib_rmscall_rms_prgcreate=no
26453
22439
fi
26454
22440
 
 
22441
rm -rf conftest.dSYM
26455
22442
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26456
22443
      conftest$ac_exeext conftest.$ac_ext
26457
22444
LIBS=$ac_check_lib_save_LIBS
26458
22445
fi
26459
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_rmscall_rms_prgcreate" >&5
26460
 
echo "${ECHO_T}$ac_cv_lib_rmscall_rms_prgcreate" >&6; }
26461
 
if test $ac_cv_lib_rmscall_rms_prgcreate = yes; then
 
22446
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rmscall_rms_prgcreate" >&5
 
22447
$as_echo "$ac_cv_lib_rmscall_rms_prgcreate" >&6; }
 
22448
if test "x$ac_cv_lib_rmscall_rms_prgcreate" = x""yes; then
26462
22449
  ac_elan_have_rmscall=yes; ELAN_LIBS="-lrmscall"
26463
22450
fi
26464
22451
 
26465
22452
 
26466
22453
   if test "$ac_elan_have_rmscall" != "yes" ; then
26467
 
       { echo "$as_me:$LINENO: Cannot support QsNet without librmscall" >&5
26468
 
echo "$as_me: Cannot support QsNet without librmscall" >&6;}
 
22454
       { $as_echo "$as_me:$LINENO: Cannot support QsNet without librmscall" >&5
 
22455
$as_echo "$as_me: Cannot support QsNet without librmscall" >&6;}
26469
22456
   fi
26470
22457
 
26471
 
   { echo "$as_me:$LINENO: checking for elan3_create in -lelan3" >&5
26472
 
echo $ECHO_N "checking for elan3_create in -lelan3... $ECHO_C" >&6; }
 
22458
   { $as_echo "$as_me:$LINENO: checking for elan3_create in -lelan3" >&5
 
22459
$as_echo_n "checking for elan3_create in -lelan3... " >&6; }
26473
22460
if test "${ac_cv_lib_elan3_elan3_create+set}" = set; then
26474
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22461
  $as_echo_n "(cached) " >&6
26475
22462
else
26476
22463
  ac_check_lib_save_LIBS=$LIBS
26477
22464
LIBS="-lelan3  $LIBS"
26503
22490
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26504
22491
  *) ac_try_echo=$ac_try;;
26505
22492
esac
26506
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22493
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22494
$as_echo "$ac_try_echo") >&5
26507
22495
  (eval "$ac_link") 2>conftest.er1
26508
22496
  ac_status=$?
26509
22497
  grep -v '^ *+' conftest.er1 >conftest.err
26510
22498
  rm -f conftest.er1
26511
22499
  cat conftest.err >&5
26512
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22500
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513
22501
  (exit $ac_status); } && {
26514
22502
         test -z "$ac_c_werror_flag" ||
26515
22503
         test ! -s conftest.err
26516
 
       } && test -s conftest$ac_exeext &&
26517
 
       $as_test_x conftest$ac_exeext; then
 
22504
       } && test -s conftest$ac_exeext && {
 
22505
         test "$cross_compiling" = yes ||
 
22506
         $as_test_x conftest$ac_exeext
 
22507
       }; then
26518
22508
  ac_cv_lib_elan3_elan3_create=yes
26519
22509
else
26520
 
  echo "$as_me: failed program was:" >&5
 
22510
  $as_echo "$as_me: failed program was:" >&5
26521
22511
sed 's/^/| /' conftest.$ac_ext >&5
26522
22512
 
26523
22513
        ac_cv_lib_elan3_elan3_create=no
26524
22514
fi
26525
22515
 
 
22516
rm -rf conftest.dSYM
26526
22517
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26527
22518
      conftest$ac_exeext conftest.$ac_ext
26528
22519
LIBS=$ac_check_lib_save_LIBS
26529
22520
fi
26530
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_elan3_elan3_create" >&5
26531
 
echo "${ECHO_T}$ac_cv_lib_elan3_elan3_create" >&6; }
26532
 
if test $ac_cv_lib_elan3_elan3_create = yes; then
 
22521
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elan3_elan3_create" >&5
 
22522
$as_echo "$ac_cv_lib_elan3_elan3_create" >&6; }
 
22523
if test "x$ac_cv_lib_elan3_elan3_create" = x""yes; then
26533
22524
  ac_elan_have_elan3=yes
26534
22525
else
26535
22526
  ac_elan_noelan3=1
26536
22527
fi
26537
22528
 
26538
22529
 
26539
 
   { echo "$as_me:$LINENO: checking for elanctrl_open in -lelanctrl" >&5
26540
 
echo $ECHO_N "checking for elanctrl_open in -lelanctrl... $ECHO_C" >&6; }
 
22530
   { $as_echo "$as_me:$LINENO: checking for elanctrl_open in -lelanctrl" >&5
 
22531
$as_echo_n "checking for elanctrl_open in -lelanctrl... " >&6; }
26541
22532
if test "${ac_cv_lib_elanctrl_elanctrl_open+set}" = set; then
26542
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22533
  $as_echo_n "(cached) " >&6
26543
22534
else
26544
22535
  ac_check_lib_save_LIBS=$LIBS
26545
22536
LIBS="-lelanctrl  $LIBS"
26571
22562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26572
22563
  *) ac_try_echo=$ac_try;;
26573
22564
esac
26574
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22565
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22566
$as_echo "$ac_try_echo") >&5
26575
22567
  (eval "$ac_link") 2>conftest.er1
26576
22568
  ac_status=$?
26577
22569
  grep -v '^ *+' conftest.er1 >conftest.err
26578
22570
  rm -f conftest.er1
26579
22571
  cat conftest.err >&5
26580
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22572
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581
22573
  (exit $ac_status); } && {
26582
22574
         test -z "$ac_c_werror_flag" ||
26583
22575
         test ! -s conftest.err
26584
 
       } && test -s conftest$ac_exeext &&
26585
 
       $as_test_x conftest$ac_exeext; then
 
22576
       } && test -s conftest$ac_exeext && {
 
22577
         test "$cross_compiling" = yes ||
 
22578
         $as_test_x conftest$ac_exeext
 
22579
       }; then
26586
22580
  ac_cv_lib_elanctrl_elanctrl_open=yes
26587
22581
else
26588
 
  echo "$as_me: failed program was:" >&5
 
22582
  $as_echo "$as_me: failed program was:" >&5
26589
22583
sed 's/^/| /' conftest.$ac_ext >&5
26590
22584
 
26591
22585
        ac_cv_lib_elanctrl_elanctrl_open=no
26592
22586
fi
26593
22587
 
 
22588
rm -rf conftest.dSYM
26594
22589
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26595
22590
      conftest$ac_exeext conftest.$ac_ext
26596
22591
LIBS=$ac_check_lib_save_LIBS
26597
22592
fi
26598
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_elanctrl_elanctrl_open" >&5
26599
 
echo "${ECHO_T}$ac_cv_lib_elanctrl_elanctrl_open" >&6; }
26600
 
if test $ac_cv_lib_elanctrl_elanctrl_open = yes; then
 
22593
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elanctrl_elanctrl_open" >&5
 
22594
$as_echo "$ac_cv_lib_elanctrl_elanctrl_open" >&6; }
 
22595
if test "x$ac_cv_lib_elanctrl_elanctrl_open" = x""yes; then
26601
22596
  ac_elan_have_elanctrl=yes
26602
22597
else
26603
22598
  ac_elan_noelanctrl=1
26621
22616
      ELAN_LIBS="$ELAN_LIBS -lelanctrl"
26622
22617
      test "$ac_elan_have_rmscall" = "yes" && ac_have_elan="yes"
26623
22618
   else
26624
 
      { echo "$as_me:$LINENO: Cannot support QsNet without libelan3 or libelanctrl!" >&5
26625
 
echo "$as_me: Cannot support QsNet without libelan3 or libelanctrl!" >&6;}
 
22619
      { $as_echo "$as_me:$LINENO: Cannot support QsNet without libelan3 or libelanctrl!" >&5
 
22620
$as_echo "$as_me: Cannot support QsNet without libelan3 or libelanctrl!" >&6;}
26626
22621
   fi
26627
22622
 
26628
22623
   if test "$ac_have_elan" = yes; then
26629
 
     { echo "$as_me:$LINENO: checking for elanhost_config_create in -lelanhosts" >&5
26630
 
echo $ECHO_N "checking for elanhost_config_create in -lelanhosts... $ECHO_C" >&6; }
 
22624
     { $as_echo "$as_me:$LINENO: checking for elanhost_config_create in -lelanhosts" >&5
 
22625
$as_echo_n "checking for elanhost_config_create in -lelanhosts... " >&6; }
26631
22626
if test "${ac_cv_lib_elanhosts_elanhost_config_create+set}" = set; then
26632
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22627
  $as_echo_n "(cached) " >&6
26633
22628
else
26634
22629
  ac_check_lib_save_LIBS=$LIBS
26635
22630
LIBS="-lelanhosts  $LIBS"
26661
22656
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26662
22657
  *) ac_try_echo=$ac_try;;
26663
22658
esac
26664
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22659
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22660
$as_echo "$ac_try_echo") >&5
26665
22661
  (eval "$ac_link") 2>conftest.er1
26666
22662
  ac_status=$?
26667
22663
  grep -v '^ *+' conftest.er1 >conftest.err
26668
22664
  rm -f conftest.er1
26669
22665
  cat conftest.err >&5
26670
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22666
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671
22667
  (exit $ac_status); } && {
26672
22668
         test -z "$ac_c_werror_flag" ||
26673
22669
         test ! -s conftest.err
26674
 
       } && test -s conftest$ac_exeext &&
26675
 
       $as_test_x conftest$ac_exeext; then
 
22670
       } && test -s conftest$ac_exeext && {
 
22671
         test "$cross_compiling" = yes ||
 
22672
         $as_test_x conftest$ac_exeext
 
22673
       }; then
26676
22674
  ac_cv_lib_elanhosts_elanhost_config_create=yes
26677
22675
else
26678
 
  echo "$as_me: failed program was:" >&5
 
22676
  $as_echo "$as_me: failed program was:" >&5
26679
22677
sed 's/^/| /' conftest.$ac_ext >&5
26680
22678
 
26681
22679
        ac_cv_lib_elanhosts_elanhost_config_create=no
26682
22680
fi
26683
22681
 
 
22682
rm -rf conftest.dSYM
26684
22683
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26685
22684
      conftest$ac_exeext conftest.$ac_ext
26686
22685
LIBS=$ac_check_lib_save_LIBS
26687
22686
fi
26688
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_elanhosts_elanhost_config_create" >&5
26689
 
echo "${ECHO_T}$ac_cv_lib_elanhosts_elanhost_config_create" >&6; }
26690
 
if test $ac_cv_lib_elanhosts_elanhost_config_create = yes; then
 
22687
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elanhosts_elanhost_config_create" >&5
 
22688
$as_echo "$ac_cv_lib_elanhosts_elanhost_config_create" >&6; }
 
22689
if test "x$ac_cv_lib_elanhosts_elanhost_config_create" = x""yes; then
26691
22690
  ac_elan_have_elanhosts=yes
26692
22691
fi
26693
22692
 
26701
22700
        ELAN_LIBS="$ELAN_LIBS -lelanhosts"
26702
22701
     else
26703
22702
        ac_have_elan="no"
26704
 
        { echo "$as_me:$LINENO: Cannot build QsNet modules without libelanhosts" >&5
26705
 
echo "$as_me: Cannot build QsNet modules without libelanhosts" >&6;}
 
22703
        { $as_echo "$as_me:$LINENO: Cannot build QsNet modules without libelanhosts" >&5
 
22704
$as_echo "$as_me: Cannot build QsNet modules without libelanhosts" >&6;}
26706
22705
     fi
26707
22706
   fi
26708
22707
 
26719
22718
 
26720
22719
 
26721
22720
 
26722
 
   { echo "$as_me:$LINENO: checking whether to enable AIX Federation switch support" >&5
26723
 
echo $ECHO_N "checking whether to enable AIX Federation switch support... $ECHO_C" >&6; }
 
22721
   { $as_echo "$as_me:$LINENO: checking whether to enable AIX Federation switch support" >&5
 
22722
$as_echo_n "checking whether to enable AIX Federation switch support... " >&6; }
26724
22723
   ntbl_default_dirs="/usr/lib"
26725
22724
   for ntbl_dir in $ntbl_default_dirs; do
26726
22725
      # skip dirs that don't exist
26744
22743
   done
26745
22744
 
26746
22745
   if test "x$ac_have_federation" != "xyes" ; then
26747
 
      { echo "$as_me:$LINENO: result: no" >&5
26748
 
echo "${ECHO_T}no" >&6; }
26749
 
      { echo "$as_me:$LINENO: Cannot support Federation without libntbl" >&5
26750
 
echo "$as_me: Cannot support Federation without libntbl" >&6;}
 
22746
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
22747
$as_echo "no" >&6; }
 
22748
      { $as_echo "$as_me:$LINENO: Cannot support Federation without libntbl" >&5
 
22749
$as_echo "$as_me: Cannot support Federation without libntbl" >&6;}
26751
22750
   else
26752
 
      { echo "$as_me:$LINENO: result: yes" >&5
26753
 
echo "${ECHO_T}yes" >&6; }
 
22751
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
22752
$as_echo "yes" >&6; }
26754
22753
 
26755
22754
cat >>confdefs.h <<\_ACEOF
26756
22755
#define HAVE_LIBNTBL 1
26771
22770
 
26772
22771
 
26773
22772
 
26774
 
   { echo "$as_me:$LINENO: checking for job_attachpid in -ljob" >&5
26775
 
echo $ECHO_N "checking for job_attachpid in -ljob... $ECHO_C" >&6; }
 
22773
   { $as_echo "$as_me:$LINENO: checking for job_attachpid in -ljob" >&5
 
22774
$as_echo_n "checking for job_attachpid in -ljob... " >&6; }
26776
22775
if test "${ac_cv_lib_job_job_attachpid+set}" = set; then
26777
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22776
  $as_echo_n "(cached) " >&6
26778
22777
else
26779
22778
  ac_check_lib_save_LIBS=$LIBS
26780
22779
LIBS="-ljob  $LIBS"
26806
22805
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26807
22806
  *) ac_try_echo=$ac_try;;
26808
22807
esac
26809
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22808
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22809
$as_echo "$ac_try_echo") >&5
26810
22810
  (eval "$ac_link") 2>conftest.er1
26811
22811
  ac_status=$?
26812
22812
  grep -v '^ *+' conftest.er1 >conftest.err
26813
22813
  rm -f conftest.er1
26814
22814
  cat conftest.err >&5
26815
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22815
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816
22816
  (exit $ac_status); } && {
26817
22817
         test -z "$ac_c_werror_flag" ||
26818
22818
         test ! -s conftest.err
26819
 
       } && test -s conftest$ac_exeext &&
26820
 
       $as_test_x conftest$ac_exeext; then
 
22819
       } && test -s conftest$ac_exeext && {
 
22820
         test "$cross_compiling" = yes ||
 
22821
         $as_test_x conftest$ac_exeext
 
22822
       }; then
26821
22823
  ac_cv_lib_job_job_attachpid=yes
26822
22824
else
26823
 
  echo "$as_me: failed program was:" >&5
 
22825
  $as_echo "$as_me: failed program was:" >&5
26824
22826
sed 's/^/| /' conftest.$ac_ext >&5
26825
22827
 
26826
22828
        ac_cv_lib_job_job_attachpid=no
26827
22829
fi
26828
22830
 
 
22831
rm -rf conftest.dSYM
26829
22832
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26830
22833
      conftest$ac_exeext conftest.$ac_ext
26831
22834
LIBS=$ac_check_lib_save_LIBS
26832
22835
fi
26833
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_job_job_attachpid" >&5
26834
 
echo "${ECHO_T}$ac_cv_lib_job_job_attachpid" >&6; }
26835
 
if test $ac_cv_lib_job_job_attachpid = yes; then
 
22836
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_job_job_attachpid" >&5
 
22837
$as_echo "$ac_cv_lib_job_job_attachpid" >&6; }
 
22838
if test "x$ac_cv_lib_job_job_attachpid" = x""yes; then
26836
22839
  ac_have_sgi_job="yes"
26837
22840
fi
26838
22841
 
26839
 
   { echo "$as_me:$LINENO: checking for SGI job container support" >&5
26840
 
echo $ECHO_N "checking for SGI job container support... $ECHO_C" >&6; }
26841
 
   { echo "$as_me:$LINENO: result: ${ac_have_sgi_job=no}" >&5
26842
 
echo "${ECHO_T}${ac_have_sgi_job=no}" >&6; }
 
22842
   { $as_echo "$as_me:$LINENO: checking for SGI job container support" >&5
 
22843
$as_echo_n "checking for SGI job container support... " >&6; }
 
22844
   { $as_echo "$as_me:$LINENO: result: ${ac_have_sgi_job=no}" >&5
 
22845
$as_echo "${ac_have_sgi_job=no}" >&6; }
26843
22846
    if test "x$ac_have_sgi_job" = "xyes"; then
26844
22847
  HAVE_SGI_JOB_TRUE=
26845
22848
  HAVE_SGI_JOB_FALSE='#'
26851
22854
 
26852
22855
 
26853
22856
 
26854
 
  { echo "$as_me:$LINENO: checking for whether to include readline suport" >&5
26855
 
echo $ECHO_N "checking for whether to include readline suport... $ECHO_C" >&6; }
 
22857
  { $as_echo "$as_me:$LINENO: checking for whether to include readline suport" >&5
 
22858
$as_echo_n "checking for whether to include readline suport... " >&6; }
26856
22859
 
26857
22860
# Check whether --with-readline was given.
26858
22861
if test "${with_readline+set}" = set; then
26859
22862
  withval=$with_readline;  case "$withval" in
26860
22863
        yes) ac_with_readline=yes ;;
26861
22864
        no)  ac_with_readline=no ;;
26862
 
        *)   { echo "$as_me:$LINENO: result: doh!" >&5
26863
 
echo "${ECHO_T}doh!" >&6; }
26864
 
             { { echo "$as_me:$LINENO: error: bad value \"$withval\" for --without-readline" >&5
26865
 
echo "$as_me: error: bad value \"$withval\" for --without-readline" >&2;}
 
22865
        *)   { $as_echo "$as_me:$LINENO: result: doh!" >&5
 
22866
$as_echo "doh!" >&6; }
 
22867
             { { $as_echo "$as_me:$LINENO: error: bad value \"$withval\" for --without-readline" >&5
 
22868
$as_echo "$as_me: error: bad value \"$withval\" for --without-readline" >&2;}
26866
22869
   { (exit 1); exit 1; }; } ;;
26867
22870
      esac
26868
22871
 
26870
22873
fi
26871
22874
 
26872
22875
 
26873
 
  { echo "$as_me:$LINENO: result: ${ac_with_readline=yes}" >&5
26874
 
echo "${ECHO_T}${ac_with_readline=yes}" >&6; }
 
22876
  { $as_echo "$as_me:$LINENO: result: ${ac_with_readline=yes}" >&5
 
22877
$as_echo "${ac_with_readline=yes}" >&6; }
26875
22878
  if test "$ac_with_readline" = "yes"; then
26876
22879
    saved_LIBS="$LIBS"
26877
22880
    READLINE_LIBS="-lreadline -lhistory $NCURSES"
26900
22903
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26901
22904
  *) ac_try_echo=$ac_try;;
26902
22905
esac
26903
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22906
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22907
$as_echo "$ac_try_echo") >&5
26904
22908
  (eval "$ac_link") 2>conftest.er1
26905
22909
  ac_status=$?
26906
22910
  grep -v '^ *+' conftest.er1 >conftest.err
26907
22911
  rm -f conftest.er1
26908
22912
  cat conftest.err >&5
26909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22913
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26910
22914
  (exit $ac_status); } && {
26911
22915
         test -z "$ac_c_werror_flag" ||
26912
22916
         test ! -s conftest.err
26913
 
       } && test -s conftest$ac_exeext &&
26914
 
       $as_test_x conftest$ac_exeext; then
 
22917
       } && test -s conftest$ac_exeext && {
 
22918
         test "$cross_compiling" = yes ||
 
22919
         $as_test_x conftest$ac_exeext
 
22920
       }; then
26915
22921
 
26916
22922
cat >>confdefs.h <<\_ACEOF
26917
22923
#define HAVE_READLINE 1
26918
22924
_ACEOF
26919
22925
 
26920
22926
else
26921
 
  echo "$as_me: failed program was:" >&5
 
22927
  $as_echo "$as_me: failed program was:" >&5
26922
22928
sed 's/^/| /' conftest.$ac_ext >&5
26923
22929
 
26924
22930
        READLINE_LIBS=""
26925
22931
fi
26926
22932
 
 
22933
rm -rf conftest.dSYM
26927
22934
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26928
22935
      conftest$ac_exeext conftest.$ac_ext
26929
 
    LIBS="$savedLIBS"
 
22936
    LIBS="$saved_LIBS"
26930
22937
  fi
26931
22938
 
26932
22939
 
26968
22975
  fi
26969
22976
 
26970
22977
  if test "x$tryssldir" != "xno" ; then
26971
 
    { echo "$as_me:$LINENO: checking for OpenSSL directory" >&5
26972
 
echo $ECHO_N "checking for OpenSSL directory... $ECHO_C" >&6; }
 
22978
    { $as_echo "$as_me:$LINENO: checking for OpenSSL directory" >&5
 
22979
$as_echo_n "checking for OpenSSL directory... " >&6; }
26973
22980
if test "${ac_cv_openssldir+set}" = set; then
26974
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22981
  $as_echo_n "(cached) " >&6
26975
22982
else
26976
22983
 
26977
22984
        for ssldir in $tryssldir "" $ssl_default_dirs; do
27013
23020
 
27014
23021
                # Basic test to check for compatible version and correct linking
27015
23022
                if test "$cross_compiling" = yes; then
27016
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 
23023
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
23024
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
23025
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27017
23026
See \`config.log' for more details." >&5
27018
 
echo "$as_me: error: cannot run test program while cross compiling
 
23027
$as_echo "$as_me: error: cannot run test program while cross compiling
27019
23028
See \`config.log' for more details." >&2;}
27020
 
   { (exit 1); exit 1; }; }
 
23029
   { (exit 1); exit 1; }; }; }
27021
23030
else
27022
23031
  cat >conftest.$ac_ext <<_ACEOF
27023
23032
/* confdefs.h.  */
27047
23056
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27048
23057
  *) ac_try_echo=$ac_try;;
27049
23058
esac
27050
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23059
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23060
$as_echo "$ac_try_echo") >&5
27051
23061
  (eval "$ac_link") 2>&5
27052
23062
  ac_status=$?
27053
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23063
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054
23064
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27055
23065
  { (case "(($ac_try" in
27056
23066
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27057
23067
  *) ac_try_echo=$ac_try;;
27058
23068
esac
27059
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23069
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23070
$as_echo "$ac_try_echo") >&5
27060
23071
  (eval "$ac_try") 2>&5
27061
23072
  ac_status=$?
27062
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23073
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063
23074
  (exit $ac_status); }; }; then
27064
23075
 
27065
23076
                                ac_have_openssl="yes"
27066
23077
                                break;
27067
23078
 
27068
23079
else
27069
 
  echo "$as_me: program exited with status $ac_status" >&5
27070
 
echo "$as_me: failed program was:" >&5
 
23080
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
23081
$as_echo "$as_me: failed program was:" >&5
27071
23082
sed 's/^/| /' conftest.$ac_ext >&5
27072
23083
 
27073
23084
( exit $ac_status )
27074
23085
 
27075
23086
 
27076
23087
fi
 
23088
rm -rf conftest.dSYM
27077
23089
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27078
23090
fi
27079
23091
 
27089
23101
        fi
27090
23102
 
27091
23103
fi
27092
 
{ echo "$as_me:$LINENO: result: $ac_cv_openssldir" >&5
27093
 
echo "${ECHO_T}$ac_cv_openssldir" >&6; }
 
23104
{ $as_echo "$as_me:$LINENO: result: $ac_cv_openssldir" >&5
 
23105
$as_echo "$ac_cv_openssldir" >&6; }
27094
23106
  fi
27095
23107
 
27096
23108
  if test ! -z "$ac_have_openssl" ; then
27141
23153
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27142
23154
  *) ac_try_echo=$ac_try;;
27143
23155
esac
27144
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23156
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23157
$as_echo "$ac_try_echo") >&5
27145
23158
  (eval "$ac_link") 2>conftest.er1
27146
23159
  ac_status=$?
27147
23160
  grep -v '^ *+' conftest.er1 >conftest.err
27148
23161
  rm -f conftest.er1
27149
23162
  cat conftest.err >&5
27150
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23163
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151
23164
  (exit $ac_status); } && {
27152
23165
         test -z "$ac_c_werror_flag" ||
27153
23166
         test ! -s conftest.err
27154
 
       } && test -s conftest$ac_exeext &&
27155
 
       $as_test_x conftest$ac_exeext; then
 
23167
       } && test -s conftest$ac_exeext && {
 
23168
         test "$cross_compiling" = yes ||
 
23169
         $as_test_x conftest$ac_exeext
 
23170
       }; then
27156
23171
 
27157
23172
cat >>confdefs.h <<\_ACEOF
27158
23173
#define HAVE_EVP_MD_CTX_CLEANUP 1
27159
23174
_ACEOF
27160
23175
 
27161
23176
else
27162
 
  echo "$as_me: failed program was:" >&5
 
23177
  $as_echo "$as_me: failed program was:" >&5
27163
23178
sed 's/^/| /' conftest.$ac_ext >&5
27164
23179
 
27165
23180
 
27166
23181
fi
27167
23182
 
 
23183
rm -rf conftest.dSYM
27168
23184
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27169
23185
      conftest$ac_exeext conftest.$ac_ext
27170
23186
  else
27171
23187
    SSL_LIBS=""
27172
 
    { echo "$as_me:$LINENO: WARNING: Could not find working OpenSSL library" >&5
27173
 
echo "$as_me: WARNING: Could not find working OpenSSL library" >&2;}
 
23188
    { $as_echo "$as_me:$LINENO: WARNING: Could not find working OpenSSL library" >&5
 
23189
$as_echo "$as_me: WARNING: Could not find working OpenSSL library" >&2;}
27174
23190
  fi
27175
23191
 
27176
23192
  LIBS="$saved_LIBS"
27200
23216
fi
27201
23217
 
27202
23218
 
27203
 
  { echo "$as_me:$LINENO: checking for munge installation" >&5
27204
 
echo $ECHO_N "checking for munge installation... $ECHO_C" >&6; }
 
23219
  { $as_echo "$as_me:$LINENO: checking for munge installation" >&5
 
23220
$as_echo_n "checking for munge installation... " >&6; }
27205
23221
if test "${x_ac_cv_munge_dir+set}" = set; then
27206
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23222
  $as_echo_n "(cached) " >&6
27207
23223
else
27208
23224
 
27209
23225
      for d in $_x_ac_munge_dirs; do
27243
23259
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27244
23260
  *) ac_try_echo=$ac_try;;
27245
23261
esac
27246
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23262
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23263
$as_echo "$ac_try_echo") >&5
27247
23264
  (eval "$ac_link") 2>conftest.er1
27248
23265
  ac_status=$?
27249
23266
  grep -v '^ *+' conftest.er1 >conftest.err
27250
23267
  rm -f conftest.er1
27251
23268
  cat conftest.err >&5
27252
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23269
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27253
23270
  (exit $ac_status); } && {
27254
23271
         test -z "$ac_c_werror_flag" ||
27255
23272
         test ! -s conftest.err
27256
 
       } && test -s conftest$ac_exeext &&
27257
 
       $as_test_x conftest$ac_exeext; then
 
23273
       } && test -s conftest$ac_exeext && {
 
23274
         test "$cross_compiling" = yes ||
 
23275
         $as_test_x conftest$ac_exeext
 
23276
       }; then
27258
23277
  x_ac_cv_munge_dir=$d
27259
23278
else
27260
 
  echo "$as_me: failed program was:" >&5
 
23279
  $as_echo "$as_me: failed program was:" >&5
27261
23280
sed 's/^/| /' conftest.$ac_ext >&5
27262
23281
 
27263
23282
 
27264
23283
fi
27265
23284
 
 
23285
rm -rf conftest.dSYM
27266
23286
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27267
23287
      conftest$ac_exeext conftest.$ac_ext
27268
23288
          LIBS="$_x_ac_munge_libs_save"
27272
23292
      done
27273
23293
 
27274
23294
fi
27275
 
{ echo "$as_me:$LINENO: result: $x_ac_cv_munge_dir" >&5
27276
 
echo "${ECHO_T}$x_ac_cv_munge_dir" >&6; }
 
23295
{ $as_echo "$as_me:$LINENO: result: $x_ac_cv_munge_dir" >&5
 
23296
$as_echo "$x_ac_cv_munge_dir" >&6; }
27277
23297
 
27278
23298
  if test -z "$x_ac_cv_munge_dir"; then
27279
 
    { echo "$as_me:$LINENO: WARNING: unable to locate munge installation" >&5
27280
 
echo "$as_me: WARNING: unable to locate munge installation" >&2;}
 
23299
    { $as_echo "$as_me:$LINENO: WARNING: unable to locate munge installation" >&5
 
23300
$as_echo "$as_me: WARNING: unable to locate munge installation" >&2;}
27281
23301
  else
27282
23302
    MUNGE_LIBS="-lmunge"
27283
23303
    MUNGE_CPPFLAGS="-I$x_ac_cv_munge_dir/include"
27298
23318
 
27299
23319
 
27300
23320
 
27301
 
{ echo "$as_me:$LINENO: checking if user env vars should be based upon login" >&5
27302
 
echo $ECHO_N "checking if user env vars should be based upon login... $ECHO_C" >&6; }
27303
 
# Check whether --enable-load-env-no-login was given.
27304
 
if test "${enable_load_env_no_login+set}" = set; then
27305
 
  enableval=$enable_load_env_no_login;  case "$enableval" in
27306
 
     yes) x_ac_load_env_no_login=yes ;;
27307
 
      no) x_ac_load_env_no_login=no ;;
27308
 
       *) { echo "$as_me:$LINENO: result: doh!" >&5
27309
 
echo "${ECHO_T}doh!" >&6; }
27310
 
          { { echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-load-env-no-login" >&5
27311
 
echo "$as_me: error: bad value \"$enableval\" for --enable-load-env-no-login" >&2;}
27312
 
   { (exit 1); exit 1; }; } ;;
27313
 
   esac
27314
 
 
27315
 
 
27316
 
fi
27317
 
 
27318
 
if test "$x_ac_load_env_no_login" = yes; then
27319
 
 
27320
 
cat >>confdefs.h <<\_ACEOF
27321
 
#define LOAD_ENV_NO_LOGIN 1
27322
 
_ACEOF
27323
 
 
27324
 
  { echo "$as_me:$LINENO: result: yes" >&5
27325
 
echo "${ECHO_T}yes" >&6; }
27326
 
else
27327
 
  { echo "$as_me:$LINENO: result: no" >&5
27328
 
echo "${ECHO_T}no" >&6; }
27329
 
fi
27330
 
 
27331
 
{ echo "$as_me:$LINENO: checking whether to enable multiple-slurmd support" >&5
27332
 
echo $ECHO_N "checking whether to enable multiple-slurmd support... $ECHO_C" >&6; }
 
23321
{ $as_echo "$as_me:$LINENO: checking whether to enable multiple-slurmd support" >&5
 
23322
$as_echo_n "checking whether to enable multiple-slurmd support... " >&6; }
27333
23323
# Check whether --enable-multiple-slurmd was given.
27334
23324
if test "${enable_multiple_slurmd+set}" = set; then
27335
23325
  enableval=$enable_multiple_slurmd;  case "$enableval" in
27336
23326
      yes) multiple_slurmd=yes ;;
27337
23327
      no)  multiple_slurmd=no ;;
27338
 
      *)   { { echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-multiple-slurmd" >&5
27339
 
echo "$as_me: error: bad value \"$enableval\" for --enable-multiple-slurmd" >&2;}
 
23328
      *)   { { $as_echo "$as_me:$LINENO: error: bad value \"$enableval\" for --enable-multiple-slurmd" >&5
 
23329
$as_echo "$as_me: error: bad value \"$enableval\" for --enable-multiple-slurmd" >&2;}
27340
23330
   { (exit 1); exit 1; }; };;
27341
23331
    esac
27342
23332
 
27348
23338
#define MULTIPLE_SLURMD 1
27349
23339
_ACEOF
27350
23340
 
27351
 
  { echo "$as_me:$LINENO: result: yes" >&5
27352
 
echo "${ECHO_T}yes" >&6; }
 
23341
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
23342
$as_echo "yes" >&6; }
27353
23343
else
27354
 
  { echo "$as_me:$LINENO: result: no" >&5
27355
 
echo "${ECHO_T}no" >&6; }
 
23344
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
23345
$as_echo "no" >&6; }
27356
23346
fi
27357
23347
 
27358
23348
 
27361
23351
savedCFLAGS="$CFLAGS"
27362
23352
LIBS="$SSL_LIBS $AUTHD_LIBS $LIBS"
27363
23353
CFLAGS="$SSL_CPPFLAGS $CFLAGS"
27364
 
{ echo "$as_me:$LINENO: checking for auth_init_credentials in -lauth" >&5
27365
 
echo $ECHO_N "checking for auth_init_credentials in -lauth... $ECHO_C" >&6; }
 
23354
{ $as_echo "$as_me:$LINENO: checking for auth_init_credentials in -lauth" >&5
 
23355
$as_echo_n "checking for auth_init_credentials in -lauth... " >&6; }
27366
23356
if test "${ac_cv_lib_auth_auth_init_credentials+set}" = set; then
27367
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23357
  $as_echo_n "(cached) " >&6
27368
23358
else
27369
23359
  ac_check_lib_save_LIBS=$LIBS
27370
23360
LIBS="-lauth  $LIBS"
27396
23386
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27397
23387
  *) ac_try_echo=$ac_try;;
27398
23388
esac
27399
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23389
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23390
$as_echo "$ac_try_echo") >&5
27400
23391
  (eval "$ac_link") 2>conftest.er1
27401
23392
  ac_status=$?
27402
23393
  grep -v '^ *+' conftest.er1 >conftest.err
27403
23394
  rm -f conftest.er1
27404
23395
  cat conftest.err >&5
27405
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23396
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406
23397
  (exit $ac_status); } && {
27407
23398
         test -z "$ac_c_werror_flag" ||
27408
23399
         test ! -s conftest.err
27409
 
       } && test -s conftest$ac_exeext &&
27410
 
       $as_test_x conftest$ac_exeext; then
 
23400
       } && test -s conftest$ac_exeext && {
 
23401
         test "$cross_compiling" = yes ||
 
23402
         $as_test_x conftest$ac_exeext
 
23403
       }; then
27411
23404
  ac_cv_lib_auth_auth_init_credentials=yes
27412
23405
else
27413
 
  echo "$as_me: failed program was:" >&5
 
23406
  $as_echo "$as_me: failed program was:" >&5
27414
23407
sed 's/^/| /' conftest.$ac_ext >&5
27415
23408
 
27416
23409
        ac_cv_lib_auth_auth_init_credentials=no
27417
23410
fi
27418
23411
 
 
23412
rm -rf conftest.dSYM
27419
23413
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27420
23414
      conftest$ac_exeext conftest.$ac_ext
27421
23415
LIBS=$ac_check_lib_save_LIBS
27422
23416
fi
27423
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_auth_auth_init_credentials" >&5
27424
 
echo "${ECHO_T}$ac_cv_lib_auth_auth_init_credentials" >&6; }
27425
 
if test $ac_cv_lib_auth_auth_init_credentials = yes; then
 
23417
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_auth_auth_init_credentials" >&5
 
23418
$as_echo "$ac_cv_lib_auth_auth_init_credentials" >&6; }
 
23419
if test "x$ac_cv_lib_auth_auth_init_credentials" = x""yes; then
27426
23420
  have_authd=yes
27427
23421
else
27428
23422
  have_authd=no
27443
23437
 
27444
23438
savedLIBS="$LIBS"
27445
23439
LIBS="-lutil $LIBS"
27446
 
{ echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
27447
 
echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6; }
 
23440
{ $as_echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
 
23441
$as_echo_n "checking for openpty in -lutil... " >&6; }
27448
23442
if test "${ac_cv_lib_util_openpty+set}" = set; then
27449
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23443
  $as_echo_n "(cached) " >&6
27450
23444
else
27451
23445
  ac_check_lib_save_LIBS=$LIBS
27452
23446
LIBS="-lutil  $LIBS"
27478
23472
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27479
23473
  *) ac_try_echo=$ac_try;;
27480
23474
esac
27481
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23475
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23476
$as_echo "$ac_try_echo") >&5
27482
23477
  (eval "$ac_link") 2>conftest.er1
27483
23478
  ac_status=$?
27484
23479
  grep -v '^ *+' conftest.er1 >conftest.err
27485
23480
  rm -f conftest.er1
27486
23481
  cat conftest.err >&5
27487
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23482
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27488
23483
  (exit $ac_status); } && {
27489
23484
         test -z "$ac_c_werror_flag" ||
27490
23485
         test ! -s conftest.err
27491
 
       } && test -s conftest$ac_exeext &&
27492
 
       $as_test_x conftest$ac_exeext; then
 
23486
       } && test -s conftest$ac_exeext && {
 
23487
         test "$cross_compiling" = yes ||
 
23488
         $as_test_x conftest$ac_exeext
 
23489
       }; then
27493
23490
  ac_cv_lib_util_openpty=yes
27494
23491
else
27495
 
  echo "$as_me: failed program was:" >&5
 
23492
  $as_echo "$as_me: failed program was:" >&5
27496
23493
sed 's/^/| /' conftest.$ac_ext >&5
27497
23494
 
27498
23495
        ac_cv_lib_util_openpty=no
27499
23496
fi
27500
23497
 
 
23498
rm -rf conftest.dSYM
27501
23499
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27502
23500
      conftest$ac_exeext conftest.$ac_ext
27503
23501
LIBS=$ac_check_lib_save_LIBS
27504
23502
fi
27505
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
27506
 
echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6; }
27507
 
if test $ac_cv_lib_util_openpty = yes; then
 
23503
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
 
23504
$as_echo "$ac_cv_lib_util_openpty" >&6; }
 
23505
if test "x$ac_cv_lib_util_openpty" = x""yes; then
27508
23506
  UTIL_LIBS="-lutil"
27509
23507
fi
27510
23508
 
27523
23521
 
27524
23522
 
27525
23523
 
27526
 
ac_config_files="$ac_config_files Makefile config.xml auxdir/Makefile contribs/Makefile contribs/perlapi/Makefile contribs/perlapi/libslurm-perl/Makefile.PL contribs/torque/Makefile contribs/phpext/Makefile contribs/phpext/slurm_php/config.m4 contribs/python/Makefile contribs/python/hostlist/Makefile contribs/python/hostlist/test/Makefile contribs/slurmdb-direct/Makefile src/Makefile src/api/Makefile src/common/Makefile src/database/Makefile src/sacct/Makefile src/sacctmgr/Makefile src/sreport/Makefile src/sstat/Makefile src/salloc/Makefile src/sbatch/Makefile src/sattach/Makefile src/srun/Makefile src/slurmd/Makefile src/slurmd/slurmd/Makefile src/slurmd/slurmstepd/Makefile src/slurmdbd/Makefile src/slurmctld/Makefile src/sbcast/Makefile src/scontrol/Makefile src/scancel/Makefile src/squeue/Makefile src/sinfo/Makefile src/smap/Makefile src/strigger/Makefile src/sview/Makefile src/plugins/Makefile src/plugins/accounting_storage/Makefile src/plugins/accounting_storage/filetxt/Makefile src/plugins/accounting_storage/mysql/Makefile src/plugins/accounting_storage/pgsql/Makefile src/plugins/accounting_storage/none/Makefile src/plugins/accounting_storage/slurmdbd/Makefile src/plugins/auth/Makefile src/plugins/auth/authd/Makefile src/plugins/auth/munge/Makefile src/plugins/auth/none/Makefile src/plugins/checkpoint/Makefile src/plugins/checkpoint/aix/Makefile src/plugins/checkpoint/none/Makefile src/plugins/checkpoint/ompi/Makefile src/plugins/checkpoint/xlch/Makefile src/plugins/crypto/Makefile src/plugins/crypto/munge/Makefile src/plugins/crypto/openssl/Makefile src/plugins/jobacct_gather/Makefile src/plugins/jobacct_gather/linux/Makefile src/plugins/jobacct_gather/aix/Makefile src/plugins/jobacct_gather/none/Makefile src/plugins/jobcomp/Makefile src/plugins/jobcomp/filetxt/Makefile src/plugins/jobcomp/none/Makefile src/plugins/jobcomp/script/Makefile src/plugins/jobcomp/mysql/Makefile src/plugins/jobcomp/pgsql/Makefile src/plugins/proctrack/Makefile src/plugins/proctrack/aix/Makefile src/plugins/proctrack/pgid/Makefile src/plugins/proctrack/linuxproc/Makefile src/plugins/proctrack/rms/Makefile src/plugins/proctrack/sgi_job/Makefile src/plugins/sched/Makefile src/plugins/sched/backfill/Makefile src/plugins/sched/builtin/Makefile src/plugins/sched/gang/Makefile src/plugins/sched/hold/Makefile src/plugins/sched/wiki/Makefile src/plugins/sched/wiki2/Makefile src/plugins/select/Makefile src/plugins/select/bluegene/Makefile src/plugins/select/bluegene/block_allocator/Makefile src/plugins/select/bluegene/plugin/Makefile src/plugins/select/linear/Makefile src/plugins/select/cons_res/Makefile src/plugins/switch/Makefile src/plugins/switch/elan/Makefile src/plugins/switch/none/Makefile src/plugins/switch/federation/Makefile src/plugins/mpi/Makefile src/plugins/mpi/mpich1_p4/Makefile src/plugins/mpi/mpich1_shmem/Makefile src/plugins/mpi/mpichgm/Makefile src/plugins/mpi/mpichmx/Makefile src/plugins/mpi/mvapich/Makefile src/plugins/mpi/lam/Makefile src/plugins/mpi/none/Makefile src/plugins/mpi/openmpi/Makefile src/plugins/task/Makefile src/plugins/task/affinity/Makefile src/plugins/task/none/Makefile doc/Makefile doc/man/Makefile doc/html/Makefile doc/html/configurator.html testsuite/Makefile testsuite/expect/Makefile testsuite/slurm_unit/Makefile testsuite/slurm_unit/api/Makefile testsuite/slurm_unit/api/manual/Makefile testsuite/slurm_unit/common/Makefile testsuite/slurm_unit/slurmctld/Makefile testsuite/slurm_unit/slurmd/Makefile testsuite/slurm_unit/slurmdbd/Makefile"
 
23524
 
 
23525
  _x_ac_blcr_dirs="/usr /usr/local /opt/freeware /opt/blcr"
 
23526
  _x_ac_blcr_libs="lib64 lib"
 
23527
 
 
23528
 
 
23529
# Check whether --with-blcr was given.
 
23530
if test "${with_blcr+set}" = set; then
 
23531
  withval=$with_blcr; _x_ac_blcr_dirs="$withval $_x_ac_blcr_dirs"
 
23532
fi
 
23533
 
 
23534
 
 
23535
  { $as_echo "$as_me:$LINENO: checking for blcr installation" >&5
 
23536
$as_echo_n "checking for blcr installation... " >&6; }
 
23537
if test "${x_ac_cv_blcr_dir+set}" = set; then
 
23538
  $as_echo_n "(cached) " >&6
 
23539
else
 
23540
 
 
23541
      for d in $_x_ac_blcr_dirs; do
 
23542
        test -d "$d" || continue
 
23543
        test -d "$d/include" || continue
 
23544
        test -f "$d/include/libcr.h" || continue
 
23545
        for bit in $_x_ac_blcr_libs; do
 
23546
          test -d "$d/$bit" || continue
 
23547
 
 
23548
          _x_ac_blcr_libs_save="$LIBS"
 
23549
          LIBS="-L$d/$bit -lcr $LIBS"
 
23550
          cat >conftest.$ac_ext <<_ACEOF
 
23551
/* confdefs.h.  */
 
23552
_ACEOF
 
23553
cat confdefs.h >>conftest.$ac_ext
 
23554
cat >>conftest.$ac_ext <<_ACEOF
 
23555
/* end confdefs.h.  */
 
23556
 
 
23557
/* Override any GCC internal prototype to avoid an error.
 
23558
   Use char because int might match the return type of a GCC
 
23559
   builtin and then its argument prototype would still apply.  */
 
23560
#ifdef __cplusplus
 
23561
extern "C"
 
23562
#endif
 
23563
char cr_init ();
 
23564
int
 
23565
main ()
 
23566
{
 
23567
return cr_init ();
 
23568
  ;
 
23569
  return 0;
 
23570
}
 
23571
_ACEOF
 
23572
rm -f conftest.$ac_objext conftest$ac_exeext
 
23573
if { (ac_try="$ac_link"
 
23574
case "(($ac_try" in
 
23575
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23576
  *) ac_try_echo=$ac_try;;
 
23577
esac
 
23578
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23579
$as_echo "$ac_try_echo") >&5
 
23580
  (eval "$ac_link") 2>conftest.er1
 
23581
  ac_status=$?
 
23582
  grep -v '^ *+' conftest.er1 >conftest.err
 
23583
  rm -f conftest.er1
 
23584
  cat conftest.err >&5
 
23585
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23586
  (exit $ac_status); } && {
 
23587
         test -z "$ac_c_werror_flag" ||
 
23588
         test ! -s conftest.err
 
23589
       } && test -s conftest$ac_exeext && {
 
23590
         test "$cross_compiling" = yes ||
 
23591
         $as_test_x conftest$ac_exeext
 
23592
       }; then
 
23593
  x_ac_cv_blcr_dir=$d
 
23594
else
 
23595
  $as_echo "$as_me: failed program was:" >&5
 
23596
sed 's/^/| /' conftest.$ac_ext >&5
 
23597
 
 
23598
 
 
23599
fi
 
23600
 
 
23601
rm -rf conftest.dSYM
 
23602
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
23603
      conftest$ac_exeext conftest.$ac_ext
 
23604
          LIBS="$_x_ac_blcr_libs_save"
 
23605
          test -n "$x_ac_cv_blcr_dir" && break
 
23606
        done
 
23607
        test -n "$x_ac_cv_blcr_dir" && break
 
23608
      done
 
23609
 
 
23610
fi
 
23611
{ $as_echo "$as_me:$LINENO: result: $x_ac_cv_blcr_dir" >&5
 
23612
$as_echo "$x_ac_cv_blcr_dir" >&6; }
 
23613
 
 
23614
  if test -z "$x_ac_cv_blcr_dir"; then
 
23615
    { $as_echo "$as_me:$LINENO: WARNING: unable to locate blcr installation" >&5
 
23616
$as_echo "$as_me: WARNING: unable to locate blcr installation" >&2;}
 
23617
  else
 
23618
    BLCR_HOME="$x_ac_cv_blcr_dir"
 
23619
    BLCR_LIBS="-lcr"
 
23620
    BLCR_CPPFLAGS="-I$x_ac_cv_blcr_dir/include"
 
23621
    BLCR_LDFLAGS="-L$x_ac_cv_blcr_dir/$bit"
 
23622
  fi
 
23623
 
 
23624
 
 
23625
cat >>confdefs.h <<_ACEOF
 
23626
#define BLCR_HOME "$x_ac_cv_blcr_dir"
 
23627
_ACEOF
 
23628
 
 
23629
 
 
23630
 
 
23631
 
 
23632
 
 
23633
 
 
23634
 
 
23635
   if test -n "$x_ac_cv_blcr_dir"; then
 
23636
  WITH_BLCR_TRUE=
 
23637
  WITH_BLCR_FALSE='#'
 
23638
else
 
23639
  WITH_BLCR_TRUE='#'
 
23640
  WITH_BLCR_FALSE=
 
23641
fi
 
23642
 
 
23643
 
 
23644
 
 
23645
 
 
23646
 
 
23647
ac_config_files="$ac_config_files Makefile config.xml auxdir/Makefile contribs/Makefile contribs/perlapi/Makefile contribs/perlapi/libslurm-perl/Makefile.PL contribs/torque/Makefile contribs/phpext/Makefile contribs/phpext/slurm_php/config.m4 contribs/python/Makefile contribs/python/hostlist/Makefile contribs/python/hostlist/test/Makefile contribs/slurmdb-direct/Makefile src/Makefile src/api/Makefile src/common/Makefile src/database/Makefile src/sacct/Makefile src/sacctmgr/Makefile src/sreport/Makefile src/sstat/Makefile src/sshare/Makefile src/salloc/Makefile src/sbatch/Makefile src/sattach/Makefile src/sprio/Makefile src/srun/Makefile src/srun_cr/Makefile src/slurmd/Makefile src/slurmd/slurmd/Makefile src/slurmd/slurmstepd/Makefile src/slurmdbd/Makefile src/slurmctld/Makefile src/sbcast/Makefile src/scontrol/Makefile src/scancel/Makefile src/squeue/Makefile src/sinfo/Makefile src/smap/Makefile src/strigger/Makefile src/sview/Makefile src/plugins/Makefile src/plugins/accounting_storage/Makefile src/plugins/accounting_storage/filetxt/Makefile src/plugins/accounting_storage/mysql/Makefile src/plugins/accounting_storage/pgsql/Makefile src/plugins/accounting_storage/none/Makefile src/plugins/accounting_storage/slurmdbd/Makefile src/plugins/auth/Makefile src/plugins/auth/authd/Makefile src/plugins/auth/munge/Makefile src/plugins/auth/none/Makefile src/plugins/checkpoint/Makefile src/plugins/checkpoint/aix/Makefile src/plugins/checkpoint/none/Makefile src/plugins/checkpoint/ompi/Makefile src/plugins/checkpoint/xlch/Makefile src/plugins/checkpoint/blcr/Makefile src/plugins/checkpoint/blcr/cr_checkpoint.sh src/plugins/checkpoint/blcr/cr_restart.sh src/plugins/crypto/Makefile src/plugins/crypto/munge/Makefile src/plugins/crypto/openssl/Makefile src/plugins/jobacct_gather/Makefile src/plugins/jobacct_gather/linux/Makefile src/plugins/jobacct_gather/aix/Makefile src/plugins/jobacct_gather/none/Makefile src/plugins/jobcomp/Makefile src/plugins/jobcomp/filetxt/Makefile src/plugins/jobcomp/none/Makefile src/plugins/jobcomp/script/Makefile src/plugins/jobcomp/mysql/Makefile src/plugins/jobcomp/pgsql/Makefile src/plugins/priority/Makefile src/plugins/priority/basic/Makefile src/plugins/priority/multifactor/Makefile src/plugins/proctrack/Makefile src/plugins/proctrack/aix/Makefile src/plugins/proctrack/pgid/Makefile src/plugins/proctrack/linuxproc/Makefile src/plugins/proctrack/rms/Makefile src/plugins/proctrack/sgi_job/Makefile src/plugins/sched/Makefile src/plugins/sched/backfill/Makefile src/plugins/sched/builtin/Makefile src/plugins/sched/gang/Makefile src/plugins/sched/hold/Makefile src/plugins/sched/wiki/Makefile src/plugins/sched/wiki2/Makefile src/plugins/select/Makefile src/plugins/select/bluegene/Makefile src/plugins/select/bluegene/block_allocator/Makefile src/plugins/select/bluegene/plugin/Makefile src/plugins/select/cons_res/Makefile src/plugins/select/linear/Makefile src/plugins/switch/Makefile src/plugins/switch/elan/Makefile src/plugins/switch/none/Makefile src/plugins/switch/federation/Makefile src/plugins/mpi/Makefile src/plugins/mpi/mpich1_p4/Makefile src/plugins/mpi/mpich1_shmem/Makefile src/plugins/mpi/mpichgm/Makefile src/plugins/mpi/mpichmx/Makefile src/plugins/mpi/mvapich/Makefile src/plugins/mpi/lam/Makefile src/plugins/mpi/none/Makefile src/plugins/mpi/openmpi/Makefile src/plugins/task/Makefile src/plugins/task/affinity/Makefile src/plugins/task/none/Makefile src/plugins/topology/Makefile src/plugins/topology/3d_torus/Makefile src/plugins/topology/none/Makefile src/plugins/topology/tree/Makefile doc/Makefile doc/man/Makefile doc/html/Makefile doc/html/configurator.html testsuite/Makefile testsuite/expect/Makefile testsuite/slurm_unit/Makefile testsuite/slurm_unit/api/Makefile testsuite/slurm_unit/api/manual/Makefile testsuite/slurm_unit/common/Makefile testsuite/slurm_unit/slurmctld/Makefile testsuite/slurm_unit/slurmd/Makefile testsuite/slurm_unit/slurmdbd/Makefile"
27527
23648
 
27528
23649
 
27529
23650
cat >confcache <<\_ACEOF
27553
23674
    case $ac_val in #(
27554
23675
    *${as_nl}*)
27555
23676
      case $ac_var in #(
27556
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27557
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
23677
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
23678
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
27558
23679
      esac
27559
23680
      case $ac_var in #(
27560
23681
      _ | IFS | as_nl) ;; #(
 
23682
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
27561
23683
      *) $as_unset $ac_var ;;
27562
23684
      esac ;;
27563
23685
    esac
27590
23712
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27591
23713
  if test -w "$cache_file"; then
27592
23714
    test "x$cache_file" != "x/dev/null" &&
27593
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27594
 
echo "$as_me: updating cache $cache_file" >&6;}
 
23715
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
23716
$as_echo "$as_me: updating cache $cache_file" >&6;}
27595
23717
    cat confcache >$cache_file
27596
23718
  else
27597
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27598
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
23719
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
23720
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27599
23721
  fi
27600
23722
fi
27601
23723
rm -f confcache
27611
23733
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
27612
23734
  # 1. Remove the extension, and $U if already installed.
27613
23735
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
27614
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
23736
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
27615
23737
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
27616
23738
  #    will be set to the directory where LIBOBJS objects are built.
27617
23739
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
27623
23745
 
27624
23746
 
27625
23747
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27626
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 
23748
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
27627
23749
Usually this means the macro was only invoked conditionally." >&5
27628
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 
23750
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
27629
23751
Usually this means the macro was only invoked conditionally." >&2;}
27630
23752
   { (exit 1); exit 1; }; }
27631
23753
fi
27632
23754
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27633
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
23755
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
27634
23756
Usually this means the macro was only invoked conditionally." >&5
27635
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
23757
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
27636
23758
Usually this means the macro was only invoked conditionally." >&2;}
27637
23759
   { (exit 1); exit 1; }; }
27638
23760
fi
27639
23761
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27640
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
23762
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27641
23763
Usually this means the macro was only invoked conditionally." >&5
27642
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
23764
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27643
23765
Usually this means the macro was only invoked conditionally." >&2;}
27644
23766
   { (exit 1); exit 1; }; }
27645
23767
fi
27646
23768
if test -z "${BLUEGENE_LOADED_TRUE}" && test -z "${BLUEGENE_LOADED_FALSE}"; then
27647
 
  { { echo "$as_me:$LINENO: error: conditional \"BLUEGENE_LOADED\" was never defined.
 
23769
  { { $as_echo "$as_me:$LINENO: error: conditional \"BLUEGENE_LOADED\" was never defined.
27648
23770
Usually this means the macro was only invoked conditionally." >&5
27649
 
echo "$as_me: error: conditional \"BLUEGENE_LOADED\" was never defined.
 
23771
$as_echo "$as_me: error: conditional \"BLUEGENE_LOADED\" was never defined.
27650
23772
Usually this means the macro was only invoked conditionally." >&2;}
27651
23773
   { (exit 1); exit 1; }; }
27652
23774
fi
27653
23775
if test -z "${HAVE_AIX_TRUE}" && test -z "${HAVE_AIX_FALSE}"; then
27654
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_AIX\" was never defined.
 
23776
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_AIX\" was never defined.
27655
23777
Usually this means the macro was only invoked conditionally." >&5
27656
 
echo "$as_me: error: conditional \"HAVE_AIX\" was never defined.
 
23778
$as_echo "$as_me: error: conditional \"HAVE_AIX\" was never defined.
27657
23779
Usually this means the macro was only invoked conditionally." >&2;}
27658
23780
   { (exit 1); exit 1; }; }
27659
23781
fi
27660
23782
if test -z "${HAVE_AIX_PROCTRACK_TRUE}" && test -z "${HAVE_AIX_PROCTRACK_FALSE}"; then
27661
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_AIX_PROCTRACK\" was never defined.
 
23783
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_AIX_PROCTRACK\" was never defined.
27662
23784
Usually this means the macro was only invoked conditionally." >&5
27663
 
echo "$as_me: error: conditional \"HAVE_AIX_PROCTRACK\" was never defined.
 
23785
$as_echo "$as_me: error: conditional \"HAVE_AIX_PROCTRACK\" was never defined.
27664
23786
Usually this means the macro was only invoked conditionally." >&2;}
27665
23787
   { (exit 1); exit 1; }; }
27666
23788
fi
27667
23789
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27668
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27669
 
Usually this means the macro was only invoked conditionally." >&5
27670
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27671
 
Usually this means the macro was only invoked conditionally." >&2;}
27672
 
   { (exit 1); exit 1; }; }
27673
 
fi
27674
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27675
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
27676
 
Usually this means the macro was only invoked conditionally." >&5
27677
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
23790
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
23791
Usually this means the macro was only invoked conditionally." >&5
 
23792
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
23793
Usually this means the macro was only invoked conditionally." >&2;}
 
23794
   { (exit 1); exit 1; }; }
 
23795
fi
 
23796
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
23797
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
23798
Usually this means the macro was only invoked conditionally." >&5
 
23799
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
23800
Usually this means the macro was only invoked conditionally." >&2;}
 
23801
   { (exit 1); exit 1; }; }
 
23802
fi
 
23803
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
23804
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
23805
Usually this means the macro was only invoked conditionally." >&5
 
23806
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
27678
23807
Usually this means the macro was only invoked conditionally." >&2;}
27679
23808
   { (exit 1); exit 1; }; }
27680
23809
fi
27681
23810
if test -z "${WITH_GNU_LD_TRUE}" && test -z "${WITH_GNU_LD_FALSE}"; then
27682
 
  { { echo "$as_me:$LINENO: error: conditional \"WITH_GNU_LD\" was never defined.
 
23811
  { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_GNU_LD\" was never defined.
27683
23812
Usually this means the macro was only invoked conditionally." >&5
27684
 
echo "$as_me: error: conditional \"WITH_GNU_LD\" was never defined.
 
23813
$as_echo "$as_me: error: conditional \"WITH_GNU_LD\" was never defined.
27685
23814
Usually this means the macro was only invoked conditionally." >&2;}
27686
23815
   { (exit 1); exit 1; }; }
27687
23816
fi
27688
23817
if test -z "${HAVE_NUMA_TRUE}" && test -z "${HAVE_NUMA_FALSE}"; then
27689
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_NUMA\" was never defined.
 
23818
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_NUMA\" was never defined.
27690
23819
Usually this means the macro was only invoked conditionally." >&5
27691
 
echo "$as_me: error: conditional \"HAVE_NUMA\" was never defined.
 
23820
$as_echo "$as_me: error: conditional \"HAVE_NUMA\" was never defined.
27692
23821
Usually this means the macro was only invoked conditionally." >&2;}
27693
23822
   { (exit 1); exit 1; }; }
27694
23823
fi
27695
23824
if test -z "${HAVE_SCHED_SETAFFINITY_TRUE}" && test -z "${HAVE_SCHED_SETAFFINITY_FALSE}"; then
27696
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_SCHED_SETAFFINITY\" was never defined.
 
23825
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SCHED_SETAFFINITY\" was never defined.
27697
23826
Usually this means the macro was only invoked conditionally." >&5
27698
 
echo "$as_me: error: conditional \"HAVE_SCHED_SETAFFINITY\" was never defined.
 
23827
$as_echo "$as_me: error: conditional \"HAVE_SCHED_SETAFFINITY\" was never defined.
27699
23828
Usually this means the macro was only invoked conditionally." >&2;}
27700
23829
   { (exit 1); exit 1; }; }
27701
23830
fi
27702
23831
if test -z "${HAVE_PAM_TRUE}" && test -z "${HAVE_PAM_FALSE}"; then
27703
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_PAM\" was never defined.
 
23832
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_PAM\" was never defined.
27704
23833
Usually this means the macro was only invoked conditionally." >&5
27705
 
echo "$as_me: error: conditional \"HAVE_PAM\" was never defined.
 
23834
$as_echo "$as_me: error: conditional \"HAVE_PAM\" was never defined.
27706
23835
Usually this means the macro was only invoked conditionally." >&2;}
27707
23836
   { (exit 1); exit 1; }; }
27708
23837
fi
 
23838
 
27709
23839
if test -z "${HAVE_UNSETENV_TRUE}" && test -z "${HAVE_UNSETENV_FALSE}"; then
27710
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_UNSETENV\" was never defined.
 
23840
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_UNSETENV\" was never defined.
27711
23841
Usually this means the macro was only invoked conditionally." >&5
27712
 
echo "$as_me: error: conditional \"HAVE_UNSETENV\" was never defined.
 
23842
$as_echo "$as_me: error: conditional \"HAVE_UNSETENV\" was never defined.
27713
23843
Usually this means the macro was only invoked conditionally." >&2;}
27714
23844
   { (exit 1); exit 1; }; }
27715
23845
fi
27716
23846
if test -z "${HAVE_SOME_CURSES_TRUE}" && test -z "${HAVE_SOME_CURSES_FALSE}"; then
27717
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_SOME_CURSES\" was never defined.
 
23847
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SOME_CURSES\" was never defined.
27718
23848
Usually this means the macro was only invoked conditionally." >&5
27719
 
echo "$as_me: error: conditional \"HAVE_SOME_CURSES\" was never defined.
 
23849
$as_echo "$as_me: error: conditional \"HAVE_SOME_CURSES\" was never defined.
27720
23850
Usually this means the macro was only invoked conditionally." >&2;}
27721
23851
   { (exit 1); exit 1; }; }
27722
23852
fi
27723
23853
if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
27724
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK\" was never defined.
27725
 
Usually this means the macro was only invoked conditionally." >&5
27726
 
echo "$as_me: error: conditional \"HAVE_GTK\" was never defined.
 
23854
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK\" was never defined.
 
23855
Usually this means the macro was only invoked conditionally." >&5
 
23856
$as_echo "$as_me: error: conditional \"HAVE_GTK\" was never defined.
 
23857
Usually this means the macro was only invoked conditionally." >&2;}
 
23858
   { (exit 1); exit 1; }; }
 
23859
fi
 
23860
if test -z "${WITH_MYSQL_TRUE}" && test -z "${WITH_MYSQL_FALSE}"; then
 
23861
  { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_MYSQL\" was never defined.
 
23862
Usually this means the macro was only invoked conditionally." >&5
 
23863
$as_echo "$as_me: error: conditional \"WITH_MYSQL\" was never defined.
 
23864
Usually this means the macro was only invoked conditionally." >&2;}
 
23865
   { (exit 1); exit 1; }; }
 
23866
fi
 
23867
if test -z "${WITH_PGSQL_TRUE}" && test -z "${WITH_PGSQL_FALSE}"; then
 
23868
  { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_PGSQL\" was never defined.
 
23869
Usually this means the macro was only invoked conditionally." >&5
 
23870
$as_echo "$as_me: error: conditional \"WITH_PGSQL\" was never defined.
27727
23871
Usually this means the macro was only invoked conditionally." >&2;}
27728
23872
   { (exit 1); exit 1; }; }
27729
23873
fi
27730
23874
if test -z "${DEBUG_MODULES_TRUE}" && test -z "${DEBUG_MODULES_FALSE}"; then
27731
 
  { { echo "$as_me:$LINENO: error: conditional \"DEBUG_MODULES\" was never defined.
 
23875
  { { $as_echo "$as_me:$LINENO: error: conditional \"DEBUG_MODULES\" was never defined.
27732
23876
Usually this means the macro was only invoked conditionally." >&5
27733
 
echo "$as_me: error: conditional \"DEBUG_MODULES\" was never defined.
 
23877
$as_echo "$as_me: error: conditional \"DEBUG_MODULES\" was never defined.
27734
23878
Usually this means the macro was only invoked conditionally." >&2;}
27735
23879
   { (exit 1); exit 1; }; }
27736
23880
fi
27737
23881
if test -z "${HAVE_ELAN_TRUE}" && test -z "${HAVE_ELAN_FALSE}"; then
27738
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_ELAN\" was never defined.
 
23882
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_ELAN\" was never defined.
27739
23883
Usually this means the macro was only invoked conditionally." >&5
27740
 
echo "$as_me: error: conditional \"HAVE_ELAN\" was never defined.
 
23884
$as_echo "$as_me: error: conditional \"HAVE_ELAN\" was never defined.
27741
23885
Usually this means the macro was only invoked conditionally." >&2;}
27742
23886
   { (exit 1); exit 1; }; }
27743
23887
fi
27744
23888
if test -z "${HAVE_FEDERATION_TRUE}" && test -z "${HAVE_FEDERATION_FALSE}"; then
27745
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_FEDERATION\" was never defined.
 
23889
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_FEDERATION\" was never defined.
27746
23890
Usually this means the macro was only invoked conditionally." >&5
27747
 
echo "$as_me: error: conditional \"HAVE_FEDERATION\" was never defined.
 
23891
$as_echo "$as_me: error: conditional \"HAVE_FEDERATION\" was never defined.
27748
23892
Usually this means the macro was only invoked conditionally." >&2;}
27749
23893
   { (exit 1); exit 1; }; }
27750
23894
fi
27751
23895
if test -z "${HAVE_SGI_JOB_TRUE}" && test -z "${HAVE_SGI_JOB_FALSE}"; then
27752
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_SGI_JOB\" was never defined.
 
23896
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SGI_JOB\" was never defined.
27753
23897
Usually this means the macro was only invoked conditionally." >&5
27754
 
echo "$as_me: error: conditional \"HAVE_SGI_JOB\" was never defined.
 
23898
$as_echo "$as_me: error: conditional \"HAVE_SGI_JOB\" was never defined.
27755
23899
Usually this means the macro was only invoked conditionally." >&2;}
27756
23900
   { (exit 1); exit 1; }; }
27757
23901
fi
27758
23902
if test -z "${HAVE_OPENSSL_TRUE}" && test -z "${HAVE_OPENSSL_FALSE}"; then
27759
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_OPENSSL\" was never defined.
 
23903
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_OPENSSL\" was never defined.
27760
23904
Usually this means the macro was only invoked conditionally." >&5
27761
 
echo "$as_me: error: conditional \"HAVE_OPENSSL\" was never defined.
 
23905
$as_echo "$as_me: error: conditional \"HAVE_OPENSSL\" was never defined.
27762
23906
Usually this means the macro was only invoked conditionally." >&2;}
27763
23907
   { (exit 1); exit 1; }; }
27764
23908
fi
27765
23909
if test -z "${WITH_MUNGE_TRUE}" && test -z "${WITH_MUNGE_FALSE}"; then
27766
 
  { { echo "$as_me:$LINENO: error: conditional \"WITH_MUNGE\" was never defined.
 
23910
  { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_MUNGE\" was never defined.
27767
23911
Usually this means the macro was only invoked conditionally." >&5
27768
 
echo "$as_me: error: conditional \"WITH_MUNGE\" was never defined.
 
23912
$as_echo "$as_me: error: conditional \"WITH_MUNGE\" was never defined.
27769
23913
Usually this means the macro was only invoked conditionally." >&2;}
27770
23914
   { (exit 1); exit 1; }; }
27771
23915
fi
27772
23916
if test -z "${WITH_AUTHD_TRUE}" && test -z "${WITH_AUTHD_FALSE}"; then
27773
 
  { { echo "$as_me:$LINENO: error: conditional \"WITH_AUTHD\" was never defined.
27774
 
Usually this means the macro was only invoked conditionally." >&5
27775
 
echo "$as_me: error: conditional \"WITH_AUTHD\" was never defined.
 
23917
  { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_AUTHD\" was never defined.
 
23918
Usually this means the macro was only invoked conditionally." >&5
 
23919
$as_echo "$as_me: error: conditional \"WITH_AUTHD\" was never defined.
 
23920
Usually this means the macro was only invoked conditionally." >&2;}
 
23921
   { (exit 1); exit 1; }; }
 
23922
fi
 
23923
if test -z "${WITH_BLCR_TRUE}" && test -z "${WITH_BLCR_FALSE}"; then
 
23924
  { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_BLCR\" was never defined.
 
23925
Usually this means the macro was only invoked conditionally." >&5
 
23926
$as_echo "$as_me: error: conditional \"WITH_BLCR\" was never defined.
27776
23927
Usually this means the macro was only invoked conditionally." >&2;}
27777
23928
   { (exit 1); exit 1; }; }
27778
23929
fi
27779
23930
 
27780
23931
: ${CONFIG_STATUS=./config.status}
 
23932
ac_write_fail=0
27781
23933
ac_clean_files_save=$ac_clean_files
27782
23934
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27783
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
27784
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
27785
 
cat >$CONFIG_STATUS <<_ACEOF
 
23935
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
23936
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
23937
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27786
23938
#! $SHELL
27787
23939
# Generated by $as_me.
27788
23940
# Run this file to recreate the current configuration.
27795
23947
SHELL=\${CONFIG_SHELL-$SHELL}
27796
23948
_ACEOF
27797
23949
 
27798
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
23950
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27799
23951
## --------------------- ##
27800
23952
## M4sh Initialization.  ##
27801
23953
## --------------------- ##
27805
23957
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27806
23958
  emulate sh
27807
23959
  NULLCMD=:
27808
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
23960
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27809
23961
  # is contrary to our usage.  Disable this feature.
27810
23962
  alias -g '${1+"$@"}'='"$@"'
27811
23963
  setopt NO_GLOB_SUBST
27827
23979
as_cr_digits='0123456789'
27828
23980
as_cr_alnum=$as_cr_Letters$as_cr_digits
27829
23981
 
 
23982
as_nl='
 
23983
'
 
23984
export as_nl
 
23985
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
23986
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
23987
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
23988
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
23989
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
23990
  as_echo='printf %s\n'
 
23991
  as_echo_n='printf %s'
 
23992
else
 
23993
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
23994
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
23995
    as_echo_n='/usr/ucb/echo -n'
 
23996
  else
 
23997
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
23998
    as_echo_n_body='eval
 
23999
      arg=$1;
 
24000
      case $arg in
 
24001
      *"$as_nl"*)
 
24002
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
24003
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
24004
      esac;
 
24005
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
24006
    '
 
24007
    export as_echo_n_body
 
24008
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
24009
  fi
 
24010
  export as_echo_body
 
24011
  as_echo='sh -c $as_echo_body as_echo'
 
24012
fi
 
24013
 
27830
24014
# The user is always right.
27831
24015
if test "${PATH_SEPARATOR+set}" != set; then
27832
 
  echo "#! /bin/sh" >conf$$.sh
27833
 
  echo  "exit 0"   >>conf$$.sh
27834
 
  chmod +x conf$$.sh
27835
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27836
 
    PATH_SEPARATOR=';'
27837
 
  else
27838
 
    PATH_SEPARATOR=:
27839
 
  fi
27840
 
  rm -f conf$$.sh
 
24016
  PATH_SEPARATOR=:
 
24017
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
24018
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
24019
      PATH_SEPARATOR=';'
 
24020
  }
27841
24021
fi
27842
24022
 
27843
24023
# Support unset when possible.
27853
24033
# there to prevent editors from complaining about space-tab.
27854
24034
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
27855
24035
# splitting by setting IFS to empty value.)
27856
 
as_nl='
27857
 
'
27858
24036
IFS=" ""        $as_nl"
27859
24037
 
27860
24038
# Find who we are.  Look in the path if we contain no directory separator.
27877
24055
  as_myself=$0
27878
24056
fi
27879
24057
if test ! -f "$as_myself"; then
27880
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
24058
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27881
24059
  { (exit 1); exit 1; }
27882
24060
fi
27883
24061
 
27890
24068
PS4='+ '
27891
24069
 
27892
24070
# NLS nuisances.
27893
 
for as_var in \
27894
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
27895
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
27896
 
  LC_TELEPHONE LC_TIME
27897
 
do
27898
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
27899
 
    eval $as_var=C; export $as_var
27900
 
  else
27901
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
27902
 
  fi
27903
 
done
 
24071
LC_ALL=C
 
24072
export LC_ALL
 
24073
LANGUAGE=C
 
24074
export LANGUAGE
27904
24075
 
27905
24076
# Required to use basename.
27906
24077
if expr a : '\(a\)' >/dev/null 2>&1 &&
27922
24093
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27923
24094
         X"$0" : 'X\(//\)$' \| \
27924
24095
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27925
 
echo X/"$0" |
 
24096
$as_echo X/"$0" |
27926
24097
    sed '/^.*\/\([^/][^/]*\)\/*$/{
27927
24098
            s//\1/
27928
24099
            q
27973
24144
      s/-\n.*//
27974
24145
    ' >$as_me.lineno &&
27975
24146
  chmod +x "$as_me.lineno" ||
27976
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
24147
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
27977
24148
   { (exit 1); exit 1; }; }
27978
24149
 
27979
24150
  # Don't try to exec as it changes $[0], causing all sort of problems
28001
24172
*)
28002
24173
  ECHO_N='-n';;
28003
24174
esac
28004
 
 
28005
24175
if expr a : '\(a\)' >/dev/null 2>&1 &&
28006
24176
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
28007
24177
  as_expr=expr
28014
24184
  rm -f conf$$.dir/conf$$.file
28015
24185
else
28016
24186
  rm -f conf$$.dir
28017
 
  mkdir conf$$.dir
 
24187
  mkdir conf$$.dir 2>/dev/null
28018
24188
fi
28019
 
echo >conf$$.file
28020
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
28021
 
  as_ln_s='ln -s'
28022
 
  # ... but there are two gotchas:
28023
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
28024
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
28025
 
  # In both cases, we have to default to `cp -p'.
28026
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
24189
if (echo >conf$$.file) 2>/dev/null; then
 
24190
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
24191
    as_ln_s='ln -s'
 
24192
    # ... but there are two gotchas:
 
24193
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
24194
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
24195
    # In both cases, we have to default to `cp -p'.
 
24196
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
24197
      as_ln_s='cp -p'
 
24198
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
24199
    as_ln_s=ln
 
24200
  else
28027
24201
    as_ln_s='cp -p'
28028
 
elif ln conf$$.file conf$$ 2>/dev/null; then
28029
 
  as_ln_s=ln
 
24202
  fi
28030
24203
else
28031
24204
  as_ln_s='cp -p'
28032
24205
fi
28051
24224
  as_test_x='
28052
24225
    eval sh -c '\''
28053
24226
      if test -d "$1"; then
28054
 
        test -d "$1/.";
 
24227
        test -d "$1/.";
28055
24228
      else
28056
24229
        case $1 in
28057
 
        -*)set "./$1";;
 
24230
        -*)set "./$1";;
28058
24231
        esac;
28059
24232
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
28060
24233
        ???[sx]*):;;*)false;;esac;fi
28077
24250
# values after options handling.
28078
24251
ac_log="
28079
24252
This file was extended by $as_me, which was
28080
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
24253
generated by GNU Autoconf 2.63.  Invocation command line was
28081
24254
 
28082
24255
  CONFIG_FILES    = $CONFIG_FILES
28083
24256
  CONFIG_HEADERS  = $CONFIG_HEADERS
28090
24263
 
28091
24264
_ACEOF
28092
24265
 
28093
 
cat >>$CONFIG_STATUS <<_ACEOF
 
24266
case $ac_config_files in *"
 
24267
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
24268
esac
 
24269
 
 
24270
case $ac_config_headers in *"
 
24271
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
24272
esac
 
24273
 
 
24274
 
 
24275
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28094
24276
# Files that config.status was made for.
28095
24277
config_files="$ac_config_files"
28096
24278
config_headers="$ac_config_headers"
28098
24280
 
28099
24281
_ACEOF
28100
24282
 
28101
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
24283
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28102
24284
ac_cs_usage="\
28103
24285
\`$as_me' instantiates files from templates according to the
28104
24286
current configuration.
28105
24287
 
28106
 
Usage: $0 [OPTIONS] [FILE]...
 
24288
Usage: $0 [OPTION]... [FILE]...
28107
24289
 
28108
24290
  -h, --help       print this help, then exit
28109
24291
  -V, --version    print version number and configuration settings, then exit
28110
 
  -q, --quiet      do not print progress messages
 
24292
  -q, --quiet, --silent
 
24293
                   do not print progress messages
28111
24294
  -d, --debug      don't remove temporary files
28112
24295
      --recheck    update $as_me by reconfiguring in the same conditions
28113
 
  --file=FILE[:TEMPLATE]
28114
 
                   instantiate the configuration file FILE
28115
 
  --header=FILE[:TEMPLATE]
28116
 
                   instantiate the configuration header FILE
 
24296
      --file=FILE[:TEMPLATE]
 
24297
                   instantiate the configuration file FILE
 
24298
      --header=FILE[:TEMPLATE]
 
24299
                   instantiate the configuration header FILE
28117
24300
 
28118
24301
Configuration files:
28119
24302
$config_files
28127
24310
Report bugs to <bug-autoconf@gnu.org>."
28128
24311
 
28129
24312
_ACEOF
28130
 
cat >>$CONFIG_STATUS <<_ACEOF
 
24313
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28131
24314
ac_cs_version="\\
28132
24315
config.status
28133
 
configured by $0, generated by GNU Autoconf 2.61,
28134
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
24316
configured by $0, generated by GNU Autoconf 2.63,
 
24317
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
28135
24318
 
28136
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
24319
Copyright (C) 2008 Free Software Foundation, Inc.
28137
24320
This config.status script is free software; the Free Software Foundation
28138
24321
gives unlimited permission to copy, distribute and modify it."
28139
24322
 
28141
24324
srcdir='$srcdir'
28142
24325
INSTALL='$INSTALL'
28143
24326
MKDIR_P='$MKDIR_P'
 
24327
AWK='$AWK'
 
24328
test -n "\$AWK" || AWK=awk
28144
24329
_ACEOF
28145
24330
 
28146
 
cat >>$CONFIG_STATUS <<\_ACEOF
28147
 
# If no file are specified by the user, then we need to provide default
28148
 
# value.  By we need to know if files were specified by the user.
 
24331
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
24332
# The default lists apply if the user does not specify any file.
28149
24333
ac_need_defaults=:
28150
24334
while test $# != 0
28151
24335
do
28167
24351
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
28168
24352
    ac_cs_recheck=: ;;
28169
24353
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
28170
 
    echo "$ac_cs_version"; exit ;;
 
24354
    $as_echo "$ac_cs_version"; exit ;;
28171
24355
  --debug | --debu | --deb | --de | --d | -d )
28172
24356
    debug=: ;;
28173
24357
  --file | --fil | --fi | --f )
28174
24358
    $ac_shift
28175
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
24359
    case $ac_optarg in
 
24360
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
24361
    esac
 
24362
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
28176
24363
    ac_need_defaults=false;;
28177
24364
  --header | --heade | --head | --hea )
28178
24365
    $ac_shift
28179
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
24366
    case $ac_optarg in
 
24367
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
24368
    esac
 
24369
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
28180
24370
    ac_need_defaults=false;;
28181
24371
  --he | --h)
28182
24372
    # Conflict between --help and --header
28183
 
    { echo "$as_me: error: ambiguous option: $1
 
24373
    { $as_echo "$as_me: error: ambiguous option: $1
28184
24374
Try \`$0 --help' for more information." >&2
28185
24375
   { (exit 1); exit 1; }; };;
28186
24376
  --help | --hel | -h )
28187
 
    echo "$ac_cs_usage"; exit ;;
 
24377
    $as_echo "$ac_cs_usage"; exit ;;
28188
24378
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
28189
24379
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
28190
24380
    ac_cs_silent=: ;;
28191
24381
 
28192
24382
  # This is an error.
28193
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
24383
  -*) { $as_echo "$as_me: error: unrecognized option: $1
28194
24384
Try \`$0 --help' for more information." >&2
28195
24385
   { (exit 1); exit 1; }; } ;;
28196
24386
 
28209
24399
fi
28210
24400
 
28211
24401
_ACEOF
28212
 
cat >>$CONFIG_STATUS <<_ACEOF
 
24402
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28213
24403
if \$ac_cs_recheck; then
28214
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28215
 
  CONFIG_SHELL=$SHELL
 
24404
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
24405
  shift
 
24406
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
24407
  CONFIG_SHELL='$SHELL'
28216
24408
  export CONFIG_SHELL
28217
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
24409
  exec "\$@"
28218
24410
fi
28219
24411
 
28220
24412
_ACEOF
28221
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
24413
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28222
24414
exec 5>>config.log
28223
24415
{
28224
24416
  echo
28225
24417
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28226
24418
## Running $as_me. ##
28227
24419
_ASBOX
28228
 
  echo "$ac_log"
 
24420
  $as_echo "$ac_log"
28229
24421
} >&5
28230
24422
 
28231
24423
_ACEOF
28232
 
cat >>$CONFIG_STATUS <<_ACEOF
 
24424
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28233
24425
#
28234
24426
# INIT-COMMANDS
28235
24427
#
28236
24428
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28237
24429
 
 
24430
 
 
24431
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
24432
# if CDPATH is set.
 
24433
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
24434
 
 
24435
sed_quote_subst='$sed_quote_subst'
 
24436
double_quote_subst='$double_quote_subst'
 
24437
delay_variable_subst='$delay_variable_subst'
 
24438
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
24439
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
24440
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
24441
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
24442
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
24443
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
24444
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
24445
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
24446
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
24447
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
24448
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
24449
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
24450
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
24451
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
24452
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
24453
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
24454
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
24455
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
24456
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
24457
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
24458
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
24459
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
24460
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
24461
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
24462
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
24463
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
24464
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
24465
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
24466
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
24467
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
24468
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
24469
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
24470
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
24471
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
24472
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
24473
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
24474
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
24475
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
24476
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
24477
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
24478
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
24479
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
24480
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
24481
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
24482
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"`'
 
24483
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"`'
 
24484
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
24485
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
24486
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
24487
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
24488
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
24489
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
24490
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
24491
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
24492
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
24493
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
24494
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
24495
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
24496
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
24497
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
24498
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
24499
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
24500
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
24501
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
24502
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
24503
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
24504
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
24505
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
24506
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
24507
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
24508
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
24509
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
24510
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
24511
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
24512
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
24513
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
24514
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
24515
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
24516
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
24517
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
24518
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
24519
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
24520
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
24521
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
24522
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
24523
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
24524
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
24525
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
24526
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
24527
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
24528
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
24529
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
24530
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
24531
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
24532
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
24533
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
24534
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
24535
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
24536
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
24537
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
24538
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
24539
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
24540
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
24541
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
24542
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
24543
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
24544
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
24545
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
24546
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
24547
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
24548
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
24549
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
24550
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
24551
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
24552
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
24553
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
24554
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
24555
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
24556
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
 
24557
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
24558
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
24559
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
 
24560
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
 
24561
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
 
24562
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24563
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24564
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24565
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24566
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24567
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24568
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24569
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24570
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24571
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24572
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24573
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24574
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24575
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24576
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24577
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24578
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24579
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24580
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24581
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24582
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24583
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24584
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24585
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24586
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24587
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24588
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24589
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24590
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24591
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24592
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24593
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24594
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24595
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24596
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24597
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24598
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24599
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24600
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24601
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24602
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24603
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24604
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24605
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24606
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24607
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24608
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
24609
 
 
24610
LTCC='$LTCC'
 
24611
LTCFLAGS='$LTCFLAGS'
 
24612
compiler='$compiler_DEFAULT'
 
24613
 
 
24614
# Quote evaled strings.
 
24615
for var in SED \
 
24616
GREP \
 
24617
EGREP \
 
24618
FGREP \
 
24619
LD \
 
24620
NM \
 
24621
LN_S \
 
24622
lt_SP2NL \
 
24623
lt_NL2SP \
 
24624
reload_flag \
 
24625
OBJDUMP \
 
24626
deplibs_check_method \
 
24627
file_magic_cmd \
 
24628
AR \
 
24629
AR_FLAGS \
 
24630
STRIP \
 
24631
RANLIB \
 
24632
CC \
 
24633
CFLAGS \
 
24634
compiler \
 
24635
lt_cv_sys_global_symbol_pipe \
 
24636
lt_cv_sys_global_symbol_to_cdecl \
 
24637
lt_cv_sys_global_symbol_to_c_name_address \
 
24638
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
24639
SHELL \
 
24640
ECHO \
 
24641
lt_prog_compiler_no_builtin_flag \
 
24642
lt_prog_compiler_wl \
 
24643
lt_prog_compiler_pic \
 
24644
lt_prog_compiler_static \
 
24645
lt_cv_prog_compiler_c_o \
 
24646
need_locks \
 
24647
DSYMUTIL \
 
24648
NMEDIT \
 
24649
LIPO \
 
24650
OTOOL \
 
24651
OTOOL64 \
 
24652
shrext_cmds \
 
24653
export_dynamic_flag_spec \
 
24654
whole_archive_flag_spec \
 
24655
compiler_needs_object \
 
24656
with_gnu_ld \
 
24657
allow_undefined_flag \
 
24658
no_undefined_flag \
 
24659
hardcode_libdir_flag_spec \
 
24660
hardcode_libdir_flag_spec_ld \
 
24661
hardcode_libdir_separator \
 
24662
fix_srcfile_path \
 
24663
exclude_expsyms \
 
24664
include_expsyms \
 
24665
file_list_spec \
 
24666
variables_saved_for_relink \
 
24667
libname_spec \
 
24668
library_names_spec \
 
24669
soname_spec \
 
24670
finish_eval \
 
24671
old_striplib \
 
24672
striplib \
 
24673
compiler_lib_search_dirs \
 
24674
predep_objects \
 
24675
postdep_objects \
 
24676
predeps \
 
24677
postdeps \
 
24678
compiler_lib_search_path \
 
24679
LD_CXX \
 
24680
compiler_CXX \
 
24681
lt_prog_compiler_no_builtin_flag_CXX \
 
24682
lt_prog_compiler_wl_CXX \
 
24683
lt_prog_compiler_pic_CXX \
 
24684
lt_prog_compiler_static_CXX \
 
24685
lt_cv_prog_compiler_c_o_CXX \
 
24686
export_dynamic_flag_spec_CXX \
 
24687
whole_archive_flag_spec_CXX \
 
24688
compiler_needs_object_CXX \
 
24689
with_gnu_ld_CXX \
 
24690
allow_undefined_flag_CXX \
 
24691
no_undefined_flag_CXX \
 
24692
hardcode_libdir_flag_spec_CXX \
 
24693
hardcode_libdir_flag_spec_ld_CXX \
 
24694
hardcode_libdir_separator_CXX \
 
24695
fix_srcfile_path_CXX \
 
24696
exclude_expsyms_CXX \
 
24697
include_expsyms_CXX \
 
24698
file_list_spec_CXX \
 
24699
compiler_lib_search_dirs_CXX \
 
24700
predep_objects_CXX \
 
24701
postdep_objects_CXX \
 
24702
predeps_CXX \
 
24703
postdeps_CXX \
 
24704
compiler_lib_search_path_CXX; do
 
24705
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
24706
    *[\\\\\\\`\\"\\\$]*)
 
24707
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
24708
      ;;
 
24709
    *)
 
24710
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
24711
      ;;
 
24712
    esac
 
24713
done
 
24714
 
 
24715
# Double-quote double-evaled strings.
 
24716
for var in reload_cmds \
 
24717
old_postinstall_cmds \
 
24718
old_postuninstall_cmds \
 
24719
old_archive_cmds \
 
24720
extract_expsyms_cmds \
 
24721
old_archive_from_new_cmds \
 
24722
old_archive_from_expsyms_cmds \
 
24723
archive_cmds \
 
24724
archive_expsym_cmds \
 
24725
module_cmds \
 
24726
module_expsym_cmds \
 
24727
export_symbols_cmds \
 
24728
prelink_cmds \
 
24729
postinstall_cmds \
 
24730
postuninstall_cmds \
 
24731
finish_cmds \
 
24732
sys_lib_search_path_spec \
 
24733
sys_lib_dlsearch_path_spec \
 
24734
old_archive_cmds_CXX \
 
24735
old_archive_from_new_cmds_CXX \
 
24736
old_archive_from_expsyms_cmds_CXX \
 
24737
archive_cmds_CXX \
 
24738
archive_expsym_cmds_CXX \
 
24739
module_cmds_CXX \
 
24740
module_expsym_cmds_CXX \
 
24741
export_symbols_cmds_CXX \
 
24742
prelink_cmds_CXX; do
 
24743
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
24744
    *[\\\\\\\`\\"\\\$]*)
 
24745
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
24746
      ;;
 
24747
    *)
 
24748
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
24749
      ;;
 
24750
    esac
 
24751
done
 
24752
 
 
24753
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
24754
case \$lt_ECHO in
 
24755
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
24756
  ;;
 
24757
esac
 
24758
 
 
24759
ac_aux_dir='$ac_aux_dir'
 
24760
xsi_shell='$xsi_shell'
 
24761
lt_shell_append='$lt_shell_append'
 
24762
 
 
24763
# See if we are running on zsh, and set the options which allow our
 
24764
# commands through without removal of \ escapes INIT.
 
24765
if test -n "\${ZSH_VERSION+set}" ; then
 
24766
   setopt NO_GLOB_SUBST
 
24767
fi
 
24768
 
 
24769
 
 
24770
    PACKAGE='$PACKAGE'
 
24771
    VERSION='$VERSION'
 
24772
    TIMESTAMP='$TIMESTAMP'
 
24773
    RM='$RM'
 
24774
    ofile='$ofile'
 
24775
 
 
24776
 
 
24777
 
 
24778
 
 
24779
 
 
24780
 
28238
24781
_ACEOF
28239
24782
 
28240
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
24783
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28241
24784
 
28242
24785
# Handling of arguments.
28243
24786
for ac_config_target in $ac_config_targets
28246
24789
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
28247
24790
    "slurm/slurm.h") CONFIG_HEADERS="$CONFIG_HEADERS slurm/slurm.h" ;;
28248
24791
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
24792
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
28249
24793
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28250
24794
    "config.xml") CONFIG_FILES="$CONFIG_FILES config.xml" ;;
28251
24795
    "auxdir/Makefile") CONFIG_FILES="$CONFIG_FILES auxdir/Makefile" ;;
28267
24811
    "src/sacctmgr/Makefile") CONFIG_FILES="$CONFIG_FILES src/sacctmgr/Makefile" ;;
28268
24812
    "src/sreport/Makefile") CONFIG_FILES="$CONFIG_FILES src/sreport/Makefile" ;;
28269
24813
    "src/sstat/Makefile") CONFIG_FILES="$CONFIG_FILES src/sstat/Makefile" ;;
 
24814
    "src/sshare/Makefile") CONFIG_FILES="$CONFIG_FILES src/sshare/Makefile" ;;
28270
24815
    "src/salloc/Makefile") CONFIG_FILES="$CONFIG_FILES src/salloc/Makefile" ;;
28271
24816
    "src/sbatch/Makefile") CONFIG_FILES="$CONFIG_FILES src/sbatch/Makefile" ;;
28272
24817
    "src/sattach/Makefile") CONFIG_FILES="$CONFIG_FILES src/sattach/Makefile" ;;
 
24818
    "src/sprio/Makefile") CONFIG_FILES="$CONFIG_FILES src/sprio/Makefile" ;;
28273
24819
    "src/srun/Makefile") CONFIG_FILES="$CONFIG_FILES src/srun/Makefile" ;;
 
24820
    "src/srun_cr/Makefile") CONFIG_FILES="$CONFIG_FILES src/srun_cr/Makefile" ;;
28274
24821
    "src/slurmd/Makefile") CONFIG_FILES="$CONFIG_FILES src/slurmd/Makefile" ;;
28275
24822
    "src/slurmd/slurmd/Makefile") CONFIG_FILES="$CONFIG_FILES src/slurmd/slurmd/Makefile" ;;
28276
24823
    "src/slurmd/slurmstepd/Makefile") CONFIG_FILES="$CONFIG_FILES src/slurmd/slurmstepd/Makefile" ;;
28300
24847
    "src/plugins/checkpoint/none/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/checkpoint/none/Makefile" ;;
28301
24848
    "src/plugins/checkpoint/ompi/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/checkpoint/ompi/Makefile" ;;
28302
24849
    "src/plugins/checkpoint/xlch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/checkpoint/xlch/Makefile" ;;
 
24850
    "src/plugins/checkpoint/blcr/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/checkpoint/blcr/Makefile" ;;
 
24851
    "src/plugins/checkpoint/blcr/cr_checkpoint.sh") CONFIG_FILES="$CONFIG_FILES src/plugins/checkpoint/blcr/cr_checkpoint.sh" ;;
 
24852
    "src/plugins/checkpoint/blcr/cr_restart.sh") CONFIG_FILES="$CONFIG_FILES src/plugins/checkpoint/blcr/cr_restart.sh" ;;
28303
24853
    "src/plugins/crypto/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/crypto/Makefile" ;;
28304
24854
    "src/plugins/crypto/munge/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/crypto/munge/Makefile" ;;
28305
24855
    "src/plugins/crypto/openssl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/crypto/openssl/Makefile" ;;
28313
24863
    "src/plugins/jobcomp/script/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/jobcomp/script/Makefile" ;;
28314
24864
    "src/plugins/jobcomp/mysql/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/jobcomp/mysql/Makefile" ;;
28315
24865
    "src/plugins/jobcomp/pgsql/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/jobcomp/pgsql/Makefile" ;;
 
24866
    "src/plugins/priority/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/priority/Makefile" ;;
 
24867
    "src/plugins/priority/basic/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/priority/basic/Makefile" ;;
 
24868
    "src/plugins/priority/multifactor/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/priority/multifactor/Makefile" ;;
28316
24869
    "src/plugins/proctrack/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/proctrack/Makefile" ;;
28317
24870
    "src/plugins/proctrack/aix/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/proctrack/aix/Makefile" ;;
28318
24871
    "src/plugins/proctrack/pgid/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/proctrack/pgid/Makefile" ;;
28330
24883
    "src/plugins/select/bluegene/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/select/bluegene/Makefile" ;;
28331
24884
    "src/plugins/select/bluegene/block_allocator/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/select/bluegene/block_allocator/Makefile" ;;
28332
24885
    "src/plugins/select/bluegene/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/select/bluegene/plugin/Makefile" ;;
 
24886
    "src/plugins/select/cons_res/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/select/cons_res/Makefile" ;;
28333
24887
    "src/plugins/select/linear/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/select/linear/Makefile" ;;
28334
 
    "src/plugins/select/cons_res/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/select/cons_res/Makefile" ;;
28335
24888
    "src/plugins/switch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/switch/Makefile" ;;
28336
24889
    "src/plugins/switch/elan/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/switch/elan/Makefile" ;;
28337
24890
    "src/plugins/switch/none/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/switch/none/Makefile" ;;
28348
24901
    "src/plugins/task/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/task/Makefile" ;;
28349
24902
    "src/plugins/task/affinity/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/task/affinity/Makefile" ;;
28350
24903
    "src/plugins/task/none/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/task/none/Makefile" ;;
 
24904
    "src/plugins/topology/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/topology/Makefile" ;;
 
24905
    "src/plugins/topology/3d_torus/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/topology/3d_torus/Makefile" ;;
 
24906
    "src/plugins/topology/none/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/topology/none/Makefile" ;;
 
24907
    "src/plugins/topology/tree/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/topology/tree/Makefile" ;;
28351
24908
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
28352
24909
    "doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;;
28353
24910
    "doc/html/Makefile") CONFIG_FILES="$CONFIG_FILES doc/html/Makefile" ;;
28362
24919
    "testsuite/slurm_unit/slurmd/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/slurm_unit/slurmd/Makefile" ;;
28363
24920
    "testsuite/slurm_unit/slurmdbd/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/slurm_unit/slurmdbd/Makefile" ;;
28364
24921
 
28365
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
28366
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
24922
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
24923
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
28367
24924
   { (exit 1); exit 1; }; };;
28368
24925
  esac
28369
24926
done
28404
24961
  (umask 077 && mkdir "$tmp")
28405
24962
} ||
28406
24963
{
28407
 
   echo "$me: cannot create a temporary directory in ." >&2
 
24964
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
28408
24965
   { (exit 1); exit 1; }
28409
24966
}
28410
24967
 
28411
 
#
28412
 
# Set up the sed scripts for CONFIG_FILES section.
28413
 
#
28414
 
 
28415
 
# No need to generate the scripts if there are no CONFIG_FILES.
28416
 
# This happens for instance when ./config.status config.h
 
24968
# Set up the scripts for CONFIG_FILES section.
 
24969
# No need to generate them if there are no CONFIG_FILES.
 
24970
# This happens for instance with `./config.status config.h'.
28417
24971
if test -n "$CONFIG_FILES"; then
28418
24972
 
28419
 
_ACEOF
28420
 
 
28421
 
 
28422
 
 
28423
 
ac_delim='%!_!# '
28424
 
for ac_last_try in false false false false false :; do
28425
 
  cat >conf$$subs.sed <<_ACEOF
28426
 
SHELL!$SHELL$ac_delim
28427
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
28428
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
28429
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
28430
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
28431
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
28432
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
28433
 
exec_prefix!$exec_prefix$ac_delim
28434
 
prefix!$prefix$ac_delim
28435
 
program_transform_name!$program_transform_name$ac_delim
28436
 
bindir!$bindir$ac_delim
28437
 
sbindir!$sbindir$ac_delim
28438
 
libexecdir!$libexecdir$ac_delim
28439
 
datarootdir!$datarootdir$ac_delim
28440
 
datadir!$datadir$ac_delim
28441
 
sysconfdir!$sysconfdir$ac_delim
28442
 
sharedstatedir!$sharedstatedir$ac_delim
28443
 
localstatedir!$localstatedir$ac_delim
28444
 
includedir!$includedir$ac_delim
28445
 
oldincludedir!$oldincludedir$ac_delim
28446
 
docdir!$docdir$ac_delim
28447
 
infodir!$infodir$ac_delim
28448
 
htmldir!$htmldir$ac_delim
28449
 
dvidir!$dvidir$ac_delim
28450
 
pdfdir!$pdfdir$ac_delim
28451
 
psdir!$psdir$ac_delim
28452
 
libdir!$libdir$ac_delim
28453
 
localedir!$localedir$ac_delim
28454
 
mandir!$mandir$ac_delim
28455
 
DEFS!$DEFS$ac_delim
28456
 
ECHO_C!$ECHO_C$ac_delim
28457
 
ECHO_N!$ECHO_N$ac_delim
28458
 
ECHO_T!$ECHO_T$ac_delim
28459
 
LIBS!$LIBS$ac_delim
28460
 
build_alias!$build_alias$ac_delim
28461
 
host_alias!$host_alias$ac_delim
28462
 
target_alias!$target_alias$ac_delim
28463
 
build!$build$ac_delim
28464
 
build_cpu!$build_cpu$ac_delim
28465
 
build_vendor!$build_vendor$ac_delim
28466
 
build_os!$build_os$ac_delim
28467
 
host!$host$ac_delim
28468
 
host_cpu!$host_cpu$ac_delim
28469
 
host_vendor!$host_vendor$ac_delim
28470
 
host_os!$host_os$ac_delim
28471
 
target!$target$ac_delim
28472
 
target_cpu!$target_cpu$ac_delim
28473
 
target_vendor!$target_vendor$ac_delim
28474
 
target_os!$target_os$ac_delim
28475
 
PROJECT!$PROJECT$ac_delim
28476
 
SLURM_API_VERSION!$SLURM_API_VERSION$ac_delim
28477
 
SLURM_API_CURRENT!$SLURM_API_CURRENT$ac_delim
28478
 
SLURM_API_MAJOR!$SLURM_API_MAJOR$ac_delim
28479
 
SLURM_API_AGE!$SLURM_API_AGE$ac_delim
28480
 
SLURM_API_REVISION!$SLURM_API_REVISION$ac_delim
28481
 
VERSION!$VERSION$ac_delim
28482
 
SLURM_MAJOR!$SLURM_MAJOR$ac_delim
28483
 
SLURM_MINOR!$SLURM_MINOR$ac_delim
28484
 
SLURM_MICRO!$SLURM_MICRO$ac_delim
28485
 
RELEASE!$RELEASE$ac_delim
28486
 
SLURM_VERSION!$SLURM_VERSION$ac_delim
28487
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
28488
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
28489
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
28490
 
am__isrc!$am__isrc$ac_delim
28491
 
CYGPATH_W!$CYGPATH_W$ac_delim
28492
 
PACKAGE!$PACKAGE$ac_delim
28493
 
ACLOCAL!$ACLOCAL$ac_delim
28494
 
AUTOCONF!$AUTOCONF$ac_delim
28495
 
AUTOMAKE!$AUTOMAKE$ac_delim
28496
 
AUTOHEADER!$AUTOHEADER$ac_delim
28497
 
MAKEINFO!$MAKEINFO$ac_delim
28498
 
install_sh!$install_sh$ac_delim
28499
 
STRIP!$STRIP$ac_delim
28500
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
28501
 
mkdir_p!$mkdir_p$ac_delim
28502
 
AWK!$AWK$ac_delim
28503
 
SET_MAKE!$SET_MAKE$ac_delim
28504
 
am__leading_dot!$am__leading_dot$ac_delim
28505
 
AMTAR!$AMTAR$ac_delim
28506
 
am__tar!$am__tar$ac_delim
28507
 
am__untar!$am__untar$ac_delim
28508
 
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
28509
 
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
28510
 
MAINT!$MAINT$ac_delim
28511
 
CC!$CC$ac_delim
28512
 
CFLAGS!$CFLAGS$ac_delim
28513
 
LDFLAGS!$LDFLAGS$ac_delim
28514
 
CPPFLAGS!$CPPFLAGS$ac_delim
28515
 
ac_ct_CC!$ac_ct_CC$ac_delim
28516
 
EXEEXT!$EXEEXT$ac_delim
28517
 
OBJEXT!$OBJEXT$ac_delim
28518
 
DEPDIR!$DEPDIR$ac_delim
28519
 
am__include!$am__include$ac_delim
28520
 
am__quote!$am__quote$ac_delim
28521
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
28522
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
28523
 
_ACEOF
28524
 
 
28525
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
28526
 
    break
28527
 
  elif $ac_last_try; then
28528
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
28529
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
28530
 
   { (exit 1); exit 1; }; }
28531
 
  else
28532
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28533
 
  fi
28534
 
done
28535
 
 
28536
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
28537
 
if test -n "$ac_eof"; then
28538
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
28539
 
  ac_eof=`expr $ac_eof + 1`
28540
 
fi
28541
 
 
28542
 
cat >>$CONFIG_STATUS <<_ACEOF
28543
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
28544
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28545
 
_ACEOF
28546
 
sed '
28547
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
28548
 
s/^/s,@/; s/!/@,|#_!!_#|/
28549
 
:n
28550
 
t n
28551
 
s/'"$ac_delim"'$/,g/; t
28552
 
s/$/\\/; p
28553
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
28554
 
' >>$CONFIG_STATUS <conf$$subs.sed
28555
 
rm -f conf$$subs.sed
28556
 
cat >>$CONFIG_STATUS <<_ACEOF
28557
 
CEOF$ac_eof
28558
 
_ACEOF
28559
 
 
28560
 
 
28561
 
ac_delim='%!_!# '
28562
 
for ac_last_try in false false false false false :; do
28563
 
  cat >conf$$subs.sed <<_ACEOF
28564
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
28565
 
CCDEPMODE!$CCDEPMODE$ac_delim
28566
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
28567
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
28568
 
BG_INCLUDES!$BG_INCLUDES$ac_delim
28569
 
BLUEGENE_LOADED_TRUE!$BLUEGENE_LOADED_TRUE$ac_delim
28570
 
BLUEGENE_LOADED_FALSE!$BLUEGENE_LOADED_FALSE$ac_delim
28571
 
BLUEGENE_LOADED!$BLUEGENE_LOADED$ac_delim
28572
 
CMD_LDFLAGS!$CMD_LDFLAGS$ac_delim
28573
 
LIB_LDFLAGS!$LIB_LDFLAGS$ac_delim
28574
 
SO_LDFLAGS!$SO_LDFLAGS$ac_delim
28575
 
HAVE_AIX_TRUE!$HAVE_AIX_TRUE$ac_delim
28576
 
HAVE_AIX_FALSE!$HAVE_AIX_FALSE$ac_delim
28577
 
HAVE_AIX!$HAVE_AIX$ac_delim
28578
 
PROCTRACKDIR!$PROCTRACKDIR$ac_delim
28579
 
CPP!$CPP$ac_delim
28580
 
GREP!$GREP$ac_delim
28581
 
EGREP!$EGREP$ac_delim
28582
 
HAVE_AIX_PROCTRACK_TRUE!$HAVE_AIX_PROCTRACK_TRUE$ac_delim
28583
 
HAVE_AIX_PROCTRACK_FALSE!$HAVE_AIX_PROCTRACK_FALSE$ac_delim
28584
 
CXX!$CXX$ac_delim
28585
 
CXXFLAGS!$CXXFLAGS$ac_delim
28586
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
28587
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
28588
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
28589
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
28590
 
SED!$SED$ac_delim
28591
 
LN_S!$LN_S$ac_delim
28592
 
ECHO!$ECHO$ac_delim
28593
 
AR!$AR$ac_delim
28594
 
RANLIB!$RANLIB$ac_delim
28595
 
DSYMUTIL!$DSYMUTIL$ac_delim
28596
 
NMEDIT!$NMEDIT$ac_delim
28597
 
CXXCPP!$CXXCPP$ac_delim
28598
 
F77!$F77$ac_delim
28599
 
FFLAGS!$FFLAGS$ac_delim
28600
 
ac_ct_F77!$ac_ct_F77$ac_delim
28601
 
LIBTOOL!$LIBTOOL$ac_delim
28602
 
WITH_GNU_LD_TRUE!$WITH_GNU_LD_TRUE$ac_delim
28603
 
WITH_GNU_LD_FALSE!$WITH_GNU_LD_FALSE$ac_delim
28604
 
NUMA_LIBS!$NUMA_LIBS$ac_delim
28605
 
HAVE_NUMA_TRUE!$HAVE_NUMA_TRUE$ac_delim
28606
 
HAVE_NUMA_FALSE!$HAVE_NUMA_FALSE$ac_delim
28607
 
PLPA_LIBS!$PLPA_LIBS$ac_delim
28608
 
HAVE_SCHED_SETAFFINITY_TRUE!$HAVE_SCHED_SETAFFINITY_TRUE$ac_delim
28609
 
HAVE_SCHED_SETAFFINITY_FALSE!$HAVE_SCHED_SETAFFINITY_FALSE$ac_delim
28610
 
PAM_LIBS!$PAM_LIBS$ac_delim
28611
 
HAVE_PAM_TRUE!$HAVE_PAM_TRUE$ac_delim
28612
 
HAVE_PAM_FALSE!$HAVE_PAM_FALSE$ac_delim
28613
 
LIBOBJS!$LIBOBJS$ac_delim
28614
 
HAVE_UNSETENV_TRUE!$HAVE_UNSETENV_TRUE$ac_delim
28615
 
HAVE_UNSETENV_FALSE!$HAVE_UNSETENV_FALSE$ac_delim
28616
 
PTHREAD_CC!$PTHREAD_CC$ac_delim
28617
 
PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
28618
 
PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim
28619
 
SEMAPHORE_SOURCES!$SEMAPHORE_SOURCES$ac_delim
28620
 
SEMAPHORE_LIBS!$SEMAPHORE_LIBS$ac_delim
28621
 
NCURSES!$NCURSES$ac_delim
28622
 
HAVE_SOME_CURSES_TRUE!$HAVE_SOME_CURSES_TRUE$ac_delim
28623
 
HAVE_SOME_CURSES_FALSE!$HAVE_SOME_CURSES_FALSE$ac_delim
28624
 
HAVE_SOME_CURSES!$HAVE_SOME_CURSES$ac_delim
28625
 
HAVEPKGCONFIG!$HAVEPKGCONFIG$ac_delim
28626
 
GTK2_CFLAGS!$GTK2_CFLAGS$ac_delim
28627
 
GTK2_LIBS!$GTK2_LIBS$ac_delim
28628
 
HAVE_GTK_TRUE!$HAVE_GTK_TRUE$ac_delim
28629
 
HAVE_GTK_FALSE!$HAVE_GTK_FALSE$ac_delim
28630
 
HAVEMYSQLCONFIG!$HAVEMYSQLCONFIG$ac_delim
28631
 
MYSQL_LIBS!$MYSQL_LIBS$ac_delim
28632
 
MYSQL_CFLAGS!$MYSQL_CFLAGS$ac_delim
28633
 
HAVEPGCONFIG!$HAVEPGCONFIG$ac_delim
28634
 
PGSQL_LIBS!$PGSQL_LIBS$ac_delim
28635
 
PGSQL_CFLAGS!$PGSQL_CFLAGS$ac_delim
28636
 
DEBUG_MODULES_TRUE!$DEBUG_MODULES_TRUE$ac_delim
28637
 
DEBUG_MODULES_FALSE!$DEBUG_MODULES_FALSE$ac_delim
28638
 
SLURMCTLD_PORT!$SLURMCTLD_PORT$ac_delim
28639
 
SLURMD_PORT!$SLURMD_PORT$ac_delim
28640
 
SLURMDBD_PORT!$SLURMDBD_PORT$ac_delim
28641
 
SLURM_PREFIX!$SLURM_PREFIX$ac_delim
28642
 
ELAN_LIBS!$ELAN_LIBS$ac_delim
28643
 
HAVE_ELAN_TRUE!$HAVE_ELAN_TRUE$ac_delim
28644
 
HAVE_ELAN_FALSE!$HAVE_ELAN_FALSE$ac_delim
28645
 
HAVE_ELAN!$HAVE_ELAN$ac_delim
28646
 
FEDERATION_LDFLAGS!$FEDERATION_LDFLAGS$ac_delim
28647
 
HAVE_FEDERATION_TRUE!$HAVE_FEDERATION_TRUE$ac_delim
28648
 
HAVE_FEDERATION_FALSE!$HAVE_FEDERATION_FALSE$ac_delim
28649
 
HAVE_FEDERATION!$HAVE_FEDERATION$ac_delim
28650
 
HAVE_SGI_JOB_TRUE!$HAVE_SGI_JOB_TRUE$ac_delim
28651
 
HAVE_SGI_JOB_FALSE!$HAVE_SGI_JOB_FALSE$ac_delim
28652
 
READLINE_LIBS!$READLINE_LIBS$ac_delim
28653
 
SSL_LDFLAGS!$SSL_LDFLAGS$ac_delim
28654
 
SSL_LIBS!$SSL_LIBS$ac_delim
28655
 
SSL_CPPFLAGS!$SSL_CPPFLAGS$ac_delim
28656
 
HAVE_OPENSSL_TRUE!$HAVE_OPENSSL_TRUE$ac_delim
28657
 
HAVE_OPENSSL_FALSE!$HAVE_OPENSSL_FALSE$ac_delim
28658
 
HAVE_OPENSSL!$HAVE_OPENSSL$ac_delim
28659
 
MUNGE_LIBS!$MUNGE_LIBS$ac_delim
28660
 
MUNGE_CPPFLAGS!$MUNGE_CPPFLAGS$ac_delim
28661
 
_ACEOF
28662
 
 
28663
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
28664
 
    break
28665
 
  elif $ac_last_try; then
28666
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
28667
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
28668
 
   { (exit 1); exit 1; }; }
28669
 
  else
28670
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28671
 
  fi
28672
 
done
28673
 
 
28674
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
28675
 
if test -n "$ac_eof"; then
28676
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
28677
 
  ac_eof=`expr $ac_eof + 1`
28678
 
fi
28679
 
 
28680
 
cat >>$CONFIG_STATUS <<_ACEOF
28681
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
28682
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28683
 
_ACEOF
28684
 
sed '
28685
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
28686
 
s/^/s,@/; s/!/@,|#_!!_#|/
28687
 
:n
28688
 
t n
28689
 
s/'"$ac_delim"'$/,g/; t
28690
 
s/$/\\/; p
28691
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
28692
 
' >>$CONFIG_STATUS <conf$$subs.sed
28693
 
rm -f conf$$subs.sed
28694
 
cat >>$CONFIG_STATUS <<_ACEOF
28695
 
CEOF$ac_eof
28696
 
_ACEOF
28697
 
 
28698
 
 
28699
 
ac_delim='%!_!# '
28700
 
for ac_last_try in false false false false false :; do
28701
 
  cat >conf$$subs.sed <<_ACEOF
28702
 
MUNGE_LDFLAGS!$MUNGE_LDFLAGS$ac_delim
28703
 
WITH_MUNGE_TRUE!$WITH_MUNGE_TRUE$ac_delim
28704
 
WITH_MUNGE_FALSE!$WITH_MUNGE_FALSE$ac_delim
28705
 
AUTHD_LIBS!$AUTHD_LIBS$ac_delim
28706
 
AUTHD_CFLAGS!$AUTHD_CFLAGS$ac_delim
28707
 
WITH_AUTHD_TRUE!$WITH_AUTHD_TRUE$ac_delim
28708
 
WITH_AUTHD_FALSE!$WITH_AUTHD_FALSE$ac_delim
28709
 
UTIL_LIBS!$UTIL_LIBS$ac_delim
28710
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
28711
 
_ACEOF
28712
 
 
28713
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
28714
 
    break
28715
 
  elif $ac_last_try; then
28716
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
28717
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
28718
 
   { (exit 1); exit 1; }; }
28719
 
  else
28720
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28721
 
  fi
28722
 
done
28723
 
 
28724
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
28725
 
if test -n "$ac_eof"; then
28726
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
28727
 
  ac_eof=`expr $ac_eof + 1`
28728
 
fi
28729
 
 
28730
 
cat >>$CONFIG_STATUS <<_ACEOF
28731
 
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
28732
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
28733
 
_ACEOF
28734
 
sed '
28735
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
28736
 
s/^/s,@/; s/!/@,|#_!!_#|/
28737
 
:n
28738
 
t n
28739
 
s/'"$ac_delim"'$/,g/; t
28740
 
s/$/\\/; p
28741
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
28742
 
' >>$CONFIG_STATUS <conf$$subs.sed
28743
 
rm -f conf$$subs.sed
28744
 
cat >>$CONFIG_STATUS <<_ACEOF
28745
 
:end
28746
 
s/|#_!!_#|//g
28747
 
CEOF$ac_eof
28748
 
_ACEOF
28749
 
 
 
24973
 
 
24974
ac_cr='
 
 
b"'"
 
24975
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
24976
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
24977
  ac_cs_awk_cr='\\r'
 
24978
else
 
24979
  ac_cs_awk_cr=$ac_cr
 
24980
fi
 
24981
 
 
24982
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
24983
_ACEOF
 
24984
 
 
24985
 
 
24986
{
 
24987
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
24988
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
24989
  echo "_ACEOF"
 
24990
} >conf$$subs.sh ||
 
24991
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
24992
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
24993
   { (exit 1); exit 1; }; }
 
24994
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
24995
ac_delim='%!_!# '
 
24996
for ac_last_try in false false false false false :; do
 
24997
  . ./conf$$subs.sh ||
 
24998
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
24999
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
25000
   { (exit 1); exit 1; }; }
 
25001
 
 
25002
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
25003
  if test $ac_delim_n = $ac_delim_num; then
 
25004
    break
 
25005
  elif $ac_last_try; then
 
25006
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
25007
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
25008
   { (exit 1); exit 1; }; }
 
25009
  else
 
25010
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
25011
  fi
 
25012
done
 
25013
rm -f conf$$subs.sh
 
25014
 
 
25015
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
25016
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
25017
_ACEOF
 
25018
sed -n '
 
25019
h
 
25020
s/^/S["/; s/!.*/"]=/
 
25021
p
 
25022
g
 
25023
s/^[^!]*!//
 
25024
:repl
 
25025
t repl
 
25026
s/'"$ac_delim"'$//
 
25027
t delim
 
25028
:nl
 
25029
h
 
25030
s/\(.\{148\}\).*/\1/
 
25031
t more1
 
25032
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
25033
p
 
25034
n
 
25035
b repl
 
25036
:more1
 
25037
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
25038
p
 
25039
g
 
25040
s/.\{148\}//
 
25041
t nl
 
25042
:delim
 
25043
h
 
25044
s/\(.\{148\}\).*/\1/
 
25045
t more2
 
25046
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
25047
p
 
25048
b
 
25049
:more2
 
25050
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
25051
p
 
25052
g
 
25053
s/.\{148\}//
 
25054
t delim
 
25055
' <conf$$subs.awk | sed '
 
25056
/^[^""]/{
 
25057
  N
 
25058
  s/\n//
 
25059
}
 
25060
' >>$CONFIG_STATUS || ac_write_fail=1
 
25061
rm -f conf$$subs.awk
 
25062
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
25063
_ACAWK
 
25064
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
25065
  for (key in S) S_is_set[key] = 1
 
25066
  FS = ""
 
25067
 
 
25068
}
 
25069
{
 
25070
  line = $ 0
 
25071
  nfields = split(line, field, "@")
 
25072
  substed = 0
 
25073
  len = length(field[1])
 
25074
  for (i = 2; i < nfields; i++) {
 
25075
    key = field[i]
 
25076
    keylen = length(key)
 
25077
    if (S_is_set[key]) {
 
25078
      value = S[key]
 
25079
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
25080
      len += length(value) + length(field[++i])
 
25081
      substed = 1
 
25082
    } else
 
25083
      len += 1 + keylen
 
25084
  }
 
25085
 
 
25086
  print line
 
25087
}
 
25088
 
 
25089
_ACAWK
 
25090
_ACEOF
 
25091
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
25092
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
25093
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
25094
else
 
25095
  cat
 
25096
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
25097
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
25098
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
25099
   { (exit 1); exit 1; }; }
 
25100
_ACEOF
28750
25101
 
28751
25102
# VPATH may cause trouble with some makes, so we remove $(srcdir),
28752
25103
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28763
25114
}'
28764
25115
fi
28765
25116
 
28766
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
25117
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28767
25118
fi # test -n "$CONFIG_FILES"
28768
25119
 
28769
 
 
28770
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
25120
# Set up the scripts for CONFIG_HEADERS section.
 
25121
# No need to generate them if there are no CONFIG_HEADERS.
 
25122
# This happens for instance with `./config.status Makefile'.
 
25123
if test -n "$CONFIG_HEADERS"; then
 
25124
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
25125
BEGIN {
 
25126
_ACEOF
 
25127
 
 
25128
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
25129
# here-document in config.status, that substitutes the proper values into
 
25130
# config.h.in to produce config.h.
 
25131
 
 
25132
# Create a delimiter string that does not exist in confdefs.h, to ease
 
25133
# handling of long lines.
 
25134
ac_delim='%!_!# '
 
25135
for ac_last_try in false false :; do
 
25136
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
25137
  if test -z "$ac_t"; then
 
25138
    break
 
25139
  elif $ac_last_try; then
 
25140
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
25141
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
25142
   { (exit 1); exit 1; }; }
 
25143
  else
 
25144
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
25145
  fi
 
25146
done
 
25147
 
 
25148
# For the awk script, D is an array of macro values keyed by name,
 
25149
# likewise P contains macro parameters if any.  Preserve backslash
 
25150
# newline sequences.
 
25151
 
 
25152
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
25153
sed -n '
 
25154
s/.\{148\}/&'"$ac_delim"'/g
 
25155
t rset
 
25156
:rset
 
25157
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
25158
t def
 
25159
d
 
25160
:def
 
25161
s/\\$//
 
25162
t bsnl
 
25163
s/["\\]/\\&/g
 
25164
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
25165
D["\1"]=" \3"/p
 
25166
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
25167
d
 
25168
:bsnl
 
25169
s/["\\]/\\&/g
 
25170
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
25171
D["\1"]=" \3\\\\\\n"\\/p
 
25172
t cont
 
25173
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
25174
t cont
 
25175
d
 
25176
:cont
 
25177
n
 
25178
s/.\{148\}/&'"$ac_delim"'/g
 
25179
t clear
 
25180
:clear
 
25181
s/\\$//
 
25182
t bsnlc
 
25183
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
25184
d
 
25185
:bsnlc
 
25186
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
25187
b cont
 
25188
' <confdefs.h | sed '
 
25189
s/'"$ac_delim"'/"\\\
 
25190
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
25191
 
 
25192
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
25193
  for (key in D) D_is_set[key] = 1
 
25194
  FS = ""
 
25195
}
 
25196
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
25197
  line = \$ 0
 
25198
  split(line, arg, " ")
 
25199
  if (arg[1] == "#") {
 
25200
    defundef = arg[2]
 
25201
    mac1 = arg[3]
 
25202
  } else {
 
25203
    defundef = substr(arg[1], 2)
 
25204
    mac1 = arg[2]
 
25205
  }
 
25206
  split(mac1, mac2, "(") #)
 
25207
  macro = mac2[1]
 
25208
  prefix = substr(line, 1, index(line, defundef) - 1)
 
25209
  if (D_is_set[macro]) {
 
25210
    # Preserve the white space surrounding the "#".
 
25211
    print prefix "define", macro P[macro] D[macro]
 
25212
    next
 
25213
  } else {
 
25214
    # Replace #undef with comments.  This is necessary, for example,
 
25215
    # in the case of _POSIX_SOURCE, which is predefined and required
 
25216
    # on some systems where configure will not decide to define it.
 
25217
    if (defundef == "undef") {
 
25218
      print "/*", prefix defundef, macro, "*/"
 
25219
      next
 
25220
    }
 
25221
  }
 
25222
}
 
25223
{ print }
 
25224
_ACAWK
 
25225
_ACEOF
 
25226
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
25227
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
25228
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
25229
   { (exit 1); exit 1; }; }
 
25230
fi # test -n "$CONFIG_HEADERS"
 
25231
 
 
25232
 
 
25233
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
25234
shift
 
25235
for ac_tag
28771
25236
do
28772
25237
  case $ac_tag in
28773
25238
  :[FHLC]) ac_mode=$ac_tag; continue;;
28774
25239
  esac
28775
25240
  case $ac_mode$ac_tag in
28776
25241
  :[FHL]*:*);;
28777
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
28778
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
25242
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
25243
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
28779
25244
   { (exit 1); exit 1; }; };;
28780
25245
  :[FH]-) ac_tag=-:-;;
28781
25246
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28804
25269
           [\\/$]*) false;;
28805
25270
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28806
25271
           esac ||
28807
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
28808
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
25272
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
25273
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
28809
25274
   { (exit 1); exit 1; }; };;
28810
25275
      esac
28811
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
25276
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
25277
      ac_file_inputs="$ac_file_inputs '$ac_f'"
28812
25278
    done
28813
25279
 
28814
25280
    # Let's still pretend it is `configure' which instantiates (i.e., don't
28815
25281
    # use $as_me), people would be surprised to read:
28816
25282
    #    /* config.h.  Generated by config.status.  */
28817
 
    configure_input="Generated from "`IFS=:
28818
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
25283
    configure_input='Generated from '`
 
25284
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
25285
        `' by configure.'
28819
25286
    if test x"$ac_file" != x-; then
28820
25287
      configure_input="$ac_file.  $configure_input"
28821
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
28822
 
echo "$as_me: creating $ac_file" >&6;}
 
25288
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
25289
$as_echo "$as_me: creating $ac_file" >&6;}
28823
25290
    fi
 
25291
    # Neutralize special characters interpreted by sed in replacement strings.
 
25292
    case $configure_input in #(
 
25293
    *\&* | *\|* | *\\* )
 
25294
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
25295
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
25296
    *) ac_sed_conf_input=$configure_input;;
 
25297
    esac
28824
25298
 
28825
25299
    case $ac_tag in
28826
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
25300
    *:-:* | *:-) cat >"$tmp/stdin" \
 
25301
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
25302
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
25303
   { (exit 1); exit 1; }; } ;;
28827
25304
    esac
28828
25305
    ;;
28829
25306
  esac
28833
25310
         X"$ac_file" : 'X\(//\)[^/]' \| \
28834
25311
         X"$ac_file" : 'X\(//\)$' \| \
28835
25312
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28836
 
echo X"$ac_file" |
 
25313
$as_echo X"$ac_file" |
28837
25314
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28838
25315
            s//\1/
28839
25316
            q
28859
25336
    as_dirs=
28860
25337
    while :; do
28861
25338
      case $as_dir in #(
28862
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
25339
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
28863
25340
      *) as_qdir=$as_dir;;
28864
25341
      esac
28865
25342
      as_dirs="'$as_qdir' $as_dirs"
28868
25345
         X"$as_dir" : 'X\(//\)[^/]' \| \
28869
25346
         X"$as_dir" : 'X\(//\)$' \| \
28870
25347
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
28871
 
echo X"$as_dir" |
 
25348
$as_echo X"$as_dir" |
28872
25349
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28873
25350
            s//\1/
28874
25351
            q
28889
25366
      test -d "$as_dir" && break
28890
25367
    done
28891
25368
    test -z "$as_dirs" || eval "mkdir $as_dirs"
28892
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
28893
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
25369
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
25370
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
28894
25371
   { (exit 1); exit 1; }; }; }
28895
25372
  ac_builddir=.
28896
25373
 
28897
25374
case "$ac_dir" in
28898
25375
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28899
25376
*)
28900
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
25377
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28901
25378
  # A ".." for each directory in $ac_dir_suffix.
28902
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
25379
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28903
25380
  case $ac_top_builddir_sub in
28904
25381
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28905
25382
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28944
25421
  esac
28945
25422
_ACEOF
28946
25423
 
28947
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
25424
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28948
25425
# If the template does not know about datarootdir, expand it.
28949
25426
# FIXME: This hack should be removed a few years after 2.60.
28950
25427
ac_datarootdir_hack=; ac_datarootdir_seen=
28951
25428
 
28952
 
case `sed -n '/datarootdir/ {
 
25429
ac_sed_dataroot='
 
25430
/datarootdir/ {
28953
25431
  p
28954
25432
  q
28955
25433
}
28958
25436
/@infodir@/p
28959
25437
/@localedir@/p
28960
25438
/@mandir@/p
28961
 
' $ac_file_inputs` in
 
25439
'
 
25440
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28962
25441
*datarootdir*) ac_datarootdir_seen=yes;;
28963
25442
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28964
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28965
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
25443
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
25444
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28966
25445
_ACEOF
28967
 
cat >>$CONFIG_STATUS <<_ACEOF
 
25446
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28968
25447
  ac_datarootdir_hack='
28969
25448
  s&@datadir@&$datadir&g
28970
25449
  s&@docdir@&$docdir&g
28978
25457
# Neutralize VPATH when `$srcdir' = `.'.
28979
25458
# Shell code in configure.ac might set extrasub.
28980
25459
# FIXME: do we really want to maintain this feature?
28981
 
cat >>$CONFIG_STATUS <<_ACEOF
28982
 
  sed "$ac_vpsub
 
25460
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
25461
ac_sed_extra="$ac_vpsub
28983
25462
$extrasub
28984
25463
_ACEOF
28985
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
25464
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28986
25465
:t
28987
25466
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28988
 
s&@configure_input@&$configure_input&;t t
 
25467
s|@configure_input@|$ac_sed_conf_input|;t t
28989
25468
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
25469
s&@top_build_prefix@&$ac_top_build_prefix&;t t
28990
25470
s&@srcdir@&$ac_srcdir&;t t
28991
25471
s&@abs_srcdir@&$ac_abs_srcdir&;t t
28992
25472
s&@top_srcdir@&$ac_top_srcdir&;t t
28997
25477
s&@INSTALL@&$ac_INSTALL&;t t
28998
25478
s&@MKDIR_P@&$ac_MKDIR_P&;t t
28999
25479
$ac_datarootdir_hack
29000
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
 
25480
"
 
25481
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
25482
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
25483
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
25484
   { (exit 1); exit 1; }; }
29001
25485
 
29002
25486
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
29003
25487
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
29004
25488
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
29005
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
25489
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29006
25490
which seems to be undefined.  Please make sure it is defined." >&5
29007
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
25491
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29008
25492
which seems to be undefined.  Please make sure it is defined." >&2;}
29009
25493
 
29010
25494
  rm -f "$tmp/stdin"
29011
25495
  case $ac_file in
29012
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
29013
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
29014
 
  esac
 
25496
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
25497
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
25498
  esac \
 
25499
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
25500
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
25501
   { (exit 1); exit 1; }; }
29015
25502
 ;;
29016
25503
  :H)
29017
25504
  #
29018
25505
  # CONFIG_HEADER
29019
25506
  #
29020
 
_ACEOF
29021
 
 
29022
 
# Transform confdefs.h into a sed script `conftest.defines', that
29023
 
# substitutes the proper values into config.h.in to produce config.h.
29024
 
rm -f conftest.defines conftest.tail
29025
 
# First, append a space to every undef/define line, to ease matching.
29026
 
echo 's/$/ /' >conftest.defines
29027
 
# Then, protect against being on the right side of a sed subst, or in
29028
 
# an unquoted here document, in config.status.  If some macros were
29029
 
# called several times there might be several #defines for the same
29030
 
# symbol, which is useless.  But do not sort them, since the last
29031
 
# AC_DEFINE must be honored.
29032
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
29033
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
29034
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
29035
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
29036
 
# just an empty string.
29037
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
29038
 
ac_dB='\\)[      (].*,\\1define\\2'
29039
 
ac_dC=' '
29040
 
ac_dD=' ,'
29041
 
 
29042
 
uniq confdefs.h |
29043
 
  sed -n '
29044
 
        t rset
29045
 
        :rset
29046
 
        s/^[     ]*#[    ]*define[       ][      ]*//
29047
 
        t ok
29048
 
        d
29049
 
        :ok
29050
 
        s/[\\&,]/\\&/g
29051
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
29052
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
29053
 
  ' >>conftest.defines
29054
 
 
29055
 
# Remove the space that was appended to ease matching.
29056
 
# Then replace #undef with comments.  This is necessary, for
29057
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
29058
 
# on some systems where configure will not decide to define it.
29059
 
# (The regexp can be short, since the line contains either #define or #undef.)
29060
 
echo 's/ $//
29061
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
29062
 
 
29063
 
# Break up conftest.defines:
29064
 
ac_max_sed_lines=50
29065
 
 
29066
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
29067
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
29068
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
29069
 
# et cetera.
29070
 
ac_in='$ac_file_inputs'
29071
 
ac_out='"$tmp/out1"'
29072
 
ac_nxt='"$tmp/out2"'
29073
 
 
29074
 
while :
29075
 
do
29076
 
  # Write a here document:
29077
 
    cat >>$CONFIG_STATUS <<_ACEOF
29078
 
    # First, check the format of the line:
29079
 
    cat >"\$tmp/defines.sed" <<\\CEOF
29080
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
29081
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
29082
 
b
29083
 
:def
29084
 
_ACEOF
29085
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
29086
 
  echo 'CEOF
29087
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
29088
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
29089
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
29090
 
  grep . conftest.tail >/dev/null || break
29091
 
  rm -f conftest.defines
29092
 
  mv conftest.tail conftest.defines
29093
 
done
29094
 
rm -f conftest.defines conftest.tail
29095
 
 
29096
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
29097
 
cat >>$CONFIG_STATUS <<\_ACEOF
29098
25507
  if test x"$ac_file" != x-; then
29099
 
    echo "/* $configure_input  */" >"$tmp/config.h"
29100
 
    cat "$ac_result" >>"$tmp/config.h"
29101
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
29102
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
29103
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
25508
    {
 
25509
      $as_echo "/* $configure_input  */" \
 
25510
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
25511
    } >"$tmp/config.h" \
 
25512
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
25513
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
25514
   { (exit 1); exit 1; }; }
 
25515
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
25516
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
25517
$as_echo "$as_me: $ac_file is unchanged" >&6;}
29104
25518
    else
29105
 
      rm -f $ac_file
29106
 
      mv "$tmp/config.h" $ac_file
 
25519
      rm -f "$ac_file"
 
25520
      mv "$tmp/config.h" "$ac_file" \
 
25521
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
25522
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
25523
   { (exit 1); exit 1; }; }
29107
25524
    fi
29108
25525
  else
29109
 
    echo "/* $configure_input  */"
29110
 
    cat "$ac_result"
 
25526
    $as_echo "/* $configure_input  */" \
 
25527
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
25528
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
25529
$as_echo "$as_me: error: could not create -" >&2;}
 
25530
   { (exit 1); exit 1; }; }
29111
25531
  fi
29112
 
  rm -f "$tmp/out12"
29113
 
# Compute $ac_file's index in $config_headers.
29114
 
_am_arg=$ac_file
 
25532
# Compute "$ac_file"'s index in $config_headers.
 
25533
_am_arg="$ac_file"
29115
25534
_am_stamp_count=1
29116
25535
for _am_header in $config_headers :; do
29117
25536
  case $_am_header in
29126
25545
         X"$_am_arg" : 'X\(//\)[^/]' \| \
29127
25546
         X"$_am_arg" : 'X\(//\)$' \| \
29128
25547
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
29129
 
echo X"$_am_arg" |
 
25548
$as_echo X"$_am_arg" |
29130
25549
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29131
25550
            s//\1/
29132
25551
            q
29146
25565
          s/.*/./; q'`/stamp-h$_am_stamp_count
29147
25566
 ;;
29148
25567
 
29149
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
29150
 
echo "$as_me: executing $ac_file commands" >&6;}
 
25568
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
25569
$as_echo "$as_me: executing $ac_file commands" >&6;}
29151
25570
 ;;
29152
25571
  esac
29153
25572
 
29154
25573
 
29155
25574
  case $ac_file$ac_mode in
29156
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
29157
 
  # Strip MF so we end up with the name of the file.
29158
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
29159
 
  # Check whether this is an Automake generated Makefile or not.
29160
 
  # We used to match only the files named `Makefile.in', but
29161
 
  # some people rename them; so instead we look at the file content.
29162
 
  # Grep'ing the first line is not enough: some people post-process
29163
 
  # each Makefile.in and add a new line on top of each file to say so.
29164
 
  # Grep'ing the whole file is not good either: AIX grep has a line
29165
 
  # limit of 2048, but all sed's we know have understand at least 4000.
29166
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
29167
 
    dirpart=`$as_dirname -- "$mf" ||
 
25575
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
25576
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
25577
  # are listed without --file.  Let's play safe and only enable the eval
 
25578
  # if we detect the quoting.
 
25579
  case $CONFIG_FILES in
 
25580
  *\'*) eval set x "$CONFIG_FILES" ;;
 
25581
  *)   set x $CONFIG_FILES ;;
 
25582
  esac
 
25583
  shift
 
25584
  for mf
 
25585
  do
 
25586
    # Strip MF so we end up with the name of the file.
 
25587
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
25588
    # Check whether this is an Automake generated Makefile or not.
 
25589
    # We used to match only the files named `Makefile.in', but
 
25590
    # some people rename them; so instead we look at the file content.
 
25591
    # Grep'ing the first line is not enough: some people post-process
 
25592
    # each Makefile.in and add a new line on top of each file to say so.
 
25593
    # Grep'ing the whole file is not good either: AIX grep has a line
 
25594
    # limit of 2048, but all sed's we know have understand at least 4000.
 
25595
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
25596
      dirpart=`$as_dirname -- "$mf" ||
29168
25597
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29169
25598
         X"$mf" : 'X\(//\)[^/]' \| \
29170
25599
         X"$mf" : 'X\(//\)$' \| \
29171
25600
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
29172
 
echo X"$mf" |
 
25601
$as_echo X"$mf" |
29173
25602
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29174
25603
            s//\1/
29175
25604
            q
29187
25616
            q
29188
25617
          }
29189
25618
          s/.*/./; q'`
29190
 
  else
29191
 
    continue
29192
 
  fi
29193
 
  # Extract the definition of DEPDIR, am__include, and am__quote
29194
 
  # from the Makefile without running `make'.
29195
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
29196
 
  test -z "$DEPDIR" && continue
29197
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
29198
 
  test -z "am__include" && continue
29199
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
29200
 
  # When using ansi2knr, U may be empty or an underscore; expand it
29201
 
  U=`sed -n 's/^U = //p' < "$mf"`
29202
 
  # Find all dependency output files, they are included files with
29203
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
29204
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
29205
 
  # expansion.
29206
 
  for file in `sed -n "
29207
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
29208
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
29209
 
    # Make sure the directory exists.
29210
 
    test -f "$dirpart/$file" && continue
29211
 
    fdir=`$as_dirname -- "$file" ||
 
25619
    else
 
25620
      continue
 
25621
    fi
 
25622
    # Extract the definition of DEPDIR, am__include, and am__quote
 
25623
    # from the Makefile without running `make'.
 
25624
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
25625
    test -z "$DEPDIR" && continue
 
25626
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
25627
    test -z "am__include" && continue
 
25628
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
25629
    # When using ansi2knr, U may be empty or an underscore; expand it
 
25630
    U=`sed -n 's/^U = //p' < "$mf"`
 
25631
    # Find all dependency output files, they are included files with
 
25632
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
25633
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
25634
    # expansion.
 
25635
    for file in `sed -n "
 
25636
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
25637
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
25638
      # Make sure the directory exists.
 
25639
      test -f "$dirpart/$file" && continue
 
25640
      fdir=`$as_dirname -- "$file" ||
29212
25641
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29213
25642
         X"$file" : 'X\(//\)[^/]' \| \
29214
25643
         X"$file" : 'X\(//\)$' \| \
29215
25644
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
29216
 
echo X"$file" |
 
25645
$as_echo X"$file" |
29217
25646
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29218
25647
            s//\1/
29219
25648
            q
29231
25660
            q
29232
25661
          }
29233
25662
          s/.*/./; q'`
29234
 
    { as_dir=$dirpart/$fdir
 
25663
      { as_dir=$dirpart/$fdir
29235
25664
  case $as_dir in #(
29236
25665
  -*) as_dir=./$as_dir;;
29237
25666
  esac
29239
25668
    as_dirs=
29240
25669
    while :; do
29241
25670
      case $as_dir in #(
29242
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
25671
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
29243
25672
      *) as_qdir=$as_dir;;
29244
25673
      esac
29245
25674
      as_dirs="'$as_qdir' $as_dirs"
29248
25677
         X"$as_dir" : 'X\(//\)[^/]' \| \
29249
25678
         X"$as_dir" : 'X\(//\)$' \| \
29250
25679
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
29251
 
echo X"$as_dir" |
 
25680
$as_echo X"$as_dir" |
29252
25681
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29253
25682
            s//\1/
29254
25683
            q
29269
25698
      test -d "$as_dir" && break
29270
25699
    done
29271
25700
    test -z "$as_dirs" || eval "mkdir $as_dirs"
29272
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
29273
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
25701
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
25702
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
29274
25703
   { (exit 1); exit 1; }; }; }
29275
 
    # echo "creating $dirpart/$file"
29276
 
    echo '# dummy' > "$dirpart/$file"
 
25704
      # echo "creating $dirpart/$file"
 
25705
      echo '# dummy' > "$dirpart/$file"
 
25706
    done
29277
25707
  done
29278
 
done
 
25708
}
 
25709
 ;;
 
25710
    "libtool":C)
 
25711
 
 
25712
    # See if we are running on zsh, and set the options which allow our
 
25713
    # commands through without removal of \ escapes.
 
25714
    if test -n "${ZSH_VERSION+set}" ; then
 
25715
      setopt NO_GLOB_SUBST
 
25716
    fi
 
25717
 
 
25718
    cfgfile="${ofile}T"
 
25719
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
25720
    $RM "$cfgfile"
 
25721
 
 
25722
    cat <<_LT_EOF >> "$cfgfile"
 
25723
#! $SHELL
 
25724
 
 
25725
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
25726
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
25727
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
25728
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
25729
#
 
25730
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
25731
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
25732
#   Written by Gordon Matzigkeit, 1996
 
25733
#
 
25734
#   This file is part of GNU Libtool.
 
25735
#
 
25736
# GNU Libtool is free software; you can redistribute it and/or
 
25737
# modify it under the terms of the GNU General Public License as
 
25738
# published by the Free Software Foundation; either version 2 of
 
25739
# the License, or (at your option) any later version.
 
25740
#
 
25741
# As a special exception to the GNU General Public License,
 
25742
# if you distribute this file as part of a program or library that
 
25743
# is built using GNU Libtool, you may include this file under the
 
25744
# same distribution terms that you use for the rest of that program.
 
25745
#
 
25746
# GNU Libtool is distributed in the hope that it will be useful,
 
25747
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
25748
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
25749
# GNU General Public License for more details.
 
25750
#
 
25751
# You should have received a copy of the GNU General Public License
 
25752
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
25753
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
25754
# obtained by writing to the Free Software Foundation, Inc.,
 
25755
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
25756
 
 
25757
 
 
25758
# The names of the tagged configurations supported by this script.
 
25759
available_tags="CXX "
 
25760
 
 
25761
# ### BEGIN LIBTOOL CONFIG
 
25762
 
 
25763
# Which release of libtool.m4 was used?
 
25764
macro_version=$macro_version
 
25765
macro_revision=$macro_revision
 
25766
 
 
25767
# Whether or not to build shared libraries.
 
25768
build_libtool_libs=$enable_shared
 
25769
 
 
25770
# Whether or not to build static libraries.
 
25771
build_old_libs=$enable_static
 
25772
 
 
25773
# What type of objects to build.
 
25774
pic_mode=$pic_mode
 
25775
 
 
25776
# Whether or not to optimize for fast installation.
 
25777
fast_install=$enable_fast_install
 
25778
 
 
25779
# The host system.
 
25780
host_alias=$host_alias
 
25781
host=$host
 
25782
host_os=$host_os
 
25783
 
 
25784
# The build system.
 
25785
build_alias=$build_alias
 
25786
build=$build
 
25787
build_os=$build_os
 
25788
 
 
25789
# A sed program that does not truncate output.
 
25790
SED=$lt_SED
 
25791
 
 
25792
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
25793
Xsed="\$SED -e 1s/^X//"
 
25794
 
 
25795
# A grep program that handles long lines.
 
25796
GREP=$lt_GREP
 
25797
 
 
25798
# An ERE matcher.
 
25799
EGREP=$lt_EGREP
 
25800
 
 
25801
# A literal string matcher.
 
25802
FGREP=$lt_FGREP
 
25803
 
 
25804
# A BSD- or MS-compatible name lister.
 
25805
NM=$lt_NM
 
25806
 
 
25807
# Whether we need soft or hard links.
 
25808
LN_S=$lt_LN_S
 
25809
 
 
25810
# What is the maximum length of a command?
 
25811
max_cmd_len=$max_cmd_len
 
25812
 
 
25813
# Object file suffix (normally "o").
 
25814
objext=$ac_objext
 
25815
 
 
25816
# Executable file suffix (normally "").
 
25817
exeext=$exeext
 
25818
 
 
25819
# whether the shell understands "unset".
 
25820
lt_unset=$lt_unset
 
25821
 
 
25822
# turn spaces into newlines.
 
25823
SP2NL=$lt_lt_SP2NL
 
25824
 
 
25825
# turn newlines into spaces.
 
25826
NL2SP=$lt_lt_NL2SP
 
25827
 
 
25828
# How to create reloadable object files.
 
25829
reload_flag=$lt_reload_flag
 
25830
reload_cmds=$lt_reload_cmds
 
25831
 
 
25832
# An object symbol dumper.
 
25833
OBJDUMP=$lt_OBJDUMP
 
25834
 
 
25835
# Method to check whether dependent libraries are shared objects.
 
25836
deplibs_check_method=$lt_deplibs_check_method
 
25837
 
 
25838
# Command to use when deplibs_check_method == "file_magic".
 
25839
file_magic_cmd=$lt_file_magic_cmd
 
25840
 
 
25841
# The archiver.
 
25842
AR=$lt_AR
 
25843
AR_FLAGS=$lt_AR_FLAGS
 
25844
 
 
25845
# A symbol stripping program.
 
25846
STRIP=$lt_STRIP
 
25847
 
 
25848
# Commands used to install an old-style archive.
 
25849
RANLIB=$lt_RANLIB
 
25850
old_postinstall_cmds=$lt_old_postinstall_cmds
 
25851
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
25852
 
 
25853
# A C compiler.
 
25854
LTCC=$lt_CC
 
25855
 
 
25856
# LTCC compiler flags.
 
25857
LTCFLAGS=$lt_CFLAGS
 
25858
 
 
25859
# Take the output of nm and produce a listing of raw symbols and C names.
 
25860
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
25861
 
 
25862
# Transform the output of nm in a proper C declaration.
 
25863
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
25864
 
 
25865
# Transform the output of nm in a C name address pair.
 
25866
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
25867
 
 
25868
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
25869
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
25870
 
 
25871
# The name of the directory that contains temporary libtool files.
 
25872
objdir=$objdir
 
25873
 
 
25874
# Shell to use when invoking shell scripts.
 
25875
SHELL=$lt_SHELL
 
25876
 
 
25877
# An echo program that does not interpret backslashes.
 
25878
ECHO=$lt_ECHO
 
25879
 
 
25880
# Used to examine libraries when file_magic_cmd begins with "file".
 
25881
MAGIC_CMD=$MAGIC_CMD
 
25882
 
 
25883
# Must we lock files when doing compilation?
 
25884
need_locks=$lt_need_locks
 
25885
 
 
25886
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
25887
DSYMUTIL=$lt_DSYMUTIL
 
25888
 
 
25889
# Tool to change global to local symbols on Mac OS X.
 
25890
NMEDIT=$lt_NMEDIT
 
25891
 
 
25892
# Tool to manipulate fat objects and archives on Mac OS X.
 
25893
LIPO=$lt_LIPO
 
25894
 
 
25895
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
25896
OTOOL=$lt_OTOOL
 
25897
 
 
25898
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
25899
OTOOL64=$lt_OTOOL64
 
25900
 
 
25901
# Old archive suffix (normally "a").
 
25902
libext=$libext
 
25903
 
 
25904
# Shared library suffix (normally ".so").
 
25905
shrext_cmds=$lt_shrext_cmds
 
25906
 
 
25907
# The commands to extract the exported symbol list from a shared archive.
 
25908
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
25909
 
 
25910
# Variables whose values should be saved in libtool wrapper scripts and
 
25911
# restored at link time.
 
25912
variables_saved_for_relink=$lt_variables_saved_for_relink
 
25913
 
 
25914
# Do we need the "lib" prefix for modules?
 
25915
need_lib_prefix=$need_lib_prefix
 
25916
 
 
25917
# Do we need a version for libraries?
 
25918
need_version=$need_version
 
25919
 
 
25920
# Library versioning type.
 
25921
version_type=$version_type
 
25922
 
 
25923
# Shared library runtime path variable.
 
25924
runpath_var=$runpath_var
 
25925
 
 
25926
# Shared library path variable.
 
25927
shlibpath_var=$shlibpath_var
 
25928
 
 
25929
# Is shlibpath searched before the hard-coded library search path?
 
25930
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
25931
 
 
25932
# Format of library name prefix.
 
25933
libname_spec=$lt_libname_spec
 
25934
 
 
25935
# List of archive names.  First name is the real one, the rest are links.
 
25936
# The last name is the one that the linker finds with -lNAME
 
25937
library_names_spec=$lt_library_names_spec
 
25938
 
 
25939
# The coded name of the library, if different from the real name.
 
25940
soname_spec=$lt_soname_spec
 
25941
 
 
25942
# Command to use after installation of a shared archive.
 
25943
postinstall_cmds=$lt_postinstall_cmds
 
25944
 
 
25945
# Command to use after uninstallation of a shared archive.
 
25946
postuninstall_cmds=$lt_postuninstall_cmds
 
25947
 
 
25948
# Commands used to finish a libtool library installation in a directory.
 
25949
finish_cmds=$lt_finish_cmds
 
25950
 
 
25951
# As "finish_cmds", except a single script fragment to be evaled but
 
25952
# not shown.
 
25953
finish_eval=$lt_finish_eval
 
25954
 
 
25955
# Whether we should hardcode library paths into libraries.
 
25956
hardcode_into_libs=$hardcode_into_libs
 
25957
 
 
25958
# Compile-time system search path for libraries.
 
25959
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
25960
 
 
25961
# Run-time system search path for libraries.
 
25962
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
25963
 
 
25964
# Whether dlopen is supported.
 
25965
dlopen_support=$enable_dlopen
 
25966
 
 
25967
# Whether dlopen of programs is supported.
 
25968
dlopen_self=$enable_dlopen_self
 
25969
 
 
25970
# Whether dlopen of statically linked programs is supported.
 
25971
dlopen_self_static=$enable_dlopen_self_static
 
25972
 
 
25973
# Commands to strip libraries.
 
25974
old_striplib=$lt_old_striplib
 
25975
striplib=$lt_striplib
 
25976
 
 
25977
 
 
25978
# The linker used to build libraries.
 
25979
LD=$lt_LD
 
25980
 
 
25981
# Commands used to build an old-style archive.
 
25982
old_archive_cmds=$lt_old_archive_cmds
 
25983
 
 
25984
# A language specific compiler.
 
25985
CC=$lt_compiler
 
25986
 
 
25987
# Is the compiler the GNU compiler?
 
25988
with_gcc=$GCC
 
25989
 
 
25990
# Compiler flag to turn off builtin functions.
 
25991
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
25992
 
 
25993
# How to pass a linker flag through the compiler.
 
25994
wl=$lt_lt_prog_compiler_wl
 
25995
 
 
25996
# Additional compiler flags for building library objects.
 
25997
pic_flag=$lt_lt_prog_compiler_pic
 
25998
 
 
25999
# Compiler flag to prevent dynamic linking.
 
26000
link_static_flag=$lt_lt_prog_compiler_static
 
26001
 
 
26002
# Does compiler simultaneously support -c and -o options?
 
26003
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
26004
 
 
26005
# Whether or not to add -lc for building shared libraries.
 
26006
build_libtool_need_lc=$archive_cmds_need_lc
 
26007
 
 
26008
# Whether or not to disallow shared libs when runtime libs are static.
 
26009
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
26010
 
 
26011
# Compiler flag to allow reflexive dlopens.
 
26012
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
26013
 
 
26014
# Compiler flag to generate shared objects directly from archives.
 
26015
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
26016
 
 
26017
# Whether the compiler copes with passing no objects directly.
 
26018
compiler_needs_object=$lt_compiler_needs_object
 
26019
 
 
26020
# Create an old-style archive from a shared archive.
 
26021
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
26022
 
 
26023
# Create a temporary old-style archive to link instead of a shared archive.
 
26024
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
26025
 
 
26026
# Commands used to build a shared archive.
 
26027
archive_cmds=$lt_archive_cmds
 
26028
archive_expsym_cmds=$lt_archive_expsym_cmds
 
26029
 
 
26030
# Commands used to build a loadable module if different from building
 
26031
# a shared archive.
 
26032
module_cmds=$lt_module_cmds
 
26033
module_expsym_cmds=$lt_module_expsym_cmds
 
26034
 
 
26035
# Whether we are building with GNU ld or not.
 
26036
with_gnu_ld=$lt_with_gnu_ld
 
26037
 
 
26038
# Flag that allows shared libraries with undefined symbols to be built.
 
26039
allow_undefined_flag=$lt_allow_undefined_flag
 
26040
 
 
26041
# Flag that enforces no undefined symbols.
 
26042
no_undefined_flag=$lt_no_undefined_flag
 
26043
 
 
26044
# Flag to hardcode \$libdir into a binary during linking.
 
26045
# This must work even if \$libdir does not exist
 
26046
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
26047
 
 
26048
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
26049
# during linking.  This must work even if \$libdir does not exist.
 
26050
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
26051
 
 
26052
# Whether we need a single "-rpath" flag with a separated argument.
 
26053
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
26054
 
 
26055
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
26056
# DIR into the resulting binary.
 
26057
hardcode_direct=$hardcode_direct
 
26058
 
 
26059
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
26060
# DIR into the resulting binary and the resulting library dependency is
 
26061
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
26062
# library is relocated.
 
26063
hardcode_direct_absolute=$hardcode_direct_absolute
 
26064
 
 
26065
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
26066
# into the resulting binary.
 
26067
hardcode_minus_L=$hardcode_minus_L
 
26068
 
 
26069
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
26070
# into the resulting binary.
 
26071
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
26072
 
 
26073
# Set to "yes" if building a shared library automatically hardcodes DIR
 
26074
# into the library and all subsequent libraries and executables linked
 
26075
# against it.
 
26076
hardcode_automatic=$hardcode_automatic
 
26077
 
 
26078
# Set to yes if linker adds runtime paths of dependent libraries
 
26079
# to runtime path list.
 
26080
inherit_rpath=$inherit_rpath
 
26081
 
 
26082
# Whether libtool must link a program against all its dependency libraries.
 
26083
link_all_deplibs=$link_all_deplibs
 
26084
 
 
26085
# Fix the shell variable \$srcfile for the compiler.
 
26086
fix_srcfile_path=$lt_fix_srcfile_path
 
26087
 
 
26088
# Set to "yes" if exported symbols are required.
 
26089
always_export_symbols=$always_export_symbols
 
26090
 
 
26091
# The commands to list exported symbols.
 
26092
export_symbols_cmds=$lt_export_symbols_cmds
 
26093
 
 
26094
# Symbols that should not be listed in the preloaded symbols.
 
26095
exclude_expsyms=$lt_exclude_expsyms
 
26096
 
 
26097
# Symbols that must always be exported.
 
26098
include_expsyms=$lt_include_expsyms
 
26099
 
 
26100
# Commands necessary for linking programs (against libraries) with templates.
 
26101
prelink_cmds=$lt_prelink_cmds
 
26102
 
 
26103
# Specify filename containing input files.
 
26104
file_list_spec=$lt_file_list_spec
 
26105
 
 
26106
# How to hardcode a shared library path into an executable.
 
26107
hardcode_action=$hardcode_action
 
26108
 
 
26109
# The directories searched by this compiler when creating a shared library.
 
26110
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
26111
 
 
26112
# Dependencies to place before and after the objects being linked to
 
26113
# create a shared library.
 
26114
predep_objects=$lt_predep_objects
 
26115
postdep_objects=$lt_postdep_objects
 
26116
predeps=$lt_predeps
 
26117
postdeps=$lt_postdeps
 
26118
 
 
26119
# The library search path used internally by the compiler when linking
 
26120
# a shared library.
 
26121
compiler_lib_search_path=$lt_compiler_lib_search_path
 
26122
 
 
26123
# ### END LIBTOOL CONFIG
 
26124
 
 
26125
_LT_EOF
 
26126
 
 
26127
  case $host_os in
 
26128
  aix3*)
 
26129
    cat <<\_LT_EOF >> "$cfgfile"
 
26130
# AIX sometimes has problems with the GCC collect2 program.  For some
 
26131
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
26132
# vanish in a puff of smoke.
 
26133
if test "X${COLLECT_NAMES+set}" != Xset; then
 
26134
  COLLECT_NAMES=
 
26135
  export COLLECT_NAMES
 
26136
fi
 
26137
_LT_EOF
 
26138
    ;;
 
26139
  esac
 
26140
 
 
26141
 
 
26142
ltmain="$ac_aux_dir/ltmain.sh"
 
26143
 
 
26144
 
 
26145
  # We use sed instead of cat because bash on DJGPP gets confused if
 
26146
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
26147
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
26148
  # is reportedly fixed, but why not run on old versions too?
 
26149
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
26150
    || (rm -f "$cfgfile"; exit 1)
 
26151
 
 
26152
  case $xsi_shell in
 
26153
  yes)
 
26154
    cat << \_LT_EOF >> "$cfgfile"
 
26155
 
 
26156
# func_dirname file append nondir_replacement
 
26157
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
26158
# otherwise set result to NONDIR_REPLACEMENT.
 
26159
func_dirname ()
 
26160
{
 
26161
  case ${1} in
 
26162
    */*) func_dirname_result="${1%/*}${2}" ;;
 
26163
    *  ) func_dirname_result="${3}" ;;
 
26164
  esac
 
26165
}
 
26166
 
 
26167
# func_basename file
 
26168
func_basename ()
 
26169
{
 
26170
  func_basename_result="${1##*/}"
 
26171
}
 
26172
 
 
26173
# func_dirname_and_basename file append nondir_replacement
 
26174
# perform func_basename and func_dirname in a single function
 
26175
# call:
 
26176
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
26177
#             add APPEND to the result, otherwise set result
 
26178
#             to NONDIR_REPLACEMENT.
 
26179
#             value returned in "$func_dirname_result"
 
26180
#   basename: Compute filename of FILE.
 
26181
#             value retuned in "$func_basename_result"
 
26182
# Implementation must be kept synchronized with func_dirname
 
26183
# and func_basename. For efficiency, we do not delegate to
 
26184
# those functions but instead duplicate the functionality here.
 
26185
func_dirname_and_basename ()
 
26186
{
 
26187
  case ${1} in
 
26188
    */*) func_dirname_result="${1%/*}${2}" ;;
 
26189
    *  ) func_dirname_result="${3}" ;;
 
26190
  esac
 
26191
  func_basename_result="${1##*/}"
 
26192
}
 
26193
 
 
26194
# func_stripname prefix suffix name
 
26195
# strip PREFIX and SUFFIX off of NAME.
 
26196
# PREFIX and SUFFIX must not contain globbing or regex special
 
26197
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
26198
# dot (in which case that matches only a dot).
 
26199
func_stripname ()
 
26200
{
 
26201
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
26202
  # positional parameters, so assign one to ordinary parameter first.
 
26203
  func_stripname_result=${3}
 
26204
  func_stripname_result=${func_stripname_result#"${1}"}
 
26205
  func_stripname_result=${func_stripname_result%"${2}"}
 
26206
}
 
26207
 
 
26208
# func_opt_split
 
26209
func_opt_split ()
 
26210
{
 
26211
  func_opt_split_opt=${1%%=*}
 
26212
  func_opt_split_arg=${1#*=}
 
26213
}
 
26214
 
 
26215
# func_lo2o object
 
26216
func_lo2o ()
 
26217
{
 
26218
  case ${1} in
 
26219
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
26220
    *)    func_lo2o_result=${1} ;;
 
26221
  esac
 
26222
}
 
26223
 
 
26224
# func_xform libobj-or-source
 
26225
func_xform ()
 
26226
{
 
26227
  func_xform_result=${1%.*}.lo
 
26228
}
 
26229
 
 
26230
# func_arith arithmetic-term...
 
26231
func_arith ()
 
26232
{
 
26233
  func_arith_result=$(( $* ))
 
26234
}
 
26235
 
 
26236
# func_len string
 
26237
# STRING may not start with a hyphen.
 
26238
func_len ()
 
26239
{
 
26240
  func_len_result=${#1}
 
26241
}
 
26242
 
 
26243
_LT_EOF
 
26244
    ;;
 
26245
  *) # Bourne compatible functions.
 
26246
    cat << \_LT_EOF >> "$cfgfile"
 
26247
 
 
26248
# func_dirname file append nondir_replacement
 
26249
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
26250
# otherwise set result to NONDIR_REPLACEMENT.
 
26251
func_dirname ()
 
26252
{
 
26253
  # Extract subdirectory from the argument.
 
26254
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
26255
  if test "X$func_dirname_result" = "X${1}"; then
 
26256
    func_dirname_result="${3}"
 
26257
  else
 
26258
    func_dirname_result="$func_dirname_result${2}"
 
26259
  fi
 
26260
}
 
26261
 
 
26262
# func_basename file
 
26263
func_basename ()
 
26264
{
 
26265
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
26266
}
 
26267
 
 
26268
 
 
26269
# func_stripname prefix suffix name
 
26270
# strip PREFIX and SUFFIX off of NAME.
 
26271
# PREFIX and SUFFIX must not contain globbing or regex special
 
26272
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
26273
# dot (in which case that matches only a dot).
 
26274
# func_strip_suffix prefix name
 
26275
func_stripname ()
 
26276
{
 
26277
  case ${2} in
 
26278
    .*) func_stripname_result=`$ECHO "X${3}" \
 
26279
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
26280
    *)  func_stripname_result=`$ECHO "X${3}" \
 
26281
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
26282
  esac
 
26283
}
 
26284
 
 
26285
# sed scripts:
 
26286
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
26287
my_sed_long_arg='1s/^-[^=]*=//'
 
26288
 
 
26289
# func_opt_split
 
26290
func_opt_split ()
 
26291
{
 
26292
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
26293
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
26294
}
 
26295
 
 
26296
# func_lo2o object
 
26297
func_lo2o ()
 
26298
{
 
26299
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
26300
}
 
26301
 
 
26302
# func_xform libobj-or-source
 
26303
func_xform ()
 
26304
{
 
26305
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
26306
}
 
26307
 
 
26308
# func_arith arithmetic-term...
 
26309
func_arith ()
 
26310
{
 
26311
  func_arith_result=`expr "$@"`
 
26312
}
 
26313
 
 
26314
# func_len string
 
26315
# STRING may not start with a hyphen.
 
26316
func_len ()
 
26317
{
 
26318
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
26319
}
 
26320
 
 
26321
_LT_EOF
 
26322
esac
 
26323
 
 
26324
case $lt_shell_append in
 
26325
  yes)
 
26326
    cat << \_LT_EOF >> "$cfgfile"
 
26327
 
 
26328
# func_append var value
 
26329
# Append VALUE to the end of shell variable VAR.
 
26330
func_append ()
 
26331
{
 
26332
  eval "$1+=\$2"
 
26333
}
 
26334
_LT_EOF
 
26335
    ;;
 
26336
  *)
 
26337
    cat << \_LT_EOF >> "$cfgfile"
 
26338
 
 
26339
# func_append var value
 
26340
# Append VALUE to the end of shell variable VAR.
 
26341
func_append ()
 
26342
{
 
26343
  eval "$1=\$$1\$2"
 
26344
}
 
26345
 
 
26346
_LT_EOF
 
26347
    ;;
 
26348
  esac
 
26349
 
 
26350
 
 
26351
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
26352
    || (rm -f "$cfgfile"; exit 1)
 
26353
 
 
26354
  mv -f "$cfgfile" "$ofile" ||
 
26355
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
26356
  chmod +x "$ofile"
 
26357
 
 
26358
 
 
26359
    cat <<_LT_EOF >> "$ofile"
 
26360
 
 
26361
# ### BEGIN LIBTOOL TAG CONFIG: CXX
 
26362
 
 
26363
# The linker used to build libraries.
 
26364
LD=$lt_LD_CXX
 
26365
 
 
26366
# Commands used to build an old-style archive.
 
26367
old_archive_cmds=$lt_old_archive_cmds_CXX
 
26368
 
 
26369
# A language specific compiler.
 
26370
CC=$lt_compiler_CXX
 
26371
 
 
26372
# Is the compiler the GNU compiler?
 
26373
with_gcc=$GCC_CXX
 
26374
 
 
26375
# Compiler flag to turn off builtin functions.
 
26376
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
26377
 
 
26378
# How to pass a linker flag through the compiler.
 
26379
wl=$lt_lt_prog_compiler_wl_CXX
 
26380
 
 
26381
# Additional compiler flags for building library objects.
 
26382
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
26383
 
 
26384
# Compiler flag to prevent dynamic linking.
 
26385
link_static_flag=$lt_lt_prog_compiler_static_CXX
 
26386
 
 
26387
# Does compiler simultaneously support -c and -o options?
 
26388
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 
26389
 
 
26390
# Whether or not to add -lc for building shared libraries.
 
26391
build_libtool_need_lc=$archive_cmds_need_lc_CXX
 
26392
 
 
26393
# Whether or not to disallow shared libs when runtime libs are static.
 
26394
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 
26395
 
 
26396
# Compiler flag to allow reflexive dlopens.
 
26397
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 
26398
 
 
26399
# Compiler flag to generate shared objects directly from archives.
 
26400
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 
26401
 
 
26402
# Whether the compiler copes with passing no objects directly.
 
26403
compiler_needs_object=$lt_compiler_needs_object_CXX
 
26404
 
 
26405
# Create an old-style archive from a shared archive.
 
26406
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 
26407
 
 
26408
# Create a temporary old-style archive to link instead of a shared archive.
 
26409
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 
26410
 
 
26411
# Commands used to build a shared archive.
 
26412
archive_cmds=$lt_archive_cmds_CXX
 
26413
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 
26414
 
 
26415
# Commands used to build a loadable module if different from building
 
26416
# a shared archive.
 
26417
module_cmds=$lt_module_cmds_CXX
 
26418
module_expsym_cmds=$lt_module_expsym_cmds_CXX
 
26419
 
 
26420
# Whether we are building with GNU ld or not.
 
26421
with_gnu_ld=$lt_with_gnu_ld_CXX
 
26422
 
 
26423
# Flag that allows shared libraries with undefined symbols to be built.
 
26424
allow_undefined_flag=$lt_allow_undefined_flag_CXX
 
26425
 
 
26426
# Flag that enforces no undefined symbols.
 
26427
no_undefined_flag=$lt_no_undefined_flag_CXX
 
26428
 
 
26429
# Flag to hardcode \$libdir into a binary during linking.
 
26430
# This must work even if \$libdir does not exist
 
26431
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
26432
 
 
26433
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
26434
# during linking.  This must work even if \$libdir does not exist.
 
26435
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 
26436
 
 
26437
# Whether we need a single "-rpath" flag with a separated argument.
 
26438
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
26439
 
 
26440
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
26441
# DIR into the resulting binary.
 
26442
hardcode_direct=$hardcode_direct_CXX
 
26443
 
 
26444
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
26445
# DIR into the resulting binary and the resulting library dependency is
 
26446
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
26447
# library is relocated.
 
26448
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
 
26449
 
 
26450
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
26451
# into the resulting binary.
 
26452
hardcode_minus_L=$hardcode_minus_L_CXX
 
26453
 
 
26454
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
26455
# into the resulting binary.
 
26456
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 
26457
 
 
26458
# Set to "yes" if building a shared library automatically hardcodes DIR
 
26459
# into the library and all subsequent libraries and executables linked
 
26460
# against it.
 
26461
hardcode_automatic=$hardcode_automatic_CXX
 
26462
 
 
26463
# Set to yes if linker adds runtime paths of dependent libraries
 
26464
# to runtime path list.
 
26465
inherit_rpath=$inherit_rpath_CXX
 
26466
 
 
26467
# Whether libtool must link a program against all its dependency libraries.
 
26468
link_all_deplibs=$link_all_deplibs_CXX
 
26469
 
 
26470
# Fix the shell variable \$srcfile for the compiler.
 
26471
fix_srcfile_path=$lt_fix_srcfile_path_CXX
 
26472
 
 
26473
# Set to "yes" if exported symbols are required.
 
26474
always_export_symbols=$always_export_symbols_CXX
 
26475
 
 
26476
# The commands to list exported symbols.
 
26477
export_symbols_cmds=$lt_export_symbols_cmds_CXX
 
26478
 
 
26479
# Symbols that should not be listed in the preloaded symbols.
 
26480
exclude_expsyms=$lt_exclude_expsyms_CXX
 
26481
 
 
26482
# Symbols that must always be exported.
 
26483
include_expsyms=$lt_include_expsyms_CXX
 
26484
 
 
26485
# Commands necessary for linking programs (against libraries) with templates.
 
26486
prelink_cmds=$lt_prelink_cmds_CXX
 
26487
 
 
26488
# Specify filename containing input files.
 
26489
file_list_spec=$lt_file_list_spec_CXX
 
26490
 
 
26491
# How to hardcode a shared library path into an executable.
 
26492
hardcode_action=$hardcode_action_CXX
 
26493
 
 
26494
# The directories searched by this compiler when creating a shared library.
 
26495
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
26496
 
 
26497
# Dependencies to place before and after the objects being linked to
 
26498
# create a shared library.
 
26499
predep_objects=$lt_predep_objects_CXX
 
26500
postdep_objects=$lt_postdep_objects_CXX
 
26501
predeps=$lt_predeps_CXX
 
26502
postdeps=$lt_postdeps_CXX
 
26503
 
 
26504
# The library search path used internally by the compiler when linking
 
26505
# a shared library.
 
26506
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 
26507
 
 
26508
# ### END LIBTOOL TAG CONFIG: CXX
 
26509
_LT_EOF
 
26510
 
29279
26511
 ;;
29280
26512
 
29281
26513
  esac
29287
26519
chmod +x $CONFIG_STATUS
29288
26520
ac_clean_files=$ac_clean_files_save
29289
26521
 
 
26522
test $ac_write_fail = 0 ||
 
26523
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
26524
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
26525
   { (exit 1); exit 1; }; }
 
26526
 
29290
26527
 
29291
26528
# configure is writing to config.log, and then calls config.status.
29292
26529
# config.status does its own redirection, appending to config.log.
29308
26545
  # would make configure fail if this is the last instruction.
29309
26546
  $ac_cs_success || { (exit 1); exit 1; }
29310
26547
fi
 
26548
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
26549
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
26550
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
26551
fi
29311
26552