~ubuntu-branches/ubuntu/wily/libx11/wily-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2011-02-24 12:02:14 UTC
  • mfrom: (1.1.12 upstream) (2.1.12 sid)
  • Revision ID: james.westby@ubuntu.com-20110224120214-a86d0lv48wk8itl6
Tags: 2:1.4.1-5ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Add Latin locale.
  - Add Klingon locale.
  - Add 102_double_arrows_Compose.patch: compose keys for double arrows
    (LP: 680143)

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.65 for libX11 1.3.3.
 
3
# Generated by GNU Autoconf 2.68 for libX11 1.4.1.
4
4
#
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6
6
#
7
7
#
8
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10
 
# Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
11
11
#
12
12
#
13
13
# This configure script is free software; the Free Software Foundation
91
91
IFS=" ""        $as_nl"
92
92
 
93
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
94
95
case $0 in #((
95
96
  *[\\/]* ) as_myself=$0 ;;
96
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
173
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
 
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
test \$(( 1 + 1 )) = 2 || exit 1
 
178
 
 
179
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
180
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
183
    PATH=/empty FPATH=/empty; export PATH FPATH
 
184
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
185
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
177
186
  if (eval "$as_required") 2>/dev/null; then :
178
187
  as_have_required=yes
179
188
else
216
225
  # We cannot yet assume a decent shell, so we have to provide a
217
226
        # neutralization value for shells without unset; and this also
218
227
        # works around shells that cannot unset nonexistent variables.
 
228
        # Preserve -v and -x to the replacement shell.
219
229
        BASH_ENV=/dev/null
220
230
        ENV=/dev/null
221
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
232
        export CONFIG_SHELL
223
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
224
240
fi
225
241
 
226
242
    if test x$as_have_required = xno; then :
320
336
      test -d "$as_dir" && break
321
337
    done
322
338
    test -z "$as_dirs" || eval "mkdir $as_dirs"
323
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
339
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
324
340
 
325
341
 
326
342
} # as_fn_mkdir_p
360
376
fi # as_fn_arith
361
377
 
362
378
 
363
 
# as_fn_error ERROR [LINENO LOG_FD]
364
 
# ---------------------------------
 
379
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
380
# ----------------------------------------
365
381
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366
382
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367
 
# script with status $?, using 1 if that was 0.
 
383
# script with STATUS, using 1 if that was 0.
368
384
as_fn_error ()
369
385
{
370
 
  as_status=$?; test $as_status -eq 0 && as_status=1
371
 
  if test "$3"; then
372
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
386
  as_status=$1; test $as_status -eq 0 && as_status=1
 
387
  if test "$4"; then
 
388
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
389
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374
390
  fi
375
 
  $as_echo "$as_me: error: $1" >&2
 
391
  $as_echo "$as_me: error: $2" >&2
376
392
  as_fn_exit $as_status
377
393
} # as_fn_error
378
394
 
529
545
# Sed expression to map a string onto a valid variable name.
530
546
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531
547
 
532
 
 
533
 
 
534
 
# Check that we are running under the correct shell.
 
548
as_awk_strverscmp='
 
549
  # Use only awk features that work with 7th edition Unix awk (1978).
 
550
  # My, what an old awk you have, Mr. Solaris!
 
551
  END {
 
552
    while (length(v1) && length(v2)) {
 
553
      # Set d1 to be the next thing to compare from v1, and likewise for d2.
 
554
      # Normally this is a single character, but if v1 and v2 contain digits,
 
555
      # compare them as integers and fractions as strverscmp does.
 
556
      if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
 
557
        # Split v1 and v2 into their leading digit string components d1 and d2,
 
558
        # and advance v1 and v2 past the leading digit strings.
 
559
        for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
 
560
        for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
 
561
        d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
 
562
        d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
 
563
        if (d1 ~ /^0/) {
 
564
          if (d2 ~ /^0/) {
 
565
            # Compare two fractions.
 
566
            while (d1 ~ /^0/ && d2 ~ /^0/) {
 
567
              d1 = substr(d1, 2); len1--
 
568
              d2 = substr(d2, 2); len2--
 
569
            }
 
570
            if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
 
571
              # The two components differ in length, and the common prefix
 
572
              # contains only leading zeros.  Consider the longer to be less.
 
573
              d1 = -len1
 
574
              d2 = -len2
 
575
            } else {
 
576
              # Otherwise, compare as strings.
 
577
              d1 = "x" d1
 
578
              d2 = "x" d2
 
579
            }
 
580
          } else {
 
581
            # A fraction is less than an integer.
 
582
            exit 1
 
583
          }
 
584
        } else {
 
585
          if (d2 ~ /^0/) {
 
586
            # An integer is greater than a fraction.
 
587
            exit 2
 
588
          } else {
 
589
            # Compare two integers.
 
590
            d1 += 0
 
591
            d2 += 0
 
592
          }
 
593
        }
 
594
      } else {
 
595
        # The normal case, without worrying about digits.
 
596
        d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
 
597
        d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
 
598
      }
 
599
      if (d1 < d2) exit 1
 
600
      if (d1 > d2) exit 2
 
601
    }
 
602
    # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
 
603
    # which mishandles some comparisons of empty strings to integers.
 
604
    if (length(v2)) exit 1
 
605
    if (length(v1)) exit 2
 
606
  }
 
607
'
535
608
SHELL=${CONFIG_SHELL-/bin/sh}
536
609
 
537
 
case X$ECHO in
538
 
X*--fallback-echo)
539
 
  # Remove one level of quotation (which was required for Make).
540
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
541
 
  ;;
542
 
esac
543
 
 
544
 
echo=${ECHO-echo}
545
 
if test "X$1" = X--no-reexec; then
546
 
  # Discard the --no-reexec flag, and continue.
547
 
  shift
548
 
elif test "X$1" = X--fallback-echo; then
549
 
  # Avoid inline document here, it may be left over
550
 
  :
551
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
552
 
  # Yippee, $echo works!
553
 
  :
554
 
else
555
 
  # Restart under the correct shell.
556
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
557
 
fi
558
 
 
559
 
if test "X$1" = X--fallback-echo; then
560
 
  # used as fallback echo
561
 
  shift
562
 
  cat <<EOF
563
 
$*
564
 
EOF
565
 
  exit 0
566
 
fi
567
 
 
568
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
569
 
# if CDPATH is set.
570
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
 
 
572
 
if test -z "$ECHO"; then
573
 
if test "X${echo_test_string+set}" != Xset; then
574
 
# find a string as large as possible, as long as the shell can cope with it
575
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
578
 
       echo_test_string=`eval $cmd` &&
579
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
580
 
    then
581
 
      break
582
 
    fi
583
 
  done
584
 
fi
585
 
 
586
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
587
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
588
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
589
 
  :
590
 
else
591
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
592
 
  # backslashes.  This makes it impossible to quote backslashes using
593
 
  #   echo "$something" | sed 's/\\/\\\\/g'
594
 
  #
595
 
  # So, first we look for a working echo in the user's PATH.
596
 
 
597
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
598
 
  for dir in $PATH /usr/ucb; do
599
 
    IFS="$lt_save_ifs"
600
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
601
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
602
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
603
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
604
 
      echo="$dir/echo"
605
 
      break
606
 
    fi
607
 
  done
608
 
  IFS="$lt_save_ifs"
609
 
 
610
 
  if test "X$echo" = Xecho; then
611
 
    # We didn't find a better echo, so look for alternatives.
612
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
613
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
614
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
615
 
      # This shell has a builtin print -r that does the trick.
616
 
      echo='print -r'
617
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
618
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
619
 
      # If we have ksh, try running configure again with it.
620
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
621
 
      export ORIGINAL_CONFIG_SHELL
622
 
      CONFIG_SHELL=/bin/ksh
623
 
      export CONFIG_SHELL
624
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
625
 
    else
626
 
      # Try using printf.
627
 
      echo='printf %s\n'
628
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
629
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
630
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
631
 
        # Cool, printf works
632
 
        :
633
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
634
 
           test "X$echo_testing_string" = 'X\t' &&
635
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
636
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
637
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
638
 
        export CONFIG_SHELL
639
 
        SHELL="$CONFIG_SHELL"
640
 
        export SHELL
641
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
642
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
643
 
           test "X$echo_testing_string" = 'X\t' &&
644
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
645
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
646
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
647
 
      else
648
 
        # maybe with a smaller string...
649
 
        prev=:
650
 
 
651
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
652
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
653
 
          then
654
 
            break
655
 
          fi
656
 
          prev="$cmd"
657
 
        done
658
 
 
659
 
        if test "$prev" != 'sed 50q "$0"'; then
660
 
          echo_test_string=`eval $prev`
661
 
          export echo_test_string
662
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
663
 
        else
664
 
          # Oops.  We lost completely, so just stick with echo.
665
 
          echo=echo
666
 
        fi
667
 
      fi
668
 
    fi
669
 
  fi
670
 
fi
671
 
fi
672
 
 
673
 
# Copy echo and quote the copy suitably for passing to libtool from
674
 
# the Makefile, instead of quoting the original, which is used later.
675
 
ECHO=$echo
676
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
677
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678
 
fi
679
 
 
680
 
 
681
 
 
682
 
 
683
 
tagnames=${tagnames+${tagnames},}CXX
684
 
 
685
 
tagnames=${tagnames+${tagnames},}F77
686
610
 
687
611
test -n "$DJDIR" || exec 7<&0 </dev/null
688
612
exec 6>&1
689
613
 
690
614
# Name of the host.
691
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
615
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
692
616
# so uname gets run too.
693
617
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
694
618
 
707
631
# Identity of this package.
708
632
PACKAGE_NAME='libX11'
709
633
PACKAGE_TARNAME='libX11'
710
 
PACKAGE_VERSION='1.3.3'
711
 
PACKAGE_STRING='libX11 1.3.3'
 
634
PACKAGE_VERSION='1.4.1'
 
635
PACKAGE_STRING='libX11 1.4.1'
712
636
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
713
637
PACKAGE_URL=''
714
638
 
754
678
am__EXEEXT_TRUE
755
679
LTLIBOBJS
756
680
LIBOBJS
757
 
HAVE_PS2PDF_FALSE
758
 
HAVE_PS2PDF_TRUE
759
 
BUILD_SPECS_FALSE
760
 
BUILD_SPECS_TRUE
761
 
PS2PDF
762
 
GROFF
763
681
XTMALLOC_ZERO_CFLAGS
764
682
XMALLOC_ZERO_CFLAGS
765
683
MALLOC_ZERO_CFLAGS
785
703
XKBPROTO_REQUIRES
786
704
XKB_FALSE
787
705
XKB_TRUE
788
 
MANPAGES_FALSE
789
 
MANPAGES_TRUE
790
706
BIGFONT_LIBS
791
707
BIGFONT_CFLAGS
792
708
XLOCALE_FALSE
795
711
XCMS_TRUE
796
712
UDC_FALSE
797
713
UDC_TRUE
798
 
KEYSYMDEF
 
714
KEYSYMDEFS
799
715
XTHREAD_CFLAGS
800
716
XTHREADLIB
801
717
THRSTUBS_FALSE
808
724
XLIB_LOADABLE_I18N_TRUE
809
725
I18N_MODULE_LIBS
810
726
X11_EXTRA_DEPS
811
 
XDMCP_LIBS
812
 
XDMCP_CFLAGS
813
 
XCB_FALSE
814
 
XCB_TRUE
815
727
HAVE_PERL_FALSE
816
728
HAVE_PERL_TRUE
817
729
PERL
818
 
RAWCPPFLAGS
819
 
RAWCPP
 
730
LDFLAGS_FOR_BUILD
 
731
CFLAGS_FOR_BUILD
 
732
CPPFLAGS_FOR_BUILD
820
733
CC_FOR_BUILD
821
 
LTCXXCOMPILE
822
 
LTCOMPILE
823
 
DOLT_BASH
824
 
LIBTOOL
825
 
ac_ct_F77
826
 
FFLAGS
827
 
F77
828
 
CXXCPP
829
 
am__fastdepCXX_FALSE
830
 
am__fastdepCXX_TRUE
831
 
CXXDEPMODE
832
 
ac_ct_CXX
833
 
CXXFLAGS
834
 
CXX
 
734
OTOOL64
 
735
OTOOL
 
736
LIPO
835
737
NMEDIT
836
738
DSYMUTIL
 
739
MANIFEST_TOOL
837
740
RANLIB
 
741
ac_ct_AR
838
742
AR
839
 
ECHO
 
743
DLLTOOL
 
744
OBJDUMP
840
745
LN_S
841
 
SED
 
746
NM
 
747
ac_ct_DUMPBIN
 
748
DUMPBIN
 
749
LD
 
750
FGREP
 
751
LIBTOOL
 
752
RAWCPPFLAGS
 
753
RAWCPP
 
754
HAVE_STYLESHEETS_FALSE
 
755
HAVE_STYLESHEETS_TRUE
 
756
XSL_STYLESHEET
 
757
STYLESHEET_SRCDIR
 
758
XORG_SGML_PATH
 
759
HAVE_FOP_FALSE
 
760
HAVE_FOP_TRUE
 
761
FOP
 
762
HAVE_XMLTO_FALSE
 
763
HAVE_XMLTO_TRUE
 
764
HAVE_XMLTO_TEXT_FALSE
 
765
HAVE_XMLTO_TEXT_TRUE
 
766
XMLTO
 
767
ENABLE_SPECS_FALSE
 
768
ENABLE_SPECS_TRUE
 
769
AM_BACKSLASH
 
770
AM_DEFAULT_VERBOSITY
 
771
MAN_SUBSTS
 
772
XORG_MAN_PAGE
842
773
ADMIN_MAN_DIR
843
774
DRIVER_MAN_DIR
844
775
MISC_MAN_DIR
851
782
FILE_MAN_SUFFIX
852
783
LIB_MAN_SUFFIX
853
784
APP_MAN_SUFFIX
854
 
host_os
855
 
host_vendor
856
 
host_cpu
857
 
host
858
 
build_os
859
 
build_vendor
860
 
build_cpu
861
 
build
 
785
SED
862
786
INSTALL_CMD
863
787
PKG_CONFIG
864
788
CHANGELOG_CMD
865
 
AM_BACKSLASH
866
 
AM_DEFAULT_VERBOSITY
867
789
CWARNFLAGS
868
790
EGREP
869
791
GREP
910
832
INSTALL_DATA
911
833
INSTALL_SCRIPT
912
834
INSTALL_PROGRAM
 
835
host_os
 
836
host_vendor
 
837
host_cpu
 
838
host
 
839
build_os
 
840
build_vendor
 
841
build_cpu
 
842
build
913
843
target_alias
914
844
host_alias
915
845
build_alias
953
883
enable_option_checking
954
884
enable_maintainer_mode
955
885
enable_dependency_tracking
 
886
enable_strict_compilation
956
887
enable_silent_rules
957
 
enable_strict_compilation
958
 
with_release_version
 
888
enable_specs
 
889
with_xmlto
 
890
with_fop
959
891
enable_shared
960
892
enable_static
 
893
with_pic
961
894
enable_fast_install
962
895
with_gnu_ld
 
896
with_sysroot
963
897
enable_libtool_lock
964
 
with_pic
965
 
with_tags
966
898
with_perl
967
 
with_xcb
968
899
enable_unix_transport
969
900
enable_tcp_transport
970
901
enable_ipv6
980
911
enable_xlocaledir
981
912
enable_xf86bigfont
982
913
enable_xkb
983
 
enable_man_pages
984
914
enable_composecache
985
915
with_lint
986
916
enable_lint_library
987
917
with_locale_lib_dir
988
918
enable_malloc0returnsnull
989
 
enable_specs
990
919
'
991
920
      ac_precious_vars='build_alias
992
921
host_alias
998
927
CPPFLAGS
999
928
CPP
1000
929
PKG_CONFIG
1001
 
CXX
1002
 
CXXFLAGS
1003
 
CCC
1004
 
CXXCPP
1005
 
F77
1006
 
FFLAGS
1007
 
XDMCP_CFLAGS
1008
 
XDMCP_LIBS
 
930
XMLTO
 
931
FOP
1009
932
BIGFONT_CFLAGS
1010
933
BIGFONT_LIBS
 
934
LINT
 
935
LINT_FLAGS
1011
936
X11_CFLAGS
1012
 
X11_LIBS
1013
 
GROFF
1014
 
PS2PDF'
 
937
X11_LIBS'
1015
938
 
1016
939
 
1017
940
# Initialize some variables set by options.
1074
997
  fi
1075
998
 
1076
999
  case $ac_option in
1077
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1078
 
  *)    ac_optarg=yes ;;
 
1000
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1001
  *=)   ac_optarg= ;;
 
1002
  *)    ac_optarg=yes ;;
1079
1003
  esac
1080
1004
 
1081
1005
  # Accept the important Cygnus configure options, so we can diagnose typos.
1120
1044
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1121
1045
    # Reject names that are not valid shell variable names.
1122
1046
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1123
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1047
      as_fn_error $? "invalid feature name: $ac_useropt"
1124
1048
    ac_useropt_orig=$ac_useropt
1125
1049
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126
1050
    case $ac_user_opts in
1146
1070
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1147
1071
    # Reject names that are not valid shell variable names.
1148
1072
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1149
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1073
      as_fn_error $? "invalid feature name: $ac_useropt"
1150
1074
    ac_useropt_orig=$ac_useropt
1151
1075
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1152
1076
    case $ac_user_opts in
1350
1274
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1351
1275
    # Reject names that are not valid shell variable names.
1352
1276
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1353
 
      as_fn_error "invalid package name: $ac_useropt"
 
1277
      as_fn_error $? "invalid package name: $ac_useropt"
1354
1278
    ac_useropt_orig=$ac_useropt
1355
1279
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1356
1280
    case $ac_user_opts in
1366
1290
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1367
1291
    # Reject names that are not valid shell variable names.
1368
1292
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1369
 
      as_fn_error "invalid package name: $ac_useropt"
 
1293
      as_fn_error $? "invalid package name: $ac_useropt"
1370
1294
    ac_useropt_orig=$ac_useropt
1371
1295
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1372
1296
    case $ac_user_opts in
1396
1320
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1397
1321
    x_libraries=$ac_optarg ;;
1398
1322
 
1399
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1400
 
Try \`$0 --help' for more information."
 
1323
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1324
Try \`$0 --help' for more information"
1401
1325
    ;;
1402
1326
 
1403
1327
  *=*)
1405
1329
    # Reject names that are not valid shell variable names.
1406
1330
    case $ac_envvar in #(
1407
1331
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1408
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1332
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1409
1333
    esac
1410
1334
    eval $ac_envvar=\$ac_optarg
1411
1335
    export $ac_envvar ;;
1415
1339
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1416
1340
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1417
1341
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1418
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1342
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1419
1343
    ;;
1420
1344
 
1421
1345
  esac
1423
1347
 
1424
1348
if test -n "$ac_prev"; then
1425
1349
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1426
 
  as_fn_error "missing argument to $ac_option"
 
1350
  as_fn_error $? "missing argument to $ac_option"
1427
1351
fi
1428
1352
 
1429
1353
if test -n "$ac_unrecognized_opts"; then
1430
1354
  case $enable_option_checking in
1431
1355
    no) ;;
1432
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1356
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1433
1357
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1434
1358
  esac
1435
1359
fi
1452
1376
    [\\/$]* | ?:[\\/]* )  continue;;
1453
1377
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1454
1378
  esac
1455
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1379
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1456
1380
done
1457
1381
 
1458
1382
# There might be people who depend on the old broken behavior: `$host'
1466
1390
if test "x$host_alias" != x; then
1467
1391
  if test "x$build_alias" = x; then
1468
1392
    cross_compiling=maybe
1469
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1470
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1393
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1394
    If a cross compiler is detected then cross compile mode will be used" >&2
1471
1395
  elif test "x$build_alias" != "x$host_alias"; then
1472
1396
    cross_compiling=yes
1473
1397
  fi
1482
1406
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1483
1407
ac_ls_di=`ls -di .` &&
1484
1408
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1485
 
  as_fn_error "working directory cannot be determined"
 
1409
  as_fn_error $? "working directory cannot be determined"
1486
1410
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487
 
  as_fn_error "pwd does not report name of working directory"
 
1411
  as_fn_error $? "pwd does not report name of working directory"
1488
1412
 
1489
1413
 
1490
1414
# Find the source files, if location was not specified.
1523
1447
fi
1524
1448
if test ! -r "$srcdir/$ac_unique_file"; then
1525
1449
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1526
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1450
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1527
1451
fi
1528
1452
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1529
1453
ac_abs_confdir=`(
1530
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1454
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1531
1455
        pwd)`
1532
1456
# When building in place, set srcdir=.
1533
1457
if test "$ac_abs_confdir" = "$ac_pwd"; then
1553
1477
  # Omit some internal or obsolete options to make the list less imposing.
1554
1478
  # This message is too long to be a string in the A/UX 3.1 sh.
1555
1479
  cat <<_ACEOF
1556
 
\`configure' configures libX11 1.3.3 to adapt to many kinds of systems.
 
1480
\`configure' configures libX11 1.4.1 to adapt to many kinds of systems.
1557
1481
 
1558
1482
Usage: $0 [OPTION]... [VAR=VALUE]...
1559
1483
 
1567
1491
      --help=short        display options specific to this package
1568
1492
      --help=recursive    display the short help of all the included packages
1569
1493
  -V, --version           display version information and exit
1570
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1494
  -q, --quiet, --silent   do not print \`checking ...' messages
1571
1495
      --cache-file=FILE   cache test results in FILE [disabled]
1572
1496
  -C, --config-cache      alias for \`--cache-file=config.cache'
1573
1497
  -n, --no-create         do not create output files
1623
1547
 
1624
1548
if test -n "$ac_init_help"; then
1625
1549
  case $ac_init_help in
1626
 
     short | recursive ) echo "Configuration of libX11 1.3.3:";;
 
1550
     short | recursive ) echo "Configuration of libX11 1.4.1:";;
1627
1551
   esac
1628
1552
  cat <<\_ACEOF
1629
1553
 
1635
1559
                          (and sometimes confusing) to the casual installer
1636
1560
  --disable-dependency-tracking  speeds up one-time build
1637
1561
  --enable-dependency-tracking   do not reject slow dependency extractors
1638
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1639
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
1640
1562
  --enable-strict-compilation
1641
1563
                          Enable all warnings from compiler and make them
1642
1564
                          errors (default: disabled)
 
1565
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1566
  --disable-silent-rules         verbose build output (undo: `make V=0')
 
1567
  --enable-specs          Enable building the specs (default: yes)
1643
1568
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1644
1569
  --enable-static[=PKGS]  build static libraries [default=yes]
1645
1570
  --enable-fast-install[=PKGS]
1660
1585
  --enable-xlocaledir     Enable XLOCALEDIR environment variable support
1661
1586
  --disable-xf86bigfont   Disable XF86BigFont extension support
1662
1587
  --disable-xkb           Disable XKB support *EXPERIMENTAL*
1663
 
  --enable-man-pages=section
1664
 
                          Choose manual section for installing man pages
1665
1588
  --disable-composecache  Disable compose table cache support
1666
1589
  --enable-lint-library   Create lint library (default: disabled)
1667
1590
  --enable-malloc0returnsnull
1668
1591
                          malloc(0) returns NULL (default: auto)
1669
 
  --enable-specs          Enable building of specification docs
1670
1592
 
1671
1593
Optional Packages:
1672
1594
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1673
1595
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1674
 
  --with-release-version=STRING
1675
 
                          Use release version string in package name
1676
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1596
  --with-xmlto            Use xmlto to regenerate documentation (default:
 
1597
                          auto)
 
1598
  --with-fop              Use fop to regenerate documentation (default: no)
1677
1599
  --with-pic              try to use only PIC/non-PIC objects [default=use
1678
1600
                          both]
1679
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1601
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1602
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1603
                        (or the compiler's sysroot if not specified).
1680
1604
  --with-perl=<path>      path to perl interpreter for build-time tests
1681
 
  --with-xcb              use XCB for low-level protocol implementation
1682
1605
  --with-local-transport-order=LIST
1683
1606
                          preference sorted list of transport types to try for
1684
1607
                          local connections
1700
1623
              you have headers in a nonstandard directory <include dir>
1701
1624
  CPP         C preprocessor
1702
1625
  PKG_CONFIG  path to pkg-config utility
1703
 
  CXX         C++ compiler command
1704
 
  CXXFLAGS    C++ compiler flags
1705
 
  CXXCPP      C++ preprocessor
1706
 
  F77         Fortran 77 compiler command
1707
 
  FFLAGS      Fortran 77 compiler flags
1708
 
  XDMCP_CFLAGS
1709
 
              C compiler flags for XDMCP, overriding pkg-config
1710
 
  XDMCP_LIBS  linker flags for XDMCP, overriding pkg-config
 
1626
  XMLTO       Path to xmlto command
 
1627
  FOP         Path to fop command
1711
1628
  BIGFONT_CFLAGS
1712
1629
              C compiler flags for BIGFONT, overriding pkg-config
1713
1630
  BIGFONT_LIBS
1714
1631
              linker flags for BIGFONT, overriding pkg-config
 
1632
  LINT        Path to a lint-style command
 
1633
  LINT_FLAGS  Flags for the lint-style command
1715
1634
  X11_CFLAGS  C compiler flags for X11, overriding pkg-config
1716
1635
  X11_LIBS    linker flags for X11, overriding pkg-config
1717
 
  GROFF       Path to a groff executable that supports -ms
1718
 
  PS2PDF      Path to a ps2pdf executable
1719
1636
 
1720
1637
Use these variables to override the choices made by `configure' or to help
1721
1638
it to find libraries and programs with nonstandard names/locations.
1783
1700
test -n "$ac_init_help" && exit $ac_status
1784
1701
if $ac_init_version; then
1785
1702
  cat <<\_ACEOF
1786
 
libX11 configure 1.3.3
1787
 
generated by GNU Autoconf 2.65
 
1703
libX11 configure 1.4.1
 
1704
generated by GNU Autoconf 2.68
1788
1705
 
1789
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1706
Copyright (C) 2010 Free Software Foundation, Inc.
1790
1707
This configure script is free software; the Free Software Foundation
1791
1708
gives unlimited permission to copy, distribute and modify it.
1792
1709
_ACEOF
1830
1747
 
1831
1748
        ac_retval=1
1832
1749
fi
1833
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1750
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1834
1751
  as_fn_set_status $ac_retval
1835
1752
 
1836
1753
} # ac_fn_c_try_compile
1856
1773
    mv -f conftest.er1 conftest.err
1857
1774
  fi
1858
1775
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859
 
  test $ac_status = 0; } >/dev/null && {
 
1776
  test $ac_status = 0; } > conftest.i && {
1860
1777
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1861
1778
         test ! -s conftest.err
1862
1779
       }; then :
1867
1784
 
1868
1785
    ac_retval=1
1869
1786
fi
1870
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1787
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871
1788
  as_fn_set_status $ac_retval
1872
1789
 
1873
1790
} # ac_fn_c_try_cpp
1880
1797
ac_fn_c_check_header_mongrel ()
1881
1798
{
1882
1799
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1800
  if eval \${$3+:} false; then :
1884
1801
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1885
1802
$as_echo_n "checking for $2... " >&6; }
1886
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1803
if eval \${$3+:} false; then :
1887
1804
  $as_echo_n "(cached) " >&6
1888
1805
fi
1889
1806
eval ac_res=\$$3
1919
1836
else
1920
1837
  ac_header_preproc=no
1921
1838
fi
1922
 
rm -f conftest.err conftest.$ac_ext
 
1839
rm -f conftest.err conftest.i conftest.$ac_ext
1923
1840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1924
1841
$as_echo "$ac_header_preproc" >&6; }
1925
1842
 
1942
1859
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1943
1860
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1944
1861
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1945
 
( cat <<\_ASBOX
1946
 
## ---------------------------------------------------------------------- ##
 
1862
( $as_echo "## ---------------------------------------------------------------------- ##
1947
1863
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
1948
 
## ---------------------------------------------------------------------- ##
1949
 
_ASBOX
 
1864
## ---------------------------------------------------------------------- ##"
1950
1865
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1951
1866
    ;;
1952
1867
esac
1953
1868
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1954
1869
$as_echo_n "checking for $2... " >&6; }
1955
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1870
if eval \${$3+:} false; then :
1956
1871
  $as_echo_n "(cached) " >&6
1957
1872
else
1958
1873
  eval "$3=\$ac_header_compiler"
1961
1876
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1962
1877
$as_echo "$ac_res" >&6; }
1963
1878
fi
1964
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1879
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1965
1880
 
1966
1881
} # ac_fn_c_check_header_mongrel
1967
1882
 
2002
1917
       ac_retval=$ac_status
2003
1918
fi
2004
1919
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2005
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1920
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2006
1921
  as_fn_set_status $ac_retval
2007
1922
 
2008
1923
} # ac_fn_c_try_run
2016
1931
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017
1932
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2018
1933
$as_echo_n "checking for $2... " >&6; }
2019
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1934
if eval \${$3+:} false; then :
2020
1935
  $as_echo_n "(cached) " >&6
2021
1936
else
2022
1937
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2034
1949
eval ac_res=\$$3
2035
1950
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2036
1951
$as_echo "$ac_res" >&6; }
2037
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1952
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2038
1953
 
2039
1954
} # ac_fn_c_check_header_compile
2040
1955
 
2041
 
# ac_fn_c_check_decl LINENO SYMBOL VAR
2042
 
# ------------------------------------
2043
 
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
 
1956
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 
1957
# ---------------------------------------------
 
1958
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 
1959
# accordingly.
2044
1960
ac_fn_c_check_decl ()
2045
1961
{
2046
1962
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2047
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2048
 
$as_echo_n "checking whether $2 is declared... " >&6; }
2049
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1963
  as_decl_name=`echo $2|sed 's/ *(.*//'`
 
1964
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 
1965
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 
1966
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 
1967
if eval \${$3+:} false; then :
2050
1968
  $as_echo_n "(cached) " >&6
2051
1969
else
2052
1970
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055
1973
int
2056
1974
main ()
2057
1975
{
2058
 
#ifndef $2
2059
 
  (void) $2;
 
1976
#ifndef $as_decl_name
 
1977
#ifdef __cplusplus
 
1978
  (void) $as_decl_use;
 
1979
#else
 
1980
  (void) $as_decl_name;
 
1981
#endif
2060
1982
#endif
2061
1983
 
2062
1984
  ;
2073
1995
eval ac_res=\$$3
2074
1996
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075
1997
$as_echo "$ac_res" >&6; }
2076
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1998
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2077
1999
 
2078
2000
} # ac_fn_c_check_decl
2079
2001
 
2118
2040
  # interfere with the next link command; also delete a directory that is
2119
2041
  # left behind by Apple's compiler.  We do this before executing the actions.
2120
2042
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2121
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2043
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2122
2044
  as_fn_set_status $ac_retval
2123
2045
 
2124
2046
} # ac_fn_c_try_link
2131
2053
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2132
2054
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2133
2055
$as_echo_n "checking for $2... " >&6; }
2134
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2056
if eval \${$3+:} false; then :
2135
2057
  $as_echo_n "(cached) " >&6
2136
2058
else
2137
2059
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2186
2108
eval ac_res=\$$3
2187
2109
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2188
2110
$as_echo "$ac_res" >&6; }
2189
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2111
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2190
2112
 
2191
2113
} # ac_fn_c_check_func
2192
2114
 
2193
 
# ac_fn_cxx_try_compile LINENO
2194
 
# ----------------------------
2195
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
2196
 
ac_fn_cxx_try_compile ()
2197
 
{
2198
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2199
 
  rm -f conftest.$ac_objext
2200
 
  if { { ac_try="$ac_compile"
2201
 
case "(($ac_try" in
2202
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2203
 
  *) ac_try_echo=$ac_try;;
2204
 
esac
2205
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2206
 
$as_echo "$ac_try_echo"; } >&5
2207
 
  (eval "$ac_compile") 2>conftest.err
2208
 
  ac_status=$?
2209
 
  if test -s conftest.err; then
2210
 
    grep -v '^ *+' conftest.err >conftest.er1
2211
 
    cat conftest.er1 >&5
2212
 
    mv -f conftest.er1 conftest.err
2213
 
  fi
2214
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2215
 
  test $ac_status = 0; } && {
2216
 
         test -z "$ac_cxx_werror_flag" ||
2217
 
         test ! -s conftest.err
2218
 
       } && test -s conftest.$ac_objext; then :
2219
 
  ac_retval=0
2220
 
else
2221
 
  $as_echo "$as_me: failed program was:" >&5
2222
 
sed 's/^/| /' conftest.$ac_ext >&5
2223
 
 
2224
 
        ac_retval=1
2225
 
fi
2226
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2227
 
  as_fn_set_status $ac_retval
2228
 
 
2229
 
} # ac_fn_cxx_try_compile
2230
 
 
2231
 
# ac_fn_cxx_try_cpp LINENO
2232
 
# ------------------------
2233
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2234
 
ac_fn_cxx_try_cpp ()
2235
 
{
2236
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2237
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
2238
 
case "(($ac_try" in
2239
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2240
 
  *) ac_try_echo=$ac_try;;
2241
 
esac
2242
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2243
 
$as_echo "$ac_try_echo"; } >&5
2244
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2245
 
  ac_status=$?
2246
 
  if test -s conftest.err; then
2247
 
    grep -v '^ *+' conftest.err >conftest.er1
2248
 
    cat conftest.er1 >&5
2249
 
    mv -f conftest.er1 conftest.err
2250
 
  fi
2251
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2252
 
  test $ac_status = 0; } >/dev/null && {
2253
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2254
 
         test ! -s conftest.err
2255
 
       }; then :
2256
 
  ac_retval=0
2257
 
else
2258
 
  $as_echo "$as_me: failed program was:" >&5
2259
 
sed 's/^/| /' conftest.$ac_ext >&5
2260
 
 
2261
 
    ac_retval=1
2262
 
fi
2263
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2264
 
  as_fn_set_status $ac_retval
2265
 
 
2266
 
} # ac_fn_cxx_try_cpp
2267
 
 
2268
 
# ac_fn_cxx_try_link LINENO
2269
 
# -------------------------
2270
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
2271
 
ac_fn_cxx_try_link ()
2272
 
{
2273
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2274
 
  rm -f conftest.$ac_objext conftest$ac_exeext
2275
 
  if { { ac_try="$ac_link"
2276
 
case "(($ac_try" in
2277
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2278
 
  *) ac_try_echo=$ac_try;;
2279
 
esac
2280
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2281
 
$as_echo "$ac_try_echo"; } >&5
2282
 
  (eval "$ac_link") 2>conftest.err
2283
 
  ac_status=$?
2284
 
  if test -s conftest.err; then
2285
 
    grep -v '^ *+' conftest.err >conftest.er1
2286
 
    cat conftest.er1 >&5
2287
 
    mv -f conftest.er1 conftest.err
2288
 
  fi
2289
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2290
 
  test $ac_status = 0; } && {
2291
 
         test -z "$ac_cxx_werror_flag" ||
2292
 
         test ! -s conftest.err
2293
 
       } && test -s conftest$ac_exeext && {
2294
 
         test "$cross_compiling" = yes ||
2295
 
         $as_test_x conftest$ac_exeext
2296
 
       }; then :
2297
 
  ac_retval=0
2298
 
else
2299
 
  $as_echo "$as_me: failed program was:" >&5
2300
 
sed 's/^/| /' conftest.$ac_ext >&5
2301
 
 
2302
 
        ac_retval=1
2303
 
fi
2304
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2305
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2306
 
  # interfere with the next link command; also delete a directory that is
2307
 
  # left behind by Apple's compiler.  We do this before executing the actions.
2308
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2309
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2310
 
  as_fn_set_status $ac_retval
2311
 
 
2312
 
} # ac_fn_cxx_try_link
2313
 
 
2314
 
# ac_fn_f77_try_compile LINENO
2315
 
# ----------------------------
2316
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
2317
 
ac_fn_f77_try_compile ()
2318
 
{
2319
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2320
 
  rm -f conftest.$ac_objext
2321
 
  if { { ac_try="$ac_compile"
2322
 
case "(($ac_try" in
2323
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2324
 
  *) ac_try_echo=$ac_try;;
2325
 
esac
2326
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2327
 
$as_echo "$ac_try_echo"; } >&5
2328
 
  (eval "$ac_compile") 2>conftest.err
2329
 
  ac_status=$?
2330
 
  if test -s conftest.err; then
2331
 
    grep -v '^ *+' conftest.err >conftest.er1
2332
 
    cat conftest.er1 >&5
2333
 
    mv -f conftest.er1 conftest.err
2334
 
  fi
2335
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2336
 
  test $ac_status = 0; } && {
2337
 
         test -z "$ac_f77_werror_flag" ||
2338
 
         test ! -s conftest.err
2339
 
       } && test -s conftest.$ac_objext; then :
2340
 
  ac_retval=0
2341
 
else
2342
 
  $as_echo "$as_me: failed program was:" >&5
2343
 
sed 's/^/| /' conftest.$ac_ext >&5
2344
 
 
2345
 
        ac_retval=1
2346
 
fi
2347
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2348
 
  as_fn_set_status $ac_retval
2349
 
 
2350
 
} # ac_fn_f77_try_compile
2351
 
 
2352
 
# ac_fn_f77_try_link LINENO
2353
 
# -------------------------
2354
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
2355
 
ac_fn_f77_try_link ()
2356
 
{
2357
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2358
 
  rm -f conftest.$ac_objext conftest$ac_exeext
2359
 
  if { { ac_try="$ac_link"
2360
 
case "(($ac_try" in
2361
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2362
 
  *) ac_try_echo=$ac_try;;
2363
 
esac
2364
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2365
 
$as_echo "$ac_try_echo"; } >&5
2366
 
  (eval "$ac_link") 2>conftest.err
2367
 
  ac_status=$?
2368
 
  if test -s conftest.err; then
2369
 
    grep -v '^ *+' conftest.err >conftest.er1
2370
 
    cat conftest.er1 >&5
2371
 
    mv -f conftest.er1 conftest.err
2372
 
  fi
2373
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2374
 
  test $ac_status = 0; } && {
2375
 
         test -z "$ac_f77_werror_flag" ||
2376
 
         test ! -s conftest.err
2377
 
       } && test -s conftest$ac_exeext && {
2378
 
         test "$cross_compiling" = yes ||
2379
 
         $as_test_x conftest$ac_exeext
2380
 
       }; then :
2381
 
  ac_retval=0
2382
 
else
2383
 
  $as_echo "$as_me: failed program was:" >&5
2384
 
sed 's/^/| /' conftest.$ac_ext >&5
2385
 
 
2386
 
        ac_retval=1
2387
 
fi
2388
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2389
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2390
 
  # interfere with the next link command; also delete a directory that is
2391
 
  # left behind by Apple's compiler.  We do this before executing the actions.
2392
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2393
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2394
 
  as_fn_set_status $ac_retval
2395
 
 
2396
 
} # ac_fn_f77_try_link
2397
 
 
2398
2115
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2399
2116
# ----------------------------------------------------
2400
2117
# Tries to find if the field MEMBER exists in type AGGR, after including
2404
2121
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2405
2122
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2406
2123
$as_echo_n "checking for $2.$3... " >&6; }
2407
 
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2124
if eval \${$4+:} false; then :
2408
2125
  $as_echo_n "(cached) " >&6
2409
2126
else
2410
2127
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2448
2165
eval ac_res=\$$4
2449
2166
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2450
2167
$as_echo "$ac_res" >&6; }
2451
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2168
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2452
2169
 
2453
2170
} # ac_fn_c_check_member
2454
2171
 
2461
2178
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2462
2179
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2463
2180
$as_echo_n "checking for $2... " >&6; }
2464
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2181
if eval \${$3+:} false; then :
2465
2182
  $as_echo_n "(cached) " >&6
2466
2183
else
2467
2184
  eval "$3=no"
2502
2219
eval ac_res=\$$3
2503
2220
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2504
2221
$as_echo "$ac_res" >&6; }
2505
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2222
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2506
2223
 
2507
2224
} # ac_fn_c_check_type
2508
2225
cat >config.log <<_ACEOF
2509
2226
This file contains any messages produced by compilers while
2510
2227
running configure, to aid debugging if configure makes a mistake.
2511
2228
 
2512
 
It was created by libX11 $as_me 1.3.3, which was
2513
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
2229
It was created by libX11 $as_me 1.4.1, which was
 
2230
generated by GNU Autoconf 2.68.  Invocation command line was
2514
2231
 
2515
2232
  $ $0 $@
2516
2233
 
2620
2337
  {
2621
2338
    echo
2622
2339
 
2623
 
    cat <<\_ASBOX
2624
 
## ---------------- ##
 
2340
    $as_echo "## ---------------- ##
2625
2341
## Cache variables. ##
2626
 
## ---------------- ##
2627
 
_ASBOX
 
2342
## ---------------- ##"
2628
2343
    echo
2629
2344
    # The following way of writing the cache mishandles newlines in values,
2630
2345
(
2658
2373
)
2659
2374
    echo
2660
2375
 
2661
 
    cat <<\_ASBOX
2662
 
## ----------------- ##
 
2376
    $as_echo "## ----------------- ##
2663
2377
## Output variables. ##
2664
 
## ----------------- ##
2665
 
_ASBOX
 
2378
## ----------------- ##"
2666
2379
    echo
2667
2380
    for ac_var in $ac_subst_vars
2668
2381
    do
2675
2388
    echo
2676
2389
 
2677
2390
    if test -n "$ac_subst_files"; then
2678
 
      cat <<\_ASBOX
2679
 
## ------------------- ##
 
2391
      $as_echo "## ------------------- ##
2680
2392
## File substitutions. ##
2681
 
## ------------------- ##
2682
 
_ASBOX
 
2393
## ------------------- ##"
2683
2394
      echo
2684
2395
      for ac_var in $ac_subst_files
2685
2396
      do
2693
2404
    fi
2694
2405
 
2695
2406
    if test -s confdefs.h; then
2696
 
      cat <<\_ASBOX
2697
 
## ----------- ##
 
2407
      $as_echo "## ----------- ##
2698
2408
## confdefs.h. ##
2699
 
## ----------- ##
2700
 
_ASBOX
 
2409
## ----------- ##"
2701
2410
      echo
2702
2411
      cat confdefs.h
2703
2412
      echo
2752
2461
ac_site_file1=NONE
2753
2462
ac_site_file2=NONE
2754
2463
if test -n "$CONFIG_SITE"; then
2755
 
  ac_site_file1=$CONFIG_SITE
 
2464
  # We do not want a PATH search for config.site.
 
2465
  case $CONFIG_SITE in #((
 
2466
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2467
    */*) ac_site_file1=$CONFIG_SITE;;
 
2468
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2469
  esac
2756
2470
elif test "x$prefix" != xNONE; then
2757
2471
  ac_site_file1=$prefix/share/config.site
2758
2472
  ac_site_file2=$prefix/etc/config.site
2767
2481
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2768
2482
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2769
2483
    sed 's/^/| /' "$ac_site_file" >&5
2770
 
    . "$ac_site_file"
 
2484
    . "$ac_site_file" \
 
2485
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2486
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2487
as_fn_error $? "failed to load site script $ac_site_file
 
2488
See \`config.log' for more details" "$LINENO" 5; }
2771
2489
  fi
2772
2490
done
2773
2491
 
2846
2564
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2847
2565
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2848
2566
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2849
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2567
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2850
2568
fi
2851
2569
## -------------------- ##
2852
2570
## Main body of script. ##
2860
2578
 
2861
2579
 
2862
2580
 
2863
 
am__api_version='1.11'
2864
2581
 
2865
2582
ac_aux_dir=
2866
2583
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2867
 
  for ac_t in install-sh install.sh shtool; do
2868
 
    if test -f "$ac_dir/$ac_t"; then
2869
 
      ac_aux_dir=$ac_dir
2870
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2871
 
      break 2
2872
 
    fi
2873
 
  done
 
2584
  if test -f "$ac_dir/install-sh"; then
 
2585
    ac_aux_dir=$ac_dir
 
2586
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2587
    break
 
2588
  elif test -f "$ac_dir/install.sh"; then
 
2589
    ac_aux_dir=$ac_dir
 
2590
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2591
    break
 
2592
  elif test -f "$ac_dir/shtool"; then
 
2593
    ac_aux_dir=$ac_dir
 
2594
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2595
    break
 
2596
  fi
2874
2597
done
2875
2598
if test -z "$ac_aux_dir"; then
2876
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2599
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2877
2600
fi
2878
2601
 
2879
2602
# These three variables are undocumented and unsupported,
2885
2608
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2886
2609
 
2887
2610
 
 
2611
# Make sure we can run config.sub.
 
2612
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2613
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
2614
 
 
2615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
2616
$as_echo_n "checking build system type... " >&6; }
 
2617
if ${ac_cv_build+:} false; then :
 
2618
  $as_echo_n "(cached) " >&6
 
2619
else
 
2620
  ac_build_alias=$build_alias
 
2621
test "x$ac_build_alias" = x &&
 
2622
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2623
test "x$ac_build_alias" = x &&
 
2624
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
2625
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2626
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
2627
 
 
2628
fi
 
2629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2630
$as_echo "$ac_cv_build" >&6; }
 
2631
case $ac_cv_build in
 
2632
*-*-*) ;;
 
2633
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
2634
esac
 
2635
build=$ac_cv_build
 
2636
ac_save_IFS=$IFS; IFS='-'
 
2637
set x $ac_cv_build
 
2638
shift
 
2639
build_cpu=$1
 
2640
build_vendor=$2
 
2641
shift; shift
 
2642
# Remember, the first character of IFS is used to create $*,
 
2643
# except with old shells:
 
2644
build_os=$*
 
2645
IFS=$ac_save_IFS
 
2646
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2647
 
 
2648
 
 
2649
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
2650
$as_echo_n "checking host system type... " >&6; }
 
2651
if ${ac_cv_host+:} false; then :
 
2652
  $as_echo_n "(cached) " >&6
 
2653
else
 
2654
  if test "x$host_alias" = x; then
 
2655
  ac_cv_host=$ac_cv_build
 
2656
else
 
2657
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2658
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2659
fi
 
2660
 
 
2661
fi
 
2662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
2663
$as_echo "$ac_cv_host" >&6; }
 
2664
case $ac_cv_host in
 
2665
*-*-*) ;;
 
2666
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
2667
esac
 
2668
host=$ac_cv_host
 
2669
ac_save_IFS=$IFS; IFS='-'
 
2670
set x $ac_cv_host
 
2671
shift
 
2672
host_cpu=$1
 
2673
host_vendor=$2
 
2674
shift; shift
 
2675
# Remember, the first character of IFS is used to create $*,
 
2676
# except with old shells:
 
2677
host_os=$*
 
2678
IFS=$ac_save_IFS
 
2679
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
2680
 
 
2681
 
 
2682
 
 
2683
am__api_version='1.11'
 
2684
 
2888
2685
# Find a good install program.  We prefer a C program (faster),
2889
2686
# so one script is as good as another.  But avoid the broken or
2890
2687
# incompatible versions:
2902
2699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2903
2700
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2904
2701
if test -z "$INSTALL"; then
2905
 
if test "${ac_cv_path_install+set}" = set; then :
 
2702
if ${ac_cv_path_install+:} false; then :
2906
2703
  $as_echo_n "(cached) " >&6
2907
2704
else
2908
2705
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989
2786
'
2990
2787
case `pwd` in
2991
2788
  *[\\\"\#\$\&\'\`$am_lf]*)
2992
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2789
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2993
2790
esac
2994
2791
case $srcdir in
2995
2792
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2996
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2793
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2997
2794
esac
2998
2795
 
2999
2796
# Do `set' in a subshell so we don't clobber the current shell's
3015
2812
      # if, for instance, CONFIG_SHELL is bash and it inherits a
3016
2813
      # broken ls alias from the environment.  This has actually
3017
2814
      # happened.  Such a system could not be considered "sane".
3018
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2815
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3019
2816
alias in your environment" "$LINENO" 5
3020
2817
   fi
3021
2818
 
3025
2822
   # Ok.
3026
2823
   :
3027
2824
else
3028
 
   as_fn_error "newly created file is older than distributed files!
 
2825
   as_fn_error $? "newly created file is older than distributed files!
3029
2826
Check your system clock" "$LINENO" 5
3030
2827
fi
3031
2828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3079
2876
set dummy ${ac_tool_prefix}strip; ac_word=$2
3080
2877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3081
2878
$as_echo_n "checking for $ac_word... " >&6; }
3082
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2879
if ${ac_cv_prog_STRIP+:} false; then :
3083
2880
  $as_echo_n "(cached) " >&6
3084
2881
else
3085
2882
  if test -n "$STRIP"; then
3119
2916
set dummy strip; ac_word=$2
3120
2917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121
2918
$as_echo_n "checking for $ac_word... " >&6; }
3122
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2919
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3123
2920
  $as_echo_n "(cached) " >&6
3124
2921
else
3125
2922
  if test -n "$ac_ct_STRIP"; then
3172
2969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3173
2970
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3174
2971
if test -z "$MKDIR_P"; then
3175
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2972
  if ${ac_cv_path_mkdir+:} false; then :
3176
2973
  $as_echo_n "(cached) " >&6
3177
2974
else
3178
2975
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3223
3020
set dummy $ac_prog; ac_word=$2
3224
3021
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225
3022
$as_echo_n "checking for $ac_word... " >&6; }
3226
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3023
if ${ac_cv_prog_AWK+:} false; then :
3227
3024
  $as_echo_n "(cached) " >&6
3228
3025
else
3229
3026
  if test -n "$AWK"; then
3263
3060
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3264
3061
set x ${MAKE-make}
3265
3062
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3266
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3063
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3267
3064
  $as_echo_n "(cached) " >&6
3268
3065
else
3269
3066
  cat >conftest.make <<\_ACEOF
3271
3068
all:
3272
3069
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3273
3070
_ACEOF
3274
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
3071
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3275
3072
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3276
3073
  *@@@%%%=?*=@@@%%%*)
3277
3074
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3305
3102
  am__isrc=' -I$(srcdir)'
3306
3103
  # test to see if srcdir already configured
3307
3104
  if test -f $srcdir/config.status; then
3308
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3105
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3309
3106
  fi
3310
3107
fi
3311
3108
 
3321
3118
 
3322
3119
# Define the identity of the package.
3323
3120
 PACKAGE='libX11'
3324
 
 VERSION='1.3.3'
 
3121
 VERSION='1.4.1'
3325
3122
 
3326
3123
 
3327
3124
cat >>confdefs.h <<_ACEOF
3362
3159
 
3363
3160
 
3364
3161
 
3365
 
 
3366
3162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3367
3163
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3368
3164
    # Check whether --enable-maintainer-mode was given.
3385
3181
  MAINT=$MAINTAINER_MODE_TRUE
3386
3182
 
3387
3183
 
3388
 
 
3389
3184
ac_config_headers="$ac_config_headers src/config.h"
3390
3185
 
3391
3186
ac_config_headers="$ac_config_headers include/X11/XlibConf.h"
3392
3187
 
3393
3188
 
3394
 
# Require xorg-macros: XORG_DEFAULT_OPTIONS
3395
 
 
3396
 
 
3397
 
 
3398
 
 
3399
 
 
3400
 
 
3401
 
 
3402
 
 
3403
 
 
3404
 
 
3405
 
 
3406
 
 
3407
3189
# Set common system defines for POSIX extensions, such as _GNU_SOURCE
3408
3190
# Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
3409
3191
# to avoid autoconf errors.
3479
3261
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3480
3262
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3481
3263
$as_echo_n "checking for $ac_word... " >&6; }
3482
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3264
if ${ac_cv_prog_CC+:} false; then :
3483
3265
  $as_echo_n "(cached) " >&6
3484
3266
else
3485
3267
  if test -n "$CC"; then
3519
3301
set dummy gcc; ac_word=$2
3520
3302
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3521
3303
$as_echo_n "checking for $ac_word... " >&6; }
3522
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3304
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3523
3305
  $as_echo_n "(cached) " >&6
3524
3306
else
3525
3307
  if test -n "$ac_ct_CC"; then
3572
3354
set dummy ${ac_tool_prefix}cc; ac_word=$2
3573
3355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3574
3356
$as_echo_n "checking for $ac_word... " >&6; }
3575
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3357
if ${ac_cv_prog_CC+:} false; then :
3576
3358
  $as_echo_n "(cached) " >&6
3577
3359
else
3578
3360
  if test -n "$CC"; then
3612
3394
set dummy cc; ac_word=$2
3613
3395
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3614
3396
$as_echo_n "checking for $ac_word... " >&6; }
3615
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3397
if ${ac_cv_prog_CC+:} false; then :
3616
3398
  $as_echo_n "(cached) " >&6
3617
3399
else
3618
3400
  if test -n "$CC"; then
3671
3453
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3672
3454
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673
3455
$as_echo_n "checking for $ac_word... " >&6; }
3674
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3456
if ${ac_cv_prog_CC+:} false; then :
3675
3457
  $as_echo_n "(cached) " >&6
3676
3458
else
3677
3459
  if test -n "$CC"; then
3715
3497
set dummy $ac_prog; ac_word=$2
3716
3498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3717
3499
$as_echo_n "checking for $ac_word... " >&6; }
3718
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3500
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3719
3501
  $as_echo_n "(cached) " >&6
3720
3502
else
3721
3503
  if test -n "$ac_ct_CC"; then
3769
3551
 
3770
3552
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3771
3553
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3772
 
as_fn_error "no acceptable C compiler found in \$PATH
3773
 
See \`config.log' for more details." "$LINENO" 5; }
 
3554
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3555
See \`config.log' for more details" "$LINENO" 5; }
3774
3556
 
3775
3557
# Provide some information about the compiler.
3776
3558
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3884
3666
 
3885
3667
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3886
3668
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3887
 
{ as_fn_set_status 77
3888
 
as_fn_error "C compiler cannot create executables
3889
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3669
as_fn_error 77 "C compiler cannot create executables
 
3670
See \`config.log' for more details" "$LINENO" 5; }
3890
3671
else
3891
3672
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3892
3673
$as_echo "yes" >&6; }
3928
3709
else
3929
3710
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3930
3711
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3931
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3932
 
See \`config.log' for more details." "$LINENO" 5; }
 
3712
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3713
See \`config.log' for more details" "$LINENO" 5; }
3933
3714
fi
3934
3715
rm -f conftest conftest$ac_cv_exeext
3935
3716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3986
3767
    else
3987
3768
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3988
3769
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3989
 
as_fn_error "cannot run C compiled programs.
 
3770
as_fn_error $? "cannot run C compiled programs.
3990
3771
If you meant to cross compile, use \`--host'.
3991
 
See \`config.log' for more details." "$LINENO" 5; }
 
3772
See \`config.log' for more details" "$LINENO" 5; }
3992
3773
    fi
3993
3774
  fi
3994
3775
fi
3999
3780
ac_clean_files=$ac_clean_files_save
4000
3781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4001
3782
$as_echo_n "checking for suffix of object files... " >&6; }
4002
 
if test "${ac_cv_objext+set}" = set; then :
 
3783
if ${ac_cv_objext+:} false; then :
4003
3784
  $as_echo_n "(cached) " >&6
4004
3785
else
4005
3786
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4039
3820
 
4040
3821
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041
3822
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042
 
as_fn_error "cannot compute suffix of object files: cannot compile
4043
 
See \`config.log' for more details." "$LINENO" 5; }
 
3823
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3824
See \`config.log' for more details" "$LINENO" 5; }
4044
3825
fi
4045
3826
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4046
3827
fi
4050
3831
ac_objext=$OBJEXT
4051
3832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4052
3833
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4053
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3834
if ${ac_cv_c_compiler_gnu+:} false; then :
4054
3835
  $as_echo_n "(cached) " >&6
4055
3836
else
4056
3837
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4087
3868
ac_save_CFLAGS=$CFLAGS
4088
3869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4089
3870
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4090
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3871
if ${ac_cv_prog_cc_g+:} false; then :
4091
3872
  $as_echo_n "(cached) " >&6
4092
3873
else
4093
3874
  ac_save_c_werror_flag=$ac_c_werror_flag
4165
3946
fi
4166
3947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4167
3948
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4168
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3949
if ${ac_cv_prog_cc_c89+:} false; then :
4169
3950
  $as_echo_n "(cached) " >&6
4170
3951
else
4171
3952
  ac_cv_prog_cc_c89=no
4264
4045
 
4265
4046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4266
4047
$as_echo_n "checking dependency style of $depcc... " >&6; }
4267
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4048
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4268
4049
  $as_echo_n "(cached) " >&6
4269
4050
else
4270
4051
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4400
4181
  CPP=
4401
4182
fi
4402
4183
if test -z "$CPP"; then
4403
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4184
  if ${ac_cv_prog_CPP+:} false; then :
4404
4185
  $as_echo_n "(cached) " >&6
4405
4186
else
4406
4187
      # Double quotes because CPP needs to be expanded
4430
4211
  # Broken: fails on valid input.
4431
4212
continue
4432
4213
fi
4433
 
rm -f conftest.err conftest.$ac_ext
 
4214
rm -f conftest.err conftest.i conftest.$ac_ext
4434
4215
 
4435
4216
  # OK, works on sane cases.  Now check whether nonexistent headers
4436
4217
  # can be detected and how.
4446
4227
ac_preproc_ok=:
4447
4228
break
4448
4229
fi
4449
 
rm -f conftest.err conftest.$ac_ext
 
4230
rm -f conftest.err conftest.i conftest.$ac_ext
4450
4231
 
4451
4232
done
4452
4233
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4453
 
rm -f conftest.err conftest.$ac_ext
 
4234
rm -f conftest.i conftest.err conftest.$ac_ext
4454
4235
if $ac_preproc_ok; then :
4455
4236
  break
4456
4237
fi
4489
4270
  # Broken: fails on valid input.
4490
4271
continue
4491
4272
fi
4492
 
rm -f conftest.err conftest.$ac_ext
 
4273
rm -f conftest.err conftest.i conftest.$ac_ext
4493
4274
 
4494
4275
  # OK, works on sane cases.  Now check whether nonexistent headers
4495
4276
  # can be detected and how.
4505
4286
ac_preproc_ok=:
4506
4287
break
4507
4288
fi
4508
 
rm -f conftest.err conftest.$ac_ext
 
4289
rm -f conftest.err conftest.i conftest.$ac_ext
4509
4290
 
4510
4291
done
4511
4292
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4512
 
rm -f conftest.err conftest.$ac_ext
 
4293
rm -f conftest.i conftest.err conftest.$ac_ext
4513
4294
if $ac_preproc_ok; then :
4514
4295
 
4515
4296
else
4516
4297
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4517
4298
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4518
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
4519
 
See \`config.log' for more details." "$LINENO" 5; }
 
4299
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4300
See \`config.log' for more details" "$LINENO" 5; }
4520
4301
fi
4521
4302
 
4522
4303
ac_ext=c
4528
4309
 
4529
4310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4530
4311
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4531
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4312
if ${ac_cv_path_GREP+:} false; then :
4532
4313
  $as_echo_n "(cached) " >&6
4533
4314
else
4534
4315
  if test -z "$GREP"; then
4577
4358
  done
4578
4359
IFS=$as_save_IFS
4579
4360
  if test -z "$ac_cv_path_GREP"; then
4580
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4361
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4581
4362
  fi
4582
4363
else
4583
4364
  ac_cv_path_GREP=$GREP
4591
4372
 
4592
4373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4593
4374
$as_echo_n "checking for egrep... " >&6; }
4594
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4375
if ${ac_cv_path_EGREP+:} false; then :
4595
4376
  $as_echo_n "(cached) " >&6
4596
4377
else
4597
4378
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4643
4424
  done
4644
4425
IFS=$as_save_IFS
4645
4426
  if test -z "$ac_cv_path_EGREP"; then
4646
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4427
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4647
4428
  fi
4648
4429
else
4649
4430
  ac_cv_path_EGREP=$EGREP
4658
4439
 
4659
4440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4660
4441
$as_echo_n "checking for ANSI C header files... " >&6; }
4661
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
4442
if ${ac_cv_header_stdc+:} false; then :
4662
4443
  $as_echo_n "(cached) " >&6
4663
4444
else
4664
4445
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4775
4556
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4776
4557
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4777
4558
"
4778
 
eval as_val=\$$as_ac_Header
4779
 
   if test "x$as_val" = x""yes; then :
 
4559
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4780
4560
  cat >>confdefs.h <<_ACEOF
4781
4561
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4782
4562
_ACEOF
4788
4568
 
4789
4569
 
4790
4570
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4791
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
 
4571
if test "x$ac_cv_header_minix_config_h" = xyes; then :
4792
4572
  MINIX=yes
4793
4573
else
4794
4574
  MINIX=
4810
4590
 
4811
4591
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4812
4592
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4813
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
 
4593
if ${ac_cv_safe_to_define___extensions__+:} false; then :
4814
4594
  $as_echo_n "(cached) " >&6
4815
4595
else
4816
4596
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4847
4627
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4848
4628
 
4849
4629
 
 
4630
 
 
4631
# Require xorg-macros minimum of 1.11 for disabling fop by default
 
4632
 
 
4633
 
 
4634
 
 
4635
 
 
4636
 
 
4637
 
 
4638
 
 
4639
 
 
4640
 
 
4641
 
 
4642
 
4850
4643
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4851
4644
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4852
 
if test "${ac_cv_prog_cc_c99+set}" = set; then :
 
4645
if ${ac_cv_prog_cc_c99+:} false; then :
4853
4646
  $as_echo_n "(cached) " >&6
4854
4647
else
4855
4648
  ac_cv_prog_cc_c99=no
5032
4825
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5033
4826
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034
4827
$as_echo_n "checking for $ac_word... " >&6; }
5035
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
4828
if ${ac_cv_path_PKG_CONFIG+:} false; then :
5036
4829
  $as_echo_n "(cached) " >&6
5037
4830
else
5038
4831
  case $PKG_CONFIG in
5075
4868
set dummy pkg-config; ac_word=$2
5076
4869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5077
4870
$as_echo_n "checking for $ac_word... " >&6; }
5078
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
4871
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5079
4872
  $as_echo_n "(cached) " >&6
5080
4873
else
5081
4874
  case $ac_pt_PKG_CONFIG in
5140
4933
        fi
5141
4934
 
5142
4935
fi
5143
 
# Make sure we can run config.sub.
5144
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5145
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5146
 
 
5147
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5148
 
$as_echo_n "checking build system type... " >&6; }
5149
 
if test "${ac_cv_build+set}" = set; then :
5150
 
  $as_echo_n "(cached) " >&6
5151
 
else
5152
 
  ac_build_alias=$build_alias
5153
 
test "x$ac_build_alias" = x &&
5154
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5155
 
test "x$ac_build_alias" = x &&
5156
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
5157
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5158
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5159
 
 
5160
 
fi
5161
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5162
 
$as_echo "$ac_cv_build" >&6; }
5163
 
case $ac_cv_build in
5164
 
*-*-*) ;;
5165
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
5166
 
esac
5167
 
build=$ac_cv_build
5168
 
ac_save_IFS=$IFS; IFS='-'
5169
 
set x $ac_cv_build
5170
 
shift
5171
 
build_cpu=$1
5172
 
build_vendor=$2
5173
 
shift; shift
5174
 
# Remember, the first character of IFS is used to create $*,
5175
 
# except with old shells:
5176
 
build_os=$*
5177
 
IFS=$ac_save_IFS
5178
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5179
 
 
5180
 
 
5181
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5182
 
$as_echo_n "checking host system type... " >&6; }
5183
 
if test "${ac_cv_host+set}" = set; then :
5184
 
  $as_echo_n "(cached) " >&6
5185
 
else
5186
 
  if test "x$host_alias" = x; then
5187
 
  ac_cv_host=$ac_cv_build
5188
 
else
5189
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5190
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5191
 
fi
5192
 
 
5193
 
fi
5194
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5195
 
$as_echo "$ac_cv_host" >&6; }
5196
 
case $ac_cv_host in
5197
 
*-*-*) ;;
5198
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
5199
 
esac
5200
 
host=$ac_cv_host
5201
 
ac_save_IFS=$IFS; IFS='-'
5202
 
set x $ac_cv_host
5203
 
shift
5204
 
host_cpu=$1
5205
 
host_vendor=$2
5206
 
shift; shift
5207
 
# Remember, the first character of IFS is used to create $*,
5208
 
# except with old shells:
5209
 
host_os=$*
5210
 
IFS=$ac_save_IFS
5211
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4937
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4938
if ${ac_cv_path_SED+:} false; then :
 
4939
  $as_echo_n "(cached) " >&6
 
4940
else
 
4941
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4942
     for ac_i in 1 2 3 4 5 6 7; do
 
4943
       ac_script="$ac_script$as_nl$ac_script"
 
4944
     done
 
4945
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4946
     { ac_script=; unset ac_script;}
 
4947
     if test -z "$SED"; then
 
4948
  ac_path_SED_found=false
 
4949
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4950
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4951
for as_dir in $PATH
 
4952
do
 
4953
  IFS=$as_save_IFS
 
4954
  test -z "$as_dir" && as_dir=.
 
4955
    for ac_prog in sed gsed; do
 
4956
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4957
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4958
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4959
# Check for GNU ac_path_SED and select it if it is found.
 
4960
  # Check for GNU $ac_path_SED
 
4961
case `"$ac_path_SED" --version 2>&1` in
 
4962
*GNU*)
 
4963
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4964
*)
 
4965
  ac_count=0
 
4966
  $as_echo_n 0123456789 >"conftest.in"
 
4967
  while :
 
4968
  do
 
4969
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4970
    mv "conftest.tmp" "conftest.in"
 
4971
    cp "conftest.in" "conftest.nl"
 
4972
    $as_echo '' >> "conftest.nl"
 
4973
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4974
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4975
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4976
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4977
      # Best one so far, save it but keep looking for a better one
 
4978
      ac_cv_path_SED="$ac_path_SED"
 
4979
      ac_path_SED_max=$ac_count
 
4980
    fi
 
4981
    # 10*(2^10) chars as input seems more than enough
 
4982
    test $ac_count -gt 10 && break
 
4983
  done
 
4984
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4985
esac
 
4986
 
 
4987
      $ac_path_SED_found && break 3
 
4988
    done
 
4989
  done
 
4990
  done
 
4991
IFS=$as_save_IFS
 
4992
  if test -z "$ac_cv_path_SED"; then
 
4993
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4994
  fi
 
4995
else
 
4996
  ac_cv_path_SED=$SED
 
4997
fi
 
4998
 
 
4999
fi
 
5000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
5001
$as_echo "$ac_cv_path_SED" >&6; }
 
5002
 SED="$ac_cv_path_SED"
 
5003
  rm -f conftest.sed
5212
5004
 
5213
5005
 
5214
5006
 
5217
5009
if  test "x$GCC" = xyes ; then
5218
5010
    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
5219
5011
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
5220
 
-Wbad-function-cast"
 
5012
-Wbad-function-cast -Wformat=2"
5221
5013
    case `$CC -dumpversion` in
5222
5014
    3.4.* | 4.*)
5223
5015
        CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
5225
5017
    esac
5226
5018
else
5227
5019
    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
5228
 
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
 
5020
if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
5229
5021
  SUNCC="yes"
5230
5022
else
5231
5023
  SUNCC="no"
5236
5028
    fi
5237
5029
fi
5238
5030
 
5239
 
# Check whether --enable-silent-rules was given.
5240
 
if test "${enable_silent_rules+set}" = set; then :
5241
 
  enableval=$enable_silent_rules;
5242
 
fi
5243
 
 
5244
 
case $enable_silent_rules in
5245
 
yes) AM_DEFAULT_VERBOSITY=0;;
5246
 
no)  AM_DEFAULT_VERBOSITY=1;;
5247
 
*)   AM_DEFAULT_VERBOSITY=0;;
5248
 
esac
5249
 
AM_BACKSLASH='\'
5250
 
 
5251
 
 
5252
 
 
5253
 
 
 
5031
 
 
5032
 
 
5033
# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
5254
5034
 
5255
5035
 
5256
5036
 
5263
5043
 
5264
5044
if test "x$STRICT_COMPILE" = "xyes"; then
5265
5045
        ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
5266
 
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
 
5046
if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
5267
5047
  SUNCC="yes"
5268
5048
else
5269
5049
  SUNCC="no"
5270
5050
fi
5271
5051
 
5272
5052
        ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
5273
 
if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then :
 
5053
if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
5274
5054
  INTELCC="yes"
5275
5055
else
5276
5056
  INTELCC="no"
5289
5069
 
5290
5070
 
5291
5071
 
5292
 
# Check whether --with-release-version was given.
5293
 
if test "${with_release_version+set}" = set; then :
5294
 
  withval=$with_release_version; RELEASE_VERSION="$withval"
5295
 
else
5296
 
  RELEASE_VERSION=""
5297
 
fi
5298
 
 
5299
 
        if test "x$RELEASE_VERSION" != "x"; then
5300
 
                PACKAGE="$PACKAGE-$RELEASE_VERSION"
5301
 
                PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
5302
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: Building with package name set to $PACKAGE" >&5
5303
 
$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
5304
 
        fi
5305
 
 
5306
5072
cat >>confdefs.h <<_ACEOF
5307
5073
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
5308
5074
_ACEOF
5345
5111
 
5346
5112
 
5347
5113
 
 
5114
 
5348
5115
if test x$APP_MAN_SUFFIX = x    ; then
5349
5116
    APP_MAN_SUFFIX=1
5350
5117
fi
5413
5180
 
5414
5181
 
5415
5182
 
 
5183
XORG_MAN_PAGE="X Version 11"
 
5184
 
 
5185
MAN_SUBSTS="\
 
5186
        -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
 
5187
        -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
 
5188
        -e 's|__xservername__|Xorg|g' \
 
5189
        -e 's|__xconfigfile__|xorg.conf|g' \
 
5190
        -e 's|__projectroot__|\$(prefix)|g' \
 
5191
        -e 's|__apploaddir__|\$(appdefaultdir)|g' \
 
5192
        -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
 
5193
        -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
 
5194
        -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
 
5195
        -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
 
5196
        -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
 
5197
        -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
 
5198
 
 
5199
 
 
5200
 
 
5201
# Check whether --enable-silent-rules was given.
 
5202
if test "${enable_silent_rules+set}" = set; then :
 
5203
  enableval=$enable_silent_rules;
 
5204
fi
 
5205
 
 
5206
case $enable_silent_rules in
 
5207
yes) AM_DEFAULT_VERBOSITY=0;;
 
5208
no)  AM_DEFAULT_VERBOSITY=1;;
 
5209
*)   AM_DEFAULT_VERBOSITY=0;;
 
5210
esac
 
5211
AM_BACKSLASH='\'
 
5212
 
 
5213
 
 
5214
 
 
5215
 
 
5216
# Check whether --enable-specs was given.
 
5217
if test "${enable_specs+set}" = set; then :
 
5218
  enableval=$enable_specs; build_specs=$enableval
 
5219
else
 
5220
  build_specs=yes
 
5221
fi
 
5222
 
 
5223
 
 
5224
 if test x$build_specs = xyes; then
 
5225
  ENABLE_SPECS_TRUE=
 
5226
  ENABLE_SPECS_FALSE='#'
 
5227
else
 
5228
  ENABLE_SPECS_TRUE='#'
 
5229
  ENABLE_SPECS_FALSE=
 
5230
fi
 
5231
 
 
5232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
 
5233
$as_echo_n "checking whether to build functional specifications... " >&6; }
 
5234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
 
5235
$as_echo "$build_specs" >&6; }
 
5236
 
 
5237
 
 
5238
 
 
5239
 
 
5240
 
 
5241
# Check whether --with-xmlto was given.
 
5242
if test "${with_xmlto+set}" = set; then :
 
5243
  withval=$with_xmlto; use_xmlto=$withval
 
5244
else
 
5245
  use_xmlto=auto
 
5246
fi
 
5247
 
 
5248
 
 
5249
 
 
5250
if test "x$use_xmlto" = x"auto"; then
 
5251
   # Extract the first word of "xmlto", so it can be a program name with args.
 
5252
set dummy xmlto; ac_word=$2
 
5253
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5254
$as_echo_n "checking for $ac_word... " >&6; }
 
5255
if ${ac_cv_path_XMLTO+:} false; then :
 
5256
  $as_echo_n "(cached) " >&6
 
5257
else
 
5258
  case $XMLTO in
 
5259
  [\\/]* | ?:[\\/]*)
 
5260
  ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
 
5261
  ;;
 
5262
  *)
 
5263
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5264
for as_dir in $PATH
 
5265
do
 
5266
  IFS=$as_save_IFS
 
5267
  test -z "$as_dir" && as_dir=.
 
5268
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5269
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5270
    ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
 
5271
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5272
    break 2
 
5273
  fi
 
5274
done
 
5275
  done
 
5276
IFS=$as_save_IFS
 
5277
 
 
5278
  ;;
 
5279
esac
 
5280
fi
 
5281
XMLTO=$ac_cv_path_XMLTO
 
5282
if test -n "$XMLTO"; then
 
5283
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
 
5284
$as_echo "$XMLTO" >&6; }
 
5285
else
 
5286
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5287
$as_echo "no" >&6; }
 
5288
fi
 
5289
 
 
5290
 
 
5291
   if test "x$XMLTO" = "x"; then
 
5292
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
 
5293
$as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
 
5294
        have_xmlto=no
 
5295
   else
 
5296
        have_xmlto=yes
 
5297
   fi
 
5298
elif test "x$use_xmlto" = x"yes" ; then
 
5299
   # Extract the first word of "xmlto", so it can be a program name with args.
 
5300
set dummy xmlto; ac_word=$2
 
5301
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5302
$as_echo_n "checking for $ac_word... " >&6; }
 
5303
if ${ac_cv_path_XMLTO+:} false; then :
 
5304
  $as_echo_n "(cached) " >&6
 
5305
else
 
5306
  case $XMLTO in
 
5307
  [\\/]* | ?:[\\/]*)
 
5308
  ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
 
5309
  ;;
 
5310
  *)
 
5311
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5312
for as_dir in $PATH
 
5313
do
 
5314
  IFS=$as_save_IFS
 
5315
  test -z "$as_dir" && as_dir=.
 
5316
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5317
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5318
    ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
 
5319
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5320
    break 2
 
5321
  fi
 
5322
done
 
5323
  done
 
5324
IFS=$as_save_IFS
 
5325
 
 
5326
  ;;
 
5327
esac
 
5328
fi
 
5329
XMLTO=$ac_cv_path_XMLTO
 
5330
if test -n "$XMLTO"; then
 
5331
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
 
5332
$as_echo "$XMLTO" >&6; }
 
5333
else
 
5334
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5335
$as_echo "no" >&6; }
 
5336
fi
 
5337
 
 
5338
 
 
5339
   if test "x$XMLTO" = "x"; then
 
5340
        as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
 
5341
   fi
 
5342
   have_xmlto=yes
 
5343
elif test "x$use_xmlto" = x"no" ; then
 
5344
   if test "x$XMLTO" != "x"; then
 
5345
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
 
5346
$as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
 
5347
   fi
 
5348
   have_xmlto=no
 
5349
else
 
5350
   as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
 
5351
fi
 
5352
 
 
5353
# Test for a minimum version of xmlto, if provided.
 
5354
if test "$have_xmlto" = yes; then
 
5355
    # scrape the xmlto version
 
5356
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
 
5357
$as_echo_n "checking the xmlto version... " >&6; }
 
5358
    xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
 
5359
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
 
5360
$as_echo "$xmlto_version" >&6; }
 
5361
    as_arg_v1=$xmlto_version
 
5362
as_arg_v2=0.0.20
 
5363
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
 
5364
case $? in #(
 
5365
  1) :
 
5366
    if test "x$use_xmlto" = xauto; then
 
5367
            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
 
5368
$as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
 
5369
            have_xmlto=no
 
5370
        else
 
5371
            as_fn_error $? "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5
 
5372
        fi ;; #(
 
5373
  0) :
 
5374
     ;; #(
 
5375
  2) :
 
5376
     ;; #(
 
5377
  *) :
 
5378
     ;;
 
5379
esac
 
5380
fi
 
5381
 
 
5382
# Test for the ability of xmlto to generate a text target
 
5383
have_xmlto_text=no
 
5384
cat > conftest.xml << "EOF"
 
5385
EOF
 
5386
if test "$have_xmlto" = yes; then :
 
5387
  if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
 
5388
  have_xmlto_text=yes
 
5389
else
 
5390
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
 
5391
$as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
 
5392
fi
 
5393
fi
 
5394
rm -f conftest.xml
 
5395
 if test $have_xmlto_text = yes; then
 
5396
  HAVE_XMLTO_TEXT_TRUE=
 
5397
  HAVE_XMLTO_TEXT_FALSE='#'
 
5398
else
 
5399
  HAVE_XMLTO_TEXT_TRUE='#'
 
5400
  HAVE_XMLTO_TEXT_FALSE=
 
5401
fi
 
5402
 
 
5403
 if test "$have_xmlto" = yes; then
 
5404
  HAVE_XMLTO_TRUE=
 
5405
  HAVE_XMLTO_FALSE='#'
 
5406
else
 
5407
  HAVE_XMLTO_TRUE='#'
 
5408
  HAVE_XMLTO_FALSE=
 
5409
fi
 
5410
 
 
5411
 
 
5412
 
 
5413
 
 
5414
 
 
5415
 
 
5416
# Check whether --with-fop was given.
 
5417
if test "${with_fop+set}" = set; then :
 
5418
  withval=$with_fop; use_fop=$withval
 
5419
else
 
5420
  use_fop=no
 
5421
fi
 
5422
 
 
5423
 
 
5424
 
 
5425
if test "x$use_fop" = x"auto"; then
 
5426
   # Extract the first word of "fop", so it can be a program name with args.
 
5427
set dummy fop; ac_word=$2
 
5428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5429
$as_echo_n "checking for $ac_word... " >&6; }
 
5430
if ${ac_cv_path_FOP+:} false; then :
 
5431
  $as_echo_n "(cached) " >&6
 
5432
else
 
5433
  case $FOP in
 
5434
  [\\/]* | ?:[\\/]*)
 
5435
  ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
 
5436
  ;;
 
5437
  *)
 
5438
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5439
for as_dir in $PATH
 
5440
do
 
5441
  IFS=$as_save_IFS
 
5442
  test -z "$as_dir" && as_dir=.
 
5443
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5444
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5445
    ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
 
5446
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5447
    break 2
 
5448
  fi
 
5449
done
 
5450
  done
 
5451
IFS=$as_save_IFS
 
5452
 
 
5453
  ;;
 
5454
esac
 
5455
fi
 
5456
FOP=$ac_cv_path_FOP
 
5457
if test -n "$FOP"; then
 
5458
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
 
5459
$as_echo "$FOP" >&6; }
 
5460
else
 
5461
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5462
$as_echo "no" >&6; }
 
5463
fi
 
5464
 
 
5465
 
 
5466
   if test "x$FOP" = "x"; then
 
5467
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
 
5468
$as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
 
5469
        have_fop=no
 
5470
   else
 
5471
        have_fop=yes
 
5472
   fi
 
5473
elif test "x$use_fop" = x"yes" ; then
 
5474
   # Extract the first word of "fop", so it can be a program name with args.
 
5475
set dummy fop; ac_word=$2
 
5476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5477
$as_echo_n "checking for $ac_word... " >&6; }
 
5478
if ${ac_cv_path_FOP+:} false; then :
 
5479
  $as_echo_n "(cached) " >&6
 
5480
else
 
5481
  case $FOP in
 
5482
  [\\/]* | ?:[\\/]*)
 
5483
  ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
 
5484
  ;;
 
5485
  *)
 
5486
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5487
for as_dir in $PATH
 
5488
do
 
5489
  IFS=$as_save_IFS
 
5490
  test -z "$as_dir" && as_dir=.
 
5491
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5492
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5493
    ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
 
5494
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5495
    break 2
 
5496
  fi
 
5497
done
 
5498
  done
 
5499
IFS=$as_save_IFS
 
5500
 
 
5501
  ;;
 
5502
esac
 
5503
fi
 
5504
FOP=$ac_cv_path_FOP
 
5505
if test -n "$FOP"; then
 
5506
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
 
5507
$as_echo "$FOP" >&6; }
 
5508
else
 
5509
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5510
$as_echo "no" >&6; }
 
5511
fi
 
5512
 
 
5513
 
 
5514
   if test "x$FOP" = "x"; then
 
5515
        as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
 
5516
   fi
 
5517
   have_fop=yes
 
5518
elif test "x$use_fop" = x"no" ; then
 
5519
   if test "x$FOP" != "x"; then
 
5520
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
 
5521
$as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
 
5522
   fi
 
5523
   have_fop=no
 
5524
else
 
5525
   as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
 
5526
fi
 
5527
 if test "$have_fop" = yes; then
 
5528
  HAVE_FOP_TRUE=
 
5529
  HAVE_FOP_FALSE='#'
 
5530
else
 
5531
  HAVE_FOP_TRUE='#'
 
5532
  HAVE_FOP_FALSE=
 
5533
fi
 
5534
 
 
5535
 
 
5536
 
 
5537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.5" >&5
 
5538
$as_echo_n "checking for X.Org SGML entities >= 1.5... " >&6; }
 
5539
XORG_SGML_PATH=
 
5540
if test -n "$PKG_CONFIG" && \
 
5541
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.5\""; } >&5
 
5542
  ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.5") 2>&5
 
5543
  ac_status=$?
 
5544
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5545
  test $ac_status = 0; }; then
 
5546
  XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
 
5547
else
 
5548
  :
 
5549
 
 
5550
fi
 
5551
 
 
5552
# Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
 
5553
# the path and the name of the doc stylesheet
 
5554
if test "x$XORG_SGML_PATH" != "x" ; then
 
5555
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
 
5556
$as_echo "$XORG_SGML_PATH" >&6; }
 
5557
   STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
 
5558
   XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
 
5559
else
 
5560
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5561
$as_echo "no" >&6; }
 
5562
fi
 
5563
 
 
5564
 
 
5565
 
 
5566
 
 
5567
 if test "x$XSL_STYLESHEET" != "x"; then
 
5568
  HAVE_STYLESHEETS_TRUE=
 
5569
  HAVE_STYLESHEETS_FALSE='#'
 
5570
else
 
5571
  HAVE_STYLESHEETS_TRUE='#'
 
5572
  HAVE_STYLESHEETS_FALSE=
 
5573
fi
 
5574
 
 
5575
 
 
5576
 
 
5577
 
 
5578
for ac_prog in cpp
 
5579
do
 
5580
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5581
set dummy $ac_prog; ac_word=$2
 
5582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5583
$as_echo_n "checking for $ac_word... " >&6; }
 
5584
if ${ac_cv_path_RAWCPP+:} false; then :
 
5585
  $as_echo_n "(cached) " >&6
 
5586
else
 
5587
  case $RAWCPP in
 
5588
  [\\/]* | ?:[\\/]*)
 
5589
  ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
 
5590
  ;;
 
5591
  *)
 
5592
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5593
as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
 
5594
for as_dir in $as_dummy
 
5595
do
 
5596
  IFS=$as_save_IFS
 
5597
  test -z "$as_dir" && as_dir=.
 
5598
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5599
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5600
    ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
 
5601
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5602
    break 2
 
5603
  fi
 
5604
done
 
5605
  done
 
5606
IFS=$as_save_IFS
 
5607
 
 
5608
  ;;
 
5609
esac
 
5610
fi
 
5611
RAWCPP=$ac_cv_path_RAWCPP
 
5612
if test -n "$RAWCPP"; then
 
5613
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
 
5614
$as_echo "$RAWCPP" >&6; }
 
5615
else
 
5616
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5617
$as_echo "no" >&6; }
 
5618
fi
 
5619
 
 
5620
 
 
5621
  test -n "$RAWCPP" && break
 
5622
done
 
5623
test -n "$RAWCPP" || RAWCPP="${CPP}"
 
5624
 
 
5625
 
 
5626
# Check for flag to avoid builtin definitions - assumes unix is predefined,
 
5627
# which is not the best choice for supporting other OS'es, but covers most
 
5628
# of the ones we need for now.
 
5629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
 
5630
$as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
 
5631
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5632
/* end confdefs.h.  */
 
5633
Does cpp redefine unix ?
 
5634
_ACEOF
 
5635
if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
 
5636
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5637
$as_echo "no" >&6; }
 
5638
else
 
5639
        if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
 
5640
                RAWCPPFLAGS=-undef
 
5641
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5642
$as_echo "yes" >&6; }
 
5643
        # under Cygwin unix is still defined even with -undef
 
5644
        elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
 
5645
                RAWCPPFLAGS="-undef -ansi"
 
5646
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
 
5647
$as_echo "yes, with -ansi" >&6; }
 
5648
        else
 
5649
                as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
 
5650
        fi
 
5651
fi
 
5652
rm -f conftest.$ac_ext
 
5653
 
 
5654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
 
5655
$as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
 
5656
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5657
/* end confdefs.h.  */
 
5658
Does cpp preserve   "whitespace"?
 
5659
_ACEOF
 
5660
if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
 
5661
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5662
$as_echo "no" >&6; }
 
5663
else
 
5664
        if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
 
5665
                RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
 
5666
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5667
$as_echo "yes" >&6; }
 
5668
        else
 
5669
                as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
 
5670
        fi
 
5671
fi
 
5672
rm -f conftest.$ac_ext
 
5673
 
5416
5674
 
5417
5675
 
5418
5676
# Checks for programs.
5419
 
# Check whether --enable-shared was given.
5420
 
if test "${enable_shared+set}" = set; then :
5421
 
  enableval=$enable_shared; p=${PACKAGE-default}
5422
 
    case $enableval in
5423
 
    yes) enable_shared=yes ;;
5424
 
    no) enable_shared=no ;;
5425
 
    *)
5426
 
      enable_shared=no
5427
 
      # Look at the argument we got.  We use all the common list separators.
5428
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5429
 
      for pkg in $enableval; do
5430
 
        IFS="$lt_save_ifs"
5431
 
        if test "X$pkg" = "X$p"; then
5432
 
          enable_shared=yes
5433
 
        fi
5434
 
      done
5435
 
      IFS="$lt_save_ifs"
5436
 
      ;;
5437
 
    esac
5438
 
else
5439
 
  enable_shared=yes
5440
 
fi
5441
 
 
5442
 
 
5443
 
# Check whether --enable-static was given.
5444
 
if test "${enable_static+set}" = set; then :
5445
 
  enableval=$enable_static; p=${PACKAGE-default}
5446
 
    case $enableval in
5447
 
    yes) enable_static=yes ;;
5448
 
    no) enable_static=no ;;
5449
 
    *)
5450
 
     enable_static=no
5451
 
      # Look at the argument we got.  We use all the common list separators.
5452
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5453
 
      for pkg in $enableval; do
5454
 
        IFS="$lt_save_ifs"
5455
 
        if test "X$pkg" = "X$p"; then
5456
 
          enable_static=yes
5457
 
        fi
5458
 
      done
5459
 
      IFS="$lt_save_ifs"
5460
 
      ;;
5461
 
    esac
5462
 
else
5463
 
  enable_static=yes
5464
 
fi
5465
 
 
5466
 
 
5467
 
# Check whether --enable-fast-install was given.
5468
 
if test "${enable_fast_install+set}" = set; then :
5469
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
5470
 
    case $enableval in
5471
 
    yes) enable_fast_install=yes ;;
5472
 
    no) enable_fast_install=no ;;
5473
 
    *)
5474
 
      enable_fast_install=no
5475
 
      # Look at the argument we got.  We use all the common list separators.
5476
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5477
 
      for pkg in $enableval; do
5478
 
        IFS="$lt_save_ifs"
5479
 
        if test "X$pkg" = "X$p"; then
5480
 
          enable_fast_install=yes
5481
 
        fi
5482
 
      done
5483
 
      IFS="$lt_save_ifs"
5484
 
      ;;
5485
 
    esac
5486
 
else
5487
 
  enable_fast_install=yes
5488
 
fi
 
5677
case `pwd` in
 
5678
  *\ * | *\     *)
 
5679
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5680
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
5681
esac
 
5682
 
 
5683
 
 
5684
 
 
5685
macro_version='2.4'
 
5686
macro_revision='1.3293'
 
5687
 
 
5688
 
 
5689
 
 
5690
 
 
5691
 
 
5692
 
 
5693
 
 
5694
 
 
5695
 
 
5696
 
 
5697
 
 
5698
 
 
5699
 
 
5700
ltmain="$ac_aux_dir/ltmain.sh"
 
5701
 
 
5702
# Backslashify metacharacters that are still active within
 
5703
# double-quoted strings.
 
5704
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
5705
 
 
5706
# Same as above, but do not quote variable references.
 
5707
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
5708
 
 
5709
# Sed substitution to delay expansion of an escaped shell variable in a
 
5710
# double_quote_subst'ed string.
 
5711
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
5712
 
 
5713
# Sed substitution to delay expansion of an escaped single quote.
 
5714
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
5715
 
 
5716
# Sed substitution to avoid accidental globbing in evaled expressions
 
5717
no_glob_subst='s/\*/\\\*/g'
 
5718
 
 
5719
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
5720
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
5721
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
5722
 
 
5723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
5724
$as_echo_n "checking how to print strings... " >&6; }
 
5725
# Test print first, because it will be a builtin if present.
 
5726
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
5727
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5728
  ECHO='print -r --'
 
5729
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5730
  ECHO='printf %s\n'
 
5731
else
 
5732
  # Use this function as a fallback that always works.
 
5733
  func_fallback_echo ()
 
5734
  {
 
5735
    eval 'cat <<_LTECHO_EOF
 
5736
$1
 
5737
_LTECHO_EOF'
 
5738
  }
 
5739
  ECHO='func_fallback_echo'
 
5740
fi
 
5741
 
 
5742
# func_echo_all arg...
 
5743
# Invoke $ECHO with all args, space-separated.
 
5744
func_echo_all ()
 
5745
{
 
5746
    $ECHO ""
 
5747
}
 
5748
 
 
5749
case "$ECHO" in
 
5750
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
5751
$as_echo "printf" >&6; } ;;
 
5752
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
5753
$as_echo "print -r" >&6; } ;;
 
5754
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
5755
$as_echo "cat" >&6; } ;;
 
5756
esac
 
5757
 
 
5758
 
 
5759
 
 
5760
 
 
5761
 
 
5762
 
 
5763
 
 
5764
 
 
5765
 
 
5766
 
 
5767
 
 
5768
 
5489
5769
 
5490
5770
 
5491
5771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5492
5772
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5493
 
if test "${lt_cv_path_SED+set}" = set; then :
 
5773
if ${ac_cv_path_SED+:} false; then :
5494
5774
  $as_echo_n "(cached) " >&6
5495
5775
else
5496
 
  # Loop through the user's path and test for sed and gsed.
5497
 
# Then use that list of sed's as ones to test for truncation.
5498
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5776
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
5777
     for ac_i in 1 2 3 4 5 6 7; do
 
5778
       ac_script="$ac_script$as_nl$ac_script"
 
5779
     done
 
5780
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
5781
     { ac_script=; unset ac_script;}
 
5782
     if test -z "$SED"; then
 
5783
  ac_path_SED_found=false
 
5784
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5785
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499
5786
for as_dir in $PATH
5500
5787
do
5501
5788
  IFS=$as_save_IFS
5502
5789
  test -z "$as_dir" && as_dir=.
5503
 
  for lt_ac_prog in sed gsed; do
5504
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5505
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
5506
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5507
 
      fi
5508
 
    done
5509
 
  done
5510
 
done
5511
 
IFS=$as_save_IFS
5512
 
lt_ac_max=0
5513
 
lt_ac_count=0
5514
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
5515
 
# along with /bin/sed that truncates output.
5516
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5517
 
  test ! -f $lt_ac_sed && continue
5518
 
  cat /dev/null > conftest.in
5519
 
  lt_ac_count=0
5520
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5521
 
  # Check for GNU sed and select it if it is found.
5522
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5523
 
    lt_cv_path_SED=$lt_ac_sed
5524
 
    break
5525
 
  fi
5526
 
  while true; do
5527
 
    cat conftest.in conftest.in >conftest.tmp
5528
 
    mv conftest.tmp conftest.in
5529
 
    cp conftest.in conftest.nl
5530
 
    echo >>conftest.nl
5531
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5532
 
    cmp -s conftest.out conftest.nl || break
5533
 
    # 10000 chars as input seems more than enough
5534
 
    test $lt_ac_count -gt 10 && break
5535
 
    lt_ac_count=`expr $lt_ac_count + 1`
5536
 
    if test $lt_ac_count -gt $lt_ac_max; then
5537
 
      lt_ac_max=$lt_ac_count
5538
 
      lt_cv_path_SED=$lt_ac_sed
5539
 
    fi
5540
 
  done
5541
 
done
5542
 
 
5543
 
fi
5544
 
 
5545
 
SED=$lt_cv_path_SED
5546
 
 
5547
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5548
 
$as_echo "$SED" >&6; }
 
5790
    for ac_prog in sed gsed; do
 
5791
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5792
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
5793
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5794
# Check for GNU ac_path_SED and select it if it is found.
 
5795
  # Check for GNU $ac_path_SED
 
5796
case `"$ac_path_SED" --version 2>&1` in
 
5797
*GNU*)
 
5798
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
5799
*)
 
5800
  ac_count=0
 
5801
  $as_echo_n 0123456789 >"conftest.in"
 
5802
  while :
 
5803
  do
 
5804
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5805
    mv "conftest.tmp" "conftest.in"
 
5806
    cp "conftest.in" "conftest.nl"
 
5807
    $as_echo '' >> "conftest.nl"
 
5808
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5809
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5810
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5811
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
5812
      # Best one so far, save it but keep looking for a better one
 
5813
      ac_cv_path_SED="$ac_path_SED"
 
5814
      ac_path_SED_max=$ac_count
 
5815
    fi
 
5816
    # 10*(2^10) chars as input seems more than enough
 
5817
    test $ac_count -gt 10 && break
 
5818
  done
 
5819
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5820
esac
 
5821
 
 
5822
      $ac_path_SED_found && break 3
 
5823
    done
 
5824
  done
 
5825
  done
 
5826
IFS=$as_save_IFS
 
5827
  if test -z "$ac_cv_path_SED"; then
 
5828
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
5829
  fi
 
5830
else
 
5831
  ac_cv_path_SED=$SED
 
5832
fi
 
5833
 
 
5834
fi
 
5835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
5836
$as_echo "$ac_cv_path_SED" >&6; }
 
5837
 SED="$ac_cv_path_SED"
 
5838
  rm -f conftest.sed
 
5839
 
 
5840
test -z "$SED" && SED=sed
 
5841
Xsed="$SED -e 1s/^X//"
 
5842
 
 
5843
 
 
5844
 
 
5845
 
 
5846
 
 
5847
 
 
5848
 
 
5849
 
 
5850
 
 
5851
 
 
5852
 
 
5853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
5854
$as_echo_n "checking for fgrep... " >&6; }
 
5855
if ${ac_cv_path_FGREP+:} false; then :
 
5856
  $as_echo_n "(cached) " >&6
 
5857
else
 
5858
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
5859
   then ac_cv_path_FGREP="$GREP -F"
 
5860
   else
 
5861
     if test -z "$FGREP"; then
 
5862
  ac_path_FGREP_found=false
 
5863
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5864
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5865
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5866
do
 
5867
  IFS=$as_save_IFS
 
5868
  test -z "$as_dir" && as_dir=.
 
5869
    for ac_prog in fgrep; do
 
5870
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5871
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5872
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
5873
# Check for GNU ac_path_FGREP and select it if it is found.
 
5874
  # Check for GNU $ac_path_FGREP
 
5875
case `"$ac_path_FGREP" --version 2>&1` in
 
5876
*GNU*)
 
5877
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
5878
*)
 
5879
  ac_count=0
 
5880
  $as_echo_n 0123456789 >"conftest.in"
 
5881
  while :
 
5882
  do
 
5883
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5884
    mv "conftest.tmp" "conftest.in"
 
5885
    cp "conftest.in" "conftest.nl"
 
5886
    $as_echo 'FGREP' >> "conftest.nl"
 
5887
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5888
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5889
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5890
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
5891
      # Best one so far, save it but keep looking for a better one
 
5892
      ac_cv_path_FGREP="$ac_path_FGREP"
 
5893
      ac_path_FGREP_max=$ac_count
 
5894
    fi
 
5895
    # 10*(2^10) chars as input seems more than enough
 
5896
    test $ac_count -gt 10 && break
 
5897
  done
 
5898
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5899
esac
 
5900
 
 
5901
      $ac_path_FGREP_found && break 3
 
5902
    done
 
5903
  done
 
5904
  done
 
5905
IFS=$as_save_IFS
 
5906
  if test -z "$ac_cv_path_FGREP"; then
 
5907
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5908
  fi
 
5909
else
 
5910
  ac_cv_path_FGREP=$FGREP
 
5911
fi
 
5912
 
 
5913
   fi
 
5914
fi
 
5915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
5916
$as_echo "$ac_cv_path_FGREP" >&6; }
 
5917
 FGREP="$ac_cv_path_FGREP"
 
5918
 
 
5919
 
 
5920
test -z "$GREP" && GREP=grep
 
5921
 
 
5922
 
 
5923
 
 
5924
 
 
5925
 
 
5926
 
 
5927
 
 
5928
 
 
5929
 
 
5930
 
 
5931
 
 
5932
 
 
5933
 
 
5934
 
 
5935
 
 
5936
 
 
5937
 
5549
5938
 
5550
5939
 
5551
5940
# Check whether --with-gnu-ld was given.
5572
5961
    [\\/]* | ?:[\\/]*)
5573
5962
      re_direlt='/[^/][^/]*/\.\./'
5574
5963
      # Canonicalize the pathname of ld
5575
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5576
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5577
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
5964
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
5965
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
5966
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5578
5967
      done
5579
5968
      test -z "$LD" && LD="$ac_prog"
5580
5969
      ;;
5594
5983
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5595
5984
$as_echo_n "checking for non-GNU ld... " >&6; }
5596
5985
fi
5597
 
if test "${lt_cv_path_LD+set}" = set; then :
 
5986
if ${lt_cv_path_LD+:} false; then :
5598
5987
  $as_echo_n "(cached) " >&6
5599
5988
else
5600
5989
  if test -z "$LD"; then
5631
6020
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5632
6021
$as_echo "no" >&6; }
5633
6022
fi
5634
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
6023
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5635
6024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5636
6025
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5637
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
6026
if ${lt_cv_prog_gnu_ld+:} false; then :
5638
6027
  $as_echo_n "(cached) " >&6
5639
6028
else
5640
6029
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5652
6041
with_gnu_ld=$lt_cv_prog_gnu_ld
5653
6042
 
5654
6043
 
5655
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5656
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5657
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5658
 
  $as_echo_n "(cached) " >&6
5659
 
else
5660
 
  lt_cv_ld_reload_flag='-r'
5661
 
fi
5662
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5663
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5664
 
reload_flag=$lt_cv_ld_reload_flag
5665
 
case $reload_flag in
5666
 
"" | " "*) ;;
5667
 
*) reload_flag=" $reload_flag" ;;
5668
 
esac
5669
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5670
 
case $host_os in
5671
 
  darwin*)
5672
 
    if test "$GCC" = yes; then
5673
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5674
 
    else
5675
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5676
 
    fi
5677
 
    ;;
5678
 
esac
5679
 
 
5680
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-compatible nm" >&5
5681
 
$as_echo_n "checking for BSD-compatible nm... " >&6; }
5682
 
if test "${lt_cv_path_NM+set}" = set; then :
 
6044
 
 
6045
 
 
6046
 
 
6047
 
 
6048
 
 
6049
 
 
6050
 
 
6051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
6052
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
6053
if ${lt_cv_path_NM+:} false; then :
5683
6054
  $as_echo_n "(cached) " >&6
5684
6055
else
5685
6056
  if test -n "$NM"; then
5723
6094
    done
5724
6095
    IFS="$lt_save_ifs"
5725
6096
  done
5726
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 
6097
  : ${lt_cv_path_NM=no}
5727
6098
fi
5728
6099
fi
5729
6100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5730
6101
$as_echo "$lt_cv_path_NM" >&6; }
5731
 
NM="$lt_cv_path_NM"
 
6102
if test "$lt_cv_path_NM" != "no"; then
 
6103
  NM="$lt_cv_path_NM"
 
6104
else
 
6105
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
6106
  if test -n "$DUMPBIN"; then :
 
6107
    # Let the user override the test.
 
6108
  else
 
6109
    if test -n "$ac_tool_prefix"; then
 
6110
  for ac_prog in dumpbin "link -dump"
 
6111
  do
 
6112
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6113
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6115
$as_echo_n "checking for $ac_word... " >&6; }
 
6116
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
6117
  $as_echo_n "(cached) " >&6
 
6118
else
 
6119
  if test -n "$DUMPBIN"; then
 
6120
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
6121
else
 
6122
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6123
for as_dir in $PATH
 
6124
do
 
6125
  IFS=$as_save_IFS
 
6126
  test -z "$as_dir" && as_dir=.
 
6127
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6128
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6129
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
6130
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6131
    break 2
 
6132
  fi
 
6133
done
 
6134
  done
 
6135
IFS=$as_save_IFS
 
6136
 
 
6137
fi
 
6138
fi
 
6139
DUMPBIN=$ac_cv_prog_DUMPBIN
 
6140
if test -n "$DUMPBIN"; then
 
6141
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
6142
$as_echo "$DUMPBIN" >&6; }
 
6143
else
 
6144
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6145
$as_echo "no" >&6; }
 
6146
fi
 
6147
 
 
6148
 
 
6149
    test -n "$DUMPBIN" && break
 
6150
  done
 
6151
fi
 
6152
if test -z "$DUMPBIN"; then
 
6153
  ac_ct_DUMPBIN=$DUMPBIN
 
6154
  for ac_prog in dumpbin "link -dump"
 
6155
do
 
6156
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6157
set dummy $ac_prog; ac_word=$2
 
6158
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6159
$as_echo_n "checking for $ac_word... " >&6; }
 
6160
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
6161
  $as_echo_n "(cached) " >&6
 
6162
else
 
6163
  if test -n "$ac_ct_DUMPBIN"; then
 
6164
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
6165
else
 
6166
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6167
for as_dir in $PATH
 
6168
do
 
6169
  IFS=$as_save_IFS
 
6170
  test -z "$as_dir" && as_dir=.
 
6171
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6172
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6173
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
6174
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6175
    break 2
 
6176
  fi
 
6177
done
 
6178
  done
 
6179
IFS=$as_save_IFS
 
6180
 
 
6181
fi
 
6182
fi
 
6183
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
6184
if test -n "$ac_ct_DUMPBIN"; then
 
6185
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
6186
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
6187
else
 
6188
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6189
$as_echo "no" >&6; }
 
6190
fi
 
6191
 
 
6192
 
 
6193
  test -n "$ac_ct_DUMPBIN" && break
 
6194
done
 
6195
 
 
6196
  if test "x$ac_ct_DUMPBIN" = x; then
 
6197
    DUMPBIN=":"
 
6198
  else
 
6199
    case $cross_compiling:$ac_tool_warned in
 
6200
yes:)
 
6201
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6202
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6203
ac_tool_warned=yes ;;
 
6204
esac
 
6205
    DUMPBIN=$ac_ct_DUMPBIN
 
6206
  fi
 
6207
fi
 
6208
 
 
6209
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
6210
    *COFF*)
 
6211
      DUMPBIN="$DUMPBIN -symbols"
 
6212
      ;;
 
6213
    *)
 
6214
      DUMPBIN=:
 
6215
      ;;
 
6216
    esac
 
6217
  fi
 
6218
 
 
6219
  if test "$DUMPBIN" != ":"; then
 
6220
    NM="$DUMPBIN"
 
6221
  fi
 
6222
fi
 
6223
test -z "$NM" && NM=nm
 
6224
 
 
6225
 
 
6226
 
 
6227
 
 
6228
 
 
6229
 
 
6230
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
6231
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
6232
if ${lt_cv_nm_interface+:} false; then :
 
6233
  $as_echo_n "(cached) " >&6
 
6234
else
 
6235
  lt_cv_nm_interface="BSD nm"
 
6236
  echo "int some_variable = 0;" > conftest.$ac_ext
 
6237
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
6238
  (eval "$ac_compile" 2>conftest.err)
 
6239
  cat conftest.err >&5
 
6240
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6241
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
6242
  cat conftest.err >&5
 
6243
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
6244
  cat conftest.out >&5
 
6245
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
6246
    lt_cv_nm_interface="MS dumpbin"
 
6247
  fi
 
6248
  rm -f conftest*
 
6249
fi
 
6250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
6251
$as_echo "$lt_cv_nm_interface" >&6; }
5732
6252
 
5733
6253
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5734
6254
$as_echo_n "checking whether ln -s works... " >&6; }
5741
6261
$as_echo "no, using $LN_S" >&6; }
5742
6262
fi
5743
6263
 
 
6264
# find the maximum length of command line arguments
 
6265
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
6266
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
6267
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
6268
  $as_echo_n "(cached) " >&6
 
6269
else
 
6270
    i=0
 
6271
  teststring="ABCD"
 
6272
 
 
6273
  case $build_os in
 
6274
  msdosdjgpp*)
 
6275
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
6276
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
6277
    # during glob expansion).  Even if it were fixed, the result of this
 
6278
    # check would be larger than it should be.
 
6279
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
6280
    ;;
 
6281
 
 
6282
  gnu*)
 
6283
    # Under GNU Hurd, this test is not required because there is
 
6284
    # no limit to the length of command line arguments.
 
6285
    # Libtool will interpret -1 as no limit whatsoever
 
6286
    lt_cv_sys_max_cmd_len=-1;
 
6287
    ;;
 
6288
 
 
6289
  cygwin* | mingw* | cegcc*)
 
6290
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
6291
    # about 5 minutes as the teststring grows exponentially.
 
6292
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
6293
    # you end up with a "frozen" computer, even though with patience
 
6294
    # the test eventually succeeds (with a max line length of 256k).
 
6295
    # Instead, let's just punt: use the minimum linelength reported by
 
6296
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
6297
    lt_cv_sys_max_cmd_len=8192;
 
6298
    ;;
 
6299
 
 
6300
  mint*)
 
6301
    # On MiNT this can take a long time and run out of memory.
 
6302
    lt_cv_sys_max_cmd_len=8192;
 
6303
    ;;
 
6304
 
 
6305
  amigaos*)
 
6306
    # On AmigaOS with pdksh, this test takes hours, literally.
 
6307
    # So we just punt and use a minimum line length of 8192.
 
6308
    lt_cv_sys_max_cmd_len=8192;
 
6309
    ;;
 
6310
 
 
6311
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6312
    # This has been around since 386BSD, at least.  Likely further.
 
6313
    if test -x /sbin/sysctl; then
 
6314
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6315
    elif test -x /usr/sbin/sysctl; then
 
6316
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6317
    else
 
6318
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6319
    fi
 
6320
    # And add a safety zone
 
6321
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6322
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6323
    ;;
 
6324
 
 
6325
  interix*)
 
6326
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6327
    lt_cv_sys_max_cmd_len=196608
 
6328
    ;;
 
6329
 
 
6330
  osf*)
 
6331
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6332
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6333
    # nice to cause kernel panics so lets avoid the loop below.
 
6334
    # First set a reasonable default.
 
6335
    lt_cv_sys_max_cmd_len=16384
 
6336
    #
 
6337
    if test -x /sbin/sysconfig; then
 
6338
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6339
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6340
      esac
 
6341
    fi
 
6342
    ;;
 
6343
  sco3.2v5*)
 
6344
    lt_cv_sys_max_cmd_len=102400
 
6345
    ;;
 
6346
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6347
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6348
    if test -n "$kargmax"; then
 
6349
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
6350
    else
 
6351
      lt_cv_sys_max_cmd_len=32768
 
6352
    fi
 
6353
    ;;
 
6354
  *)
 
6355
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6356
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6357
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6358
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6359
    else
 
6360
      # Make teststring a little bigger before we do anything with it.
 
6361
      # a 1K string should be a reasonable start.
 
6362
      for i in 1 2 3 4 5 6 7 8 ; do
 
6363
        teststring=$teststring$teststring
 
6364
      done
 
6365
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6366
      # If test is not a shell built-in, we'll probably end up computing a
 
6367
      # maximum length that is only half of the actual maximum length, but
 
6368
      # we can't tell.
 
6369
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
6370
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
6371
              test $i != 17 # 1/2 MB should be enough
 
6372
      do
 
6373
        i=`expr $i + 1`
 
6374
        teststring=$teststring$teststring
 
6375
      done
 
6376
      # Only check the string length outside the loop.
 
6377
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
6378
      teststring=
 
6379
      # Add a significant safety factor because C++ compilers can tack on
 
6380
      # massive amounts of additional arguments before passing them to the
 
6381
      # linker.  It appears as though 1/2 is a usable value.
 
6382
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6383
    fi
 
6384
    ;;
 
6385
  esac
 
6386
 
 
6387
fi
 
6388
 
 
6389
if test -n $lt_cv_sys_max_cmd_len ; then
 
6390
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
6391
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
6392
else
 
6393
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
6394
$as_echo "none" >&6; }
 
6395
fi
 
6396
max_cmd_len=$lt_cv_sys_max_cmd_len
 
6397
 
 
6398
 
 
6399
 
 
6400
 
 
6401
 
 
6402
 
 
6403
: ${CP="cp -f"}
 
6404
: ${MV="mv -f"}
 
6405
: ${RM="rm -f"}
 
6406
 
 
6407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
6408
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
6409
# Try some XSI features
 
6410
xsi_shell=no
 
6411
( _lt_dummy="a/b/c"
 
6412
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
6413
      = c,a/b,b/c, \
 
6414
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
6415
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
6416
  && xsi_shell=yes
 
6417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
6418
$as_echo "$xsi_shell" >&6; }
 
6419
 
 
6420
 
 
6421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
6422
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
6423
lt_shell_append=no
 
6424
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
6425
    >/dev/null 2>&1 \
 
6426
  && lt_shell_append=yes
 
6427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
6428
$as_echo "$lt_shell_append" >&6; }
 
6429
 
 
6430
 
 
6431
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
6432
  lt_unset=unset
 
6433
else
 
6434
  lt_unset=false
 
6435
fi
 
6436
 
 
6437
 
 
6438
 
 
6439
 
 
6440
 
 
6441
# test EBCDIC or ASCII
 
6442
case `echo X|tr X '\101'` in
 
6443
 A) # ASCII based system
 
6444
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
6445
  lt_SP2NL='tr \040 \012'
 
6446
  lt_NL2SP='tr \015\012 \040\040'
 
6447
  ;;
 
6448
 *) # EBCDIC based system
 
6449
  lt_SP2NL='tr \100 \n'
 
6450
  lt_NL2SP='tr \r\n \100\100'
 
6451
  ;;
 
6452
esac
 
6453
 
 
6454
 
 
6455
 
 
6456
 
 
6457
 
 
6458
 
 
6459
 
 
6460
 
 
6461
 
 
6462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
6463
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
6464
if ${lt_cv_to_host_file_cmd+:} false; then :
 
6465
  $as_echo_n "(cached) " >&6
 
6466
else
 
6467
  case $host in
 
6468
  *-*-mingw* )
 
6469
    case $build in
 
6470
      *-*-mingw* ) # actually msys
 
6471
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
6472
        ;;
 
6473
      *-*-cygwin* )
 
6474
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
6475
        ;;
 
6476
      * ) # otherwise, assume *nix
 
6477
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
6478
        ;;
 
6479
    esac
 
6480
    ;;
 
6481
  *-*-cygwin* )
 
6482
    case $build in
 
6483
      *-*-mingw* ) # actually msys
 
6484
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
6485
        ;;
 
6486
      *-*-cygwin* )
 
6487
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
6488
        ;;
 
6489
      * ) # otherwise, assume *nix
 
6490
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
6491
        ;;
 
6492
    esac
 
6493
    ;;
 
6494
  * ) # unhandled hosts (and "normal" native builds)
 
6495
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
6496
    ;;
 
6497
esac
 
6498
 
 
6499
fi
 
6500
 
 
6501
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
6502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
6503
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
6504
 
 
6505
 
 
6506
 
 
6507
 
 
6508
 
 
6509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
6510
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
6511
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
6512
  $as_echo_n "(cached) " >&6
 
6513
else
 
6514
  #assume ordinary cross tools, or native build.
 
6515
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
6516
case $host in
 
6517
  *-*-mingw* )
 
6518
    case $build in
 
6519
      *-*-mingw* ) # actually msys
 
6520
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
6521
        ;;
 
6522
    esac
 
6523
    ;;
 
6524
esac
 
6525
 
 
6526
fi
 
6527
 
 
6528
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
6529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
6530
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
6531
 
 
6532
 
 
6533
 
 
6534
 
 
6535
 
 
6536
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
6537
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
6538
if ${lt_cv_ld_reload_flag+:} false; then :
 
6539
  $as_echo_n "(cached) " >&6
 
6540
else
 
6541
  lt_cv_ld_reload_flag='-r'
 
6542
fi
 
6543
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
6544
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
6545
reload_flag=$lt_cv_ld_reload_flag
 
6546
case $reload_flag in
 
6547
"" | " "*) ;;
 
6548
*) reload_flag=" $reload_flag" ;;
 
6549
esac
 
6550
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6551
case $host_os in
 
6552
  cygwin* | mingw* | pw32* | cegcc*)
 
6553
    if test "$GCC" != yes; then
 
6554
      reload_cmds=false
 
6555
    fi
 
6556
    ;;
 
6557
  darwin*)
 
6558
    if test "$GCC" = yes; then
 
6559
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
6560
    else
 
6561
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6562
    fi
 
6563
    ;;
 
6564
esac
 
6565
 
 
6566
 
 
6567
 
 
6568
 
 
6569
 
 
6570
 
 
6571
 
 
6572
 
 
6573
 
 
6574
if test -n "$ac_tool_prefix"; then
 
6575
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
6576
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
6577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6578
$as_echo_n "checking for $ac_word... " >&6; }
 
6579
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
6580
  $as_echo_n "(cached) " >&6
 
6581
else
 
6582
  if test -n "$OBJDUMP"; then
 
6583
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
6584
else
 
6585
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6586
for as_dir in $PATH
 
6587
do
 
6588
  IFS=$as_save_IFS
 
6589
  test -z "$as_dir" && as_dir=.
 
6590
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6591
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6592
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
6593
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6594
    break 2
 
6595
  fi
 
6596
done
 
6597
  done
 
6598
IFS=$as_save_IFS
 
6599
 
 
6600
fi
 
6601
fi
 
6602
OBJDUMP=$ac_cv_prog_OBJDUMP
 
6603
if test -n "$OBJDUMP"; then
 
6604
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
6605
$as_echo "$OBJDUMP" >&6; }
 
6606
else
 
6607
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6608
$as_echo "no" >&6; }
 
6609
fi
 
6610
 
 
6611
 
 
6612
fi
 
6613
if test -z "$ac_cv_prog_OBJDUMP"; then
 
6614
  ac_ct_OBJDUMP=$OBJDUMP
 
6615
  # Extract the first word of "objdump", so it can be a program name with args.
 
6616
set dummy objdump; ac_word=$2
 
6617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6618
$as_echo_n "checking for $ac_word... " >&6; }
 
6619
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
6620
  $as_echo_n "(cached) " >&6
 
6621
else
 
6622
  if test -n "$ac_ct_OBJDUMP"; then
 
6623
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
6624
else
 
6625
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6626
for as_dir in $PATH
 
6627
do
 
6628
  IFS=$as_save_IFS
 
6629
  test -z "$as_dir" && as_dir=.
 
6630
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6631
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6632
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
6633
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6634
    break 2
 
6635
  fi
 
6636
done
 
6637
  done
 
6638
IFS=$as_save_IFS
 
6639
 
 
6640
fi
 
6641
fi
 
6642
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
6643
if test -n "$ac_ct_OBJDUMP"; then
 
6644
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
6645
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
6646
else
 
6647
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6648
$as_echo "no" >&6; }
 
6649
fi
 
6650
 
 
6651
  if test "x$ac_ct_OBJDUMP" = x; then
 
6652
    OBJDUMP="false"
 
6653
  else
 
6654
    case $cross_compiling:$ac_tool_warned in
 
6655
yes:)
 
6656
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6657
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6658
ac_tool_warned=yes ;;
 
6659
esac
 
6660
    OBJDUMP=$ac_ct_OBJDUMP
 
6661
  fi
 
6662
else
 
6663
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
6664
fi
 
6665
 
 
6666
test -z "$OBJDUMP" && OBJDUMP=objdump
 
6667
 
 
6668
 
 
6669
 
 
6670
 
 
6671
 
 
6672
 
 
6673
 
 
6674
 
 
6675
 
5744
6676
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5745
6677
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5746
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
6678
if ${lt_cv_deplibs_check_method+:} false; then :
5747
6679
  $as_echo_n "(cached) " >&6
5748
6680
else
5749
6681
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5785
6717
  # Base MSYS/MinGW do not provide the 'file' command needed by
5786
6718
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5787
6719
  # unless we find 'file', for example because we are cross-compiling.
5788
 
  if ( file / ) >/dev/null 2>&1; then
 
6720
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
6721
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5789
6722
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5790
6723
    lt_cv_file_magic_cmd='func_win32_libid'
5791
6724
  else
5792
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6725
    # Keep this pattern in sync with the one in func_win32_libid.
 
6726
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5793
6727
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5794
6728
  fi
5795
6729
  ;;
5796
6730
 
 
6731
cegcc*)
 
6732
  # use the weaker test based on 'objdump'. See mingw*.
 
6733
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
6734
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6735
  ;;
 
6736
 
5797
6737
darwin* | rhapsody*)
5798
6738
  lt_cv_deplibs_check_method=pass_all
5799
6739
  ;;
5800
6740
 
5801
6741
freebsd* | dragonfly*)
5802
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6742
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5803
6743
    case $host_cpu in
5804
6744
    i*86 )
5805
6745
      # Not sure whether the presence of OpenBSD here was a mistake.
5818
6758
  lt_cv_deplibs_check_method=pass_all
5819
6759
  ;;
5820
6760
 
 
6761
haiku*)
 
6762
  lt_cv_deplibs_check_method=pass_all
 
6763
  ;;
 
6764
 
5821
6765
hpux10.20* | hpux11*)
5822
6766
  lt_cv_file_magic_cmd=/usr/bin/file
5823
6767
  case $host_cpu in
5826
6770
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5827
6771
    ;;
5828
6772
  hppa*64*)
5829
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
6773
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5830
6774
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5831
6775
    ;;
5832
6776
  *)
5833
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
6777
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5834
6778
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5835
6779
    ;;
5836
6780
  esac
5852
6796
  ;;
5853
6797
 
5854
6798
# This must be Linux ELF.
5855
 
linux* | k*bsd*-gnu)
 
6799
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5856
6800
  lt_cv_deplibs_check_method=pass_all
5857
6801
  ;;
5858
6802
 
5859
6803
netbsd*)
5860
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6804
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5861
6805
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5862
6806
  else
5863
6807
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5870
6814
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5871
6815
  ;;
5872
6816
 
5873
 
nto-qnx*)
5874
 
  lt_cv_deplibs_check_method=unknown
 
6817
*nto* | *qnx*)
 
6818
  lt_cv_deplibs_check_method=pass_all
5875
6819
  ;;
5876
6820
 
5877
6821
openbsd*)
5878
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
6822
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5879
6823
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5880
6824
  else
5881
6825
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5894
6838
  lt_cv_deplibs_check_method=pass_all
5895
6839
  ;;
5896
6840
 
 
6841
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6842
  lt_cv_deplibs_check_method=pass_all
 
6843
  ;;
 
6844
 
5897
6845
sysv4 | sysv4.3*)
5898
6846
  case $host_vendor in
5899
6847
  motorola)
5921
6869
  esac
5922
6870
  ;;
5923
6871
 
5924
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6872
tpf*)
5925
6873
  lt_cv_deplibs_check_method=pass_all
5926
6874
  ;;
5927
6875
esac
5929
6877
fi
5930
6878
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5931
6879
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
6880
 
 
6881
file_magic_glob=
 
6882
want_nocaseglob=no
 
6883
if test "$build" = "$host"; then
 
6884
  case $host_os in
 
6885
  mingw* | pw32*)
 
6886
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
6887
      want_nocaseglob=yes
 
6888
    else
 
6889
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
6890
    fi
 
6891
    ;;
 
6892
  esac
 
6893
fi
 
6894
 
5932
6895
file_magic_cmd=$lt_cv_file_magic_cmd
5933
6896
deplibs_check_method=$lt_cv_deplibs_check_method
5934
6897
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5936
6899
 
5937
6900
 
5938
6901
 
 
6902
 
 
6903
 
 
6904
 
 
6905
 
 
6906
 
 
6907
 
 
6908
 
 
6909
 
 
6910
 
 
6911
 
 
6912
 
 
6913
 
 
6914
 
 
6915
 
 
6916
 
 
6917
 
 
6918
 
 
6919
 
 
6920
if test -n "$ac_tool_prefix"; then
 
6921
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
6922
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
6923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6924
$as_echo_n "checking for $ac_word... " >&6; }
 
6925
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
6926
  $as_echo_n "(cached) " >&6
 
6927
else
 
6928
  if test -n "$DLLTOOL"; then
 
6929
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
6930
else
 
6931
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6932
for as_dir in $PATH
 
6933
do
 
6934
  IFS=$as_save_IFS
 
6935
  test -z "$as_dir" && as_dir=.
 
6936
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6937
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6938
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
6939
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6940
    break 2
 
6941
  fi
 
6942
done
 
6943
  done
 
6944
IFS=$as_save_IFS
 
6945
 
 
6946
fi
 
6947
fi
 
6948
DLLTOOL=$ac_cv_prog_DLLTOOL
 
6949
if test -n "$DLLTOOL"; then
 
6950
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
6951
$as_echo "$DLLTOOL" >&6; }
 
6952
else
 
6953
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6954
$as_echo "no" >&6; }
 
6955
fi
 
6956
 
 
6957
 
 
6958
fi
 
6959
if test -z "$ac_cv_prog_DLLTOOL"; then
 
6960
  ac_ct_DLLTOOL=$DLLTOOL
 
6961
  # Extract the first word of "dlltool", so it can be a program name with args.
 
6962
set dummy dlltool; ac_word=$2
 
6963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6964
$as_echo_n "checking for $ac_word... " >&6; }
 
6965
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
6966
  $as_echo_n "(cached) " >&6
 
6967
else
 
6968
  if test -n "$ac_ct_DLLTOOL"; then
 
6969
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
6970
else
 
6971
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6972
for as_dir in $PATH
 
6973
do
 
6974
  IFS=$as_save_IFS
 
6975
  test -z "$as_dir" && as_dir=.
 
6976
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6977
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6978
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
6979
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6980
    break 2
 
6981
  fi
 
6982
done
 
6983
  done
 
6984
IFS=$as_save_IFS
 
6985
 
 
6986
fi
 
6987
fi
 
6988
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
6989
if test -n "$ac_ct_DLLTOOL"; then
 
6990
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
6991
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
6992
else
 
6993
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6994
$as_echo "no" >&6; }
 
6995
fi
 
6996
 
 
6997
  if test "x$ac_ct_DLLTOOL" = x; then
 
6998
    DLLTOOL="false"
 
6999
  else
 
7000
    case $cross_compiling:$ac_tool_warned in
 
7001
yes:)
 
7002
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7003
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7004
ac_tool_warned=yes ;;
 
7005
esac
 
7006
    DLLTOOL=$ac_ct_DLLTOOL
 
7007
  fi
 
7008
else
 
7009
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
7010
fi
 
7011
 
 
7012
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
7013
 
 
7014
 
 
7015
 
 
7016
 
 
7017
 
 
7018
 
 
7019
 
 
7020
 
 
7021
 
 
7022
 
 
7023
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
7024
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
7025
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
7026
  $as_echo_n "(cached) " >&6
 
7027
else
 
7028
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
7029
 
 
7030
case $host_os in
 
7031
cygwin* | mingw* | pw32* | cegcc*)
 
7032
  # two different shell functions defined in ltmain.sh
 
7033
  # decide which to use based on capabilities of $DLLTOOL
 
7034
  case `$DLLTOOL --help 2>&1` in
 
7035
  *--identify-strict*)
 
7036
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
7037
    ;;
 
7038
  *)
 
7039
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
7040
    ;;
 
7041
  esac
 
7042
  ;;
 
7043
*)
 
7044
  # fallback: assume linklib IS sharedlib
 
7045
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
7046
  ;;
 
7047
esac
 
7048
 
 
7049
fi
 
7050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
7051
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
7052
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
7053
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
7054
 
 
7055
 
 
7056
 
 
7057
 
 
7058
 
 
7059
 
 
7060
 
 
7061
if test -n "$ac_tool_prefix"; then
 
7062
  for ac_prog in ar
 
7063
  do
 
7064
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7065
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7067
$as_echo_n "checking for $ac_word... " >&6; }
 
7068
if ${ac_cv_prog_AR+:} false; then :
 
7069
  $as_echo_n "(cached) " >&6
 
7070
else
 
7071
  if test -n "$AR"; then
 
7072
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
7073
else
 
7074
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7075
for as_dir in $PATH
 
7076
do
 
7077
  IFS=$as_save_IFS
 
7078
  test -z "$as_dir" && as_dir=.
 
7079
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7080
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7081
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
7082
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7083
    break 2
 
7084
  fi
 
7085
done
 
7086
  done
 
7087
IFS=$as_save_IFS
 
7088
 
 
7089
fi
 
7090
fi
 
7091
AR=$ac_cv_prog_AR
 
7092
if test -n "$AR"; then
 
7093
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
7094
$as_echo "$AR" >&6; }
 
7095
else
 
7096
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7097
$as_echo "no" >&6; }
 
7098
fi
 
7099
 
 
7100
 
 
7101
    test -n "$AR" && break
 
7102
  done
 
7103
fi
 
7104
if test -z "$AR"; then
 
7105
  ac_ct_AR=$AR
 
7106
  for ac_prog in ar
 
7107
do
 
7108
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7109
set dummy $ac_prog; ac_word=$2
 
7110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7111
$as_echo_n "checking for $ac_word... " >&6; }
 
7112
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
7113
  $as_echo_n "(cached) " >&6
 
7114
else
 
7115
  if test -n "$ac_ct_AR"; then
 
7116
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
7117
else
 
7118
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7119
for as_dir in $PATH
 
7120
do
 
7121
  IFS=$as_save_IFS
 
7122
  test -z "$as_dir" && as_dir=.
 
7123
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7124
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7125
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
7126
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7127
    break 2
 
7128
  fi
 
7129
done
 
7130
  done
 
7131
IFS=$as_save_IFS
 
7132
 
 
7133
fi
 
7134
fi
 
7135
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
7136
if test -n "$ac_ct_AR"; then
 
7137
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
7138
$as_echo "$ac_ct_AR" >&6; }
 
7139
else
 
7140
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7141
$as_echo "no" >&6; }
 
7142
fi
 
7143
 
 
7144
 
 
7145
  test -n "$ac_ct_AR" && break
 
7146
done
 
7147
 
 
7148
  if test "x$ac_ct_AR" = x; then
 
7149
    AR="false"
 
7150
  else
 
7151
    case $cross_compiling:$ac_tool_warned in
 
7152
yes:)
 
7153
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7154
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7155
ac_tool_warned=yes ;;
 
7156
esac
 
7157
    AR=$ac_ct_AR
 
7158
  fi
 
7159
fi
 
7160
 
 
7161
: ${AR=ar}
 
7162
: ${AR_FLAGS=cru}
 
7163
 
 
7164
 
 
7165
 
 
7166
 
 
7167
 
 
7168
 
 
7169
 
 
7170
 
 
7171
 
 
7172
 
 
7173
 
 
7174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
7175
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
7176
if ${lt_cv_ar_at_file+:} false; then :
 
7177
  $as_echo_n "(cached) " >&6
 
7178
else
 
7179
  lt_cv_ar_at_file=no
 
7180
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7181
/* end confdefs.h.  */
 
7182
 
 
7183
int
 
7184
main ()
 
7185
{
 
7186
 
 
7187
  ;
 
7188
  return 0;
 
7189
}
 
7190
_ACEOF
 
7191
if ac_fn_c_try_compile "$LINENO"; then :
 
7192
  echo conftest.$ac_objext > conftest.lst
 
7193
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
7194
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7195
  (eval $lt_ar_try) 2>&5
 
7196
  ac_status=$?
 
7197
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7198
  test $ac_status = 0; }
 
7199
      if test "$ac_status" -eq 0; then
 
7200
        # Ensure the archiver fails upon bogus file names.
 
7201
        rm -f conftest.$ac_objext libconftest.a
 
7202
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7203
  (eval $lt_ar_try) 2>&5
 
7204
  ac_status=$?
 
7205
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7206
  test $ac_status = 0; }
 
7207
        if test "$ac_status" -ne 0; then
 
7208
          lt_cv_ar_at_file=@
 
7209
        fi
 
7210
      fi
 
7211
      rm -f conftest.* libconftest.a
 
7212
 
 
7213
fi
 
7214
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7215
 
 
7216
fi
 
7217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
7218
$as_echo "$lt_cv_ar_at_file" >&6; }
 
7219
 
 
7220
if test "x$lt_cv_ar_at_file" = xno; then
 
7221
  archiver_list_spec=
 
7222
else
 
7223
  archiver_list_spec=$lt_cv_ar_at_file
 
7224
fi
 
7225
 
 
7226
 
 
7227
 
 
7228
 
 
7229
 
 
7230
 
 
7231
 
 
7232
if test -n "$ac_tool_prefix"; then
 
7233
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
7234
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
7235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7236
$as_echo_n "checking for $ac_word... " >&6; }
 
7237
if ${ac_cv_prog_STRIP+:} false; then :
 
7238
  $as_echo_n "(cached) " >&6
 
7239
else
 
7240
  if test -n "$STRIP"; then
 
7241
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
7242
else
 
7243
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7244
for as_dir in $PATH
 
7245
do
 
7246
  IFS=$as_save_IFS
 
7247
  test -z "$as_dir" && as_dir=.
 
7248
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7249
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7250
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
7251
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7252
    break 2
 
7253
  fi
 
7254
done
 
7255
  done
 
7256
IFS=$as_save_IFS
 
7257
 
 
7258
fi
 
7259
fi
 
7260
STRIP=$ac_cv_prog_STRIP
 
7261
if test -n "$STRIP"; then
 
7262
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
7263
$as_echo "$STRIP" >&6; }
 
7264
else
 
7265
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7266
$as_echo "no" >&6; }
 
7267
fi
 
7268
 
 
7269
 
 
7270
fi
 
7271
if test -z "$ac_cv_prog_STRIP"; then
 
7272
  ac_ct_STRIP=$STRIP
 
7273
  # Extract the first word of "strip", so it can be a program name with args.
 
7274
set dummy strip; ac_word=$2
 
7275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7276
$as_echo_n "checking for $ac_word... " >&6; }
 
7277
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
7278
  $as_echo_n "(cached) " >&6
 
7279
else
 
7280
  if test -n "$ac_ct_STRIP"; then
 
7281
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
7282
else
 
7283
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7284
for as_dir in $PATH
 
7285
do
 
7286
  IFS=$as_save_IFS
 
7287
  test -z "$as_dir" && as_dir=.
 
7288
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7289
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7290
    ac_cv_prog_ac_ct_STRIP="strip"
 
7291
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7292
    break 2
 
7293
  fi
 
7294
done
 
7295
  done
 
7296
IFS=$as_save_IFS
 
7297
 
 
7298
fi
 
7299
fi
 
7300
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
7301
if test -n "$ac_ct_STRIP"; then
 
7302
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
7303
$as_echo "$ac_ct_STRIP" >&6; }
 
7304
else
 
7305
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7306
$as_echo "no" >&6; }
 
7307
fi
 
7308
 
 
7309
  if test "x$ac_ct_STRIP" = x; then
 
7310
    STRIP=":"
 
7311
  else
 
7312
    case $cross_compiling:$ac_tool_warned in
 
7313
yes:)
 
7314
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7315
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7316
ac_tool_warned=yes ;;
 
7317
esac
 
7318
    STRIP=$ac_ct_STRIP
 
7319
  fi
 
7320
else
 
7321
  STRIP="$ac_cv_prog_STRIP"
 
7322
fi
 
7323
 
 
7324
test -z "$STRIP" && STRIP=:
 
7325
 
 
7326
 
 
7327
 
 
7328
 
 
7329
 
 
7330
 
 
7331
if test -n "$ac_tool_prefix"; then
 
7332
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
7333
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
7334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7335
$as_echo_n "checking for $ac_word... " >&6; }
 
7336
if ${ac_cv_prog_RANLIB+:} false; then :
 
7337
  $as_echo_n "(cached) " >&6
 
7338
else
 
7339
  if test -n "$RANLIB"; then
 
7340
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
7341
else
 
7342
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7343
for as_dir in $PATH
 
7344
do
 
7345
  IFS=$as_save_IFS
 
7346
  test -z "$as_dir" && as_dir=.
 
7347
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7348
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7349
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
7350
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7351
    break 2
 
7352
  fi
 
7353
done
 
7354
  done
 
7355
IFS=$as_save_IFS
 
7356
 
 
7357
fi
 
7358
fi
 
7359
RANLIB=$ac_cv_prog_RANLIB
 
7360
if test -n "$RANLIB"; then
 
7361
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
7362
$as_echo "$RANLIB" >&6; }
 
7363
else
 
7364
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7365
$as_echo "no" >&6; }
 
7366
fi
 
7367
 
 
7368
 
 
7369
fi
 
7370
if test -z "$ac_cv_prog_RANLIB"; then
 
7371
  ac_ct_RANLIB=$RANLIB
 
7372
  # Extract the first word of "ranlib", so it can be a program name with args.
 
7373
set dummy ranlib; ac_word=$2
 
7374
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7375
$as_echo_n "checking for $ac_word... " >&6; }
 
7376
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
7377
  $as_echo_n "(cached) " >&6
 
7378
else
 
7379
  if test -n "$ac_ct_RANLIB"; then
 
7380
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
7381
else
 
7382
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7383
for as_dir in $PATH
 
7384
do
 
7385
  IFS=$as_save_IFS
 
7386
  test -z "$as_dir" && as_dir=.
 
7387
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7388
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7389
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
7390
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7391
    break 2
 
7392
  fi
 
7393
done
 
7394
  done
 
7395
IFS=$as_save_IFS
 
7396
 
 
7397
fi
 
7398
fi
 
7399
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
7400
if test -n "$ac_ct_RANLIB"; then
 
7401
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
7402
$as_echo "$ac_ct_RANLIB" >&6; }
 
7403
else
 
7404
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7405
$as_echo "no" >&6; }
 
7406
fi
 
7407
 
 
7408
  if test "x$ac_ct_RANLIB" = x; then
 
7409
    RANLIB=":"
 
7410
  else
 
7411
    case $cross_compiling:$ac_tool_warned in
 
7412
yes:)
 
7413
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7414
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7415
ac_tool_warned=yes ;;
 
7416
esac
 
7417
    RANLIB=$ac_ct_RANLIB
 
7418
  fi
 
7419
else
 
7420
  RANLIB="$ac_cv_prog_RANLIB"
 
7421
fi
 
7422
 
 
7423
test -z "$RANLIB" && RANLIB=:
 
7424
 
 
7425
 
 
7426
 
 
7427
 
 
7428
 
 
7429
 
 
7430
# Determine commands to create old-style static archives.
 
7431
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
7432
old_postinstall_cmds='chmod 644 $oldlib'
 
7433
old_postuninstall_cmds=
 
7434
 
 
7435
if test -n "$RANLIB"; then
 
7436
  case $host_os in
 
7437
  openbsd*)
 
7438
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
7439
    ;;
 
7440
  *)
 
7441
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
7442
    ;;
 
7443
  esac
 
7444
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
7445
fi
 
7446
 
 
7447
case $host_os in
 
7448
  darwin*)
 
7449
    lock_old_archive_extraction=yes ;;
 
7450
  *)
 
7451
    lock_old_archive_extraction=no ;;
 
7452
esac
 
7453
 
 
7454
 
 
7455
 
 
7456
 
 
7457
 
 
7458
 
 
7459
 
 
7460
 
 
7461
 
 
7462
 
 
7463
 
 
7464
 
 
7465
 
 
7466
 
 
7467
 
 
7468
 
 
7469
 
 
7470
 
 
7471
 
 
7472
 
 
7473
 
 
7474
 
 
7475
 
 
7476
 
 
7477
 
 
7478
 
 
7479
 
 
7480
 
 
7481
 
 
7482
 
 
7483
 
 
7484
 
 
7485
 
 
7486
 
 
7487
 
 
7488
 
 
7489
 
 
7490
 
 
7491
 
5939
7492
# If no C compiler was specified, use CC.
5940
7493
LTCC=${LTCC-"$CC"}
5941
7494
 
5945
7498
# Allow CC to be a program name with arguments.
5946
7499
compiler=$CC
5947
7500
 
5948
 
# Check whether --enable-libtool-lock was given.
5949
 
if test "${enable_libtool_lock+set}" = set; then :
5950
 
  enableval=$enable_libtool_lock;
5951
 
fi
5952
 
 
5953
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5954
 
 
5955
 
# Some flags need to be propagated to the compiler or linker for good
5956
 
# libtool support.
5957
 
case $host in
5958
 
ia64-*-hpux*)
5959
 
  # Find out which ABI we are using.
5960
 
  echo 'int i;' > conftest.$ac_ext
5961
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5962
 
  (eval $ac_compile) 2>&5
5963
 
  ac_status=$?
5964
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5965
 
  test $ac_status = 0; }; then
5966
 
    case `/usr/bin/file conftest.$ac_objext` in
5967
 
    *ELF-32*)
5968
 
      HPUX_IA64_MODE="32"
5969
 
      ;;
5970
 
    *ELF-64*)
5971
 
      HPUX_IA64_MODE="64"
5972
 
      ;;
5973
 
    esac
5974
 
  fi
5975
 
  rm -rf conftest*
5976
 
  ;;
5977
 
*-*-irix6*)
5978
 
  # Find out which ABI we are using.
5979
 
  echo '#line 5979 "configure"' > conftest.$ac_ext
5980
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5981
 
  (eval $ac_compile) 2>&5
5982
 
  ac_status=$?
5983
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5984
 
  test $ac_status = 0; }; then
5985
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
5986
 
    case `/usr/bin/file conftest.$ac_objext` in
5987
 
    *32-bit*)
5988
 
      LD="${LD-ld} -melf32bsmip"
5989
 
      ;;
5990
 
    *N32*)
5991
 
      LD="${LD-ld} -melf32bmipn32"
5992
 
      ;;
5993
 
    *64-bit*)
5994
 
      LD="${LD-ld} -melf64bmip"
5995
 
      ;;
5996
 
    esac
5997
 
   else
5998
 
    case `/usr/bin/file conftest.$ac_objext` in
5999
 
    *32-bit*)
6000
 
      LD="${LD-ld} -32"
6001
 
      ;;
6002
 
    *N32*)
6003
 
      LD="${LD-ld} -n32"
6004
 
      ;;
6005
 
    *64-bit*)
6006
 
      LD="${LD-ld} -64"
6007
 
      ;;
6008
 
    esac
6009
 
   fi
6010
 
  fi
6011
 
  rm -rf conftest*
6012
 
  ;;
6013
 
 
6014
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6015
 
s390*-*linux*|sparc*-*linux*)
6016
 
  # Find out which ABI we are using.
6017
 
  echo 'int i;' > conftest.$ac_ext
6018
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6019
 
  (eval $ac_compile) 2>&5
6020
 
  ac_status=$?
6021
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6022
 
  test $ac_status = 0; }; then
6023
 
    case `/usr/bin/file conftest.o` in
6024
 
    *32-bit*)
6025
 
      case $host in
6026
 
        x86_64-*kfreebsd*-gnu)
6027
 
          LD="${LD-ld} -m elf_i386_fbsd"
6028
 
          ;;
6029
 
        x86_64-*linux*)
6030
 
          LD="${LD-ld} -m elf_i386"
6031
 
          ;;
6032
 
        ppc64-*linux*|powerpc64-*linux*)
6033
 
          LD="${LD-ld} -m elf32ppclinux"
6034
 
          ;;
6035
 
        s390x-*linux*)
6036
 
          LD="${LD-ld} -m elf_s390"
6037
 
          ;;
6038
 
        sparc64-*linux*)
6039
 
          LD="${LD-ld} -m elf32_sparc"
6040
 
          ;;
6041
 
      esac
6042
 
      ;;
6043
 
    *64-bit*)
6044
 
      case $host in
6045
 
        x86_64-*kfreebsd*-gnu)
6046
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
6047
 
          ;;
6048
 
        x86_64-*linux*)
6049
 
          LD="${LD-ld} -m elf_x86_64"
6050
 
          ;;
6051
 
        ppc*-*linux*|powerpc*-*linux*)
6052
 
          LD="${LD-ld} -m elf64ppc"
6053
 
          ;;
6054
 
        s390*-*linux*)
6055
 
          LD="${LD-ld} -m elf64_s390"
6056
 
          ;;
6057
 
        sparc*-*linux*)
6058
 
          LD="${LD-ld} -m elf64_sparc"
6059
 
          ;;
6060
 
      esac
6061
 
      ;;
6062
 
    esac
6063
 
  fi
6064
 
  rm -rf conftest*
6065
 
  ;;
6066
 
 
6067
 
*-*-sco3.2v5*)
6068
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6069
 
  SAVE_CFLAGS="$CFLAGS"
6070
 
  CFLAGS="$CFLAGS -belf"
6071
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6072
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6073
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6074
 
  $as_echo_n "(cached) " >&6
6075
 
else
6076
 
  ac_ext=c
6077
 
ac_cpp='$CPP $CPPFLAGS'
6078
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6079
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6080
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6081
 
 
6082
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6083
 
/* end confdefs.h.  */
6084
 
 
6085
 
int
6086
 
main ()
6087
 
{
6088
 
 
6089
 
  ;
6090
 
  return 0;
6091
 
}
6092
 
_ACEOF
6093
 
if ac_fn_c_try_link "$LINENO"; then :
6094
 
  lt_cv_cc_needs_belf=yes
6095
 
else
6096
 
  lt_cv_cc_needs_belf=no
6097
 
fi
6098
 
rm -f core conftest.err conftest.$ac_objext \
6099
 
    conftest$ac_exeext conftest.$ac_ext
6100
 
     ac_ext=c
6101
 
ac_cpp='$CPP $CPPFLAGS'
6102
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6103
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6104
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6105
 
 
6106
 
fi
6107
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6108
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6109
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6110
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6111
 
    CFLAGS="$SAVE_CFLAGS"
6112
 
  fi
6113
 
  ;;
6114
 
sparc*-*solaris*)
6115
 
  # Find out which ABI we are using.
6116
 
  echo 'int i;' > conftest.$ac_ext
6117
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6118
 
  (eval $ac_compile) 2>&5
6119
 
  ac_status=$?
6120
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6121
 
  test $ac_status = 0; }; then
6122
 
    case `/usr/bin/file conftest.o` in
6123
 
    *64-bit*)
6124
 
      case $lt_cv_prog_gnu_ld in
6125
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6126
 
      *)
6127
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6128
 
          LD="${LD-ld} -64"
6129
 
        fi
6130
 
        ;;
6131
 
      esac
6132
 
      ;;
6133
 
    esac
6134
 
  fi
6135
 
  rm -rf conftest*
6136
 
  ;;
6137
 
 
6138
 
 
6139
 
esac
6140
 
 
6141
 
need_locks="$enable_libtool_lock"
6142
 
 
6143
 
 
6144
 
for ac_header in dlfcn.h
6145
 
do :
6146
 
  ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
6147
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6148
 
  cat >>confdefs.h <<_ACEOF
6149
 
#define HAVE_DLFCN_H 1
6150
 
_ACEOF
6151
 
 
6152
 
fi
6153
 
 
6154
 
done
6155
 
 
6156
 
ac_ext=cpp
6157
 
ac_cpp='$CXXCPP $CPPFLAGS'
6158
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6159
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6160
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6161
 
if test -z "$CXX"; then
6162
 
  if test -n "$CCC"; then
6163
 
    CXX=$CCC
6164
 
  else
6165
 
    if test -n "$ac_tool_prefix"; then
6166
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6167
 
  do
6168
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6169
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6170
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171
 
$as_echo_n "checking for $ac_word... " >&6; }
6172
 
if test "${ac_cv_prog_CXX+set}" = set; then :
6173
 
  $as_echo_n "(cached) " >&6
6174
 
else
6175
 
  if test -n "$CXX"; then
6176
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
6177
 
else
6178
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6179
 
for as_dir in $PATH
6180
 
do
6181
 
  IFS=$as_save_IFS
6182
 
  test -z "$as_dir" && as_dir=.
6183
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6184
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6185
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6186
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6187
 
    break 2
6188
 
  fi
6189
 
done
6190
 
  done
6191
 
IFS=$as_save_IFS
6192
 
 
6193
 
fi
6194
 
fi
6195
 
CXX=$ac_cv_prog_CXX
6196
 
if test -n "$CXX"; then
6197
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6198
 
$as_echo "$CXX" >&6; }
6199
 
else
6200
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6201
 
$as_echo "no" >&6; }
6202
 
fi
6203
 
 
6204
 
 
6205
 
    test -n "$CXX" && break
6206
 
  done
6207
 
fi
6208
 
if test -z "$CXX"; then
6209
 
  ac_ct_CXX=$CXX
6210
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6211
 
do
6212
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6213
 
set dummy $ac_prog; ac_word=$2
6214
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6215
 
$as_echo_n "checking for $ac_word... " >&6; }
6216
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
6217
 
  $as_echo_n "(cached) " >&6
6218
 
else
6219
 
  if test -n "$ac_ct_CXX"; then
6220
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6221
 
else
6222
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6223
 
for as_dir in $PATH
6224
 
do
6225
 
  IFS=$as_save_IFS
6226
 
  test -z "$as_dir" && as_dir=.
6227
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6228
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6229
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
6230
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6231
 
    break 2
6232
 
  fi
6233
 
done
6234
 
  done
6235
 
IFS=$as_save_IFS
6236
 
 
6237
 
fi
6238
 
fi
6239
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6240
 
if test -n "$ac_ct_CXX"; then
6241
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6242
 
$as_echo "$ac_ct_CXX" >&6; }
6243
 
else
6244
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6245
 
$as_echo "no" >&6; }
6246
 
fi
6247
 
 
6248
 
 
6249
 
  test -n "$ac_ct_CXX" && break
6250
 
done
6251
 
 
6252
 
  if test "x$ac_ct_CXX" = x; then
6253
 
    CXX="g++"
6254
 
  else
6255
 
    case $cross_compiling:$ac_tool_warned in
6256
 
yes:)
6257
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6258
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6259
 
ac_tool_warned=yes ;;
6260
 
esac
6261
 
    CXX=$ac_ct_CXX
6262
 
  fi
6263
 
fi
6264
 
 
6265
 
  fi
6266
 
fi
6267
 
# Provide some information about the compiler.
6268
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6269
 
set X $ac_compile
6270
 
ac_compiler=$2
6271
 
for ac_option in --version -v -V -qversion; do
6272
 
  { { ac_try="$ac_compiler $ac_option >&5"
6273
 
case "(($ac_try" in
6274
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6275
 
  *) ac_try_echo=$ac_try;;
6276
 
esac
6277
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6278
 
$as_echo "$ac_try_echo"; } >&5
6279
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6280
 
  ac_status=$?
6281
 
  if test -s conftest.err; then
6282
 
    sed '10a\
6283
 
... rest of stderr output deleted ...
6284
 
         10q' conftest.err >conftest.er1
6285
 
    cat conftest.er1 >&5
6286
 
  fi
6287
 
  rm -f conftest.er1 conftest.err
6288
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6289
 
  test $ac_status = 0; }
6290
 
done
6291
 
 
6292
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6293
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6294
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
6295
 
  $as_echo_n "(cached) " >&6
6296
 
else
6297
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6298
 
/* end confdefs.h.  */
6299
 
 
6300
 
int
6301
 
main ()
6302
 
{
6303
 
#ifndef __GNUC__
6304
 
       choke me
6305
 
#endif
6306
 
 
6307
 
  ;
6308
 
  return 0;
6309
 
}
6310
 
_ACEOF
6311
 
if ac_fn_cxx_try_compile "$LINENO"; then :
6312
 
  ac_compiler_gnu=yes
6313
 
else
6314
 
  ac_compiler_gnu=no
6315
 
fi
6316
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6317
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6318
 
 
6319
 
fi
6320
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6321
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6322
 
if test $ac_compiler_gnu = yes; then
6323
 
  GXX=yes
6324
 
else
6325
 
  GXX=
6326
 
fi
6327
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
6328
 
ac_save_CXXFLAGS=$CXXFLAGS
6329
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6330
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
6331
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
6332
 
  $as_echo_n "(cached) " >&6
6333
 
else
6334
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6335
 
   ac_cxx_werror_flag=yes
6336
 
   ac_cv_prog_cxx_g=no
6337
 
   CXXFLAGS="-g"
6338
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6339
 
/* end confdefs.h.  */
6340
 
 
6341
 
int
6342
 
main ()
6343
 
{
6344
 
 
6345
 
  ;
6346
 
  return 0;
6347
 
}
6348
 
_ACEOF
6349
 
if ac_fn_cxx_try_compile "$LINENO"; then :
6350
 
  ac_cv_prog_cxx_g=yes
6351
 
else
6352
 
  CXXFLAGS=""
6353
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6354
 
/* end confdefs.h.  */
6355
 
 
6356
 
int
6357
 
main ()
6358
 
{
6359
 
 
6360
 
  ;
6361
 
  return 0;
6362
 
}
6363
 
_ACEOF
6364
 
if ac_fn_cxx_try_compile "$LINENO"; then :
6365
 
 
6366
 
else
6367
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6368
 
         CXXFLAGS="-g"
6369
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6370
 
/* end confdefs.h.  */
6371
 
 
6372
 
int
6373
 
main ()
6374
 
{
6375
 
 
6376
 
  ;
6377
 
  return 0;
6378
 
}
6379
 
_ACEOF
6380
 
if ac_fn_cxx_try_compile "$LINENO"; then :
6381
 
  ac_cv_prog_cxx_g=yes
6382
 
fi
6383
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6384
 
fi
6385
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6386
 
fi
6387
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6388
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6389
 
fi
6390
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6391
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
6392
 
if test "$ac_test_CXXFLAGS" = set; then
6393
 
  CXXFLAGS=$ac_save_CXXFLAGS
6394
 
elif test $ac_cv_prog_cxx_g = yes; then
6395
 
  if test "$GXX" = yes; then
6396
 
    CXXFLAGS="-g -O2"
6397
 
  else
6398
 
    CXXFLAGS="-g"
6399
 
  fi
6400
 
else
6401
 
  if test "$GXX" = yes; then
6402
 
    CXXFLAGS="-O2"
6403
 
  else
6404
 
    CXXFLAGS=
6405
 
  fi
6406
 
fi
6407
 
ac_ext=cpp
6408
 
ac_cpp='$CXXCPP $CPPFLAGS'
6409
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6410
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6411
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6412
 
 
6413
 
depcc="$CXX"  am_compiler_list=
6414
 
 
6415
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6416
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
6417
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
6418
 
  $as_echo_n "(cached) " >&6
6419
 
else
6420
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6421
 
  # We make a subdir and do the tests there.  Otherwise we can end up
6422
 
  # making bogus files that we don't know about and never remove.  For
6423
 
  # instance it was reported that on HP-UX the gcc test will end up
6424
 
  # making a dummy file named `D' -- because `-MD' means `put the output
6425
 
  # in D'.
6426
 
  mkdir conftest.dir
6427
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
6428
 
  # using a relative directory.
6429
 
  cp "$am_depcomp" conftest.dir
6430
 
  cd conftest.dir
6431
 
  # We will build objects and dependencies in a subdirectory because
6432
 
  # it helps to detect inapplicable dependency modes.  For instance
6433
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
6434
 
  # side effect of compilation, but ICC will put the dependencies in
6435
 
  # the current directory while Tru64 will put them in the object
6436
 
  # directory.
6437
 
  mkdir sub
6438
 
 
6439
 
  am_cv_CXX_dependencies_compiler_type=none
6440
 
  if test "$am_compiler_list" = ""; then
6441
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6442
 
  fi
6443
 
  am__universal=false
6444
 
  case " $depcc " in #(
6445
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
6446
 
     esac
6447
 
 
6448
 
  for depmode in $am_compiler_list; do
6449
 
    # Setup a source with many dependencies, because some compilers
6450
 
    # like to wrap large dependency lists on column 80 (with \), and
6451
 
    # we should not choose a depcomp mode which is confused by this.
6452
 
    #
6453
 
    # We need to recreate these files for each test, as the compiler may
6454
 
    # overwrite some of them when testing with obscure command lines.
6455
 
    # This happens at least with the AIX C compiler.
6456
 
    : > sub/conftest.c
6457
 
    for i in 1 2 3 4 5 6; do
6458
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6459
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6460
 
      # Solaris 8's {/usr,}/bin/sh.
6461
 
      touch sub/conftst$i.h
6462
 
    done
6463
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6464
 
 
6465
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6466
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
6467
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
6468
 
    # versions had trouble with output in subdirs
6469
 
    am__obj=sub/conftest.${OBJEXT-o}
6470
 
    am__minus_obj="-o $am__obj"
6471
 
    case $depmode in
6472
 
    gcc)
6473
 
      # This depmode causes a compiler race in universal mode.
6474
 
      test "$am__universal" = false || continue
6475
 
      ;;
6476
 
    nosideeffect)
6477
 
      # after this tag, mechanisms are not by side-effect, so they'll
6478
 
      # only be used when explicitly requested
6479
 
      if test "x$enable_dependency_tracking" = xyes; then
6480
 
        continue
6481
 
      else
6482
 
        break
6483
 
      fi
6484
 
      ;;
6485
 
    msvisualcpp | msvcmsys)
6486
 
      # This compiler won't grok `-c -o', but also, the minuso test has
6487
 
      # not run yet.  These depmodes are late enough in the game, and
6488
 
      # so weak that their functioning should not be impacted.
6489
 
      am__obj=conftest.${OBJEXT-o}
6490
 
      am__minus_obj=
6491
 
      ;;
6492
 
    none) break ;;
6493
 
    esac
6494
 
    if depmode=$depmode \
6495
 
       source=sub/conftest.c object=$am__obj \
6496
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6497
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6498
 
         >/dev/null 2>conftest.err &&
6499
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6500
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6501
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6502
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6503
 
      # icc doesn't choke on unknown options, it will just issue warnings
6504
 
      # or remarks (even with -Werror).  So we grep stderr for any message
6505
 
      # that says an option was ignored or not supported.
6506
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
6507
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
6508
 
      # The diagnosis changed in icc 8.0:
6509
 
      #   icc: Command line remark: option '-MP' not supported
6510
 
      if (grep 'ignoring option' conftest.err ||
6511
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6512
 
        am_cv_CXX_dependencies_compiler_type=$depmode
6513
 
        break
6514
 
      fi
6515
 
    fi
6516
 
  done
6517
 
 
6518
 
  cd ..
6519
 
  rm -rf conftest.dir
6520
 
else
6521
 
  am_cv_CXX_dependencies_compiler_type=none
6522
 
fi
6523
 
 
6524
 
fi
6525
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6526
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6527
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6528
 
 
6529
 
 if
6530
 
  test "x$enable_dependency_tracking" != xno \
6531
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6532
 
  am__fastdepCXX_TRUE=
6533
 
  am__fastdepCXX_FALSE='#'
6534
 
else
6535
 
  am__fastdepCXX_TRUE='#'
6536
 
  am__fastdepCXX_FALSE=
6537
 
fi
6538
 
 
6539
 
 
6540
 
 
6541
 
 
6542
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6543
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6544
 
    (test "X$CXX" != "Xg++"))) ; then
6545
 
  ac_ext=cpp
6546
 
ac_cpp='$CXXCPP $CPPFLAGS'
6547
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6548
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6549
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6550
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6551
 
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6552
 
if test -z "$CXXCPP"; then
6553
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
6554
 
  $as_echo_n "(cached) " >&6
6555
 
else
6556
 
      # Double quotes because CXXCPP needs to be expanded
6557
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
6558
 
    do
6559
 
      ac_preproc_ok=false
6560
 
for ac_cxx_preproc_warn_flag in '' yes
6561
 
do
6562
 
  # Use a header file that comes with gcc, so configuring glibc
6563
 
  # with a fresh cross-compiler works.
6564
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6565
 
  # <limits.h> exists even on freestanding compilers.
6566
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6567
 
  # not just through cpp. "Syntax error" is here to catch this case.
6568
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6569
 
/* end confdefs.h.  */
6570
 
#ifdef __STDC__
6571
 
# include <limits.h>
6572
 
#else
6573
 
# include <assert.h>
6574
 
#endif
6575
 
                     Syntax error
6576
 
_ACEOF
6577
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
6578
 
 
6579
 
else
6580
 
  # Broken: fails on valid input.
6581
 
continue
6582
 
fi
6583
 
rm -f conftest.err conftest.$ac_ext
6584
 
 
6585
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6586
 
  # can be detected and how.
6587
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6588
 
/* end confdefs.h.  */
6589
 
#include <ac_nonexistent.h>
6590
 
_ACEOF
6591
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
6592
 
  # Broken: success on invalid input.
6593
 
continue
6594
 
else
6595
 
  # Passes both tests.
6596
 
ac_preproc_ok=:
6597
 
break
6598
 
fi
6599
 
rm -f conftest.err conftest.$ac_ext
6600
 
 
6601
 
done
6602
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6603
 
rm -f conftest.err conftest.$ac_ext
6604
 
if $ac_preproc_ok; then :
6605
 
  break
6606
 
fi
6607
 
 
6608
 
    done
6609
 
    ac_cv_prog_CXXCPP=$CXXCPP
6610
 
 
6611
 
fi
6612
 
  CXXCPP=$ac_cv_prog_CXXCPP
6613
 
else
6614
 
  ac_cv_prog_CXXCPP=$CXXCPP
6615
 
fi
6616
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6617
 
$as_echo "$CXXCPP" >&6; }
6618
 
ac_preproc_ok=false
6619
 
for ac_cxx_preproc_warn_flag in '' yes
6620
 
do
6621
 
  # Use a header file that comes with gcc, so configuring glibc
6622
 
  # with a fresh cross-compiler works.
6623
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6624
 
  # <limits.h> exists even on freestanding compilers.
6625
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6626
 
  # not just through cpp. "Syntax error" is here to catch this case.
6627
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6628
 
/* end confdefs.h.  */
6629
 
#ifdef __STDC__
6630
 
# include <limits.h>
6631
 
#else
6632
 
# include <assert.h>
6633
 
#endif
6634
 
                     Syntax error
6635
 
_ACEOF
6636
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
6637
 
 
6638
 
else
6639
 
  # Broken: fails on valid input.
6640
 
continue
6641
 
fi
6642
 
rm -f conftest.err conftest.$ac_ext
6643
 
 
6644
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6645
 
  # can be detected and how.
6646
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6647
 
/* end confdefs.h.  */
6648
 
#include <ac_nonexistent.h>
6649
 
_ACEOF
6650
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
6651
 
  # Broken: success on invalid input.
6652
 
continue
6653
 
else
6654
 
  # Passes both tests.
6655
 
ac_preproc_ok=:
6656
 
break
6657
 
fi
6658
 
rm -f conftest.err conftest.$ac_ext
6659
 
 
6660
 
done
6661
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6662
 
rm -f conftest.err conftest.$ac_ext
6663
 
if $ac_preproc_ok; then :
6664
 
 
6665
 
else
6666
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6667
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6668
 
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
6669
 
See \`config.log' for more details." "$LINENO" 5; }
6670
 
fi
6671
 
 
6672
 
ac_ext=cpp
6673
 
ac_cpp='$CXXCPP $CPPFLAGS'
6674
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6675
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6676
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6677
 
 
6678
 
fi
6679
 
 
6680
 
 
6681
 
ac_ext=f
6682
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6683
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6684
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6685
 
if test -n "$ac_tool_prefix"; then
6686
 
  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
6687
 
  do
6688
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6689
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6690
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6691
 
$as_echo_n "checking for $ac_word... " >&6; }
6692
 
if test "${ac_cv_prog_F77+set}" = set; then :
6693
 
  $as_echo_n "(cached) " >&6
6694
 
else
6695
 
  if test -n "$F77"; then
6696
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
6697
 
else
6698
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6699
 
for as_dir in $PATH
6700
 
do
6701
 
  IFS=$as_save_IFS
6702
 
  test -z "$as_dir" && as_dir=.
6703
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6704
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6705
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6706
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6707
 
    break 2
6708
 
  fi
6709
 
done
6710
 
  done
6711
 
IFS=$as_save_IFS
6712
 
 
6713
 
fi
6714
 
fi
6715
 
F77=$ac_cv_prog_F77
6716
 
if test -n "$F77"; then
6717
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
6718
 
$as_echo "$F77" >&6; }
6719
 
else
6720
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6721
 
$as_echo "no" >&6; }
6722
 
fi
6723
 
 
6724
 
 
6725
 
    test -n "$F77" && break
6726
 
  done
6727
 
fi
6728
 
if test -z "$F77"; then
6729
 
  ac_ct_F77=$F77
6730
 
  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
6731
 
do
6732
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6733
 
set dummy $ac_prog; ac_word=$2
6734
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6735
 
$as_echo_n "checking for $ac_word... " >&6; }
6736
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
6737
 
  $as_echo_n "(cached) " >&6
6738
 
else
6739
 
  if test -n "$ac_ct_F77"; then
6740
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6741
 
else
6742
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6743
 
for as_dir in $PATH
6744
 
do
6745
 
  IFS=$as_save_IFS
6746
 
  test -z "$as_dir" && as_dir=.
6747
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6748
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6749
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
6750
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6751
 
    break 2
6752
 
  fi
6753
 
done
6754
 
  done
6755
 
IFS=$as_save_IFS
6756
 
 
6757
 
fi
6758
 
fi
6759
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6760
 
if test -n "$ac_ct_F77"; then
6761
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
6762
 
$as_echo "$ac_ct_F77" >&6; }
6763
 
else
6764
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6765
 
$as_echo "no" >&6; }
6766
 
fi
6767
 
 
6768
 
 
6769
 
  test -n "$ac_ct_F77" && break
6770
 
done
6771
 
 
6772
 
  if test "x$ac_ct_F77" = x; then
6773
 
    F77=""
6774
 
  else
6775
 
    case $cross_compiling:$ac_tool_warned in
6776
 
yes:)
6777
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6778
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6779
 
ac_tool_warned=yes ;;
6780
 
esac
6781
 
    F77=$ac_ct_F77
6782
 
  fi
6783
 
fi
6784
 
 
6785
 
 
6786
 
# Provide some information about the compiler.
6787
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
6788
 
set X $ac_compile
6789
 
ac_compiler=$2
6790
 
for ac_option in --version -v -V -qversion; do
6791
 
  { { ac_try="$ac_compiler $ac_option >&5"
6792
 
case "(($ac_try" in
6793
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6794
 
  *) ac_try_echo=$ac_try;;
6795
 
esac
6796
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6797
 
$as_echo "$ac_try_echo"; } >&5
6798
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6799
 
  ac_status=$?
6800
 
  if test -s conftest.err; then
6801
 
    sed '10a\
6802
 
... rest of stderr output deleted ...
6803
 
         10q' conftest.err >conftest.er1
6804
 
    cat conftest.er1 >&5
6805
 
  fi
6806
 
  rm -f conftest.er1 conftest.err
6807
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6808
 
  test $ac_status = 0; }
6809
 
done
6810
 
rm -f a.out
6811
 
 
6812
 
# If we don't use `.F' as extension, the preprocessor is not run on the
6813
 
# input file.  (Note that this only needs to work for GNU compilers.)
6814
 
ac_save_ext=$ac_ext
6815
 
ac_ext=F
6816
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
6817
 
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
6818
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
6819
 
  $as_echo_n "(cached) " >&6
6820
 
else
6821
 
  cat > conftest.$ac_ext <<_ACEOF
6822
 
      program main
6823
 
#ifndef __GNUC__
6824
 
       choke me
6825
 
#endif
6826
 
 
6827
 
      end
6828
 
_ACEOF
6829
 
if ac_fn_f77_try_compile "$LINENO"; then :
6830
 
  ac_compiler_gnu=yes
6831
 
else
6832
 
  ac_compiler_gnu=no
6833
 
fi
6834
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6835
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6836
 
 
6837
 
fi
6838
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
6839
 
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
6840
 
ac_ext=$ac_save_ext
6841
 
ac_test_FFLAGS=${FFLAGS+set}
6842
 
ac_save_FFLAGS=$FFLAGS
6843
 
FFLAGS=
6844
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
6845
 
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
6846
 
if test "${ac_cv_prog_f77_g+set}" = set; then :
6847
 
  $as_echo_n "(cached) " >&6
6848
 
else
6849
 
  FFLAGS=-g
6850
 
cat > conftest.$ac_ext <<_ACEOF
6851
 
      program main
6852
 
 
6853
 
      end
6854
 
_ACEOF
6855
 
if ac_fn_f77_try_compile "$LINENO"; then :
6856
 
  ac_cv_prog_f77_g=yes
6857
 
else
6858
 
  ac_cv_prog_f77_g=no
6859
 
fi
6860
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6861
 
 
6862
 
fi
6863
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
6864
 
$as_echo "$ac_cv_prog_f77_g" >&6; }
6865
 
if test "$ac_test_FFLAGS" = set; then
6866
 
  FFLAGS=$ac_save_FFLAGS
6867
 
elif test $ac_cv_prog_f77_g = yes; then
6868
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6869
 
    FFLAGS="-g -O2"
6870
 
  else
6871
 
    FFLAGS="-g"
6872
 
  fi
6873
 
else
6874
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6875
 
    FFLAGS="-O2"
6876
 
  else
6877
 
    FFLAGS=
6878
 
  fi
6879
 
fi
6880
 
 
6881
 
if test $ac_compiler_gnu = yes; then
6882
 
  G77=yes
6883
 
else
6884
 
  G77=
6885
 
fi
6886
 
ac_ext=c
6887
 
ac_cpp='$CPP $CPPFLAGS'
6888
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6889
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6890
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6891
 
 
6892
 
 
6893
 
 
6894
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6895
 
# find the maximum length of command line arguments
6896
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6897
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6898
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6899
 
  $as_echo_n "(cached) " >&6
6900
 
else
6901
 
    i=0
6902
 
  teststring="ABCD"
6903
 
 
6904
 
  case $build_os in
6905
 
  msdosdjgpp*)
6906
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6907
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6908
 
    # during glob expansion).  Even if it were fixed, the result of this
6909
 
    # check would be larger than it should be.
6910
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6911
 
    ;;
6912
 
 
6913
 
  gnu*)
6914
 
    # Under GNU Hurd, this test is not required because there is
6915
 
    # no limit to the length of command line arguments.
6916
 
    # Libtool will interpret -1 as no limit whatsoever
6917
 
    lt_cv_sys_max_cmd_len=-1;
6918
 
    ;;
6919
 
 
6920
 
  cygwin* | mingw*)
6921
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6922
 
    # about 5 minutes as the teststring grows exponentially.
6923
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6924
 
    # you end up with a "frozen" computer, even though with patience
6925
 
    # the test eventually succeeds (with a max line length of 256k).
6926
 
    # Instead, let's just punt: use the minimum linelength reported by
6927
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6928
 
    lt_cv_sys_max_cmd_len=8192;
6929
 
    ;;
6930
 
 
6931
 
  amigaos*)
6932
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6933
 
    # So we just punt and use a minimum line length of 8192.
6934
 
    lt_cv_sys_max_cmd_len=8192;
6935
 
    ;;
6936
 
 
6937
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6938
 
    # This has been around since 386BSD, at least.  Likely further.
6939
 
    if test -x /sbin/sysctl; then
6940
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6941
 
    elif test -x /usr/sbin/sysctl; then
6942
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6943
 
    else
6944
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6945
 
    fi
6946
 
    # And add a safety zone
6947
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6948
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6949
 
    ;;
6950
 
 
6951
 
  interix*)
6952
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6953
 
    lt_cv_sys_max_cmd_len=196608
6954
 
    ;;
6955
 
 
6956
 
  osf*)
6957
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6958
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6959
 
    # nice to cause kernel panics so lets avoid the loop below.
6960
 
    # First set a reasonable default.
6961
 
    lt_cv_sys_max_cmd_len=16384
6962
 
    #
6963
 
    if test -x /sbin/sysconfig; then
6964
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6965
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6966
 
      esac
6967
 
    fi
6968
 
    ;;
6969
 
  sco3.2v5*)
6970
 
    lt_cv_sys_max_cmd_len=102400
6971
 
    ;;
6972
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6973
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6974
 
    if test -n "$kargmax"; then
6975
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
6976
 
    else
6977
 
      lt_cv_sys_max_cmd_len=32768
6978
 
    fi
6979
 
    ;;
6980
 
  *)
6981
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6982
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
6983
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6984
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6985
 
    else
6986
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6987
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6988
 
               = "XX$teststring") >/dev/null 2>&1 &&
6989
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
6990
 
              lt_cv_sys_max_cmd_len=$new_result &&
6991
 
              test $i != 17 # 1/2 MB should be enough
6992
 
      do
6993
 
        i=`expr $i + 1`
6994
 
        teststring=$teststring$teststring
6995
 
      done
6996
 
      teststring=
6997
 
      # Add a significant safety factor because C++ compilers can tack on massive
6998
 
      # amounts of additional arguments before passing them to the linker.
6999
 
      # It appears as though 1/2 is a usable value.
7000
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7001
 
    fi
7002
 
    ;;
7003
 
  esac
7004
 
 
7005
 
fi
7006
 
 
7007
 
if test -n $lt_cv_sys_max_cmd_len ; then
7008
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7009
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7010
 
else
7011
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7012
 
$as_echo "none" >&6; }
7013
 
fi
7014
 
 
7015
 
 
7016
 
 
7017
 
 
7018
7501
 
7019
7502
# Check for command to grab the raw symbol name followed by C symbol from nm.
7020
7503
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7021
7504
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7022
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
7505
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7023
7506
  $as_echo_n "(cached) " >&6
7024
7507
else
7025
7508
 
7032
7515
# Regexp to match symbols that can be accessed directly from C.
7033
7516
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7034
7517
 
7035
 
# Transform an extracted symbol line into a proper C declaration
7036
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7037
 
 
7038
 
# Transform an extracted symbol line into symbol name and symbol address
7039
 
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'"
7040
 
 
7041
7518
# Define system-specific variables.
7042
7519
case $host_os in
7043
7520
aix*)
7044
7521
  symcode='[BCDT]'
7045
7522
  ;;
7046
 
cygwin* | mingw* | pw32*)
 
7523
cygwin* | mingw* | pw32* | cegcc*)
7047
7524
  symcode='[ABCDGISTW]'
7048
7525
  ;;
7049
 
hpux*) # Its linker distinguishes data from code symbols
 
7526
hpux*)
7050
7527
  if test "$host_cpu" = ia64; then
7051
7528
    symcode='[ABCDEGRST]'
7052
7529
  fi
7053
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7054
 
  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'"
7055
 
  ;;
7056
 
linux* | k*bsd*-gnu)
7057
 
  if test "$host_cpu" = ia64; then
7058
 
    symcode='[ABCDGIRSTW]'
7059
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7060
 
    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'"
7061
 
  fi
7062
7530
  ;;
7063
7531
irix* | nonstopux*)
7064
7532
  symcode='[BCDEGRST]'
7083
7551
  ;;
7084
7552
esac
7085
7553
 
 
7554
# If we're using GNU nm, then use its standard symbol codes.
 
7555
case `$NM -V 2>&1` in
 
7556
*GNU* | *'with BFD'*)
 
7557
  symcode='[ABCDGIRSTW]' ;;
 
7558
esac
 
7559
 
 
7560
# Transform an extracted symbol line into a proper C declaration.
 
7561
# Some systems (esp. on ia64) link data and code symbols differently,
 
7562
# so use this general approach.
 
7563
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
7564
 
 
7565
# Transform an extracted symbol line into symbol name and symbol address
 
7566
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7567
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'"
 
7568
 
7086
7569
# Handle CRLF in mingw tool chain
7087
7570
opt_cr=
7088
7571
case $build_os in
7089
7572
mingw*)
7090
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
7573
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7091
7574
  ;;
7092
7575
esac
7093
7576
 
7094
 
# If we're using GNU nm, then use its standard symbol codes.
7095
 
case `$NM -V 2>&1` in
7096
 
*GNU* | *'with BFD'*)
7097
 
  symcode='[ABCDGIRSTW]' ;;
7098
 
esac
7099
 
 
7100
 
# Try without a prefix undercore, then with it.
 
7577
# Try without a prefix underscore, then with it.
7101
7578
for ac_symprfx in "" "_"; do
7102
7579
 
7103
7580
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7104
7581
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7105
7582
 
7106
7583
  # Write the raw and C identifiers.
7107
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7584
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7585
    # Fake it for dumpbin and say T for any non-static function
 
7586
    # and D for any global variable.
 
7587
    # Also find C++ and __fastcall symbols from MSVC++,
 
7588
    # which start with @ or ?.
 
7589
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
7590
"     {last_section=section; section=\$ 3};"\
 
7591
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
7592
"     \$ 0!~/External *\|/{next};"\
 
7593
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
7594
"     {if(hide[section]) next};"\
 
7595
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
7596
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
7597
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
7598
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
7599
"     ' prfx=^$ac_symprfx"
 
7600
  else
 
7601
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7602
  fi
 
7603
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7108
7604
 
7109
7605
  # Check to see that the pipe works correctly.
7110
7606
  pipe_works=no
7111
7607
 
7112
7608
  rm -f conftest*
7113
 
  cat > conftest.$ac_ext <<EOF
 
7609
  cat > conftest.$ac_ext <<_LT_EOF
7114
7610
#ifdef __cplusplus
7115
7611
extern "C" {
7116
7612
#endif
7117
7613
char nm_test_var;
7118
 
void nm_test_func(){}
 
7614
void nm_test_func(void);
 
7615
void nm_test_func(void){}
7119
7616
#ifdef __cplusplus
7120
7617
}
7121
7618
#endif
7122
7619
int main(){nm_test_var='a';nm_test_func();return(0);}
7123
 
EOF
 
7620
_LT_EOF
7124
7621
 
7125
7622
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7126
7623
  (eval $ac_compile) 2>&5
7129
7626
  test $ac_status = 0; }; then
7130
7627
    # Now try to grab the symbols.
7131
7628
    nlist=conftest.nm
7132
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7133
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
7629
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
7630
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7134
7631
  ac_status=$?
7135
7632
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7136
7633
  test $ac_status = 0; } && test -s "$nlist"; then
7142
7639
      fi
7143
7640
 
7144
7641
      # Make sure that we snagged all the symbols we need.
7145
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
7146
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
7147
 
          cat <<EOF > conftest.$ac_ext
 
7642
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
7643
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
7644
          cat <<_LT_EOF > conftest.$ac_ext
 
7645
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
7646
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
7647
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
7648
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
7649
# define LT_DLSYM_CONST
 
7650
#elif defined(__osf__)
 
7651
/* This system does not cope well with relocations in const data.  */
 
7652
# define LT_DLSYM_CONST
 
7653
#else
 
7654
# define LT_DLSYM_CONST const
 
7655
#endif
 
7656
 
7148
7657
#ifdef __cplusplus
7149
7658
extern "C" {
7150
7659
#endif
7151
7660
 
7152
 
EOF
 
7661
_LT_EOF
7153
7662
          # Now generate the symbol file.
7154
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7155
 
 
7156
 
          cat <<EOF >> conftest.$ac_ext
7157
 
#if defined (__STDC__) && __STDC__
7158
 
# define lt_ptr_t void *
7159
 
#else
7160
 
# define lt_ptr_t char *
7161
 
# define const
7162
 
#endif
7163
 
 
7164
 
/* The mapping between symbol names and symbols. */
7165
 
const struct {
 
7663
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
7664
 
 
7665
          cat <<_LT_EOF >> conftest.$ac_ext
 
7666
 
 
7667
/* The mapping between symbol names and symbols.  */
 
7668
LT_DLSYM_CONST struct {
7166
7669
  const char *name;
7167
 
  lt_ptr_t address;
 
7670
  void       *address;
7168
7671
}
7169
 
lt_preloaded_symbols[] =
 
7672
lt__PROGRAM__LTX_preloaded_symbols[] =
7170
7673
{
7171
 
EOF
7172
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7173
 
          cat <<\EOF >> conftest.$ac_ext
7174
 
  {0, (lt_ptr_t) 0}
 
7674
  { "@PROGRAM@", (void *) 0 },
 
7675
_LT_EOF
 
7676
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
7677
          cat <<\_LT_EOF >> conftest.$ac_ext
 
7678
  {0, (void *) 0}
7175
7679
};
7176
7680
 
 
7681
/* This works around a problem in FreeBSD linker */
 
7682
#ifdef FREEBSD_WORKAROUND
 
7683
static const void *lt_preloaded_setup() {
 
7684
  return lt__PROGRAM__LTX_preloaded_symbols;
 
7685
}
 
7686
#endif
 
7687
 
7177
7688
#ifdef __cplusplus
7178
7689
}
7179
7690
#endif
7180
 
EOF
 
7691
_LT_EOF
7181
7692
          # Now try linking the two files.
7182
7693
          mv conftest.$ac_objext conftstm.$ac_objext
7183
 
          lt_save_LIBS="$LIBS"
7184
 
          lt_save_CFLAGS="$CFLAGS"
 
7694
          lt_globsym_save_LIBS=$LIBS
 
7695
          lt_globsym_save_CFLAGS=$CFLAGS
7185
7696
          LIBS="conftstm.$ac_objext"
7186
7697
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7187
7698
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7191
7702
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7192
7703
            pipe_works=yes
7193
7704
          fi
7194
 
          LIBS="$lt_save_LIBS"
7195
 
          CFLAGS="$lt_save_CFLAGS"
 
7705
          LIBS=$lt_globsym_save_LIBS
 
7706
          CFLAGS=$lt_globsym_save_CFLAGS
7196
7707
        else
7197
7708
          echo "cannot find nm_test_func in $nlist" >&5
7198
7709
        fi
7229
7740
$as_echo "ok" >&6; }
7230
7741
fi
7231
7742
 
7232
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7233
 
$as_echo_n "checking for objdir... " >&6; }
7234
 
if test "${lt_cv_objdir+set}" = set; then :
7235
 
  $as_echo_n "(cached) " >&6
7236
 
else
7237
 
  rm -f .libs 2>/dev/null
7238
 
mkdir .libs 2>/dev/null
7239
 
if test -d .libs; then
7240
 
  lt_cv_objdir=.libs
7241
 
else
7242
 
  # MS-DOS does not allow filenames that begin with a dot.
7243
 
  lt_cv_objdir=_libs
7244
 
fi
7245
 
rmdir .libs 2>/dev/null
7246
 
fi
7247
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7248
 
$as_echo "$lt_cv_objdir" >&6; }
7249
 
objdir=$lt_cv_objdir
7250
 
 
7251
 
 
7252
 
 
7253
 
 
7254
 
 
7255
 
case $host_os in
7256
 
aix3*)
7257
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
7258
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
7259
 
  # vanish in a puff of smoke.
7260
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
7261
 
    COLLECT_NAMES=
7262
 
    export COLLECT_NAMES
7263
 
  fi
7264
 
  ;;
7265
 
esac
7266
 
 
7267
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7268
 
# metacharacters that are still active within double-quoted strings.
7269
 
Xsed='sed -e 1s/^X//'
7270
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7271
 
 
7272
 
# Same as above, but do not quote variable references.
7273
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7274
 
 
7275
 
# Sed substitution to delay expansion of an escaped shell variable in a
7276
 
# double_quote_subst'ed string.
7277
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7278
 
 
7279
 
# Sed substitution to avoid accidental globbing in evaled expressions
7280
 
no_glob_subst='s/\*/\\\*/g'
7281
 
 
7282
 
# Constants:
7283
 
rm="rm -f"
7284
 
 
7285
 
# Global variables:
7286
 
default_ofile=libtool
7287
 
can_build_shared=yes
7288
 
 
7289
 
# All known linkers require a `.a' archive for static linking (except MSVC,
7290
 
# which needs '.lib').
7291
 
libext=a
7292
 
ltmain="$ac_aux_dir/ltmain.sh"
7293
 
ofile="$default_ofile"
7294
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
7295
 
 
7296
 
if test -n "$ac_tool_prefix"; then
7297
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7298
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
7299
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300
 
$as_echo_n "checking for $ac_word... " >&6; }
7301
 
if test "${ac_cv_prog_AR+set}" = set; then :
7302
 
  $as_echo_n "(cached) " >&6
7303
 
else
7304
 
  if test -n "$AR"; then
7305
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
7306
 
else
7307
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308
 
for as_dir in $PATH
7309
 
do
7310
 
  IFS=$as_save_IFS
7311
 
  test -z "$as_dir" && as_dir=.
7312
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7313
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7314
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7315
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7316
 
    break 2
7317
 
  fi
7318
 
done
7319
 
  done
7320
 
IFS=$as_save_IFS
7321
 
 
7322
 
fi
7323
 
fi
7324
 
AR=$ac_cv_prog_AR
7325
 
if test -n "$AR"; then
7326
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7327
 
$as_echo "$AR" >&6; }
7328
 
else
7329
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330
 
$as_echo "no" >&6; }
7331
 
fi
7332
 
 
7333
 
 
7334
 
fi
7335
 
if test -z "$ac_cv_prog_AR"; then
7336
 
  ac_ct_AR=$AR
7337
 
  # Extract the first word of "ar", so it can be a program name with args.
7338
 
set dummy ar; ac_word=$2
7339
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340
 
$as_echo_n "checking for $ac_word... " >&6; }
7341
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7342
 
  $as_echo_n "(cached) " >&6
7343
 
else
7344
 
  if test -n "$ac_ct_AR"; then
7345
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7346
 
else
7347
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348
 
for as_dir in $PATH
7349
 
do
7350
 
  IFS=$as_save_IFS
7351
 
  test -z "$as_dir" && as_dir=.
7352
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7353
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7354
 
    ac_cv_prog_ac_ct_AR="ar"
7355
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7356
 
    break 2
7357
 
  fi
7358
 
done
7359
 
  done
7360
 
IFS=$as_save_IFS
7361
 
 
7362
 
fi
7363
 
fi
7364
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7365
 
if test -n "$ac_ct_AR"; then
7366
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7367
 
$as_echo "$ac_ct_AR" >&6; }
7368
 
else
7369
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7370
 
$as_echo "no" >&6; }
7371
 
fi
7372
 
 
7373
 
  if test "x$ac_ct_AR" = x; then
7374
 
    AR="false"
7375
 
  else
7376
 
    case $cross_compiling:$ac_tool_warned in
7377
 
yes:)
7378
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7379
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7380
 
ac_tool_warned=yes ;;
7381
 
esac
7382
 
    AR=$ac_ct_AR
7383
 
  fi
7384
 
else
7385
 
  AR="$ac_cv_prog_AR"
7386
 
fi
7387
 
 
7388
 
if test -n "$ac_tool_prefix"; then
7389
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7390
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7391
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392
 
$as_echo_n "checking for $ac_word... " >&6; }
7393
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
7394
 
  $as_echo_n "(cached) " >&6
7395
 
else
7396
 
  if test -n "$RANLIB"; then
7397
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7398
 
else
7399
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400
 
for as_dir in $PATH
7401
 
do
7402
 
  IFS=$as_save_IFS
7403
 
  test -z "$as_dir" && as_dir=.
7404
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7405
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7406
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7407
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7408
 
    break 2
7409
 
  fi
7410
 
done
7411
 
  done
7412
 
IFS=$as_save_IFS
7413
 
 
7414
 
fi
7415
 
fi
7416
 
RANLIB=$ac_cv_prog_RANLIB
7417
 
if test -n "$RANLIB"; then
7418
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7419
 
$as_echo "$RANLIB" >&6; }
7420
 
else
7421
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422
 
$as_echo "no" >&6; }
7423
 
fi
7424
 
 
7425
 
 
7426
 
fi
7427
 
if test -z "$ac_cv_prog_RANLIB"; then
7428
 
  ac_ct_RANLIB=$RANLIB
7429
 
  # Extract the first word of "ranlib", so it can be a program name with args.
7430
 
set dummy ranlib; ac_word=$2
7431
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7432
 
$as_echo_n "checking for $ac_word... " >&6; }
7433
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7434
 
  $as_echo_n "(cached) " >&6
7435
 
else
7436
 
  if test -n "$ac_ct_RANLIB"; then
7437
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7438
 
else
7439
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7440
 
for as_dir in $PATH
7441
 
do
7442
 
  IFS=$as_save_IFS
7443
 
  test -z "$as_dir" && as_dir=.
7444
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7445
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7446
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7447
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7448
 
    break 2
7449
 
  fi
7450
 
done
7451
 
  done
7452
 
IFS=$as_save_IFS
7453
 
 
7454
 
fi
7455
 
fi
7456
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7457
 
if test -n "$ac_ct_RANLIB"; then
7458
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7459
 
$as_echo "$ac_ct_RANLIB" >&6; }
7460
 
else
7461
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7462
 
$as_echo "no" >&6; }
7463
 
fi
7464
 
 
7465
 
  if test "x$ac_ct_RANLIB" = x; then
7466
 
    RANLIB=":"
7467
 
  else
7468
 
    case $cross_compiling:$ac_tool_warned in
7469
 
yes:)
7470
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7471
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7472
 
ac_tool_warned=yes ;;
7473
 
esac
7474
 
    RANLIB=$ac_ct_RANLIB
7475
 
  fi
7476
 
else
7477
 
  RANLIB="$ac_cv_prog_RANLIB"
7478
 
fi
7479
 
 
7480
 
if test -n "$ac_tool_prefix"; then
7481
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7482
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
7483
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7484
 
$as_echo_n "checking for $ac_word... " >&6; }
7485
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
7486
 
  $as_echo_n "(cached) " >&6
7487
 
else
7488
 
  if test -n "$STRIP"; then
7489
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7490
 
else
7491
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7492
 
for as_dir in $PATH
7493
 
do
7494
 
  IFS=$as_save_IFS
7495
 
  test -z "$as_dir" && as_dir=.
7496
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7497
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7498
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7499
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7500
 
    break 2
7501
 
  fi
7502
 
done
7503
 
  done
7504
 
IFS=$as_save_IFS
7505
 
 
7506
 
fi
7507
 
fi
7508
 
STRIP=$ac_cv_prog_STRIP
7509
 
if test -n "$STRIP"; then
7510
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7511
 
$as_echo "$STRIP" >&6; }
7512
 
else
7513
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514
 
$as_echo "no" >&6; }
7515
 
fi
7516
 
 
7517
 
 
7518
 
fi
7519
 
if test -z "$ac_cv_prog_STRIP"; then
7520
 
  ac_ct_STRIP=$STRIP
7521
 
  # Extract the first word of "strip", so it can be a program name with args.
7522
 
set dummy strip; ac_word=$2
7523
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7524
 
$as_echo_n "checking for $ac_word... " >&6; }
7525
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7526
 
  $as_echo_n "(cached) " >&6
7527
 
else
7528
 
  if test -n "$ac_ct_STRIP"; then
7529
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7530
 
else
7531
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7532
 
for as_dir in $PATH
7533
 
do
7534
 
  IFS=$as_save_IFS
7535
 
  test -z "$as_dir" && as_dir=.
7536
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7537
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7538
 
    ac_cv_prog_ac_ct_STRIP="strip"
7539
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7540
 
    break 2
7541
 
  fi
7542
 
done
7543
 
  done
7544
 
IFS=$as_save_IFS
7545
 
 
7546
 
fi
7547
 
fi
7548
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7549
 
if test -n "$ac_ct_STRIP"; then
7550
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7551
 
$as_echo "$ac_ct_STRIP" >&6; }
7552
 
else
7553
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7554
 
$as_echo "no" >&6; }
7555
 
fi
7556
 
 
7557
 
  if test "x$ac_ct_STRIP" = x; then
7558
 
    STRIP=":"
7559
 
  else
7560
 
    case $cross_compiling:$ac_tool_warned in
7561
 
yes:)
7562
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7563
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7564
 
ac_tool_warned=yes ;;
7565
 
esac
7566
 
    STRIP=$ac_ct_STRIP
7567
 
  fi
7568
 
else
7569
 
  STRIP="$ac_cv_prog_STRIP"
7570
 
fi
7571
 
 
7572
 
 
7573
 
old_CC="$CC"
7574
 
old_CFLAGS="$CFLAGS"
7575
 
 
7576
 
# Set sane defaults for various variables
7577
 
test -z "$AR" && AR=ar
7578
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7579
 
test -z "$AS" && AS=as
7580
 
test -z "$CC" && CC=cc
7581
 
test -z "$LTCC" && LTCC=$CC
7582
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7583
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
7584
 
test -z "$LD" && LD=ld
7585
 
test -z "$LN_S" && LN_S="ln -s"
7586
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7587
 
test -z "$NM" && NM=nm
7588
 
test -z "$SED" && SED=sed
7589
 
test -z "$OBJDUMP" && OBJDUMP=objdump
7590
 
test -z "$RANLIB" && RANLIB=:
7591
 
test -z "$STRIP" && STRIP=:
7592
 
test -z "$ac_objext" && ac_objext=o
7593
 
 
7594
 
# Determine commands to create old-style static archives.
7595
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7596
 
old_postinstall_cmds='chmod 644 $oldlib'
7597
 
old_postuninstall_cmds=
7598
 
 
7599
 
if test -n "$RANLIB"; then
7600
 
  case $host_os in
7601
 
  openbsd*)
7602
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7603
 
    ;;
7604
 
  *)
7605
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7606
 
    ;;
7607
 
  esac
7608
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7609
 
fi
7610
 
 
7611
 
for cc_temp in $compiler""; do
7612
 
  case $cc_temp in
7613
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7614
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7615
 
    \-*) ;;
7616
 
    *) break;;
7617
 
  esac
7618
 
done
7619
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7620
 
 
7621
 
 
7622
 
# Only perform the check for file, if the check method requires it
7623
 
case $deplibs_check_method in
7624
 
file_magic*)
7625
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7626
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7627
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7628
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7629
 
  $as_echo_n "(cached) " >&6
7630
 
else
7631
 
  case $MAGIC_CMD in
7632
 
[\\/*] |  ?:[\\/]*)
7633
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7634
 
  ;;
7635
 
*)
7636
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7637
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7638
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7639
 
  for ac_dir in $ac_dummy; do
7640
 
    IFS="$lt_save_ifs"
7641
 
    test -z "$ac_dir" && ac_dir=.
7642
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
7643
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7644
 
      if test -n "$file_magic_test_file"; then
7645
 
        case $deplibs_check_method in
7646
 
        "file_magic "*)
7647
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7648
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7649
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7650
 
            $EGREP "$file_magic_regex" > /dev/null; then
7651
 
            :
7652
 
          else
7653
 
            cat <<EOF 1>&2
7654
 
 
7655
 
*** Warning: the command libtool uses to detect shared libraries,
7656
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7657
 
*** The result is that libtool may fail to recognize shared libraries
7658
 
*** as such.  This will affect the creation of libtool libraries that
7659
 
*** depend on shared libraries, but programs linked with such libtool
7660
 
*** libraries will work regardless of this problem.  Nevertheless, you
7661
 
*** may want to report the problem to your system manager and/or to
7662
 
*** bug-libtool@gnu.org
7663
 
 
7664
 
EOF
7665
 
          fi ;;
7666
 
        esac
7667
 
      fi
7668
 
      break
7669
 
    fi
7670
 
  done
7671
 
  IFS="$lt_save_ifs"
7672
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7673
 
  ;;
7674
 
esac
7675
 
fi
7676
 
 
7677
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7678
 
if test -n "$MAGIC_CMD"; then
7679
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7680
 
$as_echo "$MAGIC_CMD" >&6; }
7681
 
else
7682
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7683
 
$as_echo "no" >&6; }
7684
 
fi
7685
 
 
7686
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
7687
 
  if test -n "$ac_tool_prefix"; then
7688
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7689
 
$as_echo_n "checking for file... " >&6; }
7690
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7691
 
  $as_echo_n "(cached) " >&6
7692
 
else
7693
 
  case $MAGIC_CMD in
7694
 
[\\/*] |  ?:[\\/]*)
7695
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7696
 
  ;;
7697
 
*)
7698
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7699
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7700
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7701
 
  for ac_dir in $ac_dummy; do
7702
 
    IFS="$lt_save_ifs"
7703
 
    test -z "$ac_dir" && ac_dir=.
7704
 
    if test -f $ac_dir/file; then
7705
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7706
 
      if test -n "$file_magic_test_file"; then
7707
 
        case $deplibs_check_method in
7708
 
        "file_magic "*)
7709
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7710
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7711
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7712
 
            $EGREP "$file_magic_regex" > /dev/null; then
7713
 
            :
7714
 
          else
7715
 
            cat <<EOF 1>&2
7716
 
 
7717
 
*** Warning: the command libtool uses to detect shared libraries,
7718
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7719
 
*** The result is that libtool may fail to recognize shared libraries
7720
 
*** as such.  This will affect the creation of libtool libraries that
7721
 
*** depend on shared libraries, but programs linked with such libtool
7722
 
*** libraries will work regardless of this problem.  Nevertheless, you
7723
 
*** may want to report the problem to your system manager and/or to
7724
 
*** bug-libtool@gnu.org
7725
 
 
7726
 
EOF
7727
 
          fi ;;
7728
 
        esac
7729
 
      fi
7730
 
      break
7731
 
    fi
7732
 
  done
7733
 
  IFS="$lt_save_ifs"
7734
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7735
 
  ;;
7736
 
esac
7737
 
fi
7738
 
 
7739
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7740
 
if test -n "$MAGIC_CMD"; then
7741
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7742
 
$as_echo "$MAGIC_CMD" >&6; }
7743
 
else
7744
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7745
 
$as_echo "no" >&6; }
7746
 
fi
7747
 
 
7748
 
  else
7749
 
    MAGIC_CMD=:
7750
 
  fi
7751
 
fi
7752
 
 
7753
 
  fi
7754
 
  ;;
7755
 
esac
 
7743
# Response file support.
 
7744
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7745
  nm_file_list_spec='@'
 
7746
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
7747
  nm_file_list_spec='@'
 
7748
fi
 
7749
 
 
7750
 
 
7751
 
 
7752
 
 
7753
 
 
7754
 
 
7755
 
 
7756
 
 
7757
 
 
7758
 
 
7759
 
 
7760
 
 
7761
 
 
7762
 
 
7763
 
 
7764
 
 
7765
 
 
7766
 
 
7767
 
 
7768
 
 
7769
 
 
7770
 
 
7771
 
 
7772
 
 
7773
 
 
7774
 
 
7775
 
 
7776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
7777
$as_echo_n "checking for sysroot... " >&6; }
 
7778
 
 
7779
# Check whether --with-sysroot was given.
 
7780
if test "${with_sysroot+set}" = set; then :
 
7781
  withval=$with_sysroot;
 
7782
else
 
7783
  with_sysroot=no
 
7784
fi
 
7785
 
 
7786
 
 
7787
lt_sysroot=
 
7788
case ${with_sysroot} in #(
 
7789
 yes)
 
7790
   if test "$GCC" = yes; then
 
7791
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
7792
   fi
 
7793
   ;; #(
 
7794
 /*)
 
7795
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
7796
   ;; #(
 
7797
 no|'')
 
7798
   ;; #(
 
7799
 *)
 
7800
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
7801
$as_echo "${with_sysroot}" >&6; }
 
7802
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
7803
   ;;
 
7804
esac
 
7805
 
 
7806
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
7807
$as_echo "${lt_sysroot:-no}" >&6; }
 
7808
 
 
7809
 
 
7810
 
 
7811
 
 
7812
 
 
7813
# Check whether --enable-libtool-lock was given.
 
7814
if test "${enable_libtool_lock+set}" = set; then :
 
7815
  enableval=$enable_libtool_lock;
 
7816
fi
 
7817
 
 
7818
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
7819
 
 
7820
# Some flags need to be propagated to the compiler or linker for good
 
7821
# libtool support.
 
7822
case $host in
 
7823
ia64-*-hpux*)
 
7824
  # Find out which ABI we are using.
 
7825
  echo 'int i;' > conftest.$ac_ext
 
7826
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7827
  (eval $ac_compile) 2>&5
 
7828
  ac_status=$?
 
7829
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7830
  test $ac_status = 0; }; then
 
7831
    case `/usr/bin/file conftest.$ac_objext` in
 
7832
      *ELF-32*)
 
7833
        HPUX_IA64_MODE="32"
 
7834
        ;;
 
7835
      *ELF-64*)
 
7836
        HPUX_IA64_MODE="64"
 
7837
        ;;
 
7838
    esac
 
7839
  fi
 
7840
  rm -rf conftest*
 
7841
  ;;
 
7842
*-*-irix6*)
 
7843
  # Find out which ABI we are using.
 
7844
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
7845
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7846
  (eval $ac_compile) 2>&5
 
7847
  ac_status=$?
 
7848
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7849
  test $ac_status = 0; }; then
 
7850
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
7851
      case `/usr/bin/file conftest.$ac_objext` in
 
7852
        *32-bit*)
 
7853
          LD="${LD-ld} -melf32bsmip"
 
7854
          ;;
 
7855
        *N32*)
 
7856
          LD="${LD-ld} -melf32bmipn32"
 
7857
          ;;
 
7858
        *64-bit*)
 
7859
          LD="${LD-ld} -melf64bmip"
 
7860
        ;;
 
7861
      esac
 
7862
    else
 
7863
      case `/usr/bin/file conftest.$ac_objext` in
 
7864
        *32-bit*)
 
7865
          LD="${LD-ld} -32"
 
7866
          ;;
 
7867
        *N32*)
 
7868
          LD="${LD-ld} -n32"
 
7869
          ;;
 
7870
        *64-bit*)
 
7871
          LD="${LD-ld} -64"
 
7872
          ;;
 
7873
      esac
 
7874
    fi
 
7875
  fi
 
7876
  rm -rf conftest*
 
7877
  ;;
 
7878
 
 
7879
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
7880
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
7881
  # Find out which ABI we are using.
 
7882
  echo 'int i;' > conftest.$ac_ext
 
7883
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7884
  (eval $ac_compile) 2>&5
 
7885
  ac_status=$?
 
7886
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7887
  test $ac_status = 0; }; then
 
7888
    case `/usr/bin/file conftest.o` in
 
7889
      *32-bit*)
 
7890
        case $host in
 
7891
          x86_64-*kfreebsd*-gnu)
 
7892
            LD="${LD-ld} -m elf_i386_fbsd"
 
7893
            ;;
 
7894
          x86_64-*linux*)
 
7895
            LD="${LD-ld} -m elf_i386"
 
7896
            ;;
 
7897
          ppc64-*linux*|powerpc64-*linux*)
 
7898
            LD="${LD-ld} -m elf32ppclinux"
 
7899
            ;;
 
7900
          s390x-*linux*)
 
7901
            LD="${LD-ld} -m elf_s390"
 
7902
            ;;
 
7903
          sparc64-*linux*)
 
7904
            LD="${LD-ld} -m elf32_sparc"
 
7905
            ;;
 
7906
        esac
 
7907
        ;;
 
7908
      *64-bit*)
 
7909
        case $host in
 
7910
          x86_64-*kfreebsd*-gnu)
 
7911
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
7912
            ;;
 
7913
          x86_64-*linux*)
 
7914
            LD="${LD-ld} -m elf_x86_64"
 
7915
            ;;
 
7916
          ppc*-*linux*|powerpc*-*linux*)
 
7917
            LD="${LD-ld} -m elf64ppc"
 
7918
            ;;
 
7919
          s390*-*linux*|s390*-*tpf*)
 
7920
            LD="${LD-ld} -m elf64_s390"
 
7921
            ;;
 
7922
          sparc*-*linux*)
 
7923
            LD="${LD-ld} -m elf64_sparc"
 
7924
            ;;
 
7925
        esac
 
7926
        ;;
 
7927
    esac
 
7928
  fi
 
7929
  rm -rf conftest*
 
7930
  ;;
 
7931
 
 
7932
*-*-sco3.2v5*)
 
7933
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
7934
  SAVE_CFLAGS="$CFLAGS"
 
7935
  CFLAGS="$CFLAGS -belf"
 
7936
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
7937
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
7938
if ${lt_cv_cc_needs_belf+:} false; then :
 
7939
  $as_echo_n "(cached) " >&6
 
7940
else
 
7941
  ac_ext=c
 
7942
ac_cpp='$CPP $CPPFLAGS'
 
7943
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7944
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7945
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7946
 
 
7947
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7948
/* end confdefs.h.  */
 
7949
 
 
7950
int
 
7951
main ()
 
7952
{
 
7953
 
 
7954
  ;
 
7955
  return 0;
 
7956
}
 
7957
_ACEOF
 
7958
if ac_fn_c_try_link "$LINENO"; then :
 
7959
  lt_cv_cc_needs_belf=yes
 
7960
else
 
7961
  lt_cv_cc_needs_belf=no
 
7962
fi
 
7963
rm -f core conftest.err conftest.$ac_objext \
 
7964
    conftest$ac_exeext conftest.$ac_ext
 
7965
     ac_ext=c
 
7966
ac_cpp='$CPP $CPPFLAGS'
 
7967
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7968
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7969
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7970
 
 
7971
fi
 
7972
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
7973
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
7974
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
7975
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
7976
    CFLAGS="$SAVE_CFLAGS"
 
7977
  fi
 
7978
  ;;
 
7979
sparc*-*solaris*)
 
7980
  # Find out which ABI we are using.
 
7981
  echo 'int i;' > conftest.$ac_ext
 
7982
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7983
  (eval $ac_compile) 2>&5
 
7984
  ac_status=$?
 
7985
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7986
  test $ac_status = 0; }; then
 
7987
    case `/usr/bin/file conftest.o` in
 
7988
    *64-bit*)
 
7989
      case $lt_cv_prog_gnu_ld in
 
7990
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
7991
      *)
 
7992
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
7993
          LD="${LD-ld} -64"
 
7994
        fi
 
7995
        ;;
 
7996
      esac
 
7997
      ;;
 
7998
    esac
 
7999
  fi
 
8000
  rm -rf conftest*
 
8001
  ;;
 
8002
esac
 
8003
 
 
8004
need_locks="$enable_libtool_lock"
 
8005
 
 
8006
if test -n "$ac_tool_prefix"; then
 
8007
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
8008
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
8009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8010
$as_echo_n "checking for $ac_word... " >&6; }
 
8011
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
8012
  $as_echo_n "(cached) " >&6
 
8013
else
 
8014
  if test -n "$MANIFEST_TOOL"; then
 
8015
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
8016
else
 
8017
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8018
for as_dir in $PATH
 
8019
do
 
8020
  IFS=$as_save_IFS
 
8021
  test -z "$as_dir" && as_dir=.
 
8022
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8023
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8024
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
8025
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8026
    break 2
 
8027
  fi
 
8028
done
 
8029
  done
 
8030
IFS=$as_save_IFS
 
8031
 
 
8032
fi
 
8033
fi
 
8034
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
8035
if test -n "$MANIFEST_TOOL"; then
 
8036
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
8037
$as_echo "$MANIFEST_TOOL" >&6; }
 
8038
else
 
8039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8040
$as_echo "no" >&6; }
 
8041
fi
 
8042
 
 
8043
 
 
8044
fi
 
8045
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
8046
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
8047
  # Extract the first word of "mt", so it can be a program name with args.
 
8048
set dummy mt; ac_word=$2
 
8049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8050
$as_echo_n "checking for $ac_word... " >&6; }
 
8051
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
8052
  $as_echo_n "(cached) " >&6
 
8053
else
 
8054
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8055
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
8056
else
 
8057
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8058
for as_dir in $PATH
 
8059
do
 
8060
  IFS=$as_save_IFS
 
8061
  test -z "$as_dir" && as_dir=.
 
8062
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8063
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8064
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
8065
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8066
    break 2
 
8067
  fi
 
8068
done
 
8069
  done
 
8070
IFS=$as_save_IFS
 
8071
 
 
8072
fi
 
8073
fi
 
8074
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
8075
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8076
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
8077
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
8078
else
 
8079
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8080
$as_echo "no" >&6; }
 
8081
fi
 
8082
 
 
8083
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
8084
    MANIFEST_TOOL=":"
 
8085
  else
 
8086
    case $cross_compiling:$ac_tool_warned in
 
8087
yes:)
 
8088
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8089
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8090
ac_tool_warned=yes ;;
 
8091
esac
 
8092
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
8093
  fi
 
8094
else
 
8095
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
8096
fi
 
8097
 
 
8098
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
8099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
8100
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
8101
if ${lt_cv_path_mainfest_tool+:} false; then :
 
8102
  $as_echo_n "(cached) " >&6
 
8103
else
 
8104
  lt_cv_path_mainfest_tool=no
 
8105
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
8106
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
8107
  cat conftest.err >&5
 
8108
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
8109
    lt_cv_path_mainfest_tool=yes
 
8110
  fi
 
8111
  rm -f conftest*
 
8112
fi
 
8113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
8114
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
8115
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
8116
  MANIFEST_TOOL=:
 
8117
fi
 
8118
 
 
8119
 
 
8120
 
 
8121
 
7756
8122
 
7757
8123
 
7758
8124
  case $host_os in
7762
8128
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7763
8129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7764
8130
$as_echo_n "checking for $ac_word... " >&6; }
7765
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
8131
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7766
8132
  $as_echo_n "(cached) " >&6
7767
8133
else
7768
8134
  if test -n "$DSYMUTIL"; then
7802
8168
set dummy dsymutil; ac_word=$2
7803
8169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7804
8170
$as_echo_n "checking for $ac_word... " >&6; }
7805
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
8171
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7806
8172
  $as_echo_n "(cached) " >&6
7807
8173
else
7808
8174
  if test -n "$ac_ct_DSYMUTIL"; then
7854
8220
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7855
8221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7856
8222
$as_echo_n "checking for $ac_word... " >&6; }
7857
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
8223
if ${ac_cv_prog_NMEDIT+:} false; then :
7858
8224
  $as_echo_n "(cached) " >&6
7859
8225
else
7860
8226
  if test -n "$NMEDIT"; then
7894
8260
set dummy nmedit; ac_word=$2
7895
8261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7896
8262
$as_echo_n "checking for $ac_word... " >&6; }
7897
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
8263
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7898
8264
  $as_echo_n "(cached) " >&6
7899
8265
else
7900
8266
  if test -n "$ac_ct_NMEDIT"; then
7941
8307
  NMEDIT="$ac_cv_prog_NMEDIT"
7942
8308
fi
7943
8309
 
 
8310
    if test -n "$ac_tool_prefix"; then
 
8311
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
8312
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
8313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8314
$as_echo_n "checking for $ac_word... " >&6; }
 
8315
if ${ac_cv_prog_LIPO+:} false; then :
 
8316
  $as_echo_n "(cached) " >&6
 
8317
else
 
8318
  if test -n "$LIPO"; then
 
8319
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
8320
else
 
8321
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8322
for as_dir in $PATH
 
8323
do
 
8324
  IFS=$as_save_IFS
 
8325
  test -z "$as_dir" && as_dir=.
 
8326
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8327
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8328
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
8329
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8330
    break 2
 
8331
  fi
 
8332
done
 
8333
  done
 
8334
IFS=$as_save_IFS
 
8335
 
 
8336
fi
 
8337
fi
 
8338
LIPO=$ac_cv_prog_LIPO
 
8339
if test -n "$LIPO"; then
 
8340
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
8341
$as_echo "$LIPO" >&6; }
 
8342
else
 
8343
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8344
$as_echo "no" >&6; }
 
8345
fi
 
8346
 
 
8347
 
 
8348
fi
 
8349
if test -z "$ac_cv_prog_LIPO"; then
 
8350
  ac_ct_LIPO=$LIPO
 
8351
  # Extract the first word of "lipo", so it can be a program name with args.
 
8352
set dummy lipo; ac_word=$2
 
8353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8354
$as_echo_n "checking for $ac_word... " >&6; }
 
8355
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
8356
  $as_echo_n "(cached) " >&6
 
8357
else
 
8358
  if test -n "$ac_ct_LIPO"; then
 
8359
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
8360
else
 
8361
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8362
for as_dir in $PATH
 
8363
do
 
8364
  IFS=$as_save_IFS
 
8365
  test -z "$as_dir" && as_dir=.
 
8366
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8367
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8368
    ac_cv_prog_ac_ct_LIPO="lipo"
 
8369
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8370
    break 2
 
8371
  fi
 
8372
done
 
8373
  done
 
8374
IFS=$as_save_IFS
 
8375
 
 
8376
fi
 
8377
fi
 
8378
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
8379
if test -n "$ac_ct_LIPO"; then
 
8380
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
8381
$as_echo "$ac_ct_LIPO" >&6; }
 
8382
else
 
8383
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8384
$as_echo "no" >&6; }
 
8385
fi
 
8386
 
 
8387
  if test "x$ac_ct_LIPO" = x; then
 
8388
    LIPO=":"
 
8389
  else
 
8390
    case $cross_compiling:$ac_tool_warned in
 
8391
yes:)
 
8392
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8393
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8394
ac_tool_warned=yes ;;
 
8395
esac
 
8396
    LIPO=$ac_ct_LIPO
 
8397
  fi
 
8398
else
 
8399
  LIPO="$ac_cv_prog_LIPO"
 
8400
fi
 
8401
 
 
8402
    if test -n "$ac_tool_prefix"; then
 
8403
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
8404
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
8405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8406
$as_echo_n "checking for $ac_word... " >&6; }
 
8407
if ${ac_cv_prog_OTOOL+:} false; then :
 
8408
  $as_echo_n "(cached) " >&6
 
8409
else
 
8410
  if test -n "$OTOOL"; then
 
8411
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
8412
else
 
8413
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8414
for as_dir in $PATH
 
8415
do
 
8416
  IFS=$as_save_IFS
 
8417
  test -z "$as_dir" && as_dir=.
 
8418
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8419
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8420
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
8421
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8422
    break 2
 
8423
  fi
 
8424
done
 
8425
  done
 
8426
IFS=$as_save_IFS
 
8427
 
 
8428
fi
 
8429
fi
 
8430
OTOOL=$ac_cv_prog_OTOOL
 
8431
if test -n "$OTOOL"; then
 
8432
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
8433
$as_echo "$OTOOL" >&6; }
 
8434
else
 
8435
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8436
$as_echo "no" >&6; }
 
8437
fi
 
8438
 
 
8439
 
 
8440
fi
 
8441
if test -z "$ac_cv_prog_OTOOL"; then
 
8442
  ac_ct_OTOOL=$OTOOL
 
8443
  # Extract the first word of "otool", so it can be a program name with args.
 
8444
set dummy otool; ac_word=$2
 
8445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8446
$as_echo_n "checking for $ac_word... " >&6; }
 
8447
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
8448
  $as_echo_n "(cached) " >&6
 
8449
else
 
8450
  if test -n "$ac_ct_OTOOL"; then
 
8451
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
8452
else
 
8453
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8454
for as_dir in $PATH
 
8455
do
 
8456
  IFS=$as_save_IFS
 
8457
  test -z "$as_dir" && as_dir=.
 
8458
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8459
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8460
    ac_cv_prog_ac_ct_OTOOL="otool"
 
8461
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8462
    break 2
 
8463
  fi
 
8464
done
 
8465
  done
 
8466
IFS=$as_save_IFS
 
8467
 
 
8468
fi
 
8469
fi
 
8470
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
8471
if test -n "$ac_ct_OTOOL"; then
 
8472
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
8473
$as_echo "$ac_ct_OTOOL" >&6; }
 
8474
else
 
8475
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8476
$as_echo "no" >&6; }
 
8477
fi
 
8478
 
 
8479
  if test "x$ac_ct_OTOOL" = x; then
 
8480
    OTOOL=":"
 
8481
  else
 
8482
    case $cross_compiling:$ac_tool_warned in
 
8483
yes:)
 
8484
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8485
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8486
ac_tool_warned=yes ;;
 
8487
esac
 
8488
    OTOOL=$ac_ct_OTOOL
 
8489
  fi
 
8490
else
 
8491
  OTOOL="$ac_cv_prog_OTOOL"
 
8492
fi
 
8493
 
 
8494
    if test -n "$ac_tool_prefix"; then
 
8495
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
8496
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
8497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8498
$as_echo_n "checking for $ac_word... " >&6; }
 
8499
if ${ac_cv_prog_OTOOL64+:} false; then :
 
8500
  $as_echo_n "(cached) " >&6
 
8501
else
 
8502
  if test -n "$OTOOL64"; then
 
8503
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
8504
else
 
8505
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8506
for as_dir in $PATH
 
8507
do
 
8508
  IFS=$as_save_IFS
 
8509
  test -z "$as_dir" && as_dir=.
 
8510
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8511
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8512
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
8513
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8514
    break 2
 
8515
  fi
 
8516
done
 
8517
  done
 
8518
IFS=$as_save_IFS
 
8519
 
 
8520
fi
 
8521
fi
 
8522
OTOOL64=$ac_cv_prog_OTOOL64
 
8523
if test -n "$OTOOL64"; then
 
8524
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
8525
$as_echo "$OTOOL64" >&6; }
 
8526
else
 
8527
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8528
$as_echo "no" >&6; }
 
8529
fi
 
8530
 
 
8531
 
 
8532
fi
 
8533
if test -z "$ac_cv_prog_OTOOL64"; then
 
8534
  ac_ct_OTOOL64=$OTOOL64
 
8535
  # Extract the first word of "otool64", so it can be a program name with args.
 
8536
set dummy otool64; ac_word=$2
 
8537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8538
$as_echo_n "checking for $ac_word... " >&6; }
 
8539
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
8540
  $as_echo_n "(cached) " >&6
 
8541
else
 
8542
  if test -n "$ac_ct_OTOOL64"; then
 
8543
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
8544
else
 
8545
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8546
for as_dir in $PATH
 
8547
do
 
8548
  IFS=$as_save_IFS
 
8549
  test -z "$as_dir" && as_dir=.
 
8550
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8551
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8552
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
8553
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8554
    break 2
 
8555
  fi
 
8556
done
 
8557
  done
 
8558
IFS=$as_save_IFS
 
8559
 
 
8560
fi
 
8561
fi
 
8562
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
8563
if test -n "$ac_ct_OTOOL64"; then
 
8564
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
8565
$as_echo "$ac_ct_OTOOL64" >&6; }
 
8566
else
 
8567
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8568
$as_echo "no" >&6; }
 
8569
fi
 
8570
 
 
8571
  if test "x$ac_ct_OTOOL64" = x; then
 
8572
    OTOOL64=":"
 
8573
  else
 
8574
    case $cross_compiling:$ac_tool_warned in
 
8575
yes:)
 
8576
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8577
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8578
ac_tool_warned=yes ;;
 
8579
esac
 
8580
    OTOOL64=$ac_ct_OTOOL64
 
8581
  fi
 
8582
else
 
8583
  OTOOL64="$ac_cv_prog_OTOOL64"
 
8584
fi
 
8585
 
 
8586
 
 
8587
 
 
8588
 
 
8589
 
 
8590
 
 
8591
 
 
8592
 
 
8593
 
 
8594
 
 
8595
 
 
8596
 
 
8597
 
 
8598
 
 
8599
 
 
8600
 
 
8601
 
 
8602
 
 
8603
 
 
8604
 
 
8605
 
 
8606
 
 
8607
 
 
8608
 
 
8609
 
 
8610
 
7944
8611
 
7945
8612
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7946
8613
$as_echo_n "checking for -single_module linker flag... " >&6; }
7947
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
8614
if ${lt_cv_apple_cc_single_mod+:} false; then :
7948
8615
  $as_echo_n "(cached) " >&6
7949
8616
else
7950
8617
  lt_cv_apple_cc_single_mod=no
7951
8618
      if test -z "${LT_MULTI_MODULE}"; then
7952
 
   # By default we will add the -single_module flag. You can override
7953
 
   # by either setting the environment variable LT_MULTI_MODULE
7954
 
   # non-empty at configure time, or by adding -multi_module to the
7955
 
   # link flags.
7956
 
   echo "int foo(void){return 1;}" > conftest.c
7957
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7958
 
     -dynamiclib ${wl}-single_module conftest.c
7959
 
   if test -f libconftest.dylib; then
7960
 
     lt_cv_apple_cc_single_mod=yes
7961
 
     rm -rf libconftest.dylib*
7962
 
   fi
7963
 
   rm conftest.c
 
8619
        # By default we will add the -single_module flag. You can override
 
8620
        # by either setting the environment variable LT_MULTI_MODULE
 
8621
        # non-empty at configure time, or by adding -multi_module to the
 
8622
        # link flags.
 
8623
        rm -rf libconftest.dylib*
 
8624
        echo "int foo(void){return 1;}" > conftest.c
 
8625
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8626
-dynamiclib -Wl,-single_module conftest.c" >&5
 
8627
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8628
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
8629
        _lt_result=$?
 
8630
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
8631
          lt_cv_apple_cc_single_mod=yes
 
8632
        else
 
8633
          cat conftest.err >&5
 
8634
        fi
 
8635
        rm -rf libconftest.dylib*
 
8636
        rm -f conftest.*
7964
8637
      fi
7965
8638
fi
7966
8639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7967
8640
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7968
8641
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7969
8642
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7970
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
8643
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7971
8644
  $as_echo_n "(cached) " >&6
7972
8645
else
7973
8646
  lt_cv_ld_exported_symbols_list=no
7992
8665
fi
7993
8666
rm -f core conftest.err conftest.$ac_objext \
7994
8667
    conftest$ac_exeext conftest.$ac_ext
7995
 
   LDFLAGS="$save_LDFLAGS"
 
8668
        LDFLAGS="$save_LDFLAGS"
7996
8669
 
7997
8670
fi
7998
8671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7999
8672
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
8673
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
8674
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
8675
if ${lt_cv_ld_force_load+:} false; then :
 
8676
  $as_echo_n "(cached) " >&6
 
8677
else
 
8678
  lt_cv_ld_force_load=no
 
8679
      cat > conftest.c << _LT_EOF
 
8680
int forced_loaded() { return 2;}
 
8681
_LT_EOF
 
8682
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
8683
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
8684
      echo "$AR cru libconftest.a conftest.o" >&5
 
8685
      $AR cru libconftest.a conftest.o 2>&5
 
8686
      echo "$RANLIB libconftest.a" >&5
 
8687
      $RANLIB libconftest.a 2>&5
 
8688
      cat > conftest.c << _LT_EOF
 
8689
int main() { return 0;}
 
8690
_LT_EOF
 
8691
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
8692
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
8693
      _lt_result=$?
 
8694
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
8695
        lt_cv_ld_force_load=yes
 
8696
      else
 
8697
        cat conftest.err >&5
 
8698
      fi
 
8699
        rm -f conftest.err libconftest.a conftest conftest.c
 
8700
        rm -rf conftest.dSYM
 
8701
 
 
8702
fi
 
8703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
8704
$as_echo "$lt_cv_ld_force_load" >&6; }
8000
8705
    case $host_os in
8001
 
    rhapsody* | darwin1.[0123])
 
8706
    rhapsody* | darwin1.[012])
8002
8707
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8003
8708
    darwin1.*)
8004
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8005
 
    darwin*)
 
8709
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8710
    darwin*) # darwin 5.x on
8006
8711
      # if running on 10.5 or later, the deployment target defaults
8007
8712
      # to the OS version, if on x86, and 10.4, the deployment
8008
8713
      # target defaults to 10.4. Don't you love it?
8009
8714
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8010
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8011
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8012
 
   10.[012]*)
8013
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8014
 
   10.*)
8015
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8715
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
8716
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8717
        10.[012]*)
 
8718
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8719
        10.*)
 
8720
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8016
8721
      esac
8017
8722
    ;;
8018
8723
  esac
8022
8727
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8023
8728
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8024
8729
    else
8025
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
8730
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8026
8731
    fi
8027
 
    if test "$DSYMUTIL" != ":"; then
8028
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
8732
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
8733
      _lt_dsymutil='~$DSYMUTIL $lib || :'
8029
8734
    else
8030
8735
      _lt_dsymutil=
8031
8736
    fi
8032
8737
    ;;
8033
8738
  esac
8034
8739
 
8035
 
 
8036
 
enable_dlopen=no
8037
 
enable_win32_dll=no
8038
 
 
8039
 
# Check whether --enable-libtool-lock was given.
8040
 
if test "${enable_libtool_lock+set}" = set; then :
8041
 
  enableval=$enable_libtool_lock;
8042
 
fi
8043
 
 
8044
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
8740
for ac_header in dlfcn.h
 
8741
do :
 
8742
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
8743
"
 
8744
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
8745
  cat >>confdefs.h <<_ACEOF
 
8746
#define HAVE_DLFCN_H 1
 
8747
_ACEOF
 
8748
 
 
8749
fi
 
8750
 
 
8751
done
 
8752
 
 
8753
 
 
8754
 
 
8755
 
 
8756
 
 
8757
# Set options
 
8758
 
 
8759
 
 
8760
 
 
8761
        enable_dlopen=no
 
8762
 
 
8763
 
 
8764
  enable_win32_dll=no
 
8765
 
 
8766
 
 
8767
            # Check whether --enable-shared was given.
 
8768
if test "${enable_shared+set}" = set; then :
 
8769
  enableval=$enable_shared; p=${PACKAGE-default}
 
8770
    case $enableval in
 
8771
    yes) enable_shared=yes ;;
 
8772
    no) enable_shared=no ;;
 
8773
    *)
 
8774
      enable_shared=no
 
8775
      # Look at the argument we got.  We use all the common list separators.
 
8776
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8777
      for pkg in $enableval; do
 
8778
        IFS="$lt_save_ifs"
 
8779
        if test "X$pkg" = "X$p"; then
 
8780
          enable_shared=yes
 
8781
        fi
 
8782
      done
 
8783
      IFS="$lt_save_ifs"
 
8784
      ;;
 
8785
    esac
 
8786
else
 
8787
  enable_shared=yes
 
8788
fi
 
8789
 
 
8790
 
 
8791
 
 
8792
 
 
8793
 
 
8794
 
 
8795
 
 
8796
 
 
8797
 
 
8798
  # Check whether --enable-static was given.
 
8799
if test "${enable_static+set}" = set; then :
 
8800
  enableval=$enable_static; p=${PACKAGE-default}
 
8801
    case $enableval in
 
8802
    yes) enable_static=yes ;;
 
8803
    no) enable_static=no ;;
 
8804
    *)
 
8805
     enable_static=no
 
8806
      # Look at the argument we got.  We use all the common list separators.
 
8807
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8808
      for pkg in $enableval; do
 
8809
        IFS="$lt_save_ifs"
 
8810
        if test "X$pkg" = "X$p"; then
 
8811
          enable_static=yes
 
8812
        fi
 
8813
      done
 
8814
      IFS="$lt_save_ifs"
 
8815
      ;;
 
8816
    esac
 
8817
else
 
8818
  enable_static=yes
 
8819
fi
 
8820
 
 
8821
 
 
8822
 
 
8823
 
 
8824
 
 
8825
 
 
8826
 
 
8827
 
8045
8828
 
8046
8829
 
8047
8830
# Check whether --with-pic was given.
8051
8834
  pic_mode=default
8052
8835
fi
8053
8836
 
 
8837
 
8054
8838
test -z "$pic_mode" && pic_mode=default
8055
8839
 
 
8840
 
 
8841
 
 
8842
 
 
8843
 
 
8844
 
 
8845
 
 
8846
  # Check whether --enable-fast-install was given.
 
8847
if test "${enable_fast_install+set}" = set; then :
 
8848
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
8849
    case $enableval in
 
8850
    yes) enable_fast_install=yes ;;
 
8851
    no) enable_fast_install=no ;;
 
8852
    *)
 
8853
      enable_fast_install=no
 
8854
      # Look at the argument we got.  We use all the common list separators.
 
8855
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8856
      for pkg in $enableval; do
 
8857
        IFS="$lt_save_ifs"
 
8858
        if test "X$pkg" = "X$p"; then
 
8859
          enable_fast_install=yes
 
8860
        fi
 
8861
      done
 
8862
      IFS="$lt_save_ifs"
 
8863
      ;;
 
8864
    esac
 
8865
else
 
8866
  enable_fast_install=yes
 
8867
fi
 
8868
 
 
8869
 
 
8870
 
 
8871
 
 
8872
 
 
8873
 
 
8874
 
 
8875
 
 
8876
 
 
8877
 
 
8878
 
 
8879
# This can be used to rebuild libtool when needed
 
8880
LIBTOOL_DEPS="$ltmain"
 
8881
 
 
8882
# Always use our own libtool.
 
8883
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
8884
 
 
8885
 
 
8886
 
 
8887
 
 
8888
 
 
8889
 
 
8890
 
 
8891
 
 
8892
 
 
8893
 
 
8894
 
 
8895
 
 
8896
 
 
8897
 
 
8898
 
 
8899
 
 
8900
 
 
8901
 
 
8902
 
 
8903
 
 
8904
 
 
8905
 
 
8906
 
 
8907
 
 
8908
 
 
8909
 
 
8910
test -z "$LN_S" && LN_S="ln -s"
 
8911
 
 
8912
 
 
8913
 
 
8914
 
 
8915
 
 
8916
 
 
8917
 
 
8918
 
 
8919
 
 
8920
 
 
8921
 
 
8922
 
 
8923
 
 
8924
 
 
8925
if test -n "${ZSH_VERSION+set}" ; then
 
8926
   setopt NO_GLOB_SUBST
 
8927
fi
 
8928
 
 
8929
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
8930
$as_echo_n "checking for objdir... " >&6; }
 
8931
if ${lt_cv_objdir+:} false; then :
 
8932
  $as_echo_n "(cached) " >&6
 
8933
else
 
8934
  rm -f .libs 2>/dev/null
 
8935
mkdir .libs 2>/dev/null
 
8936
if test -d .libs; then
 
8937
  lt_cv_objdir=.libs
 
8938
else
 
8939
  # MS-DOS does not allow filenames that begin with a dot.
 
8940
  lt_cv_objdir=_libs
 
8941
fi
 
8942
rmdir .libs 2>/dev/null
 
8943
fi
 
8944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
8945
$as_echo "$lt_cv_objdir" >&6; }
 
8946
objdir=$lt_cv_objdir
 
8947
 
 
8948
 
 
8949
 
 
8950
 
 
8951
 
 
8952
cat >>confdefs.h <<_ACEOF
 
8953
#define LT_OBJDIR "$lt_cv_objdir/"
 
8954
_ACEOF
 
8955
 
 
8956
 
 
8957
 
 
8958
 
 
8959
case $host_os in
 
8960
aix3*)
 
8961
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
8962
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
8963
  # vanish in a puff of smoke.
 
8964
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
8965
    COLLECT_NAMES=
 
8966
    export COLLECT_NAMES
 
8967
  fi
 
8968
  ;;
 
8969
esac
 
8970
 
 
8971
# Global variables:
 
8972
ofile=libtool
 
8973
can_build_shared=yes
 
8974
 
 
8975
# All known linkers require a `.a' archive for static linking (except MSVC,
 
8976
# which needs '.lib').
 
8977
libext=a
 
8978
 
 
8979
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
8980
 
 
8981
old_CC="$CC"
 
8982
old_CFLAGS="$CFLAGS"
 
8983
 
 
8984
# Set sane defaults for various variables
 
8985
test -z "$CC" && CC=cc
 
8986
test -z "$LTCC" && LTCC=$CC
 
8987
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
8988
test -z "$LD" && LD=ld
 
8989
test -z "$ac_objext" && ac_objext=o
 
8990
 
 
8991
for cc_temp in $compiler""; do
 
8992
  case $cc_temp in
 
8993
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8994
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8995
    \-*) ;;
 
8996
    *) break;;
 
8997
  esac
 
8998
done
 
8999
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
9000
 
 
9001
 
 
9002
# Only perform the check for file, if the check method requires it
 
9003
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
9004
case $deplibs_check_method in
 
9005
file_magic*)
 
9006
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
9007
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
9008
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
9009
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
9010
  $as_echo_n "(cached) " >&6
 
9011
else
 
9012
  case $MAGIC_CMD in
 
9013
[\\/*] |  ?:[\\/]*)
 
9014
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
9015
  ;;
 
9016
*)
 
9017
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
9018
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
9019
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
9020
  for ac_dir in $ac_dummy; do
 
9021
    IFS="$lt_save_ifs"
 
9022
    test -z "$ac_dir" && ac_dir=.
 
9023
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
9024
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
9025
      if test -n "$file_magic_test_file"; then
 
9026
        case $deplibs_check_method in
 
9027
        "file_magic "*)
 
9028
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
9029
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9030
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
9031
            $EGREP "$file_magic_regex" > /dev/null; then
 
9032
            :
 
9033
          else
 
9034
            cat <<_LT_EOF 1>&2
 
9035
 
 
9036
*** Warning: the command libtool uses to detect shared libraries,
 
9037
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
9038
*** The result is that libtool may fail to recognize shared libraries
 
9039
*** as such.  This will affect the creation of libtool libraries that
 
9040
*** depend on shared libraries, but programs linked with such libtool
 
9041
*** libraries will work regardless of this problem.  Nevertheless, you
 
9042
*** may want to report the problem to your system manager and/or to
 
9043
*** bug-libtool@gnu.org
 
9044
 
 
9045
_LT_EOF
 
9046
          fi ;;
 
9047
        esac
 
9048
      fi
 
9049
      break
 
9050
    fi
 
9051
  done
 
9052
  IFS="$lt_save_ifs"
 
9053
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
9054
  ;;
 
9055
esac
 
9056
fi
 
9057
 
 
9058
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9059
if test -n "$MAGIC_CMD"; then
 
9060
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
9061
$as_echo "$MAGIC_CMD" >&6; }
 
9062
else
 
9063
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9064
$as_echo "no" >&6; }
 
9065
fi
 
9066
 
 
9067
 
 
9068
 
 
9069
 
 
9070
 
 
9071
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
9072
  if test -n "$ac_tool_prefix"; then
 
9073
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
9074
$as_echo_n "checking for file... " >&6; }
 
9075
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
9076
  $as_echo_n "(cached) " >&6
 
9077
else
 
9078
  case $MAGIC_CMD in
 
9079
[\\/*] |  ?:[\\/]*)
 
9080
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
9081
  ;;
 
9082
*)
 
9083
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
9084
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
9085
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
9086
  for ac_dir in $ac_dummy; do
 
9087
    IFS="$lt_save_ifs"
 
9088
    test -z "$ac_dir" && ac_dir=.
 
9089
    if test -f $ac_dir/file; then
 
9090
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
9091
      if test -n "$file_magic_test_file"; then
 
9092
        case $deplibs_check_method in
 
9093
        "file_magic "*)
 
9094
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
9095
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9096
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
9097
            $EGREP "$file_magic_regex" > /dev/null; then
 
9098
            :
 
9099
          else
 
9100
            cat <<_LT_EOF 1>&2
 
9101
 
 
9102
*** Warning: the command libtool uses to detect shared libraries,
 
9103
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
9104
*** The result is that libtool may fail to recognize shared libraries
 
9105
*** as such.  This will affect the creation of libtool libraries that
 
9106
*** depend on shared libraries, but programs linked with such libtool
 
9107
*** libraries will work regardless of this problem.  Nevertheless, you
 
9108
*** may want to report the problem to your system manager and/or to
 
9109
*** bug-libtool@gnu.org
 
9110
 
 
9111
_LT_EOF
 
9112
          fi ;;
 
9113
        esac
 
9114
      fi
 
9115
      break
 
9116
    fi
 
9117
  done
 
9118
  IFS="$lt_save_ifs"
 
9119
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
9120
  ;;
 
9121
esac
 
9122
fi
 
9123
 
 
9124
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9125
if test -n "$MAGIC_CMD"; then
 
9126
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
9127
$as_echo "$MAGIC_CMD" >&6; }
 
9128
else
 
9129
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9130
$as_echo "no" >&6; }
 
9131
fi
 
9132
 
 
9133
 
 
9134
  else
 
9135
    MAGIC_CMD=:
 
9136
  fi
 
9137
fi
 
9138
 
 
9139
  fi
 
9140
  ;;
 
9141
esac
 
9142
 
8056
9143
# Use C for the default configuration in the libtool script
8057
 
tagname=
 
9144
 
8058
9145
lt_save_CC="$CC"
8059
9146
ac_ext=c
8060
9147
ac_cpp='$CPP $CPPFLAGS'
8077
9164
lt_simple_link_test_code='int main(){return(0);}'
8078
9165
 
8079
9166
 
 
9167
 
 
9168
 
 
9169
 
 
9170
 
 
9171
 
8080
9172
# If no C compiler was specified, use CC.
8081
9173
LTCC=${LTCC-"$CC"}
8082
9174
 
8086
9178
# Allow CC to be a program name with arguments.
8087
9179
compiler=$CC
8088
9180
 
 
9181
# Save the default compiler, since it gets overwritten when the other
 
9182
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
9183
compiler_DEFAULT=$CC
8089
9184
 
8090
9185
# save warnings/boilerplate of simple test code
8091
9186
ac_outfile=conftest.$ac_objext
8092
9187
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8093
9188
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8094
9189
_lt_compiler_boilerplate=`cat conftest.err`
8095
 
$rm conftest*
 
9190
$RM conftest*
8096
9191
 
8097
9192
ac_outfile=conftest.$ac_objext
8098
9193
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8099
9194
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8100
9195
_lt_linker_boilerplate=`cat conftest.err`
8101
 
$rm -r conftest*
8102
 
 
8103
 
 
 
9196
$RM -r conftest*
 
9197
 
 
9198
 
 
9199
if test -n "$compiler"; then
8104
9200
 
8105
9201
lt_prog_compiler_no_builtin_flag=
8106
9202
 
8107
9203
if test "$GCC" = yes; then
8108
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8109
 
 
8110
 
 
8111
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
9204
  case $cc_basename in
 
9205
  nvcc*)
 
9206
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
9207
  *)
 
9208
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
9209
  esac
 
9210
 
 
9211
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8112
9212
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8113
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
9213
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8114
9214
  $as_echo_n "(cached) " >&6
8115
9215
else
8116
9216
  lt_cv_prog_compiler_rtti_exceptions=no
8117
 
  ac_outfile=conftest.$ac_objext
 
9217
   ac_outfile=conftest.$ac_objext
8118
9218
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8119
9219
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8120
9220
   # Insert the option either (1) after the last *FLAGS variable, or
8126
9226
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8127
9227
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8128
9228
   -e 's:$: $lt_compiler_flag:'`
8129
 
   (eval echo "\"\$as_me:8129: $lt_compile\"" >&5)
 
9229
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8130
9230
   (eval "$lt_compile" 2>conftest.err)
8131
9231
   ac_status=$?
8132
9232
   cat conftest.err >&5
8133
 
   echo "$as_me:8133: \$? = $ac_status" >&5
 
9233
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134
9234
   if (exit $ac_status) && test -s "$ac_outfile"; then
8135
9235
     # The compiler can only warn and ignore the option if not recognized
8136
9236
     # So say no if there are warnings other than the usual output.
8137
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9237
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8138
9238
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8139
9239
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8140
9240
       lt_cv_prog_compiler_rtti_exceptions=yes
8141
9241
     fi
8142
9242
   fi
8143
 
   $rm conftest*
 
9243
   $RM conftest*
8144
9244
 
8145
9245
fi
8146
9246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8154
9254
 
8155
9255
fi
8156
9256
 
8157
 
lt_prog_compiler_wl=
 
9257
 
 
9258
 
 
9259
 
 
9260
 
 
9261
 
 
9262
  lt_prog_compiler_wl=
8158
9263
lt_prog_compiler_pic=
8159
9264
lt_prog_compiler_static=
8160
9265
 
8161
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8162
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8163
9266
 
8164
9267
  if test "$GCC" = yes; then
8165
9268
    lt_prog_compiler_wl='-Wl,'
8175
9278
      ;;
8176
9279
 
8177
9280
    amigaos*)
8178
 
      # FIXME: we need at least 68020 code to build shared libraries, but
8179
 
      # adding the `-m68020' flag to GCC prevents building anything better,
8180
 
      # like `-m68040'.
8181
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
9281
      case $host_cpu in
 
9282
      powerpc)
 
9283
            # see comment about AmigaOS4 .so support
 
9284
            lt_prog_compiler_pic='-fPIC'
 
9285
        ;;
 
9286
      m68k)
 
9287
            # FIXME: we need at least 68020 code to build shared libraries, but
 
9288
            # adding the `-m68020' flag to GCC prevents building anything better,
 
9289
            # like `-m68040'.
 
9290
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
9291
        ;;
 
9292
      esac
8182
9293
      ;;
8183
9294
 
8184
9295
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8185
9296
      # PIC is the default for these OSes.
8186
9297
      ;;
8187
9298
 
8188
 
    mingw* | cygwin* | pw32* | os2*)
 
9299
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8189
9300
      # This hack is so that the source file can tell whether it is being
8190
9301
      # built for inclusion in a dll (and should export symbols for example).
8191
9302
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8199
9310
      lt_prog_compiler_pic='-fno-common'
8200
9311
      ;;
8201
9312
 
 
9313
    haiku*)
 
9314
      # PIC is the default for Haiku.
 
9315
      # The "-static" flag exists, but is broken.
 
9316
      lt_prog_compiler_static=
 
9317
      ;;
 
9318
 
 
9319
    hpux*)
 
9320
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
9321
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
9322
      # sets the default TLS model and affects inlining.
 
9323
      case $host_cpu in
 
9324
      hppa*64*)
 
9325
        # +Z the default
 
9326
        ;;
 
9327
      *)
 
9328
        lt_prog_compiler_pic='-fPIC'
 
9329
        ;;
 
9330
      esac
 
9331
      ;;
 
9332
 
8202
9333
    interix[3-9]*)
8203
9334
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8204
9335
      # Instead, we relocate shared libraries at runtime.
8211
9342
      enable_shared=no
8212
9343
      ;;
8213
9344
 
 
9345
    *nto* | *qnx*)
 
9346
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9347
      # it will coredump.
 
9348
      lt_prog_compiler_pic='-fPIC -shared'
 
9349
      ;;
 
9350
 
8214
9351
    sysv4*MP*)
8215
9352
      if test -d /usr/nec; then
8216
9353
        lt_prog_compiler_pic=-Kconform_pic
8217
9354
      fi
8218
9355
      ;;
8219
9356
 
8220
 
    hpux*)
8221
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8222
 
      # not for PA HP-UX.
8223
 
      case $host_cpu in
8224
 
      hppa*64*|ia64*)
8225
 
        # +Z the default
8226
 
        ;;
8227
 
      *)
8228
 
        lt_prog_compiler_pic='-fPIC'
8229
 
        ;;
8230
 
      esac
8231
 
      ;;
8232
 
 
8233
9357
    *)
8234
9358
      lt_prog_compiler_pic='-fPIC'
8235
9359
      ;;
8236
9360
    esac
 
9361
 
 
9362
    case $cc_basename in
 
9363
    nvcc*) # Cuda Compiler Driver 2.2
 
9364
      lt_prog_compiler_wl='-Xlinker '
 
9365
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
9366
      ;;
 
9367
    esac
8237
9368
  else
8238
9369
    # PORTME Check for flag to pass linker flags through the system compiler.
8239
9370
    case $host_os in
8246
9377
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8247
9378
      fi
8248
9379
      ;;
8249
 
      darwin*)
8250
 
        # PIC is the default on this platform
8251
 
        # Common symbols not allowed in MH_DYLIB files
8252
 
       case $cc_basename in
8253
 
         xlc*)
8254
 
         lt_prog_compiler_pic='-qnocommon'
8255
 
         lt_prog_compiler_wl='-Wl,'
8256
 
         ;;
8257
 
       esac
8258
 
       ;;
8259
9380
 
8260
 
    mingw* | cygwin* | pw32* | os2*)
 
9381
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8261
9382
      # This hack is so that the source file can tell whether it is being
8262
9383
      # built for inclusion in a dll (and should export symbols for example).
8263
9384
      lt_prog_compiler_pic='-DDLL_EXPORT'
8285
9406
      lt_prog_compiler_static='-non_shared'
8286
9407
      ;;
8287
9408
 
8288
 
    newsos6)
8289
 
      lt_prog_compiler_pic='-KPIC'
8290
 
      lt_prog_compiler_static='-Bstatic'
8291
 
      ;;
8292
 
 
8293
 
    linux* | k*bsd*-gnu)
 
9409
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8294
9410
      case $cc_basename in
8295
 
      icc* | ecc*)
 
9411
      # old Intel for x86_64 which still supported -KPIC.
 
9412
      ecc*)
8296
9413
        lt_prog_compiler_wl='-Wl,'
8297
9414
        lt_prog_compiler_pic='-KPIC'
8298
9415
        lt_prog_compiler_static='-static'
8299
9416
        ;;
8300
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
9417
      # icc used to be incompatible with GCC.
 
9418
      # ICC 10 doesn't accept -KPIC any more.
 
9419
      icc* | ifort*)
 
9420
        lt_prog_compiler_wl='-Wl,'
 
9421
        lt_prog_compiler_pic='-fPIC'
 
9422
        lt_prog_compiler_static='-static'
 
9423
        ;;
 
9424
      # Lahey Fortran 8.1.
 
9425
      lf95*)
 
9426
        lt_prog_compiler_wl='-Wl,'
 
9427
        lt_prog_compiler_pic='--shared'
 
9428
        lt_prog_compiler_static='--static'
 
9429
        ;;
 
9430
      nagfor*)
 
9431
        # NAG Fortran compiler
 
9432
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
9433
        lt_prog_compiler_pic='-PIC'
 
9434
        lt_prog_compiler_static='-Bstatic'
 
9435
        ;;
 
9436
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8301
9437
        # Portland Group compilers (*not* the Pentium gcc compiler,
8302
9438
        # which looks to be a dead project)
8303
9439
        lt_prog_compiler_wl='-Wl,'
8309
9445
        # All Alpha code is PIC.
8310
9446
        lt_prog_compiler_static='-non_shared'
8311
9447
        ;;
 
9448
      xl* | bgxl* | bgf* | mpixl*)
 
9449
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
9450
        lt_prog_compiler_wl='-Wl,'
 
9451
        lt_prog_compiler_pic='-qpic'
 
9452
        lt_prog_compiler_static='-qstaticlink'
 
9453
        ;;
8312
9454
      *)
8313
 
        case `$CC -V 2>&1 | sed 5q` in
 
9455
        case `$CC -V 2>&1 | sed 5q` in
 
9456
        *Sun\ F* | *Sun*Fortran*)
 
9457
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
9458
          lt_prog_compiler_pic='-KPIC'
 
9459
          lt_prog_compiler_static='-Bstatic'
 
9460
          lt_prog_compiler_wl=''
 
9461
          ;;
8314
9462
        *Sun\ C*)
8315
9463
          # Sun C 5.9
8316
9464
          lt_prog_compiler_pic='-KPIC'
8317
9465
          lt_prog_compiler_static='-Bstatic'
8318
9466
          lt_prog_compiler_wl='-Wl,'
8319
9467
          ;;
8320
 
        *Sun\ F*)
8321
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8322
 
          lt_prog_compiler_pic='-KPIC'
8323
 
          lt_prog_compiler_static='-Bstatic'
8324
 
          lt_prog_compiler_wl=''
8325
 
          ;;
8326
9468
        esac
8327
9469
        ;;
8328
9470
      esac
8329
9471
      ;;
8330
9472
 
 
9473
    newsos6)
 
9474
      lt_prog_compiler_pic='-KPIC'
 
9475
      lt_prog_compiler_static='-Bstatic'
 
9476
      ;;
 
9477
 
 
9478
    *nto* | *qnx*)
 
9479
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9480
      # it will coredump.
 
9481
      lt_prog_compiler_pic='-fPIC -shared'
 
9482
      ;;
 
9483
 
8331
9484
    osf3* | osf4* | osf5*)
8332
9485
      lt_prog_compiler_wl='-Wl,'
8333
9486
      # All OSF/1 code is PIC.
8342
9495
      lt_prog_compiler_pic='-KPIC'
8343
9496
      lt_prog_compiler_static='-Bstatic'
8344
9497
      case $cc_basename in
8345
 
      f77* | f90* | f95*)
 
9498
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8346
9499
        lt_prog_compiler_wl='-Qoption ld ';;
8347
9500
      *)
8348
9501
        lt_prog_compiler_wl='-Wl,';;
8390
9543
    esac
8391
9544
  fi
8392
9545
 
8393
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8394
 
$as_echo "$lt_prog_compiler_pic" >&6; }
 
9546
case $host_os in
 
9547
  # For platforms which do not support PIC, -DPIC is meaningless:
 
9548
  *djgpp*)
 
9549
    lt_prog_compiler_pic=
 
9550
    ;;
 
9551
  *)
 
9552
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
9553
    ;;
 
9554
esac
 
9555
 
 
9556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
9557
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
9558
if ${lt_cv_prog_compiler_pic+:} false; then :
 
9559
  $as_echo_n "(cached) " >&6
 
9560
else
 
9561
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
9562
fi
 
9563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
9564
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
9565
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8395
9566
 
8396
9567
#
8397
9568
# Check to make sure the PIC flag actually works.
8398
9569
#
8399
9570
if test -n "$lt_prog_compiler_pic"; then
8400
 
 
8401
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9571
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8402
9572
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8403
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
9573
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8404
9574
  $as_echo_n "(cached) " >&6
8405
9575
else
8406
9576
  lt_cv_prog_compiler_pic_works=no
8407
 
  ac_outfile=conftest.$ac_objext
 
9577
   ac_outfile=conftest.$ac_objext
8408
9578
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8409
9579
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8410
9580
   # Insert the option either (1) after the last *FLAGS variable, or
8416
9586
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8417
9587
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8418
9588
   -e 's:$: $lt_compiler_flag:'`
8419
 
   (eval echo "\"\$as_me:8419: $lt_compile\"" >&5)
 
9589
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8420
9590
   (eval "$lt_compile" 2>conftest.err)
8421
9591
   ac_status=$?
8422
9592
   cat conftest.err >&5
8423
 
   echo "$as_me:8423: \$? = $ac_status" >&5
 
9593
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424
9594
   if (exit $ac_status) && test -s "$ac_outfile"; then
8425
9595
     # The compiler can only warn and ignore the option if not recognized
8426
9596
     # So say no if there are warnings other than the usual output.
8427
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9597
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8428
9598
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8429
9599
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8430
9600
       lt_cv_prog_compiler_pic_works=yes
8431
9601
     fi
8432
9602
   fi
8433
 
   $rm conftest*
 
9603
   $RM conftest*
8434
9604
 
8435
9605
fi
8436
9606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8447
9617
fi
8448
9618
 
8449
9619
fi
8450
 
case $host_os in
8451
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8452
 
  *djgpp*)
8453
 
    lt_prog_compiler_pic=
8454
 
    ;;
8455
 
  *)
8456
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8457
 
    ;;
8458
 
esac
 
9620
 
 
9621
 
 
9622
 
 
9623
 
 
9624
 
 
9625
 
 
9626
 
 
9627
 
 
9628
 
 
9629
 
8459
9630
 
8460
9631
#
8461
9632
# Check to make sure the static flag actually works.
8463
9634
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8464
9635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8465
9636
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8466
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
9637
if ${lt_cv_prog_compiler_static_works+:} false; then :
8467
9638
  $as_echo_n "(cached) " >&6
8468
9639
else
8469
9640
  lt_cv_prog_compiler_static_works=no
8476
9647
     if test -s conftest.err; then
8477
9648
       # Append any errors to the config.log.
8478
9649
       cat conftest.err 1>&5
8479
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
9650
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8480
9651
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8481
9652
       if diff conftest.exp conftest.er2 >/dev/null; then
8482
9653
         lt_cv_prog_compiler_static_works=yes
8485
9656
       lt_cv_prog_compiler_static_works=yes
8486
9657
     fi
8487
9658
   fi
8488
 
   $rm -r conftest*
 
9659
   $RM -r conftest*
8489
9660
   LDFLAGS="$save_LDFLAGS"
8490
9661
 
8491
9662
fi
8499
9670
fi
8500
9671
 
8501
9672
 
8502
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8503
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8504
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8505
 
  $as_echo_n "(cached) " >&6
8506
 
else
8507
 
  lt_cv_prog_compiler_c_o=no
8508
 
   $rm -r conftest 2>/dev/null
8509
 
   mkdir conftest
8510
 
   cd conftest
8511
 
   mkdir out
8512
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8513
 
 
8514
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8515
 
   # Insert the option either (1) after the last *FLAGS variable, or
8516
 
   # (2) before a word containing "conftest.", or (3) at the end.
8517
 
   # Note that $ac_compile itself does not contain backslashes and begins
8518
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8519
 
   lt_compile=`echo "$ac_compile" | $SED \
8520
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8521
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8522
 
   -e 's:$: $lt_compiler_flag:'`
8523
 
   (eval echo "\"\$as_me:8523: $lt_compile\"" >&5)
8524
 
   (eval "$lt_compile" 2>out/conftest.err)
8525
 
   ac_status=$?
8526
 
   cat out/conftest.err >&5
8527
 
   echo "$as_me:8527: \$? = $ac_status" >&5
8528
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8529
 
   then
8530
 
     # The compiler can only warn and ignore the option if not recognized
8531
 
     # So say no if there are warnings
8532
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8533
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8534
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8535
 
       lt_cv_prog_compiler_c_o=yes
8536
 
     fi
8537
 
   fi
8538
 
   chmod u+w . 2>&5
8539
 
   $rm conftest*
8540
 
   # SGI C++ compiler will create directory out/ii_files/ for
8541
 
   # template instantiation
8542
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8543
 
   $rm out/* && rmdir out
8544
 
   cd ..
8545
 
   rmdir conftest
8546
 
   $rm conftest*
8547
 
 
8548
 
fi
8549
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8550
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9673
 
 
9674
 
 
9675
 
 
9676
 
 
9677
 
 
9678
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9679
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9680
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
9681
  $as_echo_n "(cached) " >&6
 
9682
else
 
9683
  lt_cv_prog_compiler_c_o=no
 
9684
   $RM -r conftest 2>/dev/null
 
9685
   mkdir conftest
 
9686
   cd conftest
 
9687
   mkdir out
 
9688
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9689
 
 
9690
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9691
   # Insert the option either (1) after the last *FLAGS variable, or
 
9692
   # (2) before a word containing "conftest.", or (3) at the end.
 
9693
   # Note that $ac_compile itself does not contain backslashes and begins
 
9694
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9695
   lt_compile=`echo "$ac_compile" | $SED \
 
9696
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9697
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9698
   -e 's:$: $lt_compiler_flag:'`
 
9699
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
9700
   (eval "$lt_compile" 2>out/conftest.err)
 
9701
   ac_status=$?
 
9702
   cat out/conftest.err >&5
 
9703
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9704
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9705
   then
 
9706
     # The compiler can only warn and ignore the option if not recognized
 
9707
     # So say no if there are warnings
 
9708
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
9709
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9710
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9711
       lt_cv_prog_compiler_c_o=yes
 
9712
     fi
 
9713
   fi
 
9714
   chmod u+w . 2>&5
 
9715
   $RM conftest*
 
9716
   # SGI C++ compiler will create directory out/ii_files/ for
 
9717
   # template instantiation
 
9718
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9719
   $RM out/* && rmdir out
 
9720
   cd ..
 
9721
   $RM -r conftest
 
9722
   $RM conftest*
 
9723
 
 
9724
fi
 
9725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9726
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9727
 
 
9728
 
 
9729
 
 
9730
 
 
9731
 
 
9732
 
 
9733
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9734
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9735
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
9736
  $as_echo_n "(cached) " >&6
 
9737
else
 
9738
  lt_cv_prog_compiler_c_o=no
 
9739
   $RM -r conftest 2>/dev/null
 
9740
   mkdir conftest
 
9741
   cd conftest
 
9742
   mkdir out
 
9743
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9744
 
 
9745
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9746
   # Insert the option either (1) after the last *FLAGS variable, or
 
9747
   # (2) before a word containing "conftest.", or (3) at the end.
 
9748
   # Note that $ac_compile itself does not contain backslashes and begins
 
9749
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9750
   lt_compile=`echo "$ac_compile" | $SED \
 
9751
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9752
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9753
   -e 's:$: $lt_compiler_flag:'`
 
9754
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
9755
   (eval "$lt_compile" 2>out/conftest.err)
 
9756
   ac_status=$?
 
9757
   cat out/conftest.err >&5
 
9758
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9759
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9760
   then
 
9761
     # The compiler can only warn and ignore the option if not recognized
 
9762
     # So say no if there are warnings
 
9763
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
9764
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9765
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9766
       lt_cv_prog_compiler_c_o=yes
 
9767
     fi
 
9768
   fi
 
9769
   chmod u+w . 2>&5
 
9770
   $RM conftest*
 
9771
   # SGI C++ compiler will create directory out/ii_files/ for
 
9772
   # template instantiation
 
9773
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9774
   $RM out/* && rmdir out
 
9775
   cd ..
 
9776
   $RM -r conftest
 
9777
   $RM conftest*
 
9778
 
 
9779
fi
 
9780
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9781
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9782
 
 
9783
 
8551
9784
 
8552
9785
 
8553
9786
hard_links="nottested"
8556
9789
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8557
9790
$as_echo_n "checking if we can lock with hard links... " >&6; }
8558
9791
  hard_links=yes
8559
 
  $rm conftest*
 
9792
  $RM conftest*
8560
9793
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8561
9794
  touch conftest.a
8562
9795
  ln conftest.a conftest.b 2>&5 || hard_links=no
8572
9805
  need_locks=no
8573
9806
fi
8574
9807
 
8575
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9808
 
 
9809
 
 
9810
 
 
9811
 
 
9812
 
 
9813
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8576
9814
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8577
9815
 
8578
9816
  runpath_var=
8579
9817
  allow_undefined_flag=
8580
 
  enable_shared_with_static_runtimes=no
 
9818
  always_export_symbols=no
8581
9819
  archive_cmds=
8582
9820
  archive_expsym_cmds=
8583
 
  old_archive_From_new_cmds=
8584
 
  old_archive_from_expsyms_cmds=
 
9821
  compiler_needs_object=no
 
9822
  enable_shared_with_static_runtimes=no
8585
9823
  export_dynamic_flag_spec=
8586
 
  whole_archive_flag_spec=
8587
 
  thread_safe_flag_spec=
 
9824
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9825
  hardcode_automatic=no
 
9826
  hardcode_direct=no
 
9827
  hardcode_direct_absolute=no
8588
9828
  hardcode_libdir_flag_spec=
8589
9829
  hardcode_libdir_flag_spec_ld=
8590
9830
  hardcode_libdir_separator=
8591
 
  hardcode_direct=no
8592
9831
  hardcode_minus_L=no
8593
9832
  hardcode_shlibpath_var=unsupported
 
9833
  inherit_rpath=no
8594
9834
  link_all_deplibs=unknown
8595
 
  hardcode_automatic=no
8596
9835
  module_cmds=
8597
9836
  module_expsym_cmds=
8598
 
  always_export_symbols=no
8599
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9837
  old_archive_from_new_cmds=
 
9838
  old_archive_from_expsyms_cmds=
 
9839
  thread_safe_flag_spec=
 
9840
  whole_archive_flag_spec=
8600
9841
  # include_expsyms should be a list of space-separated symbols to be *always*
8601
9842
  # included in the symbol list
8602
9843
  include_expsyms=
8612
9853
  # preloaded symbol tables.
8613
9854
  # Exclude shared library initialization/finalization symbols.
8614
9855
  extract_expsyms_cmds=
8615
 
  # Just being paranoid about ensuring that cc_basename is set.
8616
 
  for cc_temp in $compiler""; do
8617
 
  case $cc_temp in
8618
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8619
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8620
 
    \-*) ;;
8621
 
    *) break;;
8622
 
  esac
8623
 
done
8624
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8625
9856
 
8626
9857
  case $host_os in
8627
 
  cygwin* | mingw* | pw32*)
 
9858
  cygwin* | mingw* | pw32* | cegcc*)
8628
9859
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8629
9860
    # When not using gcc, we currently assume that we are using
8630
9861
    # Microsoft Visual C++.
8642
9873
  esac
8643
9874
 
8644
9875
  ld_shlibs=yes
 
9876
 
 
9877
  # On some targets, GNU ld is compatible enough with the native linker
 
9878
  # that we're better off using the native interface for both.
 
9879
  lt_use_gnu_ld_interface=no
8645
9880
  if test "$with_gnu_ld" = yes; then
 
9881
    case $host_os in
 
9882
      aix*)
 
9883
        # The AIX port of GNU ld has always aspired to compatibility
 
9884
        # with the native linker.  However, as the warning in the GNU ld
 
9885
        # block says, versions before 2.19.5* couldn't really create working
 
9886
        # shared libraries, regardless of the interface used.
 
9887
        case `$LD -v 2>&1` in
 
9888
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
9889
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
9890
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
9891
          *)
 
9892
            lt_use_gnu_ld_interface=yes
 
9893
            ;;
 
9894
        esac
 
9895
        ;;
 
9896
      *)
 
9897
        lt_use_gnu_ld_interface=yes
 
9898
        ;;
 
9899
    esac
 
9900
  fi
 
9901
 
 
9902
  if test "$lt_use_gnu_ld_interface" = yes; then
8646
9903
    # If archive_cmds runs LD, not CC, wlarc should be empty
8647
9904
    wlarc='${wl}'
8648
9905
 
8650
9907
    # are reset later if shared libraries are not supported. Putting them
8651
9908
    # here allows them to be overridden if necessary.
8652
9909
    runpath_var=LD_RUN_PATH
8653
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
9910
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8654
9911
    export_dynamic_flag_spec='${wl}--export-dynamic'
8655
9912
    # ancient GNU ld didn't support --whole-archive et. al.
8656
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8657
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8658
 
      else
8659
 
        whole_archive_flag_spec=
 
9913
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
9914
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9915
    else
 
9916
      whole_archive_flag_spec=
8660
9917
    fi
8661
9918
    supports_anon_versioning=no
8662
 
    case `$LD -v 2>/dev/null` in
 
9919
    case `$LD -v 2>&1` in
 
9920
      *GNU\ gold*) supports_anon_versioning=yes ;;
8663
9921
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8664
9922
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8665
9923
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8673
9931
      # On AIX/PPC, the GNU linker is very broken
8674
9932
      if test "$host_cpu" != ia64; then
8675
9933
        ld_shlibs=no
8676
 
        cat <<EOF 1>&2
 
9934
        cat <<_LT_EOF 1>&2
8677
9935
 
8678
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
9936
*** Warning: the GNU linker, at least up to release 2.19, is reported
8679
9937
*** to be unable to reliably create shared libraries on AIX.
8680
9938
*** Therefore, libtool is disabling shared libraries support.  If you
8681
 
*** really care for shared libraries, you may want to modify your PATH
8682
 
*** so that a non-GNU linker is found, and then restart.
 
9939
*** really care for shared libraries, you may want to install binutils
 
9940
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
9941
*** You will then need to restart the configuration process.
8683
9942
 
8684
 
EOF
 
9943
_LT_EOF
8685
9944
      fi
8686
9945
      ;;
8687
9946
 
8688
9947
    amigaos*)
8689
 
      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)'
8690
 
      hardcode_libdir_flag_spec='-L$libdir'
8691
 
      hardcode_minus_L=yes
8692
 
 
8693
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8694
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
8695
 
      # to version 4, is to share data among multiple programs linked
8696
 
      # with the same dynamic library.  Since this doesn't match the
8697
 
      # behavior of shared libraries on other platforms, we can't use
8698
 
      # them.
8699
 
      ld_shlibs=no
 
9948
      case $host_cpu in
 
9949
      powerpc)
 
9950
            # see comment about AmigaOS4 .so support
 
9951
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9952
            archive_expsym_cmds=''
 
9953
        ;;
 
9954
      m68k)
 
9955
            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)'
 
9956
            hardcode_libdir_flag_spec='-L$libdir'
 
9957
            hardcode_minus_L=yes
 
9958
        ;;
 
9959
      esac
8700
9960
      ;;
8701
9961
 
8702
9962
    beos*)
8703
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9963
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8704
9964
        allow_undefined_flag=unsupported
8705
9965
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8706
9966
        # support --undefined.  This deserves some investigation.  FIXME
8710
9970
      fi
8711
9971
      ;;
8712
9972
 
8713
 
    cygwin* | mingw* | pw32*)
8714
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9973
    cygwin* | mingw* | pw32* | cegcc*)
 
9974
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8715
9975
      # as there is no search path for DLLs.
8716
9976
      hardcode_libdir_flag_spec='-L$libdir'
 
9977
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8717
9978
      allow_undefined_flag=unsupported
8718
9979
      always_export_symbols=no
8719
9980
      enable_shared_with_static_runtimes=yes
8720
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9981
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
9982
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8721
9983
 
8722
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
9984
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8723
9985
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8724
9986
        # If the export-symbols file already is a .def file (1st line
8725
9987
        # is EXPORTS), use it as is; otherwise, prepend...
8735
9997
      fi
8736
9998
      ;;
8737
9999
 
 
10000
    haiku*)
 
10001
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10002
      link_all_deplibs=yes
 
10003
      ;;
 
10004
 
8738
10005
    interix[3-9]*)
8739
10006
      hardcode_direct=no
8740
10007
      hardcode_shlibpath_var=no
8750
10017
      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'
8751
10018
      ;;
8752
10019
 
8753
 
    gnu* | linux* | k*bsd*-gnu)
8754
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8755
 
        tmp_addflag=
 
10020
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
10021
      tmp_diet=no
 
10022
      if test "$host_os" = linux-dietlibc; then
 
10023
        case $cc_basename in
 
10024
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
10025
        esac
 
10026
      fi
 
10027
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
10028
         && test "$tmp_diet" = no
 
10029
      then
 
10030
        tmp_addflag=' $pic_flag'
 
10031
        tmp_sharedflag='-shared'
8756
10032
        case $cc_basename,$host_cpu in
8757
 
        pgcc*)                          # Portland Group C compiler
8758
 
          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'
 
10033
        pgcc*)                          # Portland Group C compiler
 
10034
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8759
10035
          tmp_addflag=' $pic_flag'
8760
10036
          ;;
8761
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8762
 
          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'
 
10037
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
10038
                                        # Portland Group f77 and f90 compilers
 
10039
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8763
10040
          tmp_addflag=' $pic_flag -Mnomain' ;;
8764
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
10041
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8765
10042
          tmp_addflag=' -i_dynamic' ;;
8766
10043
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8767
10044
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8768
10045
        ifc* | ifort*)                  # Intel Fortran compiler
8769
10046
          tmp_addflag=' -nofor_main' ;;
 
10047
        lf95*)                          # Lahey Fortran 8.1
 
10048
          whole_archive_flag_spec=
 
10049
          tmp_sharedflag='--shared' ;;
 
10050
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
10051
          tmp_sharedflag='-qmkshrobj'
 
10052
          tmp_addflag= ;;
 
10053
        nvcc*)  # Cuda Compiler Driver 2.2
 
10054
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
10055
          compiler_needs_object=yes
 
10056
          ;;
8770
10057
        esac
8771
10058
        case `$CC -V 2>&1 | sed 5q` in
8772
10059
        *Sun\ C*)                       # Sun C 5.9
8773
 
          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'
 
10060
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
10061
          compiler_needs_object=yes
8774
10062
          tmp_sharedflag='-G' ;;
8775
10063
        *Sun\ F*)                       # Sun Fortran 8.3
8776
10064
          tmp_sharedflag='-G' ;;
8777
 
        *)
8778
 
          tmp_sharedflag='-shared' ;;
8779
10065
        esac
8780
10066
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8781
10067
 
8782
 
        if test $supports_anon_versioning = yes; then
8783
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8784
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8785
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
8786
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8787
 
        fi
 
10068
        if test "x$supports_anon_versioning" = xyes; then
 
10069
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
10070
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
10071
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
10072
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
10073
        fi
 
10074
 
 
10075
        case $cc_basename in
 
10076
        xlf* | bgf* | bgxlf* | mpixlf*)
 
10077
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
10078
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
10079
          hardcode_libdir_flag_spec=
 
10080
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
10081
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
10082
          if test "x$supports_anon_versioning" = xyes; then
 
10083
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
10084
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
10085
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
10086
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
10087
          fi
 
10088
          ;;
 
10089
        esac
8788
10090
      else
8789
 
        ld_shlibs=no
 
10091
        ld_shlibs=no
8790
10092
      fi
8791
10093
      ;;
8792
10094
 
8793
10095
    netbsd*)
8794
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10096
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8795
10097
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8796
10098
        wlarc=
8797
10099
      else
8798
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8799
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10100
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10101
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8800
10102
      fi
8801
10103
      ;;
8802
10104
 
8803
10105
    solaris*)
8804
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
10106
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8805
10107
        ld_shlibs=no
8806
 
        cat <<EOF 1>&2
 
10108
        cat <<_LT_EOF 1>&2
8807
10109
 
8808
10110
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8809
10111
*** create shared libraries on Solaris systems.  Therefore, libtool
8812
10114
*** your PATH or compiler configuration so that the native linker is
8813
10115
*** used, and then restart.
8814
10116
 
8815
 
EOF
8816
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8817
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8818
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10117
_LT_EOF
 
10118
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10119
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10120
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8819
10121
      else
8820
10122
        ld_shlibs=no
8821
10123
      fi
8837
10139
_LT_EOF
8838
10140
        ;;
8839
10141
        *)
8840
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8841
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8842
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8843
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
10142
          # For security reasons, it is highly recommended that you always
 
10143
          # use absolute paths for naming shared libraries, and exclude the
 
10144
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
10145
          # requires that you compile everything twice, which is a pain.
 
10146
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10147
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10148
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10149
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8844
10150
          else
8845
10151
            ld_shlibs=no
8846
10152
          fi
8856
10162
      ;;
8857
10163
 
8858
10164
    *)
8859
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8860
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8861
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10165
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10166
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10167
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8862
10168
      else
8863
10169
        ld_shlibs=no
8864
10170
      fi
8898
10204
      else
8899
10205
        # If we're using GNU nm, then we don't want the "-C" option.
8900
10206
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8901
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8902
 
          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'
 
10207
        # Also, AIX nm treats weak defined symbols like other global
 
10208
        # defined symbols, whereas GNU nm marks them as "W".
 
10209
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
10210
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8903
10211
        else
8904
 
          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'
 
10212
          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'
8905
10213
        fi
8906
10214
        aix_use_runtimelinking=no
8907
10215
 
8910
10218
        # need to do runtime linking.
8911
10219
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8912
10220
          for ld_flag in $LDFLAGS; do
8913
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8914
 
            aix_use_runtimelinking=yes
8915
 
            break
8916
 
          fi
 
10221
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
10222
            aix_use_runtimelinking=yes
 
10223
            break
 
10224
          fi
8917
10225
          done
8918
10226
          ;;
8919
10227
        esac
8930
10238
 
8931
10239
      archive_cmds=''
8932
10240
      hardcode_direct=yes
 
10241
      hardcode_direct_absolute=yes
8933
10242
      hardcode_libdir_separator=':'
8934
10243
      link_all_deplibs=yes
 
10244
      file_list_spec='${wl}-f,'
8935
10245
 
8936
10246
      if test "$GCC" = yes; then
8937
10247
        case $host_os in aix4.[012]|aix4.[012].*)
8938
10248
        # We only want to do this on AIX 4.2 and lower, the check
8939
10249
        # below for broken collect2 doesn't work under 4.3+
8940
10250
          collect2name=`${CC} -print-prog-name=collect2`
8941
 
          if test -f "$collect2name" && \
8942
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
10251
          if test -f "$collect2name" &&
 
10252
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8943
10253
          then
8944
 
          # We have reworked collect2
8945
 
          :
 
10254
          # We have reworked collect2
 
10255
          :
8946
10256
          else
8947
 
          # We have old collect2
8948
 
          hardcode_direct=unsupported
8949
 
          # It fails to find uninstalled libraries when the uninstalled
8950
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8951
 
          # to unsupported forces relinking
8952
 
          hardcode_minus_L=yes
8953
 
          hardcode_libdir_flag_spec='-L$libdir'
8954
 
          hardcode_libdir_separator=
 
10257
          # We have old collect2
 
10258
          hardcode_direct=unsupported
 
10259
          # It fails to find uninstalled libraries when the uninstalled
 
10260
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
10261
          # to unsupported forces relinking
 
10262
          hardcode_minus_L=yes
 
10263
          hardcode_libdir_flag_spec='-L$libdir'
 
10264
          hardcode_libdir_separator=
8955
10265
          fi
8956
10266
          ;;
8957
10267
        esac
8962
10272
      else
8963
10273
        # not using gcc
8964
10274
        if test "$host_cpu" = ia64; then
8965
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8966
 
        # chokes on -Wl,-G. The following line is correct:
 
10275
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
10276
        # chokes on -Wl,-G. The following line is correct:
8967
10277
          shared_flag='-G'
8968
10278
        else
8969
10279
          if test "$aix_use_runtimelinking" = yes; then
8974
10284
        fi
8975
10285
      fi
8976
10286
 
 
10287
      export_dynamic_flag_spec='${wl}-bexpall'
8977
10288
      # It seems that -bexpall does not export symbols beginning with
8978
10289
      # underscore (_), so it is better to generate a list of symbols to export.
8979
10290
      always_export_symbols=yes
8981
10292
        # Warning - without using the other runtime loading flags (-brtl),
8982
10293
        # -berok will link without error, but may produce a broken library.
8983
10294
        allow_undefined_flag='-berok'
8984
 
       # Determine the default libpath from the value encoded in an empty executable.
8985
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10295
        # Determine the default libpath from the value encoded in an
 
10296
        # empty executable.
 
10297
        if test "${lt_cv_aix_libpath+set}" = set; then
 
10298
  aix_libpath=$lt_cv_aix_libpath
 
10299
else
 
10300
  if ${lt_cv_aix_libpath_+:} false; then :
 
10301
  $as_echo_n "(cached) " >&6
 
10302
else
 
10303
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8986
10304
/* end confdefs.h.  */
8987
10305
 
8988
10306
int
8995
10313
_ACEOF
8996
10314
if ac_fn_c_try_link "$LINENO"; then :
8997
10315
 
8998
 
lt_aix_libpath_sed='
8999
 
    /Import File Strings/,/^$/ {
9000
 
        /^0/ {
9001
 
            s/^0  *\(.*\)$/\1/
9002
 
            p
9003
 
        }
9004
 
    }'
9005
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9006
 
# Check for a 64-bit object if we didn't find anything.
9007
 
if test -z "$aix_libpath"; then
9008
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9009
 
fi
 
10316
  lt_aix_libpath_sed='
 
10317
      /Import File Strings/,/^$/ {
 
10318
          /^0/ {
 
10319
              s/^0  *\([^ ]*\) *$/\1/
 
10320
              p
 
10321
          }
 
10322
      }'
 
10323
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10324
  # Check for a 64-bit object if we didn't find anything.
 
10325
  if test -z "$lt_cv_aix_libpath_"; then
 
10326
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10327
  fi
9010
10328
fi
9011
10329
rm -f core conftest.err conftest.$ac_objext \
9012
10330
    conftest$ac_exeext conftest.$ac_ext
9013
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9014
 
 
9015
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9016
 
        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"
9017
 
       else
 
10331
  if test -z "$lt_cv_aix_libpath_"; then
 
10332
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10333
  fi
 
10334
 
 
10335
fi
 
10336
 
 
10337
  aix_libpath=$lt_cv_aix_libpath_
 
10338
fi
 
10339
 
 
10340
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
10341
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
10342
      else
9018
10343
        if test "$host_cpu" = ia64; then
9019
10344
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9020
10345
          allow_undefined_flag="-z nodefs"
9021
10346
          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"
9022
10347
        else
9023
 
         # Determine the default libpath from the value encoded in an empty executable.
9024
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10348
         # Determine the default libpath from the value encoded in an
 
10349
         # empty executable.
 
10350
         if test "${lt_cv_aix_libpath+set}" = set; then
 
10351
  aix_libpath=$lt_cv_aix_libpath
 
10352
else
 
10353
  if ${lt_cv_aix_libpath_+:} false; then :
 
10354
  $as_echo_n "(cached) " >&6
 
10355
else
 
10356
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9025
10357
/* end confdefs.h.  */
9026
10358
 
9027
10359
int
9034
10366
_ACEOF
9035
10367
if ac_fn_c_try_link "$LINENO"; then :
9036
10368
 
9037
 
lt_aix_libpath_sed='
9038
 
    /Import File Strings/,/^$/ {
9039
 
        /^0/ {
9040
 
            s/^0  *\(.*\)$/\1/
9041
 
            p
9042
 
        }
9043
 
    }'
9044
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9045
 
# Check for a 64-bit object if we didn't find anything.
9046
 
if test -z "$aix_libpath"; then
9047
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9048
 
fi
 
10369
  lt_aix_libpath_sed='
 
10370
      /Import File Strings/,/^$/ {
 
10371
          /^0/ {
 
10372
              s/^0  *\([^ ]*\) *$/\1/
 
10373
              p
 
10374
          }
 
10375
      }'
 
10376
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10377
  # Check for a 64-bit object if we didn't find anything.
 
10378
  if test -z "$lt_cv_aix_libpath_"; then
 
10379
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10380
  fi
9049
10381
fi
9050
10382
rm -f core conftest.err conftest.$ac_objext \
9051
10383
    conftest$ac_exeext conftest.$ac_ext
9052
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10384
  if test -z "$lt_cv_aix_libpath_"; then
 
10385
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10386
  fi
 
10387
 
 
10388
fi
 
10389
 
 
10390
  aix_libpath=$lt_cv_aix_libpath_
 
10391
fi
9053
10392
 
9054
10393
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9055
10394
          # Warning - without using the other run time loading flags,
9056
10395
          # -berok will link without error, but may produce a broken library.
9057
10396
          no_undefined_flag=' ${wl}-bernotok'
9058
10397
          allow_undefined_flag=' ${wl}-berok'
9059
 
          # Exported symbols can be pulled into shared objects from archives
9060
 
          whole_archive_flag_spec='$convenience'
 
10398
          if test "$with_gnu_ld" = yes; then
 
10399
            # We only use this code for GNU lds that support --whole-archive.
 
10400
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
10401
          else
 
10402
            # Exported symbols can be pulled into shared objects from archives
 
10403
            whole_archive_flag_spec='$convenience'
 
10404
          fi
9061
10405
          archive_cmds_need_lc=yes
9062
10406
          # This is similar to how AIX traditionally builds its shared libraries.
9063
10407
          archive_expsym_cmds="\$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'
9066
10410
      ;;
9067
10411
 
9068
10412
    amigaos*)
9069
 
      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)'
9070
 
      hardcode_libdir_flag_spec='-L$libdir'
9071
 
      hardcode_minus_L=yes
9072
 
      # see comment about different semantics on the GNU ld section
9073
 
      ld_shlibs=no
 
10413
      case $host_cpu in
 
10414
      powerpc)
 
10415
            # see comment about AmigaOS4 .so support
 
10416
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10417
            archive_expsym_cmds=''
 
10418
        ;;
 
10419
      m68k)
 
10420
            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)'
 
10421
            hardcode_libdir_flag_spec='-L$libdir'
 
10422
            hardcode_minus_L=yes
 
10423
        ;;
 
10424
      esac
9074
10425
      ;;
9075
10426
 
9076
10427
    bsdi[45]*)
9077
10428
      export_dynamic_flag_spec=-rdynamic
9078
10429
      ;;
9079
10430
 
9080
 
    cygwin* | mingw* | pw32*)
 
10431
    cygwin* | mingw* | pw32* | cegcc*)
9081
10432
      # When not using gcc, we currently assume that we are using
9082
10433
      # Microsoft Visual C++.
9083
10434
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9084
10435
      # no search path for DLLs.
9085
 
      hardcode_libdir_flag_spec=' '
9086
 
      allow_undefined_flag=unsupported
9087
 
      # Tell ltmain to make .lib files, not .a files.
9088
 
      libext=lib
9089
 
      # Tell ltmain to make .dll files, not .so files.
9090
 
      shrext_cmds=".dll"
9091
 
      # FIXME: Setting linknames here is a bad hack.
9092
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9093
 
      # The linker will automatically build a .lib file if we build a DLL.
9094
 
      old_archive_From_new_cmds='true'
9095
 
      # FIXME: Should let the user specify the lib program.
9096
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9097
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9098
 
      enable_shared_with_static_runtimes=yes
 
10436
      case $cc_basename in
 
10437
      cl*)
 
10438
        # Native MSVC
 
10439
        hardcode_libdir_flag_spec=' '
 
10440
        allow_undefined_flag=unsupported
 
10441
        always_export_symbols=yes
 
10442
        file_list_spec='@'
 
10443
        # Tell ltmain to make .lib files, not .a files.
 
10444
        libext=lib
 
10445
        # Tell ltmain to make .dll files, not .so files.
 
10446
        shrext_cmds=".dll"
 
10447
        # FIXME: Setting linknames here is a bad hack.
 
10448
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
10449
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10450
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
10451
          else
 
10452
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
10453
          fi~
 
10454
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
10455
          linknames='
 
10456
        # The linker will not automatically build a static lib if we build a DLL.
 
10457
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
10458
        enable_shared_with_static_runtimes=yes
 
10459
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10460
        # Don't use ranlib
 
10461
        old_postinstall_cmds='chmod 644 $oldlib'
 
10462
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
10463
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
10464
          case $lt_outputfile in
 
10465
            *.exe|*.EXE) ;;
 
10466
            *)
 
10467
              lt_outputfile="$lt_outputfile.exe"
 
10468
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
10469
              ;;
 
10470
          esac~
 
10471
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
10472
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
10473
            $RM "$lt_outputfile.manifest";
 
10474
          fi'
 
10475
        ;;
 
10476
      *)
 
10477
        # Assume MSVC wrapper
 
10478
        hardcode_libdir_flag_spec=' '
 
10479
        allow_undefined_flag=unsupported
 
10480
        # Tell ltmain to make .lib files, not .a files.
 
10481
        libext=lib
 
10482
        # Tell ltmain to make .dll files, not .so files.
 
10483
        shrext_cmds=".dll"
 
10484
        # FIXME: Setting linknames here is a bad hack.
 
10485
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
10486
        # The linker will automatically build a .lib file if we build a DLL.
 
10487
        old_archive_from_new_cmds='true'
 
10488
        # FIXME: Should let the user specify the lib program.
 
10489
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
10490
        enable_shared_with_static_runtimes=yes
 
10491
        ;;
 
10492
      esac
9099
10493
      ;;
9100
10494
 
9101
10495
    darwin* | rhapsody*)
9102
 
      case $host_os in
9103
 
        rhapsody* | darwin1.[012])
9104
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
9105
 
         ;;
9106
 
       *) # Darwin 1.3 on
9107
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9108
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9109
 
         else
9110
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
9111
 
             10.[012])
9112
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9113
 
               ;;
9114
 
             10.*)
9115
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
9116
 
               ;;
9117
 
           esac
9118
 
         fi
9119
 
         ;;
9120
 
      esac
9121
 
      archive_cmds_need_lc=no
9122
 
      hardcode_direct=no
9123
 
      hardcode_automatic=yes
9124
 
      hardcode_shlibpath_var=unsupported
9125
 
      whole_archive_flag_spec=''
9126
 
      link_all_deplibs=yes
9127
 
    if test "$GCC" = yes ; then
9128
 
        output_verbose_link_cmd='echo'
9129
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9130
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9131
 
        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}"
9132
 
        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}"
9133
 
    else
9134
 
      case $cc_basename in
9135
 
        xlc*)
9136
 
         output_verbose_link_cmd='echo'
9137
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9138
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9139
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9140
 
         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}'
9141
 
          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}'
9142
 
          ;;
9143
 
       *)
9144
 
         ld_shlibs=no
9145
 
          ;;
9146
 
      esac
9147
 
    fi
 
10496
 
 
10497
 
 
10498
  archive_cmds_need_lc=no
 
10499
  hardcode_direct=no
 
10500
  hardcode_automatic=yes
 
10501
  hardcode_shlibpath_var=unsupported
 
10502
  if test "$lt_cv_ld_force_load" = "yes"; then
 
10503
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
10504
  else
 
10505
    whole_archive_flag_spec=''
 
10506
  fi
 
10507
  link_all_deplibs=yes
 
10508
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
10509
  case $cc_basename in
 
10510
     ifort*) _lt_dar_can_shared=yes ;;
 
10511
     *) _lt_dar_can_shared=$GCC ;;
 
10512
  esac
 
10513
  if test "$_lt_dar_can_shared" = "yes"; then
 
10514
    output_verbose_link_cmd=func_echo_all
 
10515
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
10516
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
10517
    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}"
 
10518
    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}"
 
10519
 
 
10520
  else
 
10521
  ld_shlibs=no
 
10522
  fi
 
10523
 
9148
10524
      ;;
9149
10525
 
9150
10526
    dgux*)
9178
10554
 
9179
10555
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9180
10556
    freebsd* | dragonfly*)
9181
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
10557
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9182
10558
      hardcode_libdir_flag_spec='-R$libdir'
9183
10559
      hardcode_direct=yes
9184
10560
      hardcode_shlibpath_var=no
9186
10562
 
9187
10563
    hpux9*)
9188
10564
      if test "$GCC" = yes; then
9189
 
        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'
 
10565
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9190
10566
      else
9191
 
        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'
 
10567
        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'
9192
10568
      fi
9193
10569
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9194
10570
      hardcode_libdir_separator=:
9201
10577
      ;;
9202
10578
 
9203
10579
    hpux10*)
9204
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9205
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10580
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
10581
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9206
10582
      else
9207
10583
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9208
10584
      fi
9209
10585
      if test "$with_gnu_ld" = no; then
9210
10586
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
10587
        hardcode_libdir_flag_spec_ld='+b $libdir'
9211
10588
        hardcode_libdir_separator=:
9212
 
 
9213
10589
        hardcode_direct=yes
 
10590
        hardcode_direct_absolute=yes
9214
10591
        export_dynamic_flag_spec='${wl}-E'
9215
 
 
9216
10592
        # hardcode_minus_L: Not really in the search PATH,
9217
10593
        # but as the default location of the library.
9218
10594
        hardcode_minus_L=yes
9220
10596
      ;;
9221
10597
 
9222
10598
    hpux11*)
9223
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
10599
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9224
10600
        case $host_cpu in
9225
10601
        hppa*64*)
9226
10602
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9227
10603
          ;;
9228
10604
        ia64*)
9229
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10605
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9230
10606
          ;;
9231
10607
        *)
9232
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10608
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9233
10609
          ;;
9234
10610
        esac
9235
10611
      else
9241
10617
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9242
10618
          ;;
9243
10619
        *)
9244
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10620
 
 
10621
          # Older versions of the 11.00 compiler do not understand -b yet
 
10622
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
10623
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
10624
$as_echo_n "checking if $CC understands -b... " >&6; }
 
10625
if ${lt_cv_prog_compiler__b+:} false; then :
 
10626
  $as_echo_n "(cached) " >&6
 
10627
else
 
10628
  lt_cv_prog_compiler__b=no
 
10629
   save_LDFLAGS="$LDFLAGS"
 
10630
   LDFLAGS="$LDFLAGS -b"
 
10631
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
10632
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
10633
     # The linker can only warn and ignore the option if not recognized
 
10634
     # So say no if there are warnings
 
10635
     if test -s conftest.err; then
 
10636
       # Append any errors to the config.log.
 
10637
       cat conftest.err 1>&5
 
10638
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
10639
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10640
       if diff conftest.exp conftest.er2 >/dev/null; then
 
10641
         lt_cv_prog_compiler__b=yes
 
10642
       fi
 
10643
     else
 
10644
       lt_cv_prog_compiler__b=yes
 
10645
     fi
 
10646
   fi
 
10647
   $RM -r conftest*
 
10648
   LDFLAGS="$save_LDFLAGS"
 
10649
 
 
10650
fi
 
10651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
10652
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
10653
 
 
10654
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
10655
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10656
else
 
10657
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
10658
fi
 
10659
 
9245
10660
          ;;
9246
10661
        esac
9247
10662
      fi
9251
10666
 
9252
10667
        case $host_cpu in
9253
10668
        hppa*64*|ia64*)
9254
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
9255
10669
          hardcode_direct=no
9256
10670
          hardcode_shlibpath_var=no
9257
10671
          ;;
9258
10672
        *)
9259
10673
          hardcode_direct=yes
 
10674
          hardcode_direct_absolute=yes
9260
10675
          export_dynamic_flag_spec='${wl}-E'
9261
10676
 
9262
10677
          # hardcode_minus_L: Not really in the search PATH,
9269
10684
 
9270
10685
    irix5* | irix6* | nonstopux*)
9271
10686
      if test "$GCC" = yes; then
9272
 
        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'
 
10687
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10688
        # Try to use the -exported_symbol ld option, if it does not
 
10689
        # work, assume that -exports_file does not work either and
 
10690
        # implicitly export all symbols.
 
10691
        # This should be the same for all languages, so no per-tag cache variable.
 
10692
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
10693
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
10694
if ${lt_cv_irix_exported_symbol+:} false; then :
 
10695
  $as_echo_n "(cached) " >&6
 
10696
else
 
10697
  save_LDFLAGS="$LDFLAGS"
 
10698
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
10699
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10700
/* end confdefs.h.  */
 
10701
int foo (void) { return 0; }
 
10702
_ACEOF
 
10703
if ac_fn_c_try_link "$LINENO"; then :
 
10704
  lt_cv_irix_exported_symbol=yes
 
10705
else
 
10706
  lt_cv_irix_exported_symbol=no
 
10707
fi
 
10708
rm -f core conftest.err conftest.$ac_objext \
 
10709
    conftest$ac_exeext conftest.$ac_ext
 
10710
           LDFLAGS="$save_LDFLAGS"
 
10711
fi
 
10712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
10713
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
10714
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
10715
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
10716
        fi
9273
10717
      else
9274
 
        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'
9275
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
10718
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
10719
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9276
10720
      fi
 
10721
      archive_cmds_need_lc='no'
9277
10722
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9278
10723
      hardcode_libdir_separator=:
 
10724
      inherit_rpath=yes
9279
10725
      link_all_deplibs=yes
9280
10726
      ;;
9281
10727
 
9282
10728
    netbsd*)
9283
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10729
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9284
10730
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9285
10731
      else
9286
10732
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9298
10744
      hardcode_shlibpath_var=no
9299
10745
      ;;
9300
10746
 
 
10747
    *nto* | *qnx*)
 
10748
      ;;
 
10749
 
9301
10750
    openbsd*)
9302
10751
      if test -f /usr/libexec/ld.so; then
9303
10752
        hardcode_direct=yes
9304
10753
        hardcode_shlibpath_var=no
9305
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10754
        hardcode_direct_absolute=yes
 
10755
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9306
10756
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9307
10757
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9308
10758
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9318
10768
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9319
10769
             ;;
9320
10770
          esac
9321
 
        fi
 
10771
        fi
9322
10772
      else
9323
10773
        ld_shlibs=no
9324
10774
      fi
9328
10778
      hardcode_libdir_flag_spec='-L$libdir'
9329
10779
      hardcode_minus_L=yes
9330
10780
      allow_undefined_flag=unsupported
9331
 
      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'
9332
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
10781
      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'
 
10782
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9333
10783
      ;;
9334
10784
 
9335
10785
    osf3*)
9336
10786
      if test "$GCC" = yes; then
9337
10787
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9338
 
        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'
 
10788
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9339
10789
      else
9340
10790
        allow_undefined_flag=' -expect_unresolved \*'
9341
 
        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'
 
10791
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9342
10792
      fi
 
10793
      archive_cmds_need_lc='no'
9343
10794
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9344
10795
      hardcode_libdir_separator=:
9345
10796
      ;;
9347
10798
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9348
10799
      if test "$GCC" = yes; then
9349
10800
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9350
 
        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'
 
10801
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9351
10802
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9352
10803
      else
9353
10804
        allow_undefined_flag=' -expect_unresolved \*'
9354
 
        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'
9355
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9356
 
        $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'
 
10805
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
10806
        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~
 
10807
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9357
10808
 
9358
10809
        # Both c and cxx compiler support -rpath directly
9359
10810
        hardcode_libdir_flag_spec='-rpath $libdir'
9360
10811
      fi
 
10812
      archive_cmds_need_lc='no'
9361
10813
      hardcode_libdir_separator=:
9362
10814
      ;;
9363
10815
 
9364
10816
    solaris*)
9365
 
      no_undefined_flag=' -z text'
 
10817
      no_undefined_flag=' -z defs'
9366
10818
      if test "$GCC" = yes; then
9367
10819
        wlarc='${wl}'
9368
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9369
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9370
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
10820
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10821
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10822
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9371
10823
      else
9372
 
        wlarc=''
9373
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9374
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9375
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
10824
        case `$CC -V 2>&1` in
 
10825
        *"Compilers 5.0"*)
 
10826
          wlarc=''
 
10827
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10828
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10829
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
10830
          ;;
 
10831
        *)
 
10832
          wlarc='${wl}'
 
10833
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
10834
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10835
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10836
          ;;
 
10837
        esac
9376
10838
      fi
9377
10839
      hardcode_libdir_flag_spec='-R$libdir'
9378
10840
      hardcode_shlibpath_var=no
9382
10844
        # The compiler driver will combine and reorder linker options,
9383
10845
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9384
10846
        # but is careful enough not to reorder.
9385
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
10847
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9386
10848
        if test "$GCC" = yes; then
9387
10849
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9388
10850
        else
9471
10933
      allow_undefined_flag='${wl}-z,nodefs'
9472
10934
      archive_cmds_need_lc=no
9473
10935
      hardcode_shlibpath_var=no
9474
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
10936
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9475
10937
      hardcode_libdir_separator=':'
9476
10938
      link_all_deplibs=yes
9477
10939
      export_dynamic_flag_spec='${wl}-Bexport'
9478
10940
      runpath_var='LD_RUN_PATH'
9479
10941
 
9480
10942
      if test "$GCC" = yes; then
9481
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9482
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10943
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10944
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9483
10945
      else
9484
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9485
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10946
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10947
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9486
10948
      fi
9487
10949
      ;;
9488
10950
 
9496
10958
      ld_shlibs=no
9497
10959
      ;;
9498
10960
    esac
 
10961
 
 
10962
    if test x$host_vendor = xsni; then
 
10963
      case $host in
 
10964
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10965
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10966
        ;;
 
10967
      esac
 
10968
    fi
9499
10969
  fi
9500
10970
 
9501
10971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9502
10972
$as_echo "$ld_shlibs" >&6; }
9503
10973
test "$ld_shlibs" = no && can_build_shared=no
9504
10974
 
 
10975
with_gnu_ld=$with_gnu_ld
 
10976
 
 
10977
 
 
10978
 
 
10979
 
 
10980
 
 
10981
 
 
10982
 
 
10983
 
 
10984
 
 
10985
 
 
10986
 
 
10987
 
 
10988
 
 
10989
 
 
10990
 
9505
10991
#
9506
10992
# Do we need to explicitly link libc?
9507
10993
#
9521
11007
      # to ld, don't add -lc before -lgcc.
9522
11008
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9523
11009
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9524
 
      $rm conftest*
9525
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11010
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
11011
  $as_echo_n "(cached) " >&6
 
11012
else
 
11013
  $RM conftest*
 
11014
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9526
11015
 
9527
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
11016
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9528
11017
  (eval $ac_compile) 2>&5
9529
11018
  ac_status=$?
9530
11019
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9531
11020
  test $ac_status = 0; } 2>conftest.err; then
9532
 
        soname=conftest
9533
 
        lib=conftest
9534
 
        libobjs=conftest.$ac_objext
9535
 
        deplibs=
9536
 
        wl=$lt_prog_compiler_wl
9537
 
        pic_flag=$lt_prog_compiler_pic
9538
 
        compiler_flags=-v
9539
 
        linker_flags=-v
9540
 
        verstring=
9541
 
        output_objdir=.
9542
 
        libname=conftest
9543
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9544
 
        allow_undefined_flag=
9545
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9546
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
11021
          soname=conftest
 
11022
          lib=conftest
 
11023
          libobjs=conftest.$ac_objext
 
11024
          deplibs=
 
11025
          wl=$lt_prog_compiler_wl
 
11026
          pic_flag=$lt_prog_compiler_pic
 
11027
          compiler_flags=-v
 
11028
          linker_flags=-v
 
11029
          verstring=
 
11030
          output_objdir=.
 
11031
          libname=conftest
 
11032
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
11033
          allow_undefined_flag=
 
11034
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
11035
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9547
11036
  ac_status=$?
9548
11037
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9549
11038
  test $ac_status = 0; }
9550
 
        then
9551
 
          archive_cmds_need_lc=no
9552
 
        else
9553
 
          archive_cmds_need_lc=yes
9554
 
        fi
9555
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9556
 
      else
9557
 
        cat conftest.err 1>&5
9558
 
      fi
9559
 
      $rm conftest*
9560
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9561
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
11039
          then
 
11040
            lt_cv_archive_cmds_need_lc=no
 
11041
          else
 
11042
            lt_cv_archive_cmds_need_lc=yes
 
11043
          fi
 
11044
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
11045
        else
 
11046
          cat conftest.err 1>&5
 
11047
        fi
 
11048
        $RM conftest*
 
11049
 
 
11050
fi
 
11051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
11052
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
11053
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9562
11054
      ;;
9563
11055
    esac
9564
11056
  fi
9565
11057
  ;;
9566
11058
esac
9567
11059
 
9568
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
11060
 
 
11061
 
 
11062
 
 
11063
 
 
11064
 
 
11065
 
 
11066
 
 
11067
 
 
11068
 
 
11069
 
 
11070
 
 
11071
 
 
11072
 
 
11073
 
 
11074
 
 
11075
 
 
11076
 
 
11077
 
 
11078
 
 
11079
 
 
11080
 
 
11081
 
 
11082
 
 
11083
 
 
11084
 
 
11085
 
 
11086
 
 
11087
 
 
11088
 
 
11089
 
 
11090
 
 
11091
 
 
11092
 
 
11093
 
 
11094
 
 
11095
 
 
11096
 
 
11097
 
 
11098
 
 
11099
 
 
11100
 
 
11101
 
 
11102
 
 
11103
 
 
11104
 
 
11105
 
 
11106
 
 
11107
 
 
11108
 
 
11109
 
 
11110
 
 
11111
 
 
11112
 
 
11113
 
 
11114
 
 
11115
 
 
11116
 
 
11117
 
 
11118
 
 
11119
 
 
11120
 
 
11121
 
 
11122
 
 
11123
 
 
11124
 
 
11125
 
 
11126
 
 
11127
 
 
11128
 
 
11129
 
 
11130
 
 
11131
 
 
11132
 
 
11133
 
 
11134
 
 
11135
 
 
11136
 
 
11137
 
 
11138
 
 
11139
 
 
11140
 
 
11141
 
 
11142
 
 
11143
 
 
11144
 
 
11145
 
 
11146
 
 
11147
 
 
11148
 
 
11149
 
 
11150
 
 
11151
 
 
11152
 
 
11153
 
 
11154
 
 
11155
 
 
11156
 
 
11157
 
 
11158
 
 
11159
 
 
11160
 
 
11161
 
 
11162
 
 
11163
 
 
11164
 
 
11165
 
 
11166
 
 
11167
 
 
11168
 
 
11169
 
 
11170
 
 
11171
 
 
11172
 
 
11173
 
 
11174
 
 
11175
 
 
11176
 
 
11177
 
 
11178
 
 
11179
 
 
11180
 
 
11181
 
 
11182
 
 
11183
 
 
11184
 
 
11185
 
 
11186
 
 
11187
 
 
11188
 
 
11189
 
 
11190
 
 
11191
 
 
11192
 
 
11193
 
 
11194
 
 
11195
 
 
11196
 
 
11197
 
 
11198
 
 
11199
 
 
11200
 
 
11201
 
 
11202
 
 
11203
 
 
11204
 
 
11205
 
 
11206
 
 
11207
 
 
11208
 
 
11209
 
 
11210
 
 
11211
 
 
11212
 
 
11213
 
 
11214
 
 
11215
 
 
11216
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9569
11217
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9570
 
library_names_spec=
9571
 
libname_spec='lib$name'
9572
 
soname_spec=
9573
 
shrext_cmds=".so"
9574
 
postinstall_cmds=
9575
 
postuninstall_cmds=
9576
 
finish_cmds=
9577
 
finish_eval=
9578
 
shlibpath_var=
9579
 
shlibpath_overrides_runpath=unknown
9580
 
version_type=none
9581
 
dynamic_linker="$host_os ld.so"
9582
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9583
11218
 
9584
11219
if test "$GCC" = yes; then
9585
11220
  case $host_os in
9586
11221
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9587
11222
    *) lt_awk_arg="/^libraries:/" ;;
9588
11223
  esac
9589
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9590
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
11224
  case $host_os in
 
11225
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
11226
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
11227
  esac
 
11228
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
11229
  case $lt_search_path_spec in
 
11230
  *\;*)
9591
11231
    # if the path contains ";" then we assume it to be the separator
9592
11232
    # otherwise default to the standard path separator (i.e. ":") - it is
9593
11233
    # assumed that no part of a normal pathname contains ";" but that should
9594
11234
    # okay in the real world where ";" in dirpaths is itself problematic.
9595
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9596
 
  else
9597
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9598
 
  fi
 
11235
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
11236
    ;;
 
11237
  *)
 
11238
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
11239
    ;;
 
11240
  esac
9599
11241
  # Ok, now we have the path, separated by spaces, we can step through it
9600
11242
  # and add multilib dir if necessary.
9601
11243
  lt_tmp_lt_search_path_spec=
9608
11250
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9609
11251
    fi
9610
11252
  done
9611
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
11253
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9612
11254
BEGIN {RS=" "; FS="/|\n";} {
9613
11255
  lt_foo="";
9614
11256
  lt_count=0;
9628
11270
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9629
11271
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9630
11272
}'`
9631
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
11273
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
11274
  # for these hosts.
 
11275
  case $host_os in
 
11276
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
11277
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
11278
  esac
 
11279
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9632
11280
else
9633
11281
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9634
11282
fi
 
11283
library_names_spec=
 
11284
libname_spec='lib$name'
 
11285
soname_spec=
 
11286
shrext_cmds=".so"
 
11287
postinstall_cmds=
 
11288
postuninstall_cmds=
 
11289
finish_cmds=
 
11290
finish_eval=
 
11291
shlibpath_var=
 
11292
shlibpath_overrides_runpath=unknown
 
11293
version_type=none
 
11294
dynamic_linker="$host_os ld.so"
 
11295
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9635
11296
need_lib_prefix=unknown
9636
11297
hardcode_into_libs=no
9637
11298
 
9668
11329
      aix4 | aix4.[01] | aix4.[01].*)
9669
11330
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9670
11331
           echo ' yes '
9671
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
11332
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9672
11333
        :
9673
11334
      else
9674
11335
        can_build_shared=no
9694
11355
  ;;
9695
11356
 
9696
11357
amigaos*)
9697
 
  library_names_spec='$libname.ixlibrary $libname.a'
9698
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
9699
 
  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'
 
11358
  case $host_cpu in
 
11359
  powerpc)
 
11360
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
11361
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
11362
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11363
    ;;
 
11364
  m68k)
 
11365
    library_names_spec='$libname.ixlibrary $libname.a'
 
11366
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
11367
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
 
11368
    ;;
 
11369
  esac
9700
11370
  ;;
9701
11371
 
9702
11372
beos*)
9719
11389
  # libtool to hard-code these into programs
9720
11390
  ;;
9721
11391
 
9722
 
cygwin* | mingw* | pw32*)
 
11392
cygwin* | mingw* | pw32* | cegcc*)
9723
11393
  version_type=windows
9724
11394
  shrext_cmds=".dll"
9725
11395
  need_version=no
9726
11396
  need_lib_prefix=no
9727
11397
 
9728
 
  case $GCC,$host_os in
9729
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
11398
  case $GCC,$cc_basename in
 
11399
  yes,*)
 
11400
    # gcc
9730
11401
    library_names_spec='$libname.dll.a'
9731
11402
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9732
11403
    postinstall_cmds='base_file=`basename \${file}`~
9733
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
11404
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9734
11405
      dldir=$destdir/`dirname \$dlpath`~
9735
11406
      test -d \$dldir || mkdir -p \$dldir~
9736
11407
      $install_prog $dir/$dlname \$dldir/$dlname~
9737
 
      chmod a+x \$dldir/$dlname'
 
11408
      chmod a+x \$dldir/$dlname~
 
11409
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
11410
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
11411
      fi'
9738
11412
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9739
11413
      dlpath=$dir/\$dldll~
9740
 
       $rm \$dlpath'
 
11414
       $RM \$dlpath'
9741
11415
    shlibpath_overrides_runpath=yes
9742
11416
 
9743
11417
    case $host_os in
9744
11418
    cygwin*)
9745
11419
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9746
11420
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9747
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
11421
 
 
11422
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9748
11423
      ;;
9749
 
    mingw*)
 
11424
    mingw* | cegcc*)
9750
11425
      # MinGW DLLs use traditional 'lib' prefix
9751
11426
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9752
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9753
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9754
 
        # It is most probably a Windows format PATH printed by
9755
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9756
 
        # path with ; separators, and with drive letters. We can handle the
9757
 
        # drive letters (cygwin fileutils understands them), so leave them,
9758
 
        # especially as we might pass files found there to a mingw objdump,
9759
 
        # which wouldn't understand a cygwinified path. Ahh.
9760
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9761
 
      else
9762
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9763
 
      fi
9764
11427
      ;;
9765
11428
    pw32*)
9766
11429
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9767
11430
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9768
11431
      ;;
9769
11432
    esac
 
11433
    dynamic_linker='Win32 ld.exe'
 
11434
    ;;
 
11435
 
 
11436
  *,cl*)
 
11437
    # Native MSVC
 
11438
    libname_spec='$name'
 
11439
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11440
    library_names_spec='${libname}.dll.lib'
 
11441
 
 
11442
    case $build_os in
 
11443
    mingw*)
 
11444
      sys_lib_search_path_spec=
 
11445
      lt_save_ifs=$IFS
 
11446
      IFS=';'
 
11447
      for lt_path in $LIB
 
11448
      do
 
11449
        IFS=$lt_save_ifs
 
11450
        # Let DOS variable expansion print the short 8.3 style file name.
 
11451
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
11452
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
11453
      done
 
11454
      IFS=$lt_save_ifs
 
11455
      # Convert to MSYS style.
 
11456
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
11457
      ;;
 
11458
    cygwin*)
 
11459
      # Convert to unix form, then to dos form, then back to unix form
 
11460
      # but this time dos style (no spaces!) so that the unix form looks
 
11461
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
11462
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
11463
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
11464
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11465
      ;;
 
11466
    *)
 
11467
      sys_lib_search_path_spec="$LIB"
 
11468
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
11469
        # It is most probably a Windows format PATH.
 
11470
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11471
      else
 
11472
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11473
      fi
 
11474
      # FIXME: find the short name or the path components, as spaces are
 
11475
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
11476
      ;;
 
11477
    esac
 
11478
 
 
11479
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11480
    postinstall_cmds='base_file=`basename \${file}`~
 
11481
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11482
      dldir=$destdir/`dirname \$dlpath`~
 
11483
      test -d \$dldir || mkdir -p \$dldir~
 
11484
      $install_prog $dir/$dlname \$dldir/$dlname'
 
11485
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11486
      dlpath=$dir/\$dldll~
 
11487
       $RM \$dlpath'
 
11488
    shlibpath_overrides_runpath=yes
 
11489
    dynamic_linker='Win32 link.exe'
9770
11490
    ;;
9771
11491
 
9772
11492
  *)
 
11493
    # Assume MSVC wrapper
9773
11494
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
11495
    dynamic_linker='Win32 ld.exe'
9774
11496
    ;;
9775
11497
  esac
9776
 
  dynamic_linker='Win32 ld.exe'
9777
11498
  # FIXME: first we should search . and the directory the executable is in
9778
11499
  shlibpath_var=PATH
9779
11500
  ;;
9783
11504
  version_type=darwin
9784
11505
  need_lib_prefix=no
9785
11506
  need_version=no
9786
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
11507
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9787
11508
  soname_spec='${libname}${release}${major}$shared_ext'
9788
11509
  shlibpath_overrides_runpath=yes
9789
11510
  shlibpath_var=DYLD_LIBRARY_PATH
9860
11581
  hardcode_into_libs=yes
9861
11582
  ;;
9862
11583
 
 
11584
haiku*)
 
11585
  version_type=linux
 
11586
  need_lib_prefix=no
 
11587
  need_version=no
 
11588
  dynamic_linker="$host_os runtime_loader"
 
11589
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
11590
  soname_spec='${libname}${release}${shared_ext}$major'
 
11591
  shlibpath_var=LIBRARY_PATH
 
11592
  shlibpath_overrides_runpath=yes
 
11593
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
11594
  hardcode_into_libs=yes
 
11595
  ;;
 
11596
 
9863
11597
hpux9* | hpux10* | hpux11*)
9864
11598
  # Give a soname corresponding to the major version so that dld.sl refuses to
9865
11599
  # link against other versions.
9882
11616
    fi
9883
11617
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9884
11618
    ;;
9885
 
   hppa*64*)
9886
 
     shrext_cmds='.sl'
9887
 
     hardcode_into_libs=yes
9888
 
     dynamic_linker="$host_os dld.sl"
9889
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9890
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9891
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9892
 
     soname_spec='${libname}${release}${shared_ext}$major'
9893
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9894
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9895
 
     ;;
9896
 
   *)
 
11619
  hppa*64*)
 
11620
    shrext_cmds='.sl'
 
11621
    hardcode_into_libs=yes
 
11622
    dynamic_linker="$host_os dld.sl"
 
11623
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
11624
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
11625
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11626
    soname_spec='${libname}${release}${shared_ext}$major'
 
11627
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
11628
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
11629
    ;;
 
11630
  *)
9897
11631
    shrext_cmds='.sl'
9898
11632
    dynamic_linker="$host_os dld.sl"
9899
11633
    shlibpath_var=SHLIB_PATH
9902
11636
    soname_spec='${libname}${release}${shared_ext}$major'
9903
11637
    ;;
9904
11638
  esac
9905
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
11639
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9906
11640
  postinstall_cmds='chmod 555 $lib'
 
11641
  # or fails outright, so override atomically:
 
11642
  install_override_mode=555
9907
11643
  ;;
9908
11644
 
9909
11645
interix[3-9]*)
9961
11697
  ;;
9962
11698
 
9963
11699
# This must be Linux ELF.
9964
 
linux* | k*bsd*-gnu)
 
11700
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9965
11701
  version_type=linux
9966
11702
  need_lib_prefix=no
9967
11703
  need_version=no
9970
11706
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9971
11707
  shlibpath_var=LD_LIBRARY_PATH
9972
11708
  shlibpath_overrides_runpath=no
 
11709
 
 
11710
  # Some binutils ld are patched to set DT_RUNPATH
 
11711
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
11712
  $as_echo_n "(cached) " >&6
 
11713
else
 
11714
  lt_cv_shlibpath_overrides_runpath=no
 
11715
    save_LDFLAGS=$LDFLAGS
 
11716
    save_libdir=$libdir
 
11717
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
11718
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
11719
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11720
/* end confdefs.h.  */
 
11721
 
 
11722
int
 
11723
main ()
 
11724
{
 
11725
 
 
11726
  ;
 
11727
  return 0;
 
11728
}
 
11729
_ACEOF
 
11730
if ac_fn_c_try_link "$LINENO"; then :
 
11731
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
11732
  lt_cv_shlibpath_overrides_runpath=yes
 
11733
fi
 
11734
fi
 
11735
rm -f core conftest.err conftest.$ac_objext \
 
11736
    conftest$ac_exeext conftest.$ac_ext
 
11737
    LDFLAGS=$save_LDFLAGS
 
11738
    libdir=$save_libdir
 
11739
 
 
11740
fi
 
11741
 
 
11742
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
11743
 
9973
11744
  # This implies no fast_install, which is unacceptable.
9974
11745
  # Some rework will be needed to allow for fast_install
9975
11746
  # before this can be enabled.
9977
11748
 
9978
11749
  # Append ld.so.conf contents to the search path
9979
11750
  if test -f /etc/ld.so.conf; then
9980
 
    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' ' '`
 
11751
    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;s/"//g;/^$/d' | tr '\n' ' '`
9981
11752
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9982
11753
  fi
9983
11754
 
9994
11765
  version_type=sunos
9995
11766
  need_lib_prefix=no
9996
11767
  need_version=no
9997
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
11768
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9998
11769
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9999
11770
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10000
11771
    dynamic_linker='NetBSD (a.out) ld.so'
10015
11786
  shlibpath_overrides_runpath=yes
10016
11787
  ;;
10017
11788
 
10018
 
nto-qnx*)
10019
 
  version_type=linux
 
11789
*nto* | *qnx*)
 
11790
  version_type=qnx
10020
11791
  need_lib_prefix=no
10021
11792
  need_version=no
10022
11793
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10023
11794
  soname_spec='${libname}${release}${shared_ext}$major'
10024
11795
  shlibpath_var=LD_LIBRARY_PATH
10025
 
  shlibpath_overrides_runpath=yes
 
11796
  shlibpath_overrides_runpath=no
 
11797
  hardcode_into_libs=yes
 
11798
  dynamic_linker='ldqnx.so'
10026
11799
  ;;
10027
11800
 
10028
11801
openbsd*)
10031
11804
  need_lib_prefix=no
10032
11805
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10033
11806
  case $host_os in
10034
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10035
 
    *)                         need_version=no  ;;
 
11807
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
11808
    *)                          need_version=no  ;;
10036
11809
  esac
10037
11810
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10038
11811
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10039
11812
  shlibpath_var=LD_LIBRARY_PATH
10040
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11813
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10041
11814
    case $host_os in
10042
11815
      openbsd2.[89] | openbsd2.[89].*)
10043
11816
        shlibpath_overrides_runpath=no
10109
11882
    sni)
10110
11883
      shlibpath_overrides_runpath=no
10111
11884
      need_lib_prefix=no
10112
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
10113
11885
      runpath_var=LD_RUN_PATH
10114
11886
      ;;
10115
11887
    siemens)
10140
11912
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10141
11913
  soname_spec='${libname}${release}${shared_ext}$major'
10142
11914
  shlibpath_var=LD_LIBRARY_PATH
 
11915
  shlibpath_overrides_runpath=yes
10143
11916
  hardcode_into_libs=yes
10144
11917
  if test "$with_gnu_ld" = yes; then
10145
11918
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10146
 
    shlibpath_overrides_runpath=no
10147
11919
  else
10148
11920
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10149
 
    shlibpath_overrides_runpath=yes
10150
11921
    case $host_os in
10151
11922
      sco3.2v5*)
10152
11923
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10156
11927
  sys_lib_dlsearch_path_spec='/usr/lib'
10157
11928
  ;;
10158
11929
 
 
11930
tpf*)
 
11931
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
11932
  version_type=linux
 
11933
  need_lib_prefix=no
 
11934
  need_version=no
 
11935
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11936
  shlibpath_var=LD_LIBRARY_PATH
 
11937
  shlibpath_overrides_runpath=no
 
11938
  hardcode_into_libs=yes
 
11939
  ;;
 
11940
 
10159
11941
uts4*)
10160
11942
  version_type=linux
10161
11943
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10171
11953
$as_echo "$dynamic_linker" >&6; }
10172
11954
test "$dynamic_linker" = no && can_build_shared=no
10173
11955
 
10174
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then :
10175
 
  $as_echo_n "(cached) " >&6
10176
 
else
10177
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
10178
 
fi
10179
 
 
10180
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10181
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then :
10182
 
  $as_echo_n "(cached) " >&6
10183
 
else
10184
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
10185
 
fi
10186
 
 
10187
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10188
 
 
10189
11956
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10190
11957
if test "$GCC" = yes; then
10191
11958
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10192
11959
fi
10193
11960
 
10194
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
11961
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11962
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11963
fi
 
11964
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11965
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11966
fi
 
11967
 
 
11968
 
 
11969
 
 
11970
 
 
11971
 
 
11972
 
 
11973
 
 
11974
 
 
11975
 
 
11976
 
 
11977
 
 
11978
 
 
11979
 
 
11980
 
 
11981
 
 
11982
 
 
11983
 
 
11984
 
 
11985
 
 
11986
 
 
11987
 
 
11988
 
 
11989
 
 
11990
 
 
11991
 
 
11992
 
 
11993
 
 
11994
 
 
11995
 
 
11996
 
 
11997
 
 
11998
 
 
11999
 
 
12000
 
 
12001
 
 
12002
 
 
12003
 
 
12004
 
 
12005
 
 
12006
 
 
12007
 
 
12008
 
 
12009
 
 
12010
 
 
12011
 
 
12012
 
 
12013
 
 
12014
 
 
12015
 
 
12016
 
 
12017
 
 
12018
 
 
12019
 
 
12020
 
 
12021
 
 
12022
 
 
12023
 
 
12024
 
 
12025
 
 
12026
 
 
12027
 
 
12028
 
 
12029
 
 
12030
 
 
12031
 
 
12032
 
 
12033
 
 
12034
 
 
12035
 
 
12036
 
 
12037
 
 
12038
 
 
12039
 
 
12040
 
 
12041
 
 
12042
 
 
12043
 
 
12044
 
 
12045
 
 
12046
 
 
12047
 
 
12048
 
 
12049
 
 
12050
 
 
12051
 
 
12052
 
 
12053
 
 
12054
 
 
12055
 
 
12056
 
 
12057
 
 
12058
 
 
12059
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10195
12060
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10196
12061
hardcode_action=
10197
 
if test -n "$hardcode_libdir_flag_spec" || \
10198
 
   test -n "$runpath_var" || \
 
12062
if test -n "$hardcode_libdir_flag_spec" ||
 
12063
   test -n "$runpath_var" ||
10199
12064
   test "X$hardcode_automatic" = "Xyes" ; then
10200
12065
 
10201
 
  # We can hardcode non-existant directories.
 
12066
  # We can hardcode non-existent directories.
10202
12067
  if test "$hardcode_direct" != no &&
10203
12068
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10204
12069
     # have to relink, otherwise we might link with an installed library
10205
12070
     # when we should be linking with a yet-to-be-installed one
10206
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
12071
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10207
12072
     test "$hardcode_minus_L" != no; then
10208
12073
    # Linking always hardcodes the temporary library directory.
10209
12074
    hardcode_action=relink
10219
12084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10220
12085
$as_echo "$hardcode_action" >&6; }
10221
12086
 
10222
 
if test "$hardcode_action" = relink; then
 
12087
if test "$hardcode_action" = relink ||
 
12088
   test "$inherit_rpath" = yes; then
10223
12089
  # Fast installation is not supported
10224
12090
  enable_fast_install=no
10225
12091
elif test "$shlibpath_overrides_runpath" = yes ||
10228
12094
  enable_fast_install=needless
10229
12095
fi
10230
12096
 
10231
 
striplib=
10232
 
old_striplib=
10233
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10234
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10235
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10236
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10237
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10238
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10239
 
$as_echo "yes" >&6; }
10240
 
else
10241
 
# FIXME - insert some real tests, host_os isn't really good enough
10242
 
  case $host_os in
10243
 
   darwin*)
10244
 
       if test -n "$STRIP" ; then
10245
 
         striplib="$STRIP -x"
10246
 
         old_striplib="$STRIP -S"
10247
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10248
 
$as_echo "yes" >&6; }
10249
 
       else
10250
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10251
 
$as_echo "no" >&6; }
10252
 
fi
10253
 
       ;;
10254
 
   *)
10255
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10256
 
$as_echo "no" >&6; }
10257
 
    ;;
10258
 
  esac
10259
 
fi
10260
 
 
10261
 
if test "x$enable_dlopen" != xyes; then
 
12097
 
 
12098
 
 
12099
 
 
12100
 
 
12101
 
 
12102
  if test "x$enable_dlopen" != xyes; then
10262
12103
  enable_dlopen=unknown
10263
12104
  enable_dlopen_self=unknown
10264
12105
  enable_dlopen_self_static=unknown
10273
12114
    lt_cv_dlopen_self=yes
10274
12115
    ;;
10275
12116
 
10276
 
  mingw* | pw32*)
 
12117
  mingw* | pw32* | cegcc*)
10277
12118
    lt_cv_dlopen="LoadLibrary"
10278
12119
    lt_cv_dlopen_libs=
10279
 
   ;;
 
12120
    ;;
10280
12121
 
10281
12122
  cygwin*)
10282
12123
    lt_cv_dlopen="dlopen"
10283
12124
    lt_cv_dlopen_libs=
10284
 
   ;;
 
12125
    ;;
10285
12126
 
10286
12127
  darwin*)
10287
12128
  # if libdl is installed we need to link against it
10288
12129
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10289
12130
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10290
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12131
if ${ac_cv_lib_dl_dlopen+:} false; then :
10291
12132
  $as_echo_n "(cached) " >&6
10292
12133
else
10293
12134
  ac_check_lib_save_LIBS=$LIBS
10321
12162
fi
10322
12163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10323
12164
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10324
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
12165
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10325
12166
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10326
12167
else
10327
12168
 
10331
12172
 
10332
12173
fi
10333
12174
 
10334
 
   ;;
 
12175
    ;;
10335
12176
 
10336
12177
  *)
10337
12178
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10338
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
12179
if test "x$ac_cv_func_shl_load" = xyes; then :
10339
12180
  lt_cv_dlopen="shl_load"
10340
12181
else
10341
12182
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10342
12183
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10343
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
12184
if ${ac_cv_lib_dld_shl_load+:} false; then :
10344
12185
  $as_echo_n "(cached) " >&6
10345
12186
else
10346
12187
  ac_check_lib_save_LIBS=$LIBS
10374
12215
fi
10375
12216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10376
12217
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10377
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
12218
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10378
12219
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10379
12220
else
10380
12221
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10381
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
12222
if test "x$ac_cv_func_dlopen" = xyes; then :
10382
12223
  lt_cv_dlopen="dlopen"
10383
12224
else
10384
12225
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10385
12226
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10386
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12227
if ${ac_cv_lib_dl_dlopen+:} false; then :
10387
12228
  $as_echo_n "(cached) " >&6
10388
12229
else
10389
12230
  ac_check_lib_save_LIBS=$LIBS
10417
12258
fi
10418
12259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10419
12260
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10420
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
12261
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10421
12262
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10422
12263
else
10423
12264
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10424
12265
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10425
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
12266
if ${ac_cv_lib_svld_dlopen+:} false; then :
10426
12267
  $as_echo_n "(cached) " >&6
10427
12268
else
10428
12269
  ac_check_lib_save_LIBS=$LIBS
10456
12297
fi
10457
12298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10458
12299
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10459
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
12300
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10460
12301
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10461
12302
else
10462
12303
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10463
12304
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10464
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
12305
if ${ac_cv_lib_dld_dld_link+:} false; then :
10465
12306
  $as_echo_n "(cached) " >&6
10466
12307
else
10467
12308
  ac_check_lib_save_LIBS=$LIBS
10495
12336
fi
10496
12337
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10497
12338
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10498
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
12339
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10499
12340
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10500
12341
fi
10501
12342
 
10536
12377
 
10537
12378
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10538
12379
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10539
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
12380
if ${lt_cv_dlopen_self+:} false; then :
10540
12381
  $as_echo_n "(cached) " >&6
10541
12382
else
10542
12383
          if test "$cross_compiling" = yes; then :
10544
12385
else
10545
12386
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10546
12387
  lt_status=$lt_dlunknown
10547
 
  cat > conftest.$ac_ext <<EOF
10548
 
#line 10548 "configure"
 
12388
  cat > conftest.$ac_ext <<_LT_EOF
 
12389
#line $LINENO "configure"
10549
12390
#include "confdefs.h"
10550
12391
 
10551
12392
#if HAVE_DLFCN_H
10586
12427
#  endif
10587
12428
#endif
10588
12429
 
10589
 
#ifdef __cplusplus
10590
 
extern "C" void exit (int);
 
12430
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12431
   correspondingly for the symbols needed.  */
 
12432
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12433
int fnord () __attribute__((visibility("default")));
10591
12434
#endif
10592
12435
 
10593
 
void fnord() { int i=42;}
 
12436
int fnord () { return 42; }
10594
12437
int main ()
10595
12438
{
10596
12439
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10599
12442
  if (self)
10600
12443
    {
10601
12444
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10602
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
12445
      else
 
12446
        {
 
12447
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12448
          else puts (dlerror ());
 
12449
        }
10603
12450
      /* dlclose (self); */
10604
12451
    }
10605
12452
  else
10606
12453
    puts (dlerror ());
10607
12454
 
10608
 
    exit (status);
 
12455
  return status;
10609
12456
}
10610
 
EOF
 
12457
_LT_EOF
10611
12458
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10612
12459
  (eval $ac_link) 2>&5
10613
12460
  ac_status=$?
10636
12483
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10637
12484
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10638
12485
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10639
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
12486
if ${lt_cv_dlopen_self_static+:} false; then :
10640
12487
  $as_echo_n "(cached) " >&6
10641
12488
else
10642
12489
          if test "$cross_compiling" = yes; then :
10644
12491
else
10645
12492
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10646
12493
  lt_status=$lt_dlunknown
10647
 
  cat > conftest.$ac_ext <<EOF
10648
 
#line 10648 "configure"
 
12494
  cat > conftest.$ac_ext <<_LT_EOF
 
12495
#line $LINENO "configure"
10649
12496
#include "confdefs.h"
10650
12497
 
10651
12498
#if HAVE_DLFCN_H
10686
12533
#  endif
10687
12534
#endif
10688
12535
 
10689
 
#ifdef __cplusplus
10690
 
extern "C" void exit (int);
 
12536
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12537
   correspondingly for the symbols needed.  */
 
12538
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12539
int fnord () __attribute__((visibility("default")));
10691
12540
#endif
10692
12541
 
10693
 
void fnord() { int i=42;}
 
12542
int fnord () { return 42; }
10694
12543
int main ()
10695
12544
{
10696
12545
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10699
12548
  if (self)
10700
12549
    {
10701
12550
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10702
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
12551
      else
 
12552
        {
 
12553
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12554
          else puts (dlerror ());
 
12555
        }
10703
12556
      /* dlclose (self); */
10704
12557
    }
10705
12558
  else
10706
12559
    puts (dlerror ());
10707
12560
 
10708
 
    exit (status);
 
12561
  return status;
10709
12562
}
10710
 
EOF
 
12563
_LT_EOF
10711
12564
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10712
12565
  (eval $ac_link) 2>&5
10713
12566
  ac_status=$?
10751
12604
fi
10752
12605
 
10753
12606
 
10754
 
# Report which library types will actually be built
10755
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10756
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10757
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10758
 
$as_echo "$can_build_shared" >&6; }
10759
 
 
10760
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10761
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
10762
 
test "$can_build_shared" = "no" && enable_shared=no
10763
 
 
10764
 
# On AIX, shared libraries and static libraries use the same namespace, and
10765
 
# are all built from PIC.
10766
 
case $host_os in
10767
 
aix3*)
10768
 
  test "$enable_shared" = yes && enable_static=no
10769
 
  if test -n "$RANLIB"; then
10770
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
10771
 
    postinstall_cmds='$RANLIB $lib'
10772
 
  fi
10773
 
  ;;
10774
 
 
10775
 
aix[4-9]*)
10776
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10777
 
    test "$enable_shared" = yes && enable_static=no
10778
 
  fi
10779
 
    ;;
10780
 
esac
10781
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10782
 
$as_echo "$enable_shared" >&6; }
10783
 
 
10784
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10785
 
$as_echo_n "checking whether to build static libraries... " >&6; }
10786
 
# Make sure either enable_shared or enable_static is yes.
10787
 
test "$enable_shared" = yes || enable_static=yes
10788
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10789
 
$as_echo "$enable_static" >&6; }
10790
 
 
10791
 
# The else clause should only fire when bootstrapping the
10792
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
10793
 
# with your package, and you will get complaints that there are
10794
 
# no rules to generate ltmain.sh.
10795
 
if test -f "$ltmain"; then
10796
 
  # See if we are running on zsh, and set the options which allow our commands through
10797
 
  # without removal of \ escapes.
10798
 
  if test -n "${ZSH_VERSION+set}" ; then
10799
 
    setopt NO_GLOB_SUBST
10800
 
  fi
10801
 
  # Now quote all the things that may contain metacharacters while being
10802
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10803
 
  # variables and quote the copies for generation of the libtool script.
10804
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10805
 
    SED SHELL STRIP \
10806
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10807
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10808
 
    deplibs_check_method reload_flag reload_cmds need_locks \
10809
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10810
 
    lt_cv_sys_global_symbol_to_c_name_address \
10811
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10812
 
    old_postinstall_cmds old_postuninstall_cmds \
10813
 
    compiler \
10814
 
    CC \
10815
 
    LD \
10816
 
    lt_prog_compiler_wl \
10817
 
    lt_prog_compiler_pic \
10818
 
    lt_prog_compiler_static \
10819
 
    lt_prog_compiler_no_builtin_flag \
10820
 
    export_dynamic_flag_spec \
10821
 
    thread_safe_flag_spec \
10822
 
    whole_archive_flag_spec \
10823
 
    enable_shared_with_static_runtimes \
10824
 
    old_archive_cmds \
10825
 
    old_archive_from_new_cmds \
10826
 
    predep_objects \
10827
 
    postdep_objects \
10828
 
    predeps \
10829
 
    postdeps \
10830
 
    compiler_lib_search_path \
10831
 
    compiler_lib_search_dirs \
10832
 
    archive_cmds \
10833
 
    archive_expsym_cmds \
10834
 
    postinstall_cmds \
10835
 
    postuninstall_cmds \
10836
 
    old_archive_from_expsyms_cmds \
10837
 
    allow_undefined_flag \
10838
 
    no_undefined_flag \
10839
 
    export_symbols_cmds \
10840
 
    hardcode_libdir_flag_spec \
10841
 
    hardcode_libdir_flag_spec_ld \
10842
 
    hardcode_libdir_separator \
10843
 
    hardcode_automatic \
10844
 
    module_cmds \
10845
 
    module_expsym_cmds \
10846
 
    lt_cv_prog_compiler_c_o \
10847
 
    fix_srcfile_path \
10848
 
    exclude_expsyms \
10849
 
    include_expsyms; do
10850
 
 
10851
 
    case $var in
10852
 
    old_archive_cmds | \
10853
 
    old_archive_from_new_cmds | \
10854
 
    archive_cmds | \
10855
 
    archive_expsym_cmds | \
10856
 
    module_cmds | \
10857
 
    module_expsym_cmds | \
10858
 
    old_archive_from_expsyms_cmds | \
10859
 
    export_symbols_cmds | \
10860
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10861
 
    postinstall_cmds | postuninstall_cmds | \
10862
 
    old_postinstall_cmds | old_postuninstall_cmds | \
10863
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10864
 
      # Double-quote double-evaled strings.
10865
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10866
 
      ;;
10867
 
    *)
10868
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10869
 
      ;;
10870
 
    esac
10871
 
  done
10872
 
 
10873
 
  case $lt_echo in
10874
 
  *'\$0 --fallback-echo"')
10875
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10876
 
    ;;
10877
 
  esac
10878
 
 
10879
 
cfgfile="${ofile}T"
10880
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10881
 
  $rm -f "$cfgfile"
10882
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
10883
 
$as_echo "$as_me: creating $ofile" >&6;}
10884
 
 
10885
 
  cat <<__EOF__ >> "$cfgfile"
10886
 
#! $SHELL
10887
 
 
10888
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10889
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10890
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10891
 
#
10892
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10893
 
# Free Software Foundation, Inc.
10894
 
#
10895
 
# This file is part of GNU Libtool:
10896
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10897
 
#
10898
 
# This program is free software; you can redistribute it and/or modify
10899
 
# it under the terms of the GNU General Public License as published by
10900
 
# the Free Software Foundation; either version 2 of the License, or
10901
 
# (at your option) any later version.
10902
 
#
10903
 
# This program is distributed in the hope that it will be useful, but
10904
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
10905
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10906
 
# General Public License for more details.
10907
 
#
10908
 
# You should have received a copy of the GNU General Public License
10909
 
# along with this program; if not, write to the Free Software
10910
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10911
 
#
10912
 
# As a special exception to the GNU General Public License, if you
10913
 
# distribute this file as part of a program that contains a
10914
 
# configuration script generated by Autoconf, you may include it under
10915
 
# the same distribution terms that you use for the rest of that program.
10916
 
 
10917
 
# A sed program that does not truncate output.
10918
 
SED=$lt_SED
10919
 
 
10920
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10921
 
Xsed="$SED -e 1s/^X//"
10922
 
 
10923
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
10924
 
# if CDPATH is set.
10925
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10926
 
 
10927
 
# The names of the tagged configurations supported by this script.
10928
 
available_tags=
10929
 
 
10930
 
# ### BEGIN LIBTOOL CONFIG
10931
 
 
10932
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10933
 
 
10934
 
# Shell to use when invoking shell scripts.
10935
 
SHELL=$lt_SHELL
10936
 
 
10937
 
# Whether or not to build shared libraries.
10938
 
build_libtool_libs=$enable_shared
10939
 
 
10940
 
# Whether or not to build static libraries.
10941
 
build_old_libs=$enable_static
10942
 
 
10943
 
# Whether or not to add -lc for building shared libraries.
10944
 
build_libtool_need_lc=$archive_cmds_need_lc
10945
 
 
10946
 
# Whether or not to disallow shared libs when runtime libs are static
10947
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10948
 
 
10949
 
# Whether or not to optimize for fast installation.
10950
 
fast_install=$enable_fast_install
10951
 
 
10952
 
# The host system.
10953
 
host_alias=$host_alias
10954
 
host=$host
10955
 
host_os=$host_os
10956
 
 
10957
 
# The build system.
10958
 
build_alias=$build_alias
10959
 
build=$build
10960
 
build_os=$build_os
10961
 
 
10962
 
# An echo program that does not interpret backslashes.
10963
 
echo=$lt_echo
10964
 
 
10965
 
# The archiver.
10966
 
AR=$lt_AR
10967
 
AR_FLAGS=$lt_AR_FLAGS
10968
 
 
10969
 
# A C compiler.
10970
 
LTCC=$lt_LTCC
10971
 
 
10972
 
# LTCC compiler flags.
10973
 
LTCFLAGS=$lt_LTCFLAGS
10974
 
 
10975
 
# A language-specific compiler.
10976
 
CC=$lt_compiler
10977
 
 
10978
 
# Is the compiler the GNU C compiler?
10979
 
with_gcc=$GCC
10980
 
 
10981
 
# An ERE matcher.
10982
 
EGREP=$lt_EGREP
10983
 
 
10984
 
# The linker used to build libraries.
10985
 
LD=$lt_LD
10986
 
 
10987
 
# Whether we need hard or soft links.
10988
 
LN_S=$lt_LN_S
10989
 
 
10990
 
# A BSD-compatible nm program.
10991
 
NM=$lt_NM
10992
 
 
10993
 
# A symbol stripping program
10994
 
STRIP=$lt_STRIP
10995
 
 
10996
 
# Used to examine libraries when file_magic_cmd begins "file"
10997
 
MAGIC_CMD=$MAGIC_CMD
10998
 
 
10999
 
# Used on cygwin: DLL creation program.
11000
 
DLLTOOL="$DLLTOOL"
11001
 
 
11002
 
# Used on cygwin: object dumper.
11003
 
OBJDUMP="$OBJDUMP"
11004
 
 
11005
 
# Used on cygwin: assembler.
11006
 
AS="$AS"
11007
 
 
11008
 
# The name of the directory that contains temporary libtool files.
11009
 
objdir=$objdir
11010
 
 
11011
 
# How to create reloadable object files.
11012
 
reload_flag=$lt_reload_flag
11013
 
reload_cmds=$lt_reload_cmds
11014
 
 
11015
 
# How to pass a linker flag through the compiler.
11016
 
wl=$lt_lt_prog_compiler_wl
11017
 
 
11018
 
# Object file suffix (normally "o").
11019
 
objext="$ac_objext"
11020
 
 
11021
 
# Old archive suffix (normally "a").
11022
 
libext="$libext"
11023
 
 
11024
 
# Shared library suffix (normally ".so").
11025
 
shrext_cmds='$shrext_cmds'
11026
 
 
11027
 
# Executable file suffix (normally "").
11028
 
exeext="$exeext"
11029
 
 
11030
 
# Additional compiler flags for building library objects.
11031
 
pic_flag=$lt_lt_prog_compiler_pic
11032
 
pic_mode=$pic_mode
11033
 
 
11034
 
# What is the maximum length of a command?
11035
 
max_cmd_len=$lt_cv_sys_max_cmd_len
11036
 
 
11037
 
# Does compiler simultaneously support -c and -o options?
11038
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11039
 
 
11040
 
# Must we lock files when doing compilation?
11041
 
need_locks=$lt_need_locks
11042
 
 
11043
 
# Do we need the lib prefix for modules?
11044
 
need_lib_prefix=$need_lib_prefix
11045
 
 
11046
 
# Do we need a version for libraries?
11047
 
need_version=$need_version
11048
 
 
11049
 
# Whether dlopen is supported.
11050
 
dlopen_support=$enable_dlopen
11051
 
 
11052
 
# Whether dlopen of programs is supported.
11053
 
dlopen_self=$enable_dlopen_self
11054
 
 
11055
 
# Whether dlopen of statically linked programs is supported.
11056
 
dlopen_self_static=$enable_dlopen_self_static
11057
 
 
11058
 
# Compiler flag to prevent dynamic linking.
11059
 
link_static_flag=$lt_lt_prog_compiler_static
11060
 
 
11061
 
# Compiler flag to turn off builtin functions.
11062
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11063
 
 
11064
 
# Compiler flag to allow reflexive dlopens.
11065
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11066
 
 
11067
 
# Compiler flag to generate shared objects directly from archives.
11068
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
11069
 
 
11070
 
# Compiler flag to generate thread-safe objects.
11071
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
11072
 
 
11073
 
# Library versioning type.
11074
 
version_type=$version_type
11075
 
 
11076
 
# Format of library name prefix.
11077
 
libname_spec=$lt_libname_spec
11078
 
 
11079
 
# List of archive names.  First name is the real one, the rest are links.
11080
 
# The last name is the one that the linker finds with -lNAME.
11081
 
library_names_spec=$lt_library_names_spec
11082
 
 
11083
 
# The coded name of the library, if different from the real name.
11084
 
soname_spec=$lt_soname_spec
11085
 
 
11086
 
# Commands used to build and install an old-style archive.
11087
 
RANLIB=$lt_RANLIB
11088
 
old_archive_cmds=$lt_old_archive_cmds
11089
 
old_postinstall_cmds=$lt_old_postinstall_cmds
11090
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
11091
 
 
11092
 
# Create an old-style archive from a shared archive.
11093
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11094
 
 
11095
 
# Create a temporary old-style archive to link instead of a shared archive.
11096
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11097
 
 
11098
 
# Commands used to build and install a shared archive.
11099
 
archive_cmds=$lt_archive_cmds
11100
 
archive_expsym_cmds=$lt_archive_expsym_cmds
11101
 
postinstall_cmds=$lt_postinstall_cmds
11102
 
postuninstall_cmds=$lt_postuninstall_cmds
11103
 
 
11104
 
# Commands used to build a loadable module (assumed same as above if empty)
11105
 
module_cmds=$lt_module_cmds
11106
 
module_expsym_cmds=$lt_module_expsym_cmds
11107
 
 
11108
 
# Commands to strip libraries.
11109
 
old_striplib=$lt_old_striplib
11110
 
striplib=$lt_striplib
11111
 
 
11112
 
# Dependencies to place before the objects being linked to create a
11113
 
# shared library.
11114
 
predep_objects=$lt_predep_objects
11115
 
 
11116
 
# Dependencies to place after the objects being linked to create a
11117
 
# shared library.
11118
 
postdep_objects=$lt_postdep_objects
11119
 
 
11120
 
# Dependencies to place before the objects being linked to create a
11121
 
# shared library.
11122
 
predeps=$lt_predeps
11123
 
 
11124
 
# Dependencies to place after the objects being linked to create a
11125
 
# shared library.
11126
 
postdeps=$lt_postdeps
11127
 
 
11128
 
# The directories searched by this compiler when creating a shared
11129
 
# library
11130
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
11131
 
 
11132
 
# The library search path used internally by the compiler when linking
11133
 
# a shared library.
11134
 
compiler_lib_search_path=$lt_compiler_lib_search_path
11135
 
 
11136
 
# Method to check whether dependent libraries are shared objects.
11137
 
deplibs_check_method=$lt_deplibs_check_method
11138
 
 
11139
 
# Command to use when deplibs_check_method == file_magic.
11140
 
file_magic_cmd=$lt_file_magic_cmd
11141
 
 
11142
 
# Flag that allows shared libraries with undefined symbols to be built.
11143
 
allow_undefined_flag=$lt_allow_undefined_flag
11144
 
 
11145
 
# Flag that forces no undefined symbols.
11146
 
no_undefined_flag=$lt_no_undefined_flag
11147
 
 
11148
 
# Commands used to finish a libtool library installation in a directory.
11149
 
finish_cmds=$lt_finish_cmds
11150
 
 
11151
 
# Same as above, but a single script fragment to be evaled but not shown.
11152
 
finish_eval=$lt_finish_eval
11153
 
 
11154
 
# Take the output of nm and produce a listing of raw symbols and C names.
11155
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11156
 
 
11157
 
# Transform the output of nm in a proper C declaration
11158
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11159
 
 
11160
 
# Transform the output of nm in a C name address pair
11161
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11162
 
 
11163
 
# This is the shared library runtime path variable.
11164
 
runpath_var=$runpath_var
11165
 
 
11166
 
# This is the shared library path variable.
11167
 
shlibpath_var=$shlibpath_var
11168
 
 
11169
 
# Is shlibpath searched before the hard-coded library search path?
11170
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11171
 
 
11172
 
# How to hardcode a shared library path into an executable.
11173
 
hardcode_action=$hardcode_action
11174
 
 
11175
 
# Whether we should hardcode library paths into libraries.
11176
 
hardcode_into_libs=$hardcode_into_libs
11177
 
 
11178
 
# Flag to hardcode \$libdir into a binary during linking.
11179
 
# This must work even if \$libdir does not exist.
11180
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11181
 
 
11182
 
# If ld is used when linking, flag to hardcode \$libdir into
11183
 
# a binary during linking. This must work even if \$libdir does
11184
 
# not exist.
11185
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11186
 
 
11187
 
# Whether we need a single -rpath flag with a separated argument.
11188
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
11189
 
 
11190
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11191
 
# resulting binary.
11192
 
hardcode_direct=$hardcode_direct
11193
 
 
11194
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11195
 
# resulting binary.
11196
 
hardcode_minus_L=$hardcode_minus_L
11197
 
 
11198
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11199
 
# the resulting binary.
11200
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
11201
 
 
11202
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
11203
 
# and all subsequent libraries and executables linked against it.
11204
 
hardcode_automatic=$hardcode_automatic
11205
 
 
11206
 
# Variables whose values should be saved in libtool wrapper scripts and
11207
 
# restored at relink time.
11208
 
variables_saved_for_relink="$variables_saved_for_relink"
11209
 
 
11210
 
# Whether libtool must link a program against all its dependency libraries.
11211
 
link_all_deplibs=$link_all_deplibs
11212
 
 
11213
 
# Compile-time system search path for libraries
11214
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11215
 
 
11216
 
# Run-time system search path for libraries
11217
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11218
 
 
11219
 
# Fix the shell variable \$srcfile for the compiler.
11220
 
fix_srcfile_path=$lt_fix_srcfile_path
11221
 
 
11222
 
# Set to yes if exported symbols are required.
11223
 
always_export_symbols=$always_export_symbols
11224
 
 
11225
 
# The commands to list exported symbols.
11226
 
export_symbols_cmds=$lt_export_symbols_cmds
11227
 
 
11228
 
# The commands to extract the exported symbol list from a shared archive.
11229
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
11230
 
 
11231
 
# Symbols that should not be listed in the preloaded symbols.
11232
 
exclude_expsyms=$lt_exclude_expsyms
11233
 
 
11234
 
# Symbols that must always be exported.
11235
 
include_expsyms=$lt_include_expsyms
11236
 
 
11237
 
# ### END LIBTOOL CONFIG
11238
 
 
11239
 
__EOF__
11240
 
 
11241
 
 
11242
 
  case $host_os in
11243
 
  aix3*)
11244
 
    cat <<\EOF >> "$cfgfile"
11245
 
 
11246
 
# AIX sometimes has problems with the GCC collect2 program.  For some
11247
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
11248
 
# vanish in a puff of smoke.
11249
 
if test "X${COLLECT_NAMES+set}" != Xset; then
11250
 
  COLLECT_NAMES=
11251
 
  export COLLECT_NAMES
11252
 
fi
11253
 
EOF
11254
 
    ;;
11255
 
  esac
11256
 
 
11257
 
  # We use sed instead of cat because bash on DJGPP gets confused if
11258
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
11259
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
11260
 
  # is reportedly fixed, but why not run on old versions too?
11261
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11262
 
 
11263
 
  mv -f "$cfgfile" "$ofile" || \
11264
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11265
 
  chmod +x "$ofile"
11266
 
 
11267
 
else
11268
 
  # If there is no Makefile yet, we rely on a make rule to execute
11269
 
  # `config.status --recheck' to rerun these tests and create the
11270
 
  # libtool script then.
11271
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11272
 
  if test -f "$ltmain_in"; then
11273
 
    test -f Makefile && make "$ltmain"
11274
 
  fi
11275
 
fi
11276
 
 
11277
 
 
11278
 
ac_ext=c
11279
 
ac_cpp='$CPP $CPPFLAGS'
11280
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11281
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11282
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11283
 
 
11284
 
CC="$lt_save_CC"
11285
 
 
11286
 
 
11287
 
# Check whether --with-tags was given.
11288
 
if test "${with_tags+set}" = set; then :
11289
 
  withval=$with_tags; tagnames="$withval"
11290
 
fi
11291
 
 
11292
 
 
11293
 
if test -f "$ltmain" && test -n "$tagnames"; then
11294
 
  if test ! -f "${ofile}"; then
11295
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist" >&5
11296
 
$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11297
 
  fi
11298
 
 
11299
 
  if test -z "$LTCC"; then
11300
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11301
 
    if test -z "$LTCC"; then
11302
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11303
 
$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11304
 
    else
11305
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11306
 
$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11307
 
    fi
11308
 
  fi
11309
 
  if test -z "$LTCFLAGS"; then
11310
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11311
 
  fi
11312
 
 
11313
 
  # Extract list of available tagged configurations in $ofile.
11314
 
  # Note that this assumes the entire list is on one line.
11315
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11316
 
 
11317
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11318
 
  for tagname in $tagnames; do
11319
 
    IFS="$lt_save_ifs"
11320
 
    # Check whether tagname contains only valid characters
11321
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11322
 
    "") ;;
11323
 
    *)  as_fn_error "invalid tag name: $tagname" "$LINENO" 5
11324
 
        ;;
11325
 
    esac
11326
 
 
11327
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11328
 
    then
11329
 
      as_fn_error "tag name \"$tagname\" already exists" "$LINENO" 5
11330
 
    fi
11331
 
 
11332
 
    # Update the list of available tags.
11333
 
    if test -n "$tagname"; then
11334
 
      echo appending configuration tag \"$tagname\" to $ofile
11335
 
 
11336
 
      case $tagname in
11337
 
      CXX)
11338
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11339
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11340
 
            (test "X$CXX" != "Xg++"))) ; then
11341
 
          ac_ext=cpp
11342
 
ac_cpp='$CXXCPP $CPPFLAGS'
11343
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11344
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11345
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11346
 
 
11347
 
 
11348
 
 
11349
 
 
11350
 
archive_cmds_need_lc_CXX=no
11351
 
allow_undefined_flag_CXX=
11352
 
always_export_symbols_CXX=no
11353
 
archive_expsym_cmds_CXX=
11354
 
export_dynamic_flag_spec_CXX=
11355
 
hardcode_direct_CXX=no
11356
 
hardcode_libdir_flag_spec_CXX=
11357
 
hardcode_libdir_flag_spec_ld_CXX=
11358
 
hardcode_libdir_separator_CXX=
11359
 
hardcode_minus_L_CXX=no
11360
 
hardcode_shlibpath_var_CXX=unsupported
11361
 
hardcode_automatic_CXX=no
11362
 
module_cmds_CXX=
11363
 
module_expsym_cmds_CXX=
11364
 
link_all_deplibs_CXX=unknown
11365
 
old_archive_cmds_CXX=$old_archive_cmds
11366
 
no_undefined_flag_CXX=
11367
 
whole_archive_flag_spec_CXX=
11368
 
enable_shared_with_static_runtimes_CXX=no
11369
 
 
11370
 
# Dependencies to place before and after the object being linked:
11371
 
predep_objects_CXX=
11372
 
postdep_objects_CXX=
11373
 
predeps_CXX=
11374
 
postdeps_CXX=
11375
 
compiler_lib_search_path_CXX=
11376
 
compiler_lib_search_dirs_CXX=
11377
 
 
11378
 
# Source file extension for C++ test sources.
11379
 
ac_ext=cpp
11380
 
 
11381
 
# Object file extension for compiled C++ test sources.
11382
 
objext=o
11383
 
objext_CXX=$objext
11384
 
 
11385
 
# Code to be used in simple compile tests
11386
 
lt_simple_compile_test_code="int some_variable = 0;"
11387
 
 
11388
 
# Code to be used in simple link tests
11389
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11390
 
 
11391
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11392
 
 
11393
 
# If no C compiler was specified, use CC.
11394
 
LTCC=${LTCC-"$CC"}
11395
 
 
11396
 
# If no C compiler flags were specified, use CFLAGS.
11397
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11398
 
 
11399
 
# Allow CC to be a program name with arguments.
11400
 
compiler=$CC
11401
 
 
11402
 
 
11403
 
# save warnings/boilerplate of simple test code
11404
 
ac_outfile=conftest.$ac_objext
11405
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11406
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11407
 
_lt_compiler_boilerplate=`cat conftest.err`
11408
 
$rm conftest*
11409
 
 
11410
 
ac_outfile=conftest.$ac_objext
11411
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11412
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11413
 
_lt_linker_boilerplate=`cat conftest.err`
11414
 
$rm -r conftest*
11415
 
 
11416
 
 
11417
 
# Allow CC to be a program name with arguments.
11418
 
lt_save_CC=$CC
11419
 
lt_save_LD=$LD
11420
 
lt_save_GCC=$GCC
11421
 
GCC=$GXX
11422
 
lt_save_with_gnu_ld=$with_gnu_ld
11423
 
lt_save_path_LD=$lt_cv_path_LD
11424
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11425
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11426
 
else
11427
 
  $as_unset lt_cv_prog_gnu_ld
11428
 
fi
11429
 
if test -n "${lt_cv_path_LDCXX+set}"; then
11430
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
11431
 
else
11432
 
  $as_unset lt_cv_path_LD
11433
 
fi
11434
 
test -z "${LDCXX+set}" || LD=$LDCXX
11435
 
CC=${CXX-"c++"}
11436
 
compiler=$CC
11437
 
compiler_CXX=$CC
11438
 
for cc_temp in $compiler""; do
11439
 
  case $cc_temp in
11440
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11441
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11442
 
    \-*) ;;
11443
 
    *) break;;
11444
 
  esac
11445
 
done
11446
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11447
 
 
11448
 
 
11449
 
# We don't want -fno-exception wen compiling C++ code, so set the
11450
 
# no_builtin_flag separately
11451
 
if test "$GXX" = yes; then
11452
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11453
 
else
11454
 
  lt_prog_compiler_no_builtin_flag_CXX=
11455
 
fi
11456
 
 
11457
 
if test "$GXX" = yes; then
11458
 
  # Set up default GNU C++ configuration
11459
 
 
11460
 
 
11461
 
# Check whether --with-gnu-ld was given.
11462
 
if test "${with_gnu_ld+set}" = set; then :
11463
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11464
 
else
11465
 
  with_gnu_ld=no
11466
 
fi
11467
 
 
11468
 
ac_prog=ld
11469
 
if test "$GCC" = yes; then
11470
 
  # Check if gcc -print-prog-name=ld gives a path.
11471
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11472
 
$as_echo_n "checking for ld used by $CC... " >&6; }
11473
 
  case $host in
11474
 
  *-*-mingw*)
11475
 
    # gcc leaves a trailing carriage return which upsets mingw
11476
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11477
 
  *)
11478
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11479
 
  esac
11480
 
  case $ac_prog in
11481
 
    # Accept absolute paths.
11482
 
    [\\/]* | ?:[\\/]*)
11483
 
      re_direlt='/[^/][^/]*/\.\./'
11484
 
      # Canonicalize the pathname of ld
11485
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11486
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11487
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11488
 
      done
11489
 
      test -z "$LD" && LD="$ac_prog"
11490
 
      ;;
11491
 
  "")
11492
 
    # If it fails, then pretend we aren't using GCC.
11493
 
    ac_prog=ld
11494
 
    ;;
11495
 
  *)
11496
 
    # If it is relative, then search for the first ld in PATH.
11497
 
    with_gnu_ld=unknown
11498
 
    ;;
11499
 
  esac
11500
 
elif test "$with_gnu_ld" = yes; then
11501
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11502
 
$as_echo_n "checking for GNU ld... " >&6; }
11503
 
else
11504
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11505
 
$as_echo_n "checking for non-GNU ld... " >&6; }
11506
 
fi
11507
 
if test "${lt_cv_path_LD+set}" = set; then :
11508
 
  $as_echo_n "(cached) " >&6
11509
 
else
11510
 
  if test -z "$LD"; then
11511
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11512
 
  for ac_dir in $PATH; do
11513
 
    IFS="$lt_save_ifs"
11514
 
    test -z "$ac_dir" && ac_dir=.
11515
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11516
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
11517
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
11518
 
      # but apparently some variants of GNU ld only accept -v.
11519
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
11520
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11521
 
      *GNU* | *'with BFD'*)
11522
 
        test "$with_gnu_ld" != no && break
11523
 
        ;;
11524
 
      *)
11525
 
        test "$with_gnu_ld" != yes && break
11526
 
        ;;
11527
 
      esac
11528
 
    fi
11529
 
  done
11530
 
  IFS="$lt_save_ifs"
11531
 
else
11532
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
11533
 
fi
11534
 
fi
11535
 
 
11536
 
LD="$lt_cv_path_LD"
11537
 
if test -n "$LD"; then
11538
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11539
 
$as_echo "$LD" >&6; }
11540
 
else
11541
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11542
 
$as_echo "no" >&6; }
11543
 
fi
11544
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
11545
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11546
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11547
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11548
 
  $as_echo_n "(cached) " >&6
11549
 
else
11550
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11551
 
case `$LD -v 2>&1 </dev/null` in
11552
 
*GNU* | *'with BFD'*)
11553
 
  lt_cv_prog_gnu_ld=yes
11554
 
  ;;
11555
 
*)
11556
 
  lt_cv_prog_gnu_ld=no
11557
 
  ;;
11558
 
esac
11559
 
fi
11560
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11561
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
11562
 
with_gnu_ld=$lt_cv_prog_gnu_ld
11563
 
 
11564
 
 
11565
 
 
11566
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
11567
 
  # archiving commands below assume that GNU ld is being used.
11568
 
  if test "$with_gnu_ld" = yes; then
11569
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11570
 
    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'
11571
 
 
11572
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11573
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11574
 
 
11575
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
11576
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11577
 
    #     investigate it a little bit more. (MM)
11578
 
    wlarc='${wl}'
11579
 
 
11580
 
    # ancient GNU ld didn't support --whole-archive et. al.
11581
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11582
 
        grep 'no-whole-archive' > /dev/null; then
11583
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11584
 
    else
11585
 
      whole_archive_flag_spec_CXX=
11586
 
    fi
11587
 
  else
11588
 
    with_gnu_ld=no
11589
 
    wlarc=
11590
 
 
11591
 
    # A generic and very simple default shared library creation
11592
 
    # command for GNU C++ for the case where it uses the native
11593
 
    # linker, instead of GNU ld.  If possible, this setting should
11594
 
    # overridden to take advantage of the native linker features on
11595
 
    # the platform it is being used on.
11596
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11597
 
  fi
11598
 
 
11599
 
  # Commands to make compiler produce verbose output that lists
11600
 
  # what "hidden" libraries, object files and flags are used when
11601
 
  # linking a shared library.
11602
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11603
 
 
11604
 
else
11605
 
  GXX=no
11606
 
  with_gnu_ld=no
11607
 
  wlarc=
11608
 
fi
11609
 
 
11610
 
# PORTME: fill in a description of your system's C++ link characteristics
11611
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11612
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11613
 
ld_shlibs_CXX=yes
11614
 
case $host_os in
11615
 
  aix3*)
11616
 
    # FIXME: insert proper C++ library support
11617
 
    ld_shlibs_CXX=no
11618
 
    ;;
11619
 
  aix[4-9]*)
11620
 
    if test "$host_cpu" = ia64; then
11621
 
      # On IA64, the linker does run time linking by default, so we don't
11622
 
      # have to do anything special.
11623
 
      aix_use_runtimelinking=no
11624
 
      exp_sym_flag='-Bexport'
11625
 
      no_entry_flag=""
11626
 
    else
11627
 
      aix_use_runtimelinking=no
11628
 
 
11629
 
      # Test if we are trying to use run time linking or normal
11630
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11631
 
      # need to do runtime linking.
11632
 
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11633
 
        for ld_flag in $LDFLAGS; do
11634
 
          case $ld_flag in
11635
 
          *-brtl*)
11636
 
            aix_use_runtimelinking=yes
11637
 
            break
11638
 
            ;;
11639
 
          esac
11640
 
        done
11641
 
        ;;
11642
 
      esac
11643
 
 
11644
 
      exp_sym_flag='-bexport'
11645
 
      no_entry_flag='-bnoentry'
11646
 
    fi
11647
 
 
11648
 
    # When large executables or shared objects are built, AIX ld can
11649
 
    # have problems creating the table of contents.  If linking a library
11650
 
    # or program results in "error TOC overflow" add -mminimal-toc to
11651
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11652
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11653
 
 
11654
 
    archive_cmds_CXX=''
11655
 
    hardcode_direct_CXX=yes
11656
 
    hardcode_libdir_separator_CXX=':'
11657
 
    link_all_deplibs_CXX=yes
11658
 
 
11659
 
    if test "$GXX" = yes; then
11660
 
      case $host_os in aix4.[012]|aix4.[012].*)
11661
 
      # We only want to do this on AIX 4.2 and lower, the check
11662
 
      # below for broken collect2 doesn't work under 4.3+
11663
 
        collect2name=`${CC} -print-prog-name=collect2`
11664
 
        if test -f "$collect2name" && \
11665
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
11666
 
        then
11667
 
          # We have reworked collect2
11668
 
          :
11669
 
        else
11670
 
          # We have old collect2
11671
 
          hardcode_direct_CXX=unsupported
11672
 
          # It fails to find uninstalled libraries when the uninstalled
11673
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
11674
 
          # to unsupported forces relinking
11675
 
          hardcode_minus_L_CXX=yes
11676
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
11677
 
          hardcode_libdir_separator_CXX=
11678
 
        fi
11679
 
        ;;
11680
 
      esac
11681
 
      shared_flag='-shared'
11682
 
      if test "$aix_use_runtimelinking" = yes; then
11683
 
        shared_flag="$shared_flag "'${wl}-G'
11684
 
      fi
11685
 
    else
11686
 
      # not using gcc
11687
 
      if test "$host_cpu" = ia64; then
11688
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11689
 
        # chokes on -Wl,-G. The following line is correct:
11690
 
        shared_flag='-G'
11691
 
      else
11692
 
        if test "$aix_use_runtimelinking" = yes; then
11693
 
          shared_flag='${wl}-G'
11694
 
        else
11695
 
          shared_flag='${wl}-bM:SRE'
11696
 
        fi
11697
 
      fi
11698
 
    fi
11699
 
 
11700
 
    # It seems that -bexpall does not export symbols beginning with
11701
 
    # underscore (_), so it is better to generate a list of symbols to export.
11702
 
    always_export_symbols_CXX=yes
11703
 
    if test "$aix_use_runtimelinking" = yes; then
11704
 
      # Warning - without using the other runtime loading flags (-brtl),
11705
 
      # -berok will link without error, but may produce a broken library.
11706
 
      allow_undefined_flag_CXX='-berok'
11707
 
      # Determine the default libpath from the value encoded in an empty executable.
11708
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11709
 
/* end confdefs.h.  */
11710
 
 
11711
 
int
11712
 
main ()
11713
 
{
11714
 
 
11715
 
  ;
11716
 
  return 0;
11717
 
}
11718
 
_ACEOF
11719
 
if ac_fn_cxx_try_link "$LINENO"; then :
11720
 
 
11721
 
lt_aix_libpath_sed='
11722
 
    /Import File Strings/,/^$/ {
11723
 
        /^0/ {
11724
 
            s/^0  *\(.*\)$/\1/
11725
 
            p
11726
 
        }
11727
 
    }'
11728
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11729
 
# Check for a 64-bit object if we didn't find anything.
11730
 
if test -z "$aix_libpath"; then
11731
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11732
 
fi
11733
 
fi
11734
 
rm -f core conftest.err conftest.$ac_objext \
11735
 
    conftest$ac_exeext conftest.$ac_ext
11736
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11737
 
 
11738
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11739
 
 
11740
 
      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"
11741
 
     else
11742
 
      if test "$host_cpu" = ia64; then
11743
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11744
 
        allow_undefined_flag_CXX="-z nodefs"
11745
 
        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"
11746
 
      else
11747
 
        # Determine the default libpath from the value encoded in an empty executable.
11748
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11749
 
/* end confdefs.h.  */
11750
 
 
11751
 
int
11752
 
main ()
11753
 
{
11754
 
 
11755
 
  ;
11756
 
  return 0;
11757
 
}
11758
 
_ACEOF
11759
 
if ac_fn_cxx_try_link "$LINENO"; then :
11760
 
 
11761
 
lt_aix_libpath_sed='
11762
 
    /Import File Strings/,/^$/ {
11763
 
        /^0/ {
11764
 
            s/^0  *\(.*\)$/\1/
11765
 
            p
11766
 
        }
11767
 
    }'
11768
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11769
 
# Check for a 64-bit object if we didn't find anything.
11770
 
if test -z "$aix_libpath"; then
11771
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11772
 
fi
11773
 
fi
11774
 
rm -f core conftest.err conftest.$ac_objext \
11775
 
    conftest$ac_exeext conftest.$ac_ext
11776
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11777
 
 
11778
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11779
 
        # Warning - without using the other run time loading flags,
11780
 
        # -berok will link without error, but may produce a broken library.
11781
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
11782
 
        allow_undefined_flag_CXX=' ${wl}-berok'
11783
 
        # Exported symbols can be pulled into shared objects from archives
11784
 
        whole_archive_flag_spec_CXX='$convenience'
11785
 
        archive_cmds_need_lc_CXX=yes
11786
 
        # This is similar to how AIX traditionally builds its shared libraries.
11787
 
        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'
11788
 
      fi
11789
 
    fi
11790
 
    ;;
11791
 
 
11792
 
  beos*)
11793
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11794
 
      allow_undefined_flag_CXX=unsupported
11795
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11796
 
      # support --undefined.  This deserves some investigation.  FIXME
11797
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11798
 
    else
11799
 
      ld_shlibs_CXX=no
11800
 
    fi
11801
 
    ;;
11802
 
 
11803
 
  chorus*)
11804
 
    case $cc_basename in
11805
 
      *)
11806
 
        # FIXME: insert proper C++ library support
11807
 
        ld_shlibs_CXX=no
11808
 
        ;;
11809
 
    esac
11810
 
    ;;
11811
 
 
11812
 
  cygwin* | mingw* | pw32*)
11813
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11814
 
    # as there is no search path for DLLs.
11815
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
11816
 
    allow_undefined_flag_CXX=unsupported
11817
 
    always_export_symbols_CXX=no
11818
 
    enable_shared_with_static_runtimes_CXX=yes
11819
 
 
11820
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11821
 
      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'
11822
 
      # If the export-symbols file already is a .def file (1st line
11823
 
      # is EXPORTS), use it as is; otherwise, prepend...
11824
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11825
 
        cp $export_symbols $output_objdir/$soname.def;
11826
 
      else
11827
 
        echo EXPORTS > $output_objdir/$soname.def;
11828
 
        cat $export_symbols >> $output_objdir/$soname.def;
11829
 
      fi~
11830
 
      $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'
11831
 
    else
11832
 
      ld_shlibs_CXX=no
11833
 
    fi
11834
 
  ;;
11835
 
      darwin* | rhapsody*)
11836
 
      archive_cmds_need_lc_CXX=no
11837
 
      hardcode_direct_CXX=no
11838
 
      hardcode_automatic_CXX=yes
11839
 
      hardcode_shlibpath_var_CXX=unsupported
11840
 
      whole_archive_flag_spec_CXX=''
11841
 
      link_all_deplibs_CXX=yes
11842
 
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11843
 
      if test "$GXX" = yes ; then
11844
 
      output_verbose_link_cmd='echo'
11845
 
      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}"
11846
 
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11847
 
      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}"
11848
 
      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}"
11849
 
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11850
 
        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}"
11851
 
        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}"
11852
 
      fi
11853
 
      else
11854
 
      case $cc_basename in
11855
 
        xlc*)
11856
 
         output_verbose_link_cmd='echo'
11857
 
          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'
11858
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11859
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11860
 
          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}'
11861
 
          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}'
11862
 
          ;;
11863
 
       *)
11864
 
         ld_shlibs_CXX=no
11865
 
          ;;
11866
 
      esac
11867
 
      fi
11868
 
        ;;
11869
 
 
11870
 
  dgux*)
11871
 
    case $cc_basename in
11872
 
      ec++*)
11873
 
        # FIXME: insert proper C++ library support
11874
 
        ld_shlibs_CXX=no
11875
 
        ;;
11876
 
      ghcx*)
11877
 
        # Green Hills C++ Compiler
11878
 
        # FIXME: insert proper C++ library support
11879
 
        ld_shlibs_CXX=no
11880
 
        ;;
11881
 
      *)
11882
 
        # FIXME: insert proper C++ library support
11883
 
        ld_shlibs_CXX=no
11884
 
        ;;
11885
 
    esac
11886
 
    ;;
11887
 
  freebsd[12]*)
11888
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
11889
 
    ld_shlibs_CXX=no
11890
 
    ;;
11891
 
  freebsd-elf*)
11892
 
    archive_cmds_need_lc_CXX=no
11893
 
    ;;
11894
 
  freebsd* | dragonfly*)
11895
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11896
 
    # conventions
11897
 
    ld_shlibs_CXX=yes
11898
 
    ;;
11899
 
  gnu*)
11900
 
    ;;
11901
 
  hpux9*)
11902
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11903
 
    hardcode_libdir_separator_CXX=:
11904
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11905
 
    hardcode_direct_CXX=yes
11906
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
11907
 
                                # but as the default
11908
 
                                # location of the library.
11909
 
 
11910
 
    case $cc_basename in
11911
 
    CC*)
11912
 
      # FIXME: insert proper C++ library support
11913
 
      ld_shlibs_CXX=no
11914
 
      ;;
11915
 
    aCC*)
11916
 
      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'
11917
 
      # Commands to make compiler produce verbose output that lists
11918
 
      # what "hidden" libraries, object files and flags are used when
11919
 
      # linking a shared library.
11920
 
      #
11921
 
      # There doesn't appear to be a way to prevent this compiler from
11922
 
      # explicitly linking system object files so we need to strip them
11923
 
      # from the output so that they don't get included in the library
11924
 
      # dependencies.
11925
 
      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'
11926
 
      ;;
11927
 
    *)
11928
 
      if test "$GXX" = yes; then
11929
 
        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'
11930
 
      else
11931
 
        # FIXME: insert proper C++ library support
11932
 
        ld_shlibs_CXX=no
11933
 
      fi
11934
 
      ;;
11935
 
    esac
11936
 
    ;;
11937
 
  hpux10*|hpux11*)
11938
 
    if test $with_gnu_ld = no; then
11939
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11940
 
      hardcode_libdir_separator_CXX=:
11941
 
 
11942
 
      case $host_cpu in
11943
 
      hppa*64*|ia64*) ;;
11944
 
      *)
11945
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11946
 
        ;;
11947
 
      esac
11948
 
    fi
11949
 
    case $host_cpu in
11950
 
    hppa*64*|ia64*)
11951
 
      hardcode_direct_CXX=no
11952
 
      hardcode_shlibpath_var_CXX=no
11953
 
      ;;
11954
 
    *)
11955
 
      hardcode_direct_CXX=yes
11956
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
11957
 
                                              # but as the default
11958
 
                                              # location of the library.
11959
 
      ;;
11960
 
    esac
11961
 
 
11962
 
    case $cc_basename in
11963
 
      CC*)
11964
 
        # FIXME: insert proper C++ library support
11965
 
        ld_shlibs_CXX=no
11966
 
        ;;
11967
 
      aCC*)
11968
 
        case $host_cpu in
11969
 
        hppa*64*)
11970
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11971
 
          ;;
11972
 
        ia64*)
11973
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11974
 
          ;;
11975
 
        *)
11976
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11977
 
          ;;
11978
 
        esac
11979
 
        # Commands to make compiler produce verbose output that lists
11980
 
        # what "hidden" libraries, object files and flags are used when
11981
 
        # linking a shared library.
11982
 
        #
11983
 
        # There doesn't appear to be a way to prevent this compiler from
11984
 
        # explicitly linking system object files so we need to strip them
11985
 
        # from the output so that they don't get included in the library
11986
 
        # dependencies.
11987
 
        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'
11988
 
        ;;
11989
 
      *)
11990
 
        if test "$GXX" = yes; then
11991
 
          if test $with_gnu_ld = no; then
11992
 
            case $host_cpu in
11993
 
            hppa*64*)
11994
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11995
 
              ;;
11996
 
            ia64*)
11997
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11998
 
              ;;
11999
 
            *)
12000
 
              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'
12001
 
              ;;
12002
 
            esac
12003
 
          fi
12004
 
        else
12005
 
          # FIXME: insert proper C++ library support
12006
 
          ld_shlibs_CXX=no
12007
 
        fi
12008
 
        ;;
12009
 
    esac
12010
 
    ;;
12011
 
  interix[3-9]*)
12012
 
    hardcode_direct_CXX=no
12013
 
    hardcode_shlibpath_var_CXX=no
12014
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12015
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12016
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12017
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
12018
 
    # default) and relocated if they conflict, which is a slow very memory
12019
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
12020
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12021
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12022
 
    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'
12023
 
    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'
12024
 
    ;;
12025
 
  irix5* | irix6*)
12026
 
    case $cc_basename in
12027
 
      CC*)
12028
 
        # SGI C++
12029
 
        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'
12030
 
 
12031
 
        # Archives containing C++ object files must be created using
12032
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12033
 
        # necessary to make sure instantiated templates are included
12034
 
        # in the archive.
12035
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12036
 
        ;;
12037
 
      *)
12038
 
        if test "$GXX" = yes; then
12039
 
          if test "$with_gnu_ld" = no; then
12040
 
            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'
12041
 
          else
12042
 
            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'
12043
 
          fi
12044
 
        fi
12045
 
        link_all_deplibs_CXX=yes
12046
 
        ;;
12047
 
    esac
12048
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12049
 
    hardcode_libdir_separator_CXX=:
12050
 
    ;;
12051
 
  linux* | k*bsd*-gnu)
12052
 
    case $cc_basename in
12053
 
      KCC*)
12054
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12055
 
 
12056
 
        # KCC will only create a shared library if the output file
12057
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12058
 
        # to its proper name (with version) after linking.
12059
 
        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'
12060
 
        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'
12061
 
        # Commands to make compiler produce verbose output that lists
12062
 
        # what "hidden" libraries, object files and flags are used when
12063
 
        # linking a shared library.
12064
 
        #
12065
 
        # There doesn't appear to be a way to prevent this compiler from
12066
 
        # explicitly linking system object files so we need to strip them
12067
 
        # from the output so that they don't get included in the library
12068
 
        # dependencies.
12069
 
        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'
12070
 
 
12071
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12072
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12073
 
 
12074
 
        # Archives containing C++ object files must be created using
12075
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12076
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12077
 
        ;;
12078
 
      icpc*)
12079
 
        # Intel C++
12080
 
        with_gnu_ld=yes
12081
 
        # version 8.0 and above of icpc choke on multiply defined symbols
12082
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
12083
 
        # earlier do not add the objects themselves.
12084
 
        case `$CC -V 2>&1` in
12085
 
        *"Version 7."*)
12086
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12087
 
          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'
12088
 
          ;;
12089
 
        *)  # Version 8.0 or newer
12090
 
          tmp_idyn=
12091
 
          case $host_cpu in
12092
 
            ia64*) tmp_idyn=' -i_dynamic';;
12093
 
          esac
12094
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12095
 
          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'
12096
 
          ;;
12097
 
        esac
12098
 
        archive_cmds_need_lc_CXX=no
12099
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12100
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12101
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12102
 
        ;;
12103
 
      pgCC* | pgcpp*)
12104
 
        # Portland Group C++ compiler
12105
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12106
 
        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'
12107
 
 
12108
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12109
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12110
 
        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'
12111
 
        ;;
12112
 
      cxx*)
12113
 
        # Compaq C++
12114
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12115
 
        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'
12116
 
 
12117
 
        runpath_var=LD_RUN_PATH
12118
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12119
 
        hardcode_libdir_separator_CXX=:
12120
 
 
12121
 
        # Commands to make compiler produce verbose output that lists
12122
 
        # what "hidden" libraries, object files and flags are used when
12123
 
        # linking a shared library.
12124
 
        #
12125
 
        # There doesn't appear to be a way to prevent this compiler from
12126
 
        # explicitly linking system object files so we need to strip them
12127
 
        # from the output so that they don't get included in the library
12128
 
        # dependencies.
12129
 
        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'
12130
 
        ;;
12131
 
      *)
12132
 
        case `$CC -V 2>&1 | sed 5q` in
12133
 
        *Sun\ C*)
12134
 
          # Sun C++ 5.9
12135
 
          no_undefined_flag_CXX=' -zdefs'
12136
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12137
 
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12138
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
12139
 
          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'
12140
 
 
12141
 
          # Not sure whether something based on
12142
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12143
 
          # would be better.
12144
 
          output_verbose_link_cmd='echo'
12145
 
 
12146
 
          # Archives containing C++ object files must be created using
12147
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12148
 
          # necessary to make sure instantiated templates are included
12149
 
          # in the archive.
12150
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12151
 
          ;;
12152
 
        esac
12153
 
        ;;
12154
 
    esac
12155
 
    ;;
12156
 
  lynxos*)
12157
 
    # FIXME: insert proper C++ library support
12158
 
    ld_shlibs_CXX=no
12159
 
    ;;
12160
 
  m88k*)
12161
 
    # FIXME: insert proper C++ library support
12162
 
    ld_shlibs_CXX=no
12163
 
    ;;
12164
 
  mvs*)
12165
 
    case $cc_basename in
12166
 
      cxx*)
12167
 
        # FIXME: insert proper C++ library support
12168
 
        ld_shlibs_CXX=no
12169
 
        ;;
12170
 
      *)
12171
 
        # FIXME: insert proper C++ library support
12172
 
        ld_shlibs_CXX=no
12173
 
        ;;
12174
 
    esac
12175
 
    ;;
12176
 
  netbsd*)
12177
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12178
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12179
 
      wlarc=
12180
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
12181
 
      hardcode_direct_CXX=yes
12182
 
      hardcode_shlibpath_var_CXX=no
12183
 
    fi
12184
 
    # Workaround some broken pre-1.5 toolchains
12185
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12186
 
    ;;
12187
 
  openbsd2*)
12188
 
    # C++ shared libraries are fairly broken
12189
 
    ld_shlibs_CXX=no
12190
 
    ;;
12191
 
  openbsd*)
12192
 
    if test -f /usr/libexec/ld.so; then
12193
 
      hardcode_direct_CXX=yes
12194
 
      hardcode_shlibpath_var_CXX=no
12195
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12196
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12197
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12198
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12199
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12200
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12201
 
      fi
12202
 
      output_verbose_link_cmd='echo'
12203
 
    else
12204
 
      ld_shlibs_CXX=no
12205
 
    fi
12206
 
    ;;
12207
 
  osf3*)
12208
 
    case $cc_basename in
12209
 
      KCC*)
12210
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12211
 
 
12212
 
        # KCC will only create a shared library if the output file
12213
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12214
 
        # to its proper name (with version) after linking.
12215
 
        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'
12216
 
 
12217
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12218
 
        hardcode_libdir_separator_CXX=:
12219
 
 
12220
 
        # Archives containing C++ object files must be created using
12221
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12222
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12223
 
 
12224
 
        ;;
12225
 
      RCC*)
12226
 
        # Rational C++ 2.4.1
12227
 
        # FIXME: insert proper C++ library support
12228
 
        ld_shlibs_CXX=no
12229
 
        ;;
12230
 
      cxx*)
12231
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12232
 
        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'
12233
 
 
12234
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12235
 
        hardcode_libdir_separator_CXX=:
12236
 
 
12237
 
        # Commands to make compiler produce verbose output that lists
12238
 
        # what "hidden" libraries, object files and flags are used when
12239
 
        # linking a shared library.
12240
 
        #
12241
 
        # There doesn't appear to be a way to prevent this compiler from
12242
 
        # explicitly linking system object files so we need to strip them
12243
 
        # from the output so that they don't get included in the library
12244
 
        # dependencies.
12245
 
        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'
12246
 
        ;;
12247
 
      *)
12248
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12249
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12250
 
          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'
12251
 
 
12252
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12253
 
          hardcode_libdir_separator_CXX=:
12254
 
 
12255
 
          # Commands to make compiler produce verbose output that lists
12256
 
          # what "hidden" libraries, object files and flags are used when
12257
 
          # linking a shared library.
12258
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12259
 
 
12260
 
        else
12261
 
          # FIXME: insert proper C++ library support
12262
 
          ld_shlibs_CXX=no
12263
 
        fi
12264
 
        ;;
12265
 
    esac
12266
 
    ;;
12267
 
  osf4* | osf5*)
12268
 
    case $cc_basename in
12269
 
      KCC*)
12270
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12271
 
 
12272
 
        # KCC will only create a shared library if the output file
12273
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12274
 
        # to its proper name (with version) after linking.
12275
 
        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'
12276
 
 
12277
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12278
 
        hardcode_libdir_separator_CXX=:
12279
 
 
12280
 
        # Archives containing C++ object files must be created using
12281
 
        # the KAI C++ compiler.
12282
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12283
 
        ;;
12284
 
      RCC*)
12285
 
        # Rational C++ 2.4.1
12286
 
        # FIXME: insert proper C++ library support
12287
 
        ld_shlibs_CXX=no
12288
 
        ;;
12289
 
      cxx*)
12290
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
12291
 
        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'
12292
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12293
 
          echo "-hidden">> $lib.exp~
12294
 
          $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~
12295
 
          $rm $lib.exp'
12296
 
 
12297
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12298
 
        hardcode_libdir_separator_CXX=:
12299
 
 
12300
 
        # Commands to make compiler produce verbose output that lists
12301
 
        # what "hidden" libraries, object files and flags are used when
12302
 
        # linking a shared library.
12303
 
        #
12304
 
        # There doesn't appear to be a way to prevent this compiler from
12305
 
        # explicitly linking system object files so we need to strip them
12306
 
        # from the output so that they don't get included in the library
12307
 
        # dependencies.
12308
 
        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'
12309
 
        ;;
12310
 
      *)
12311
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12312
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12313
 
         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'
12314
 
 
12315
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12316
 
          hardcode_libdir_separator_CXX=:
12317
 
 
12318
 
          # Commands to make compiler produce verbose output that lists
12319
 
          # what "hidden" libraries, object files and flags are used when
12320
 
          # linking a shared library.
12321
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12322
 
 
12323
 
        else
12324
 
          # FIXME: insert proper C++ library support
12325
 
          ld_shlibs_CXX=no
12326
 
        fi
12327
 
        ;;
12328
 
    esac
12329
 
    ;;
12330
 
  psos*)
12331
 
    # FIXME: insert proper C++ library support
12332
 
    ld_shlibs_CXX=no
12333
 
    ;;
12334
 
  sunos4*)
12335
 
    case $cc_basename in
12336
 
      CC*)
12337
 
        # Sun C++ 4.x
12338
 
        # FIXME: insert proper C++ library support
12339
 
        ld_shlibs_CXX=no
12340
 
        ;;
12341
 
      lcc*)
12342
 
        # Lucid
12343
 
        # FIXME: insert proper C++ library support
12344
 
        ld_shlibs_CXX=no
12345
 
        ;;
12346
 
      *)
12347
 
        # FIXME: insert proper C++ library support
12348
 
        ld_shlibs_CXX=no
12349
 
        ;;
12350
 
    esac
12351
 
    ;;
12352
 
  solaris*)
12353
 
    case $cc_basename in
12354
 
      CC*)
12355
 
        # Sun C++ 4.2, 5.x and Centerline C++
12356
 
        archive_cmds_need_lc_CXX=yes
12357
 
        no_undefined_flag_CXX=' -zdefs'
12358
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12359
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12360
 
        $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'
12361
 
 
12362
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
12363
 
        hardcode_shlibpath_var_CXX=no
12364
 
        case $host_os in
12365
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12366
 
          *)
12367
 
            # The compiler driver will combine and reorder linker options,
12368
 
            # but understands `-z linker_flag'.
12369
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
12370
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12371
 
            ;;
12372
 
        esac
12373
 
        link_all_deplibs_CXX=yes
12374
 
 
12375
 
        output_verbose_link_cmd='echo'
12376
 
 
12377
 
        # Archives containing C++ object files must be created using
12378
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12379
 
        # necessary to make sure instantiated templates are included
12380
 
        # in the archive.
12381
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12382
 
        ;;
12383
 
      gcx*)
12384
 
        # Green Hills C++ Compiler
12385
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12386
 
 
12387
 
        # The C++ compiler must be used to create the archive.
12388
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12389
 
        ;;
12390
 
      *)
12391
 
        # GNU C++ compiler with Solaris linker
12392
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12393
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12394
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
12395
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12396
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12397
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12398
 
 
12399
 
            # Commands to make compiler produce verbose output that lists
12400
 
            # what "hidden" libraries, object files and flags are used when
12401
 
            # linking a shared library.
12402
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12403
 
          else
12404
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
12405
 
            # platform.
12406
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12407
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12408
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12409
 
 
12410
 
            # Commands to make compiler produce verbose output that lists
12411
 
            # what "hidden" libraries, object files and flags are used when
12412
 
            # linking a shared library.
12413
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12414
 
          fi
12415
 
 
12416
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12417
 
          case $host_os in
12418
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12419
 
          *)
12420
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12421
 
            ;;
12422
 
          esac
12423
 
        fi
12424
 
        ;;
12425
 
    esac
12426
 
    ;;
12427
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12428
 
    no_undefined_flag_CXX='${wl}-z,text'
12429
 
    archive_cmds_need_lc_CXX=no
12430
 
    hardcode_shlibpath_var_CXX=no
12431
 
    runpath_var='LD_RUN_PATH'
12432
 
 
12433
 
    case $cc_basename in
12434
 
      CC*)
12435
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12436
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12437
 
        ;;
12438
 
      *)
12439
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12440
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12441
 
        ;;
12442
 
    esac
12443
 
    ;;
12444
 
  sysv5* | sco3.2v5* | sco5v6*)
12445
 
    # Note: We can NOT use -z defs as we might desire, because we do not
12446
 
    # link with -lc, and that would cause any symbols used from libc to
12447
 
    # always be unresolved, which means just about no library would
12448
 
    # ever link correctly.  If we're not using GNU ld we use -z text
12449
 
    # though, which does catch some bad symbols but isn't as heavy-handed
12450
 
    # as -z defs.
12451
 
    # For security reasons, it is highly recommended that you always
12452
 
    # use absolute paths for naming shared libraries, and exclude the
12453
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
12454
 
    # requires that you compile everything twice, which is a pain.
12455
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
12456
 
    # non-empty value in the environment.  Most likely only useful for
12457
 
    # creating official distributions of packages.
12458
 
    # This is a hack until libtool officially supports absolute path
12459
 
    # names for shared libraries.
12460
 
    no_undefined_flag_CXX='${wl}-z,text'
12461
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
12462
 
    archive_cmds_need_lc_CXX=no
12463
 
    hardcode_shlibpath_var_CXX=no
12464
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12465
 
    hardcode_libdir_separator_CXX=':'
12466
 
    link_all_deplibs_CXX=yes
12467
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
12468
 
    runpath_var='LD_RUN_PATH'
12469
 
 
12470
 
    case $cc_basename in
12471
 
      CC*)
12472
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12473
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12474
 
        ;;
12475
 
      *)
12476
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12477
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12478
 
        ;;
12479
 
    esac
12480
 
    ;;
12481
 
  tandem*)
12482
 
    case $cc_basename in
12483
 
      NCC*)
12484
 
        # NonStop-UX NCC 3.20
12485
 
        # FIXME: insert proper C++ library support
12486
 
        ld_shlibs_CXX=no
12487
 
        ;;
12488
 
      *)
12489
 
        # FIXME: insert proper C++ library support
12490
 
        ld_shlibs_CXX=no
12491
 
        ;;
12492
 
    esac
12493
 
    ;;
12494
 
  vxworks*)
12495
 
    # FIXME: insert proper C++ library support
12496
 
    ld_shlibs_CXX=no
12497
 
    ;;
12498
 
  *)
12499
 
    # FIXME: insert proper C++ library support
12500
 
    ld_shlibs_CXX=no
12501
 
    ;;
12502
 
esac
12503
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12504
 
$as_echo "$ld_shlibs_CXX" >&6; }
12505
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12506
 
 
12507
 
GCC_CXX="$GXX"
12508
 
LD_CXX="$LD"
12509
 
 
12510
 
cat > conftest.$ac_ext <<EOF
12511
 
class Foo
12512
 
{
12513
 
public:
12514
 
  Foo (void) { a = 0; }
12515
 
private:
12516
 
  int a;
12517
 
};
12518
 
EOF
12519
 
 
12520
 
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12521
 
  (eval $ac_compile) 2>&5
12522
 
  ac_status=$?
12523
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12524
 
  test $ac_status = 0; }; then
12525
 
  # Parse the compiler output and extract the necessary
12526
 
  # objects, libraries and library flags.
12527
 
 
12528
 
  # Sentinel used to keep track of whether or not we are before
12529
 
  # the conftest object file.
12530
 
  pre_test_object_deps_done=no
12531
 
 
12532
 
  # The `*' in the case matches for architectures that use `case' in
12533
 
  # $output_verbose_cmd can trigger glob expansion during the loop
12534
 
  # eval without this substitution.
12535
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12536
 
 
12537
 
  for p in `eval $output_verbose_link_cmd`; do
12538
 
    case $p in
12539
 
 
12540
 
    -L* | -R* | -l*)
12541
 
       # Some compilers place space between "-{L,R}" and the path.
12542
 
       # Remove the space.
12543
 
       if test $p = "-L" \
12544
 
          || test $p = "-R"; then
12545
 
         prev=$p
12546
 
         continue
12547
 
       else
12548
 
         prev=
12549
 
       fi
12550
 
 
12551
 
       if test "$pre_test_object_deps_done" = no; then
12552
 
         case $p in
12553
 
         -L* | -R*)
12554
 
           # Internal compiler library paths should come after those
12555
 
           # provided the user.  The postdeps already come after the
12556
 
           # user supplied libs so there is no need to process them.
12557
 
           if test -z "$compiler_lib_search_path_CXX"; then
12558
 
             compiler_lib_search_path_CXX="${prev}${p}"
12559
 
           else
12560
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12561
 
           fi
12562
 
           ;;
12563
 
         # The "-l" case would never come before the object being
12564
 
         # linked, so don't bother handling this case.
12565
 
         esac
12566
 
       else
12567
 
         if test -z "$postdeps_CXX"; then
12568
 
           postdeps_CXX="${prev}${p}"
12569
 
         else
12570
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12571
 
         fi
12572
 
       fi
12573
 
       ;;
12574
 
 
12575
 
    *.$objext)
12576
 
       # This assumes that the test object file only shows up
12577
 
       # once in the compiler output.
12578
 
       if test "$p" = "conftest.$objext"; then
12579
 
         pre_test_object_deps_done=yes
12580
 
         continue
12581
 
       fi
12582
 
 
12583
 
       if test "$pre_test_object_deps_done" = no; then
12584
 
         if test -z "$predep_objects_CXX"; then
12585
 
           predep_objects_CXX="$p"
12586
 
         else
12587
 
           predep_objects_CXX="$predep_objects_CXX $p"
12588
 
         fi
12589
 
       else
12590
 
         if test -z "$postdep_objects_CXX"; then
12591
 
           postdep_objects_CXX="$p"
12592
 
         else
12593
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
12594
 
         fi
12595
 
       fi
12596
 
       ;;
12597
 
 
12598
 
    *) ;; # Ignore the rest.
12599
 
 
12600
 
    esac
12601
 
  done
12602
 
 
12603
 
  # Clean up.
12604
 
  rm -f a.out a.exe
12605
 
else
12606
 
  echo "libtool.m4: error: problem compiling CXX test program"
12607
 
fi
12608
 
 
12609
 
$rm -f confest.$objext
12610
 
 
12611
 
compiler_lib_search_dirs_CXX=
12612
 
if test -n "$compiler_lib_search_path_CXX"; then
12613
 
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12614
 
fi
12615
 
 
12616
 
# PORTME: override above test on systems where it is broken
12617
 
case $host_os in
12618
 
interix[3-9]*)
12619
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12620
 
  # hack all around it, let's just trust "g++" to DTRT.
12621
 
  predep_objects_CXX=
12622
 
  postdep_objects_CXX=
12623
 
  postdeps_CXX=
12624
 
  ;;
12625
 
 
12626
 
linux*)
12627
 
  case `$CC -V 2>&1 | sed 5q` in
12628
 
  *Sun\ C*)
12629
 
    # Sun C++ 5.9
12630
 
    #
12631
 
    # The more standards-conforming stlport4 library is
12632
 
    # incompatible with the Cstd library. Avoid specifying
12633
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12634
 
    # -library=stlport4 depends on it.
12635
 
    case " $CXX $CXXFLAGS " in
12636
 
    *" -library=stlport4 "*)
12637
 
      solaris_use_stlport4=yes
12638
 
      ;;
12639
 
    esac
12640
 
    if test "$solaris_use_stlport4" != yes; then
12641
 
      postdeps_CXX='-library=Cstd -library=Crun'
12642
 
    fi
12643
 
    ;;
12644
 
  esac
12645
 
  ;;
12646
 
 
12647
 
solaris*)
12648
 
  case $cc_basename in
12649
 
  CC*)
12650
 
    # The more standards-conforming stlport4 library is
12651
 
    # incompatible with the Cstd library. Avoid specifying
12652
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12653
 
    # -library=stlport4 depends on it.
12654
 
    case " $CXX $CXXFLAGS " in
12655
 
    *" -library=stlport4 "*)
12656
 
      solaris_use_stlport4=yes
12657
 
      ;;
12658
 
    esac
12659
 
 
12660
 
    # Adding this requires a known-good setup of shared libraries for
12661
 
    # Sun compiler versions before 5.6, else PIC objects from an old
12662
 
    # archive will be linked into the output, leading to subtle bugs.
12663
 
    if test "$solaris_use_stlport4" != yes; then
12664
 
      postdeps_CXX='-library=Cstd -library=Crun'
12665
 
    fi
12666
 
    ;;
12667
 
  esac
12668
 
  ;;
12669
 
esac
12670
 
 
12671
 
case " $postdeps_CXX " in
12672
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12673
 
esac
12674
 
 
12675
 
lt_prog_compiler_wl_CXX=
12676
 
lt_prog_compiler_pic_CXX=
12677
 
lt_prog_compiler_static_CXX=
12678
 
 
12679
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12680
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12681
 
 
12682
 
  # C++ specific cases for pic, static, wl, etc.
12683
 
  if test "$GXX" = yes; then
12684
 
    lt_prog_compiler_wl_CXX='-Wl,'
12685
 
    lt_prog_compiler_static_CXX='-static'
12686
 
 
12687
 
    case $host_os in
12688
 
    aix*)
12689
 
      # All AIX code is PIC.
12690
 
      if test "$host_cpu" = ia64; then
12691
 
        # AIX 5 now supports IA64 processor
12692
 
        lt_prog_compiler_static_CXX='-Bstatic'
12693
 
      fi
12694
 
      ;;
12695
 
    amigaos*)
12696
 
      # FIXME: we need at least 68020 code to build shared libraries, but
12697
 
      # adding the `-m68020' flag to GCC prevents building anything better,
12698
 
      # like `-m68040'.
12699
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12700
 
      ;;
12701
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12702
 
      # PIC is the default for these OSes.
12703
 
      ;;
12704
 
    mingw* | cygwin* | os2* | pw32*)
12705
 
      # This hack is so that the source file can tell whether it is being
12706
 
      # built for inclusion in a dll (and should export symbols for example).
12707
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
12708
 
      # (--disable-auto-import) libraries
12709
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12710
 
      ;;
12711
 
    darwin* | rhapsody*)
12712
 
      # PIC is the default on this platform
12713
 
      # Common symbols not allowed in MH_DYLIB files
12714
 
      lt_prog_compiler_pic_CXX='-fno-common'
12715
 
      ;;
12716
 
    *djgpp*)
12717
 
      # DJGPP does not support shared libraries at all
12718
 
      lt_prog_compiler_pic_CXX=
12719
 
      ;;
12720
 
    interix[3-9]*)
12721
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12722
 
      # Instead, we relocate shared libraries at runtime.
12723
 
      ;;
12724
 
    sysv4*MP*)
12725
 
      if test -d /usr/nec; then
12726
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
12727
 
      fi
12728
 
      ;;
12729
 
    hpux*)
12730
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12731
 
      # not for PA HP-UX.
12732
 
      case $host_cpu in
12733
 
      hppa*64*|ia64*)
12734
 
        ;;
12735
 
      *)
12736
 
        lt_prog_compiler_pic_CXX='-fPIC'
12737
 
        ;;
12738
 
      esac
12739
 
      ;;
12740
 
    *)
12741
 
      lt_prog_compiler_pic_CXX='-fPIC'
12742
 
      ;;
12743
 
    esac
12744
 
  else
12745
 
    case $host_os in
12746
 
      aix[4-9]*)
12747
 
        # All AIX code is PIC.
12748
 
        if test "$host_cpu" = ia64; then
12749
 
          # AIX 5 now supports IA64 processor
12750
 
          lt_prog_compiler_static_CXX='-Bstatic'
12751
 
        else
12752
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12753
 
        fi
12754
 
        ;;
12755
 
      chorus*)
12756
 
        case $cc_basename in
12757
 
        cxch68*)
12758
 
          # Green Hills C++ Compiler
12759
 
          # _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"
12760
 
          ;;
12761
 
        esac
12762
 
        ;;
12763
 
       darwin*)
12764
 
         # PIC is the default on this platform
12765
 
         # Common symbols not allowed in MH_DYLIB files
12766
 
         case $cc_basename in
12767
 
           xlc*)
12768
 
           lt_prog_compiler_pic_CXX='-qnocommon'
12769
 
           lt_prog_compiler_wl_CXX='-Wl,'
12770
 
           ;;
12771
 
         esac
12772
 
       ;;
12773
 
      dgux*)
12774
 
        case $cc_basename in
12775
 
          ec++*)
12776
 
            lt_prog_compiler_pic_CXX='-KPIC'
12777
 
            ;;
12778
 
          ghcx*)
12779
 
            # Green Hills C++ Compiler
12780
 
            lt_prog_compiler_pic_CXX='-pic'
12781
 
            ;;
12782
 
          *)
12783
 
            ;;
12784
 
        esac
12785
 
        ;;
12786
 
      freebsd* | dragonfly*)
12787
 
        # FreeBSD uses GNU C++
12788
 
        ;;
12789
 
      hpux9* | hpux10* | hpux11*)
12790
 
        case $cc_basename in
12791
 
          CC*)
12792
 
            lt_prog_compiler_wl_CXX='-Wl,'
12793
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12794
 
            if test "$host_cpu" != ia64; then
12795
 
              lt_prog_compiler_pic_CXX='+Z'
12796
 
            fi
12797
 
            ;;
12798
 
          aCC*)
12799
 
            lt_prog_compiler_wl_CXX='-Wl,'
12800
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12801
 
            case $host_cpu in
12802
 
            hppa*64*|ia64*)
12803
 
              # +Z the default
12804
 
              ;;
12805
 
            *)
12806
 
              lt_prog_compiler_pic_CXX='+Z'
12807
 
              ;;
12808
 
            esac
12809
 
            ;;
12810
 
          *)
12811
 
            ;;
12812
 
        esac
12813
 
        ;;
12814
 
      interix*)
12815
 
        # This is c89, which is MS Visual C++ (no shared libs)
12816
 
        # Anyone wants to do a port?
12817
 
        ;;
12818
 
      irix5* | irix6* | nonstopux*)
12819
 
        case $cc_basename in
12820
 
          CC*)
12821
 
            lt_prog_compiler_wl_CXX='-Wl,'
12822
 
            lt_prog_compiler_static_CXX='-non_shared'
12823
 
            # CC pic flag -KPIC is the default.
12824
 
            ;;
12825
 
          *)
12826
 
            ;;
12827
 
        esac
12828
 
        ;;
12829
 
      linux* | k*bsd*-gnu)
12830
 
        case $cc_basename in
12831
 
          KCC*)
12832
 
            # KAI C++ Compiler
12833
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12834
 
            lt_prog_compiler_pic_CXX='-fPIC'
12835
 
            ;;
12836
 
          icpc* | ecpc*)
12837
 
            # Intel C++
12838
 
            lt_prog_compiler_wl_CXX='-Wl,'
12839
 
            lt_prog_compiler_pic_CXX='-KPIC'
12840
 
            lt_prog_compiler_static_CXX='-static'
12841
 
            ;;
12842
 
          pgCC* | pgcpp*)
12843
 
            # Portland Group C++ compiler.
12844
 
            lt_prog_compiler_wl_CXX='-Wl,'
12845
 
            lt_prog_compiler_pic_CXX='-fpic'
12846
 
            lt_prog_compiler_static_CXX='-Bstatic'
12847
 
            ;;
12848
 
          cxx*)
12849
 
            # Compaq C++
12850
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12851
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12852
 
            lt_prog_compiler_pic_CXX=
12853
 
            lt_prog_compiler_static_CXX='-non_shared'
12854
 
            ;;
12855
 
          *)
12856
 
            case `$CC -V 2>&1 | sed 5q` in
12857
 
            *Sun\ C*)
12858
 
              # Sun C++ 5.9
12859
 
              lt_prog_compiler_pic_CXX='-KPIC'
12860
 
              lt_prog_compiler_static_CXX='-Bstatic'
12861
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
12862
 
              ;;
12863
 
            esac
12864
 
            ;;
12865
 
        esac
12866
 
        ;;
12867
 
      lynxos*)
12868
 
        ;;
12869
 
      m88k*)
12870
 
        ;;
12871
 
      mvs*)
12872
 
        case $cc_basename in
12873
 
          cxx*)
12874
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
12875
 
            ;;
12876
 
          *)
12877
 
            ;;
12878
 
        esac
12879
 
        ;;
12880
 
      netbsd*)
12881
 
        ;;
12882
 
      osf3* | osf4* | osf5*)
12883
 
        case $cc_basename in
12884
 
          KCC*)
12885
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12886
 
            ;;
12887
 
          RCC*)
12888
 
            # Rational C++ 2.4.1
12889
 
            lt_prog_compiler_pic_CXX='-pic'
12890
 
            ;;
12891
 
          cxx*)
12892
 
            # Digital/Compaq C++
12893
 
            lt_prog_compiler_wl_CXX='-Wl,'
12894
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12895
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12896
 
            lt_prog_compiler_pic_CXX=
12897
 
            lt_prog_compiler_static_CXX='-non_shared'
12898
 
            ;;
12899
 
          *)
12900
 
            ;;
12901
 
        esac
12902
 
        ;;
12903
 
      psos*)
12904
 
        ;;
12905
 
      solaris*)
12906
 
        case $cc_basename in
12907
 
          CC*)
12908
 
            # Sun C++ 4.2, 5.x and Centerline C++
12909
 
            lt_prog_compiler_pic_CXX='-KPIC'
12910
 
            lt_prog_compiler_static_CXX='-Bstatic'
12911
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
12912
 
            ;;
12913
 
          gcx*)
12914
 
            # Green Hills C++ Compiler
12915
 
            lt_prog_compiler_pic_CXX='-PIC'
12916
 
            ;;
12917
 
          *)
12918
 
            ;;
12919
 
        esac
12920
 
        ;;
12921
 
      sunos4*)
12922
 
        case $cc_basename in
12923
 
          CC*)
12924
 
            # Sun C++ 4.x
12925
 
            lt_prog_compiler_pic_CXX='-pic'
12926
 
            lt_prog_compiler_static_CXX='-Bstatic'
12927
 
            ;;
12928
 
          lcc*)
12929
 
            # Lucid
12930
 
            lt_prog_compiler_pic_CXX='-pic'
12931
 
            ;;
12932
 
          *)
12933
 
            ;;
12934
 
        esac
12935
 
        ;;
12936
 
      tandem*)
12937
 
        case $cc_basename in
12938
 
          NCC*)
12939
 
            # NonStop-UX NCC 3.20
12940
 
            lt_prog_compiler_pic_CXX='-KPIC'
12941
 
            ;;
12942
 
          *)
12943
 
            ;;
12944
 
        esac
12945
 
        ;;
12946
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12947
 
        case $cc_basename in
12948
 
          CC*)
12949
 
            lt_prog_compiler_wl_CXX='-Wl,'
12950
 
            lt_prog_compiler_pic_CXX='-KPIC'
12951
 
            lt_prog_compiler_static_CXX='-Bstatic'
12952
 
            ;;
12953
 
        esac
12954
 
        ;;
12955
 
      vxworks*)
12956
 
        ;;
12957
 
      *)
12958
 
        lt_prog_compiler_can_build_shared_CXX=no
12959
 
        ;;
12960
 
    esac
12961
 
  fi
12962
 
 
12963
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
12964
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
12965
 
 
12966
 
#
12967
 
# Check to make sure the PIC flag actually works.
12968
 
#
12969
 
if test -n "$lt_prog_compiler_pic_CXX"; then
12970
 
 
12971
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12972
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12973
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
12974
 
  $as_echo_n "(cached) " >&6
12975
 
else
12976
 
  lt_cv_prog_compiler_pic_works_CXX=no
12977
 
  ac_outfile=conftest.$ac_objext
12978
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12979
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12980
 
   # Insert the option either (1) after the last *FLAGS variable, or
12981
 
   # (2) before a word containing "conftest.", or (3) at the end.
12982
 
   # Note that $ac_compile itself does not contain backslashes and begins
12983
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12984
 
   # The option is referenced via a variable to avoid confusing sed.
12985
 
   lt_compile=`echo "$ac_compile" | $SED \
12986
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12987
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12988
 
   -e 's:$: $lt_compiler_flag:'`
12989
 
   (eval echo "\"\$as_me:12989: $lt_compile\"" >&5)
12990
 
   (eval "$lt_compile" 2>conftest.err)
12991
 
   ac_status=$?
12992
 
   cat conftest.err >&5
12993
 
   echo "$as_me:12993: \$? = $ac_status" >&5
12994
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
12995
 
     # The compiler can only warn and ignore the option if not recognized
12996
 
     # So say no if there are warnings other than the usual output.
12997
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12998
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12999
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13000
 
       lt_cv_prog_compiler_pic_works_CXX=yes
13001
 
     fi
13002
 
   fi
13003
 
   $rm conftest*
13004
 
 
13005
 
fi
13006
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13007
 
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13008
 
 
13009
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13010
 
    case $lt_prog_compiler_pic_CXX in
13011
 
     "" | " "*) ;;
13012
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13013
 
     esac
13014
 
else
13015
 
    lt_prog_compiler_pic_CXX=
13016
 
     lt_prog_compiler_can_build_shared_CXX=no
13017
 
fi
13018
 
 
13019
 
fi
13020
 
case $host_os in
13021
 
  # For platforms which do not support PIC, -DPIC is meaningless:
13022
 
  *djgpp*)
13023
 
    lt_prog_compiler_pic_CXX=
13024
 
    ;;
13025
 
  *)
13026
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13027
 
    ;;
13028
 
esac
13029
 
 
13030
 
#
13031
 
# Check to make sure the static flag actually works.
13032
 
#
13033
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13034
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13035
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13036
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13037
 
  $as_echo_n "(cached) " >&6
13038
 
else
13039
 
  lt_cv_prog_compiler_static_works_CXX=no
13040
 
   save_LDFLAGS="$LDFLAGS"
13041
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13042
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13043
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13044
 
     # The linker can only warn and ignore the option if not recognized
13045
 
     # So say no if there are warnings
13046
 
     if test -s conftest.err; then
13047
 
       # Append any errors to the config.log.
13048
 
       cat conftest.err 1>&5
13049
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13050
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13051
 
       if diff conftest.exp conftest.er2 >/dev/null; then
13052
 
         lt_cv_prog_compiler_static_works_CXX=yes
13053
 
       fi
13054
 
     else
13055
 
       lt_cv_prog_compiler_static_works_CXX=yes
13056
 
     fi
13057
 
   fi
13058
 
   $rm -r conftest*
13059
 
   LDFLAGS="$save_LDFLAGS"
13060
 
 
13061
 
fi
13062
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13063
 
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13064
 
 
13065
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13066
 
    :
13067
 
else
13068
 
    lt_prog_compiler_static_CXX=
13069
 
fi
13070
 
 
13071
 
 
13072
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13073
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13074
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13075
 
  $as_echo_n "(cached) " >&6
13076
 
else
13077
 
  lt_cv_prog_compiler_c_o_CXX=no
13078
 
   $rm -r conftest 2>/dev/null
13079
 
   mkdir conftest
13080
 
   cd conftest
13081
 
   mkdir out
13082
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13083
 
 
13084
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13085
 
   # Insert the option either (1) after the last *FLAGS variable, or
13086
 
   # (2) before a word containing "conftest.", or (3) at the end.
13087
 
   # Note that $ac_compile itself does not contain backslashes and begins
13088
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13089
 
   lt_compile=`echo "$ac_compile" | $SED \
13090
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13091
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13092
 
   -e 's:$: $lt_compiler_flag:'`
13093
 
   (eval echo "\"\$as_me:13093: $lt_compile\"" >&5)
13094
 
   (eval "$lt_compile" 2>out/conftest.err)
13095
 
   ac_status=$?
13096
 
   cat out/conftest.err >&5
13097
 
   echo "$as_me:13097: \$? = $ac_status" >&5
13098
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13099
 
   then
13100
 
     # The compiler can only warn and ignore the option if not recognized
13101
 
     # So say no if there are warnings
13102
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13103
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13104
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13105
 
       lt_cv_prog_compiler_c_o_CXX=yes
13106
 
     fi
13107
 
   fi
13108
 
   chmod u+w . 2>&5
13109
 
   $rm conftest*
13110
 
   # SGI C++ compiler will create directory out/ii_files/ for
13111
 
   # template instantiation
13112
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13113
 
   $rm out/* && rmdir out
13114
 
   cd ..
13115
 
   rmdir conftest
13116
 
   $rm conftest*
13117
 
 
13118
 
fi
13119
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13120
 
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13121
 
 
13122
 
 
13123
 
hard_links="nottested"
13124
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13125
 
  # do not overwrite the value of need_locks provided by the user
13126
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13127
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
13128
 
  hard_links=yes
13129
 
  $rm conftest*
13130
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13131
 
  touch conftest.a
13132
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
13133
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13134
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13135
 
$as_echo "$hard_links" >&6; }
13136
 
  if test "$hard_links" = no; then
13137
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13138
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13139
 
    need_locks=warn
13140
 
  fi
13141
 
else
13142
 
  need_locks=no
13143
 
fi
13144
 
 
13145
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13146
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13147
 
 
13148
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13149
 
  case $host_os in
13150
 
  aix[4-9]*)
13151
 
    # If we're using GNU nm, then we don't want the "-C" option.
13152
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13153
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13154
 
      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'
13155
 
    else
13156
 
      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'
13157
 
    fi
13158
 
    ;;
13159
 
  pw32*)
13160
 
    export_symbols_cmds_CXX="$ltdll_cmds"
13161
 
  ;;
13162
 
  cygwin* | mingw*)
13163
 
    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'
13164
 
  ;;
13165
 
  *)
13166
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13167
 
  ;;
13168
 
  esac
13169
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13170
 
 
13171
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13172
 
$as_echo "$ld_shlibs_CXX" >&6; }
13173
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13174
 
 
13175
 
#
13176
 
# Do we need to explicitly link libc?
13177
 
#
13178
 
case "x$archive_cmds_need_lc_CXX" in
13179
 
x|xyes)
13180
 
  # Assume -lc should be added
13181
 
  archive_cmds_need_lc_CXX=yes
13182
 
 
13183
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
13184
 
    case $archive_cmds_CXX in
13185
 
    *'~'*)
13186
 
      # FIXME: we may have to deal with multi-command sequences.
13187
 
      ;;
13188
 
    '$CC '*)
13189
 
      # Test whether the compiler implicitly links with -lc since on some
13190
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13191
 
      # to ld, don't add -lc before -lgcc.
13192
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13193
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13194
 
      $rm conftest*
13195
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13196
 
 
13197
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13198
 
  (eval $ac_compile) 2>&5
13199
 
  ac_status=$?
13200
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13201
 
  test $ac_status = 0; } 2>conftest.err; then
13202
 
        soname=conftest
13203
 
        lib=conftest
13204
 
        libobjs=conftest.$ac_objext
13205
 
        deplibs=
13206
 
        wl=$lt_prog_compiler_wl_CXX
13207
 
        pic_flag=$lt_prog_compiler_pic_CXX
13208
 
        compiler_flags=-v
13209
 
        linker_flags=-v
13210
 
        verstring=
13211
 
        output_objdir=.
13212
 
        libname=conftest
13213
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13214
 
        allow_undefined_flag_CXX=
13215
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13216
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13217
 
  ac_status=$?
13218
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13219
 
  test $ac_status = 0; }
13220
 
        then
13221
 
          archive_cmds_need_lc_CXX=no
13222
 
        else
13223
 
          archive_cmds_need_lc_CXX=yes
13224
 
        fi
13225
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13226
 
      else
13227
 
        cat conftest.err 1>&5
13228
 
      fi
13229
 
      $rm conftest*
13230
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13231
 
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
13232
 
      ;;
13233
 
    esac
13234
 
  fi
13235
 
  ;;
13236
 
esac
13237
 
 
13238
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13239
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
13240
 
library_names_spec=
13241
 
libname_spec='lib$name'
13242
 
soname_spec=
13243
 
shrext_cmds=".so"
13244
 
postinstall_cmds=
13245
 
postuninstall_cmds=
13246
 
finish_cmds=
13247
 
finish_eval=
13248
 
shlibpath_var=
13249
 
shlibpath_overrides_runpath=unknown
13250
 
version_type=none
13251
 
dynamic_linker="$host_os ld.so"
13252
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13253
 
 
13254
 
need_lib_prefix=unknown
13255
 
hardcode_into_libs=no
13256
 
 
13257
 
# when you set need_version to no, make sure it does not cause -set_version
13258
 
# flags to be left without arguments
13259
 
need_version=unknown
13260
 
 
13261
 
case $host_os in
13262
 
aix3*)
13263
 
  version_type=linux
13264
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13265
 
  shlibpath_var=LIBPATH
13266
 
 
13267
 
  # AIX 3 has no versioning support, so we append a major version to the name.
13268
 
  soname_spec='${libname}${release}${shared_ext}$major'
13269
 
  ;;
13270
 
 
13271
 
aix[4-9]*)
13272
 
  version_type=linux
13273
 
  need_lib_prefix=no
13274
 
  need_version=no
13275
 
  hardcode_into_libs=yes
13276
 
  if test "$host_cpu" = ia64; then
13277
 
    # AIX 5 supports IA64
13278
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13279
 
    shlibpath_var=LD_LIBRARY_PATH
13280
 
  else
13281
 
    # With GCC up to 2.95.x, collect2 would create an import file
13282
 
    # for dependence libraries.  The import file would start with
13283
 
    # the line `#! .'.  This would cause the generated library to
13284
 
    # depend on `.', always an invalid library.  This was fixed in
13285
 
    # development snapshots of GCC prior to 3.0.
13286
 
    case $host_os in
13287
 
      aix4 | aix4.[01] | aix4.[01].*)
13288
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13289
 
           echo ' yes '
13290
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13291
 
        :
13292
 
      else
13293
 
        can_build_shared=no
13294
 
      fi
13295
 
      ;;
13296
 
    esac
13297
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13298
 
    # soname into executable. Probably we can add versioning support to
13299
 
    # collect2, so additional links can be useful in future.
13300
 
    if test "$aix_use_runtimelinking" = yes; then
13301
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13302
 
      # instead of lib<name>.a to let people know that these are not
13303
 
      # typical AIX shared libraries.
13304
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13305
 
    else
13306
 
      # We preserve .a as extension for shared libraries through AIX4.2
13307
 
      # and later when we are not doing run time linking.
13308
 
      library_names_spec='${libname}${release}.a $libname.a'
13309
 
      soname_spec='${libname}${release}${shared_ext}$major'
13310
 
    fi
13311
 
    shlibpath_var=LIBPATH
13312
 
  fi
13313
 
  ;;
13314
 
 
13315
 
amigaos*)
13316
 
  library_names_spec='$libname.ixlibrary $libname.a'
13317
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
13318
 
  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'
13319
 
  ;;
13320
 
 
13321
 
beos*)
13322
 
  library_names_spec='${libname}${shared_ext}'
13323
 
  dynamic_linker="$host_os ld.so"
13324
 
  shlibpath_var=LIBRARY_PATH
13325
 
  ;;
13326
 
 
13327
 
bsdi[45]*)
13328
 
  version_type=linux
13329
 
  need_version=no
13330
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13331
 
  soname_spec='${libname}${release}${shared_ext}$major'
13332
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13333
 
  shlibpath_var=LD_LIBRARY_PATH
13334
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13335
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13336
 
  # the default ld.so.conf also contains /usr/contrib/lib and
13337
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13338
 
  # libtool to hard-code these into programs
13339
 
  ;;
13340
 
 
13341
 
cygwin* | mingw* | pw32*)
13342
 
  version_type=windows
13343
 
  shrext_cmds=".dll"
13344
 
  need_version=no
13345
 
  need_lib_prefix=no
13346
 
 
13347
 
  case $GCC,$host_os in
13348
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
13349
 
    library_names_spec='$libname.dll.a'
13350
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13351
 
    postinstall_cmds='base_file=`basename \${file}`~
13352
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13353
 
      dldir=$destdir/`dirname \$dlpath`~
13354
 
      test -d \$dldir || mkdir -p \$dldir~
13355
 
      $install_prog $dir/$dlname \$dldir/$dlname~
13356
 
      chmod a+x \$dldir/$dlname'
13357
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13358
 
      dlpath=$dir/\$dldll~
13359
 
       $rm \$dlpath'
13360
 
    shlibpath_overrides_runpath=yes
13361
 
 
13362
 
    case $host_os in
13363
 
    cygwin*)
13364
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13365
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13366
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13367
 
      ;;
13368
 
    mingw*)
13369
 
      # MinGW DLLs use traditional 'lib' prefix
13370
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13371
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13372
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13373
 
        # It is most probably a Windows format PATH printed by
13374
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13375
 
        # path with ; separators, and with drive letters. We can handle the
13376
 
        # drive letters (cygwin fileutils understands them), so leave them,
13377
 
        # especially as we might pass files found there to a mingw objdump,
13378
 
        # which wouldn't understand a cygwinified path. Ahh.
13379
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13380
 
      else
13381
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13382
 
      fi
13383
 
      ;;
13384
 
    pw32*)
13385
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
13386
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13387
 
      ;;
13388
 
    esac
13389
 
    ;;
13390
 
 
13391
 
  *)
13392
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13393
 
    ;;
13394
 
  esac
13395
 
  dynamic_linker='Win32 ld.exe'
13396
 
  # FIXME: first we should search . and the directory the executable is in
13397
 
  shlibpath_var=PATH
13398
 
  ;;
13399
 
 
13400
 
darwin* | rhapsody*)
13401
 
  dynamic_linker="$host_os dyld"
13402
 
  version_type=darwin
13403
 
  need_lib_prefix=no
13404
 
  need_version=no
13405
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13406
 
  soname_spec='${libname}${release}${major}$shared_ext'
13407
 
  shlibpath_overrides_runpath=yes
13408
 
  shlibpath_var=DYLD_LIBRARY_PATH
13409
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13410
 
 
13411
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13412
 
  ;;
13413
 
 
13414
 
dgux*)
13415
 
  version_type=linux
13416
 
  need_lib_prefix=no
13417
 
  need_version=no
13418
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13419
 
  soname_spec='${libname}${release}${shared_ext}$major'
13420
 
  shlibpath_var=LD_LIBRARY_PATH
13421
 
  ;;
13422
 
 
13423
 
freebsd1*)
13424
 
  dynamic_linker=no
13425
 
  ;;
13426
 
 
13427
 
freebsd* | dragonfly*)
13428
 
  # DragonFly does not have aout.  When/if they implement a new
13429
 
  # versioning mechanism, adjust this.
13430
 
  if test -x /usr/bin/objformat; then
13431
 
    objformat=`/usr/bin/objformat`
13432
 
  else
13433
 
    case $host_os in
13434
 
    freebsd[123]*) objformat=aout ;;
13435
 
    *) objformat=elf ;;
13436
 
    esac
13437
 
  fi
13438
 
  version_type=freebsd-$objformat
13439
 
  case $version_type in
13440
 
    freebsd-elf*)
13441
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13442
 
      need_version=no
13443
 
      need_lib_prefix=no
13444
 
      ;;
13445
 
    freebsd-*)
13446
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13447
 
      need_version=yes
13448
 
      ;;
13449
 
  esac
13450
 
  shlibpath_var=LD_LIBRARY_PATH
13451
 
  case $host_os in
13452
 
  freebsd2*)
13453
 
    shlibpath_overrides_runpath=yes
13454
 
    ;;
13455
 
  freebsd3.[01]* | freebsdelf3.[01]*)
13456
 
    shlibpath_overrides_runpath=yes
13457
 
    hardcode_into_libs=yes
13458
 
    ;;
13459
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13460
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13461
 
    shlibpath_overrides_runpath=no
13462
 
    hardcode_into_libs=yes
13463
 
    ;;
13464
 
  *) # from 4.6 on, and DragonFly
13465
 
    shlibpath_overrides_runpath=yes
13466
 
    hardcode_into_libs=yes
13467
 
    ;;
13468
 
  esac
13469
 
  ;;
13470
 
 
13471
 
gnu*)
13472
 
  version_type=linux
13473
 
  need_lib_prefix=no
13474
 
  need_version=no
13475
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13476
 
  soname_spec='${libname}${release}${shared_ext}$major'
13477
 
  shlibpath_var=LD_LIBRARY_PATH
13478
 
  hardcode_into_libs=yes
13479
 
  ;;
13480
 
 
13481
 
hpux9* | hpux10* | hpux11*)
13482
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
13483
 
  # link against other versions.
13484
 
  version_type=sunos
13485
 
  need_lib_prefix=no
13486
 
  need_version=no
13487
 
  case $host_cpu in
13488
 
  ia64*)
13489
 
    shrext_cmds='.so'
13490
 
    hardcode_into_libs=yes
13491
 
    dynamic_linker="$host_os dld.so"
13492
 
    shlibpath_var=LD_LIBRARY_PATH
13493
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13494
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13495
 
    soname_spec='${libname}${release}${shared_ext}$major'
13496
 
    if test "X$HPUX_IA64_MODE" = X32; then
13497
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13498
 
    else
13499
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13500
 
    fi
13501
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13502
 
    ;;
13503
 
   hppa*64*)
13504
 
     shrext_cmds='.sl'
13505
 
     hardcode_into_libs=yes
13506
 
     dynamic_linker="$host_os dld.sl"
13507
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13508
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13509
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13510
 
     soname_spec='${libname}${release}${shared_ext}$major'
13511
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13512
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13513
 
     ;;
13514
 
   *)
13515
 
    shrext_cmds='.sl'
13516
 
    dynamic_linker="$host_os dld.sl"
13517
 
    shlibpath_var=SHLIB_PATH
13518
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13519
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13520
 
    soname_spec='${libname}${release}${shared_ext}$major'
13521
 
    ;;
13522
 
  esac
13523
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
13524
 
  postinstall_cmds='chmod 555 $lib'
13525
 
  ;;
13526
 
 
13527
 
interix[3-9]*)
13528
 
  version_type=linux
13529
 
  need_lib_prefix=no
13530
 
  need_version=no
13531
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13532
 
  soname_spec='${libname}${release}${shared_ext}$major'
13533
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13534
 
  shlibpath_var=LD_LIBRARY_PATH
13535
 
  shlibpath_overrides_runpath=no
13536
 
  hardcode_into_libs=yes
13537
 
  ;;
13538
 
 
13539
 
irix5* | irix6* | nonstopux*)
13540
 
  case $host_os in
13541
 
    nonstopux*) version_type=nonstopux ;;
13542
 
    *)
13543
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
13544
 
                version_type=linux
13545
 
        else
13546
 
                version_type=irix
13547
 
        fi ;;
13548
 
  esac
13549
 
  need_lib_prefix=no
13550
 
  need_version=no
13551
 
  soname_spec='${libname}${release}${shared_ext}$major'
13552
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13553
 
  case $host_os in
13554
 
  irix5* | nonstopux*)
13555
 
    libsuff= shlibsuff=
13556
 
    ;;
13557
 
  *)
13558
 
    case $LD in # libtool.m4 will add one of these switches to LD
13559
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13560
 
      libsuff= shlibsuff= libmagic=32-bit;;
13561
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13562
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
13563
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13564
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13565
 
    *) libsuff= shlibsuff= libmagic=never-match;;
13566
 
    esac
13567
 
    ;;
13568
 
  esac
13569
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13570
 
  shlibpath_overrides_runpath=no
13571
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13572
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13573
 
  hardcode_into_libs=yes
13574
 
  ;;
13575
 
 
13576
 
# No shared lib support for Linux oldld, aout, or coff.
13577
 
linux*oldld* | linux*aout* | linux*coff*)
13578
 
  dynamic_linker=no
13579
 
  ;;
13580
 
 
13581
 
# This must be Linux ELF.
13582
 
linux* | k*bsd*-gnu)
13583
 
  version_type=linux
13584
 
  need_lib_prefix=no
13585
 
  need_version=no
13586
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13587
 
  soname_spec='${libname}${release}${shared_ext}$major'
13588
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13589
 
  shlibpath_var=LD_LIBRARY_PATH
13590
 
  shlibpath_overrides_runpath=no
13591
 
  # This implies no fast_install, which is unacceptable.
13592
 
  # Some rework will be needed to allow for fast_install
13593
 
  # before this can be enabled.
13594
 
  hardcode_into_libs=yes
13595
 
 
13596
 
  # Append ld.so.conf contents to the search path
13597
 
  if test -f /etc/ld.so.conf; then
13598
 
    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' ' '`
13599
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13600
 
  fi
13601
 
 
13602
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
13603
 
  # powerpc, because MkLinux only supported shared libraries with the
13604
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
13605
 
  # most powerpc-linux boxes support dynamic linking these days and
13606
 
  # people can always --disable-shared, the test was removed, and we
13607
 
  # assume the GNU/Linux dynamic linker is in use.
13608
 
  dynamic_linker='GNU/Linux ld.so'
13609
 
  ;;
13610
 
 
13611
 
netbsd*)
13612
 
  version_type=sunos
13613
 
  need_lib_prefix=no
13614
 
  need_version=no
13615
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13616
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13617
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13618
 
    dynamic_linker='NetBSD (a.out) ld.so'
13619
 
  else
13620
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13621
 
    soname_spec='${libname}${release}${shared_ext}$major'
13622
 
    dynamic_linker='NetBSD ld.elf_so'
13623
 
  fi
13624
 
  shlibpath_var=LD_LIBRARY_PATH
13625
 
  shlibpath_overrides_runpath=yes
13626
 
  hardcode_into_libs=yes
13627
 
  ;;
13628
 
 
13629
 
newsos6)
13630
 
  version_type=linux
13631
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13632
 
  shlibpath_var=LD_LIBRARY_PATH
13633
 
  shlibpath_overrides_runpath=yes
13634
 
  ;;
13635
 
 
13636
 
nto-qnx*)
13637
 
  version_type=linux
13638
 
  need_lib_prefix=no
13639
 
  need_version=no
13640
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13641
 
  soname_spec='${libname}${release}${shared_ext}$major'
13642
 
  shlibpath_var=LD_LIBRARY_PATH
13643
 
  shlibpath_overrides_runpath=yes
13644
 
  ;;
13645
 
 
13646
 
openbsd*)
13647
 
  version_type=sunos
13648
 
  sys_lib_dlsearch_path_spec="/usr/lib"
13649
 
  need_lib_prefix=no
13650
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13651
 
  case $host_os in
13652
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13653
 
    *)                         need_version=no  ;;
13654
 
  esac
13655
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13656
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13657
 
  shlibpath_var=LD_LIBRARY_PATH
13658
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13659
 
    case $host_os in
13660
 
      openbsd2.[89] | openbsd2.[89].*)
13661
 
        shlibpath_overrides_runpath=no
13662
 
        ;;
13663
 
      *)
13664
 
        shlibpath_overrides_runpath=yes
13665
 
        ;;
13666
 
      esac
13667
 
  else
13668
 
    shlibpath_overrides_runpath=yes
13669
 
  fi
13670
 
  ;;
13671
 
 
13672
 
os2*)
13673
 
  libname_spec='$name'
13674
 
  shrext_cmds=".dll"
13675
 
  need_lib_prefix=no
13676
 
  library_names_spec='$libname${shared_ext} $libname.a'
13677
 
  dynamic_linker='OS/2 ld.exe'
13678
 
  shlibpath_var=LIBPATH
13679
 
  ;;
13680
 
 
13681
 
osf3* | osf4* | osf5*)
13682
 
  version_type=osf
13683
 
  need_lib_prefix=no
13684
 
  need_version=no
13685
 
  soname_spec='${libname}${release}${shared_ext}$major'
13686
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13687
 
  shlibpath_var=LD_LIBRARY_PATH
13688
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13689
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13690
 
  ;;
13691
 
 
13692
 
rdos*)
13693
 
  dynamic_linker=no
13694
 
  ;;
13695
 
 
13696
 
solaris*)
13697
 
  version_type=linux
13698
 
  need_lib_prefix=no
13699
 
  need_version=no
13700
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13701
 
  soname_spec='${libname}${release}${shared_ext}$major'
13702
 
  shlibpath_var=LD_LIBRARY_PATH
13703
 
  shlibpath_overrides_runpath=yes
13704
 
  hardcode_into_libs=yes
13705
 
  # ldd complains unless libraries are executable
13706
 
  postinstall_cmds='chmod +x $lib'
13707
 
  ;;
13708
 
 
13709
 
sunos4*)
13710
 
  version_type=sunos
13711
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13712
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13713
 
  shlibpath_var=LD_LIBRARY_PATH
13714
 
  shlibpath_overrides_runpath=yes
13715
 
  if test "$with_gnu_ld" = yes; then
13716
 
    need_lib_prefix=no
13717
 
  fi
13718
 
  need_version=yes
13719
 
  ;;
13720
 
 
13721
 
sysv4 | sysv4.3*)
13722
 
  version_type=linux
13723
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13724
 
  soname_spec='${libname}${release}${shared_ext}$major'
13725
 
  shlibpath_var=LD_LIBRARY_PATH
13726
 
  case $host_vendor in
13727
 
    sni)
13728
 
      shlibpath_overrides_runpath=no
13729
 
      need_lib_prefix=no
13730
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13731
 
      runpath_var=LD_RUN_PATH
13732
 
      ;;
13733
 
    siemens)
13734
 
      need_lib_prefix=no
13735
 
      ;;
13736
 
    motorola)
13737
 
      need_lib_prefix=no
13738
 
      need_version=no
13739
 
      shlibpath_overrides_runpath=no
13740
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13741
 
      ;;
13742
 
  esac
13743
 
  ;;
13744
 
 
13745
 
sysv4*MP*)
13746
 
  if test -d /usr/nec ;then
13747
 
    version_type=linux
13748
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13749
 
    soname_spec='$libname${shared_ext}.$major'
13750
 
    shlibpath_var=LD_LIBRARY_PATH
13751
 
  fi
13752
 
  ;;
13753
 
 
13754
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13755
 
  version_type=freebsd-elf
13756
 
  need_lib_prefix=no
13757
 
  need_version=no
13758
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13759
 
  soname_spec='${libname}${release}${shared_ext}$major'
13760
 
  shlibpath_var=LD_LIBRARY_PATH
13761
 
  hardcode_into_libs=yes
13762
 
  if test "$with_gnu_ld" = yes; then
13763
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13764
 
    shlibpath_overrides_runpath=no
13765
 
  else
13766
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13767
 
    shlibpath_overrides_runpath=yes
13768
 
    case $host_os in
13769
 
      sco3.2v5*)
13770
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13771
 
        ;;
13772
 
    esac
13773
 
  fi
13774
 
  sys_lib_dlsearch_path_spec='/usr/lib'
13775
 
  ;;
13776
 
 
13777
 
uts4*)
13778
 
  version_type=linux
13779
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13780
 
  soname_spec='${libname}${release}${shared_ext}$major'
13781
 
  shlibpath_var=LD_LIBRARY_PATH
13782
 
  ;;
13783
 
 
13784
 
*)
13785
 
  dynamic_linker=no
13786
 
  ;;
13787
 
esac
13788
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13789
 
$as_echo "$dynamic_linker" >&6; }
13790
 
test "$dynamic_linker" = no && can_build_shared=no
13791
 
 
13792
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then :
13793
 
  $as_echo_n "(cached) " >&6
13794
 
else
13795
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
13796
 
fi
13797
 
 
13798
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13799
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then :
13800
 
  $as_echo_n "(cached) " >&6
13801
 
else
13802
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
13803
 
fi
13804
 
 
13805
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13806
 
 
13807
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13808
 
if test "$GCC" = yes; then
13809
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13810
 
fi
13811
 
 
13812
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13813
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13814
 
hardcode_action_CXX=
13815
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13816
 
   test -n "$runpath_var_CXX" || \
13817
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
13818
 
 
13819
 
  # We can hardcode non-existant directories.
13820
 
  if test "$hardcode_direct_CXX" != no &&
13821
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13822
 
     # have to relink, otherwise we might link with an installed library
13823
 
     # when we should be linking with a yet-to-be-installed one
13824
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13825
 
     test "$hardcode_minus_L_CXX" != no; then
13826
 
    # Linking always hardcodes the temporary library directory.
13827
 
    hardcode_action_CXX=relink
13828
 
  else
13829
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13830
 
    hardcode_action_CXX=immediate
13831
 
  fi
13832
 
else
13833
 
  # We cannot hardcode anything, or else we can only hardcode existing
13834
 
  # directories.
13835
 
  hardcode_action_CXX=unsupported
13836
 
fi
13837
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
13838
 
$as_echo "$hardcode_action_CXX" >&6; }
13839
 
 
13840
 
if test "$hardcode_action_CXX" = relink; then
13841
 
  # Fast installation is not supported
13842
 
  enable_fast_install=no
13843
 
elif test "$shlibpath_overrides_runpath" = yes ||
13844
 
     test "$enable_shared" = no; then
13845
 
  # Fast installation is not necessary
13846
 
  enable_fast_install=needless
13847
 
fi
13848
 
 
13849
 
 
13850
 
# The else clause should only fire when bootstrapping the
13851
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13852
 
# with your package, and you will get complaints that there are
13853
 
# no rules to generate ltmain.sh.
13854
 
if test -f "$ltmain"; then
13855
 
  # See if we are running on zsh, and set the options which allow our commands through
13856
 
  # without removal of \ escapes.
13857
 
  if test -n "${ZSH_VERSION+set}" ; then
13858
 
    setopt NO_GLOB_SUBST
13859
 
  fi
13860
 
  # Now quote all the things that may contain metacharacters while being
13861
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13862
 
  # variables and quote the copies for generation of the libtool script.
13863
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13864
 
    SED SHELL STRIP \
13865
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13866
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13867
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13868
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13869
 
    lt_cv_sys_global_symbol_to_c_name_address \
13870
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13871
 
    old_postinstall_cmds old_postuninstall_cmds \
13872
 
    compiler_CXX \
13873
 
    CC_CXX \
13874
 
    LD_CXX \
13875
 
    lt_prog_compiler_wl_CXX \
13876
 
    lt_prog_compiler_pic_CXX \
13877
 
    lt_prog_compiler_static_CXX \
13878
 
    lt_prog_compiler_no_builtin_flag_CXX \
13879
 
    export_dynamic_flag_spec_CXX \
13880
 
    thread_safe_flag_spec_CXX \
13881
 
    whole_archive_flag_spec_CXX \
13882
 
    enable_shared_with_static_runtimes_CXX \
13883
 
    old_archive_cmds_CXX \
13884
 
    old_archive_from_new_cmds_CXX \
13885
 
    predep_objects_CXX \
13886
 
    postdep_objects_CXX \
13887
 
    predeps_CXX \
13888
 
    postdeps_CXX \
13889
 
    compiler_lib_search_path_CXX \
13890
 
    compiler_lib_search_dirs_CXX \
13891
 
    archive_cmds_CXX \
13892
 
    archive_expsym_cmds_CXX \
13893
 
    postinstall_cmds_CXX \
13894
 
    postuninstall_cmds_CXX \
13895
 
    old_archive_from_expsyms_cmds_CXX \
13896
 
    allow_undefined_flag_CXX \
13897
 
    no_undefined_flag_CXX \
13898
 
    export_symbols_cmds_CXX \
13899
 
    hardcode_libdir_flag_spec_CXX \
13900
 
    hardcode_libdir_flag_spec_ld_CXX \
13901
 
    hardcode_libdir_separator_CXX \
13902
 
    hardcode_automatic_CXX \
13903
 
    module_cmds_CXX \
13904
 
    module_expsym_cmds_CXX \
13905
 
    lt_cv_prog_compiler_c_o_CXX \
13906
 
    fix_srcfile_path_CXX \
13907
 
    exclude_expsyms_CXX \
13908
 
    include_expsyms_CXX; do
13909
 
 
13910
 
    case $var in
13911
 
    old_archive_cmds_CXX | \
13912
 
    old_archive_from_new_cmds_CXX | \
13913
 
    archive_cmds_CXX | \
13914
 
    archive_expsym_cmds_CXX | \
13915
 
    module_cmds_CXX | \
13916
 
    module_expsym_cmds_CXX | \
13917
 
    old_archive_from_expsyms_cmds_CXX | \
13918
 
    export_symbols_cmds_CXX | \
13919
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
13920
 
    postinstall_cmds | postuninstall_cmds | \
13921
 
    old_postinstall_cmds | old_postuninstall_cmds | \
13922
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13923
 
      # Double-quote double-evaled strings.
13924
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13925
 
      ;;
13926
 
    *)
13927
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13928
 
      ;;
13929
 
    esac
13930
 
  done
13931
 
 
13932
 
  case $lt_echo in
13933
 
  *'\$0 --fallback-echo"')
13934
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13935
 
    ;;
13936
 
  esac
13937
 
 
13938
 
cfgfile="$ofile"
13939
 
 
13940
 
  cat <<__EOF__ >> "$cfgfile"
13941
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13942
 
 
13943
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13944
 
 
13945
 
# Shell to use when invoking shell scripts.
13946
 
SHELL=$lt_SHELL
13947
 
 
13948
 
# Whether or not to build shared libraries.
13949
 
build_libtool_libs=$enable_shared
13950
 
 
13951
 
# Whether or not to build static libraries.
13952
 
build_old_libs=$enable_static
13953
 
 
13954
 
# Whether or not to add -lc for building shared libraries.
13955
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13956
 
 
13957
 
# Whether or not to disallow shared libs when runtime libs are static
13958
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13959
 
 
13960
 
# Whether or not to optimize for fast installation.
13961
 
fast_install=$enable_fast_install
13962
 
 
13963
 
# The host system.
13964
 
host_alias=$host_alias
13965
 
host=$host
13966
 
host_os=$host_os
13967
 
 
13968
 
# The build system.
13969
 
build_alias=$build_alias
13970
 
build=$build
13971
 
build_os=$build_os
13972
 
 
13973
 
# An echo program that does not interpret backslashes.
13974
 
echo=$lt_echo
13975
 
 
13976
 
# The archiver.
13977
 
AR=$lt_AR
13978
 
AR_FLAGS=$lt_AR_FLAGS
13979
 
 
13980
 
# A C compiler.
13981
 
LTCC=$lt_LTCC
13982
 
 
13983
 
# LTCC compiler flags.
13984
 
LTCFLAGS=$lt_LTCFLAGS
13985
 
 
13986
 
# A language-specific compiler.
13987
 
CC=$lt_compiler_CXX
13988
 
 
13989
 
# Is the compiler the GNU C compiler?
13990
 
with_gcc=$GCC_CXX
13991
 
 
13992
 
# An ERE matcher.
13993
 
EGREP=$lt_EGREP
13994
 
 
13995
 
# The linker used to build libraries.
13996
 
LD=$lt_LD_CXX
13997
 
 
13998
 
# Whether we need hard or soft links.
13999
 
LN_S=$lt_LN_S
14000
 
 
14001
 
# A BSD-compatible nm program.
14002
 
NM=$lt_NM
14003
 
 
14004
 
# A symbol stripping program
14005
 
STRIP=$lt_STRIP
14006
 
 
14007
 
# Used to examine libraries when file_magic_cmd begins "file"
14008
 
MAGIC_CMD=$MAGIC_CMD
14009
 
 
14010
 
# Used on cygwin: DLL creation program.
14011
 
DLLTOOL="$DLLTOOL"
14012
 
 
14013
 
# Used on cygwin: object dumper.
14014
 
OBJDUMP="$OBJDUMP"
14015
 
 
14016
 
# Used on cygwin: assembler.
14017
 
AS="$AS"
14018
 
 
14019
 
# The name of the directory that contains temporary libtool files.
14020
 
objdir=$objdir
14021
 
 
14022
 
# How to create reloadable object files.
14023
 
reload_flag=$lt_reload_flag
14024
 
reload_cmds=$lt_reload_cmds
14025
 
 
14026
 
# How to pass a linker flag through the compiler.
14027
 
wl=$lt_lt_prog_compiler_wl_CXX
14028
 
 
14029
 
# Object file suffix (normally "o").
14030
 
objext="$ac_objext"
14031
 
 
14032
 
# Old archive suffix (normally "a").
14033
 
libext="$libext"
14034
 
 
14035
 
# Shared library suffix (normally ".so").
14036
 
shrext_cmds='$shrext_cmds'
14037
 
 
14038
 
# Executable file suffix (normally "").
14039
 
exeext="$exeext"
14040
 
 
14041
 
# Additional compiler flags for building library objects.
14042
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
14043
 
pic_mode=$pic_mode
14044
 
 
14045
 
# What is the maximum length of a command?
14046
 
max_cmd_len=$lt_cv_sys_max_cmd_len
14047
 
 
14048
 
# Does compiler simultaneously support -c and -o options?
14049
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14050
 
 
14051
 
# Must we lock files when doing compilation?
14052
 
need_locks=$lt_need_locks
14053
 
 
14054
 
# Do we need the lib prefix for modules?
14055
 
need_lib_prefix=$need_lib_prefix
14056
 
 
14057
 
# Do we need a version for libraries?
14058
 
need_version=$need_version
14059
 
 
14060
 
# Whether dlopen is supported.
14061
 
dlopen_support=$enable_dlopen
14062
 
 
14063
 
# Whether dlopen of programs is supported.
14064
 
dlopen_self=$enable_dlopen_self
14065
 
 
14066
 
# Whether dlopen of statically linked programs is supported.
14067
 
dlopen_self_static=$enable_dlopen_self_static
14068
 
 
14069
 
# Compiler flag to prevent dynamic linking.
14070
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
14071
 
 
14072
 
# Compiler flag to turn off builtin functions.
14073
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14074
 
 
14075
 
# Compiler flag to allow reflexive dlopens.
14076
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14077
 
 
14078
 
# Compiler flag to generate shared objects directly from archives.
14079
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14080
 
 
14081
 
# Compiler flag to generate thread-safe objects.
14082
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14083
 
 
14084
 
# Library versioning type.
14085
 
version_type=$version_type
14086
 
 
14087
 
# Format of library name prefix.
14088
 
libname_spec=$lt_libname_spec
14089
 
 
14090
 
# List of archive names.  First name is the real one, the rest are links.
14091
 
# The last name is the one that the linker finds with -lNAME.
14092
 
library_names_spec=$lt_library_names_spec
14093
 
 
14094
 
# The coded name of the library, if different from the real name.
14095
 
soname_spec=$lt_soname_spec
14096
 
 
14097
 
# Commands used to build and install an old-style archive.
14098
 
RANLIB=$lt_RANLIB
14099
 
old_archive_cmds=$lt_old_archive_cmds_CXX
14100
 
old_postinstall_cmds=$lt_old_postinstall_cmds
14101
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14102
 
 
14103
 
# Create an old-style archive from a shared archive.
14104
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14105
 
 
14106
 
# Create a temporary old-style archive to link instead of a shared archive.
14107
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14108
 
 
14109
 
# Commands used to build and install a shared archive.
14110
 
archive_cmds=$lt_archive_cmds_CXX
14111
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14112
 
postinstall_cmds=$lt_postinstall_cmds
14113
 
postuninstall_cmds=$lt_postuninstall_cmds
14114
 
 
14115
 
# Commands used to build a loadable module (assumed same as above if empty)
14116
 
module_cmds=$lt_module_cmds_CXX
14117
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
14118
 
 
14119
 
# Commands to strip libraries.
14120
 
old_striplib=$lt_old_striplib
14121
 
striplib=$lt_striplib
14122
 
 
14123
 
# Dependencies to place before the objects being linked to create a
14124
 
# shared library.
14125
 
predep_objects=$lt_predep_objects_CXX
14126
 
 
14127
 
# Dependencies to place after the objects being linked to create a
14128
 
# shared library.
14129
 
postdep_objects=$lt_postdep_objects_CXX
14130
 
 
14131
 
# Dependencies to place before the objects being linked to create a
14132
 
# shared library.
14133
 
predeps=$lt_predeps_CXX
14134
 
 
14135
 
# Dependencies to place after the objects being linked to create a
14136
 
# shared library.
14137
 
postdeps=$lt_postdeps_CXX
14138
 
 
14139
 
# The directories searched by this compiler when creating a shared
14140
 
# library
14141
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
14142
 
 
14143
 
# The library search path used internally by the compiler when linking
14144
 
# a shared library.
14145
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14146
 
 
14147
 
# Method to check whether dependent libraries are shared objects.
14148
 
deplibs_check_method=$lt_deplibs_check_method
14149
 
 
14150
 
# Command to use when deplibs_check_method == file_magic.
14151
 
file_magic_cmd=$lt_file_magic_cmd
14152
 
 
14153
 
# Flag that allows shared libraries with undefined symbols to be built.
14154
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
14155
 
 
14156
 
# Flag that forces no undefined symbols.
14157
 
no_undefined_flag=$lt_no_undefined_flag_CXX
14158
 
 
14159
 
# Commands used to finish a libtool library installation in a directory.
14160
 
finish_cmds=$lt_finish_cmds
14161
 
 
14162
 
# Same as above, but a single script fragment to be evaled but not shown.
14163
 
finish_eval=$lt_finish_eval
14164
 
 
14165
 
# Take the output of nm and produce a listing of raw symbols and C names.
14166
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14167
 
 
14168
 
# Transform the output of nm in a proper C declaration
14169
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14170
 
 
14171
 
# Transform the output of nm in a C name address pair
14172
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14173
 
 
14174
 
# This is the shared library runtime path variable.
14175
 
runpath_var=$runpath_var
14176
 
 
14177
 
# This is the shared library path variable.
14178
 
shlibpath_var=$shlibpath_var
14179
 
 
14180
 
# Is shlibpath searched before the hard-coded library search path?
14181
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14182
 
 
14183
 
# How to hardcode a shared library path into an executable.
14184
 
hardcode_action=$hardcode_action_CXX
14185
 
 
14186
 
# Whether we should hardcode library paths into libraries.
14187
 
hardcode_into_libs=$hardcode_into_libs
14188
 
 
14189
 
# Flag to hardcode \$libdir into a binary during linking.
14190
 
# This must work even if \$libdir does not exist.
14191
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14192
 
 
14193
 
# If ld is used when linking, flag to hardcode \$libdir into
14194
 
# a binary during linking. This must work even if \$libdir does
14195
 
# not exist.
14196
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14197
 
 
14198
 
# Whether we need a single -rpath flag with a separated argument.
14199
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14200
 
 
14201
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14202
 
# resulting binary.
14203
 
hardcode_direct=$hardcode_direct_CXX
14204
 
 
14205
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14206
 
# resulting binary.
14207
 
hardcode_minus_L=$hardcode_minus_L_CXX
14208
 
 
14209
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14210
 
# the resulting binary.
14211
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14212
 
 
14213
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
14214
 
# and all subsequent libraries and executables linked against it.
14215
 
hardcode_automatic=$hardcode_automatic_CXX
14216
 
 
14217
 
# Variables whose values should be saved in libtool wrapper scripts and
14218
 
# restored at relink time.
14219
 
variables_saved_for_relink="$variables_saved_for_relink"
14220
 
 
14221
 
# Whether libtool must link a program against all its dependency libraries.
14222
 
link_all_deplibs=$link_all_deplibs_CXX
14223
 
 
14224
 
# Compile-time system search path for libraries
14225
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14226
 
 
14227
 
# Run-time system search path for libraries
14228
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14229
 
 
14230
 
# Fix the shell variable \$srcfile for the compiler.
14231
 
fix_srcfile_path=$lt_fix_srcfile_path
14232
 
 
14233
 
# Set to yes if exported symbols are required.
14234
 
always_export_symbols=$always_export_symbols_CXX
14235
 
 
14236
 
# The commands to list exported symbols.
14237
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
14238
 
 
14239
 
# The commands to extract the exported symbol list from a shared archive.
14240
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14241
 
 
14242
 
# Symbols that should not be listed in the preloaded symbols.
14243
 
exclude_expsyms=$lt_exclude_expsyms_CXX
14244
 
 
14245
 
# Symbols that must always be exported.
14246
 
include_expsyms=$lt_include_expsyms_CXX
14247
 
 
14248
 
# ### END LIBTOOL TAG CONFIG: $tagname
14249
 
 
14250
 
__EOF__
14251
 
 
14252
 
 
14253
 
else
14254
 
  # If there is no Makefile yet, we rely on a make rule to execute
14255
 
  # `config.status --recheck' to rerun these tests and create the
14256
 
  # libtool script then.
14257
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14258
 
  if test -f "$ltmain_in"; then
14259
 
    test -f Makefile && make "$ltmain"
14260
 
  fi
14261
 
fi
14262
 
 
14263
 
 
14264
 
ac_ext=c
14265
 
ac_cpp='$CPP $CPPFLAGS'
14266
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14267
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14268
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14269
 
 
14270
 
CC=$lt_save_CC
14271
 
LDCXX=$LD
14272
 
LD=$lt_save_LD
14273
 
GCC=$lt_save_GCC
14274
 
with_gnu_ldcxx=$with_gnu_ld
14275
 
with_gnu_ld=$lt_save_with_gnu_ld
14276
 
lt_cv_path_LDCXX=$lt_cv_path_LD
14277
 
lt_cv_path_LD=$lt_save_path_LD
14278
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14279
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14280
 
 
14281
 
        else
14282
 
          tagname=""
14283
 
        fi
14284
 
        ;;
14285
 
 
14286
 
      F77)
14287
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
14288
 
 
14289
 
ac_ext=f
14290
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14291
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14292
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14293
 
 
14294
 
 
14295
 
archive_cmds_need_lc_F77=no
14296
 
allow_undefined_flag_F77=
14297
 
always_export_symbols_F77=no
14298
 
archive_expsym_cmds_F77=
14299
 
export_dynamic_flag_spec_F77=
14300
 
hardcode_direct_F77=no
14301
 
hardcode_libdir_flag_spec_F77=
14302
 
hardcode_libdir_flag_spec_ld_F77=
14303
 
hardcode_libdir_separator_F77=
14304
 
hardcode_minus_L_F77=no
14305
 
hardcode_automatic_F77=no
14306
 
module_cmds_F77=
14307
 
module_expsym_cmds_F77=
14308
 
link_all_deplibs_F77=unknown
14309
 
old_archive_cmds_F77=$old_archive_cmds
14310
 
no_undefined_flag_F77=
14311
 
whole_archive_flag_spec_F77=
14312
 
enable_shared_with_static_runtimes_F77=no
14313
 
 
14314
 
# Source file extension for f77 test sources.
14315
 
ac_ext=f
14316
 
 
14317
 
# Object file extension for compiled f77 test sources.
14318
 
objext=o
14319
 
objext_F77=$objext
14320
 
 
14321
 
# Code to be used in simple compile tests
14322
 
lt_simple_compile_test_code="\
14323
 
      subroutine t
14324
 
      return
14325
 
      end
14326
 
"
14327
 
 
14328
 
# Code to be used in simple link tests
14329
 
lt_simple_link_test_code="\
14330
 
      program t
14331
 
      end
14332
 
"
14333
 
 
14334
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14335
 
 
14336
 
# If no C compiler was specified, use CC.
14337
 
LTCC=${LTCC-"$CC"}
14338
 
 
14339
 
# If no C compiler flags were specified, use CFLAGS.
14340
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14341
 
 
14342
 
# Allow CC to be a program name with arguments.
14343
 
compiler=$CC
14344
 
 
14345
 
 
14346
 
# save warnings/boilerplate of simple test code
14347
 
ac_outfile=conftest.$ac_objext
14348
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14349
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14350
 
_lt_compiler_boilerplate=`cat conftest.err`
14351
 
$rm conftest*
14352
 
 
14353
 
ac_outfile=conftest.$ac_objext
14354
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14355
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14356
 
_lt_linker_boilerplate=`cat conftest.err`
14357
 
$rm -r conftest*
14358
 
 
14359
 
 
14360
 
# Allow CC to be a program name with arguments.
14361
 
lt_save_CC="$CC"
14362
 
CC=${F77-"f77"}
14363
 
compiler=$CC
14364
 
compiler_F77=$CC
14365
 
for cc_temp in $compiler""; do
14366
 
  case $cc_temp in
14367
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14368
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14369
 
    \-*) ;;
14370
 
    *) break;;
14371
 
  esac
14372
 
done
14373
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14374
 
 
14375
 
 
14376
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14377
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
14378
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14379
 
$as_echo "$can_build_shared" >&6; }
14380
 
 
14381
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14382
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
14383
 
test "$can_build_shared" = "no" && enable_shared=no
14384
 
 
14385
 
# On AIX, shared libraries and static libraries use the same namespace, and
14386
 
# are all built from PIC.
14387
 
case $host_os in
14388
 
aix3*)
14389
 
  test "$enable_shared" = yes && enable_static=no
14390
 
  if test -n "$RANLIB"; then
14391
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14392
 
    postinstall_cmds='$RANLIB $lib'
14393
 
  fi
14394
 
  ;;
14395
 
aix[4-9]*)
14396
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14397
 
    test "$enable_shared" = yes && enable_static=no
14398
 
  fi
14399
 
  ;;
14400
 
esac
14401
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14402
 
$as_echo "$enable_shared" >&6; }
14403
 
 
14404
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14405
 
$as_echo_n "checking whether to build static libraries... " >&6; }
14406
 
# Make sure either enable_shared or enable_static is yes.
14407
 
test "$enable_shared" = yes || enable_static=yes
14408
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14409
 
$as_echo "$enable_static" >&6; }
14410
 
 
14411
 
GCC_F77="$G77"
14412
 
LD_F77="$LD"
14413
 
 
14414
 
lt_prog_compiler_wl_F77=
14415
 
lt_prog_compiler_pic_F77=
14416
 
lt_prog_compiler_static_F77=
14417
 
 
14418
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14419
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14420
 
 
14421
 
  if test "$GCC" = yes; then
14422
 
    lt_prog_compiler_wl_F77='-Wl,'
14423
 
    lt_prog_compiler_static_F77='-static'
14424
 
 
14425
 
    case $host_os in
14426
 
      aix*)
14427
 
      # All AIX code is PIC.
14428
 
      if test "$host_cpu" = ia64; then
14429
 
        # AIX 5 now supports IA64 processor
14430
 
        lt_prog_compiler_static_F77='-Bstatic'
14431
 
      fi
14432
 
      ;;
14433
 
 
14434
 
    amigaos*)
14435
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14436
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14437
 
      # like `-m68040'.
14438
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14439
 
      ;;
14440
 
 
14441
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14442
 
      # PIC is the default for these OSes.
14443
 
      ;;
14444
 
 
14445
 
    mingw* | cygwin* | pw32* | os2*)
14446
 
      # This hack is so that the source file can tell whether it is being
14447
 
      # built for inclusion in a dll (and should export symbols for example).
14448
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14449
 
      # (--disable-auto-import) libraries
14450
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14451
 
      ;;
14452
 
 
14453
 
    darwin* | rhapsody*)
14454
 
      # PIC is the default on this platform
14455
 
      # Common symbols not allowed in MH_DYLIB files
14456
 
      lt_prog_compiler_pic_F77='-fno-common'
14457
 
      ;;
14458
 
 
14459
 
    interix[3-9]*)
14460
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14461
 
      # Instead, we relocate shared libraries at runtime.
14462
 
      ;;
14463
 
 
14464
 
    msdosdjgpp*)
14465
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
14466
 
      # on systems that don't support them.
14467
 
      lt_prog_compiler_can_build_shared_F77=no
14468
 
      enable_shared=no
14469
 
      ;;
14470
 
 
14471
 
    sysv4*MP*)
14472
 
      if test -d /usr/nec; then
14473
 
        lt_prog_compiler_pic_F77=-Kconform_pic
14474
 
      fi
14475
 
      ;;
14476
 
 
14477
 
    hpux*)
14478
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14479
 
      # not for PA HP-UX.
14480
 
      case $host_cpu in
14481
 
      hppa*64*|ia64*)
14482
 
        # +Z the default
14483
 
        ;;
14484
 
      *)
14485
 
        lt_prog_compiler_pic_F77='-fPIC'
14486
 
        ;;
14487
 
      esac
14488
 
      ;;
14489
 
 
14490
 
    *)
14491
 
      lt_prog_compiler_pic_F77='-fPIC'
14492
 
      ;;
14493
 
    esac
14494
 
  else
14495
 
    # PORTME Check for flag to pass linker flags through the system compiler.
14496
 
    case $host_os in
14497
 
    aix*)
14498
 
      lt_prog_compiler_wl_F77='-Wl,'
14499
 
      if test "$host_cpu" = ia64; then
14500
 
        # AIX 5 now supports IA64 processor
14501
 
        lt_prog_compiler_static_F77='-Bstatic'
14502
 
      else
14503
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14504
 
      fi
14505
 
      ;;
14506
 
      darwin*)
14507
 
        # PIC is the default on this platform
14508
 
        # Common symbols not allowed in MH_DYLIB files
14509
 
       case $cc_basename in
14510
 
         xlc*)
14511
 
         lt_prog_compiler_pic_F77='-qnocommon'
14512
 
         lt_prog_compiler_wl_F77='-Wl,'
14513
 
         ;;
14514
 
       esac
14515
 
       ;;
14516
 
 
14517
 
    mingw* | cygwin* | pw32* | os2*)
14518
 
      # This hack is so that the source file can tell whether it is being
14519
 
      # built for inclusion in a dll (and should export symbols for example).
14520
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14521
 
      ;;
14522
 
 
14523
 
    hpux9* | hpux10* | hpux11*)
14524
 
      lt_prog_compiler_wl_F77='-Wl,'
14525
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14526
 
      # not for PA HP-UX.
14527
 
      case $host_cpu in
14528
 
      hppa*64*|ia64*)
14529
 
        # +Z the default
14530
 
        ;;
14531
 
      *)
14532
 
        lt_prog_compiler_pic_F77='+Z'
14533
 
        ;;
14534
 
      esac
14535
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14536
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14537
 
      ;;
14538
 
 
14539
 
    irix5* | irix6* | nonstopux*)
14540
 
      lt_prog_compiler_wl_F77='-Wl,'
14541
 
      # PIC (with -KPIC) is the default.
14542
 
      lt_prog_compiler_static_F77='-non_shared'
14543
 
      ;;
14544
 
 
14545
 
    newsos6)
14546
 
      lt_prog_compiler_pic_F77='-KPIC'
14547
 
      lt_prog_compiler_static_F77='-Bstatic'
14548
 
      ;;
14549
 
 
14550
 
    linux* | k*bsd*-gnu)
14551
 
      case $cc_basename in
14552
 
      icc* | ecc*)
14553
 
        lt_prog_compiler_wl_F77='-Wl,'
14554
 
        lt_prog_compiler_pic_F77='-KPIC'
14555
 
        lt_prog_compiler_static_F77='-static'
14556
 
        ;;
14557
 
      pgcc* | pgf77* | pgf90* | pgf95*)
14558
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
14559
 
        # which looks to be a dead project)
14560
 
        lt_prog_compiler_wl_F77='-Wl,'
14561
 
        lt_prog_compiler_pic_F77='-fpic'
14562
 
        lt_prog_compiler_static_F77='-Bstatic'
14563
 
        ;;
14564
 
      ccc*)
14565
 
        lt_prog_compiler_wl_F77='-Wl,'
14566
 
        # All Alpha code is PIC.
14567
 
        lt_prog_compiler_static_F77='-non_shared'
14568
 
        ;;
14569
 
      *)
14570
 
        case `$CC -V 2>&1 | sed 5q` in
14571
 
        *Sun\ C*)
14572
 
          # Sun C 5.9
14573
 
          lt_prog_compiler_pic_F77='-KPIC'
14574
 
          lt_prog_compiler_static_F77='-Bstatic'
14575
 
          lt_prog_compiler_wl_F77='-Wl,'
14576
 
          ;;
14577
 
        *Sun\ F*)
14578
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
14579
 
          lt_prog_compiler_pic_F77='-KPIC'
14580
 
          lt_prog_compiler_static_F77='-Bstatic'
14581
 
          lt_prog_compiler_wl_F77=''
14582
 
          ;;
14583
 
        esac
14584
 
        ;;
14585
 
      esac
14586
 
      ;;
14587
 
 
14588
 
    osf3* | osf4* | osf5*)
14589
 
      lt_prog_compiler_wl_F77='-Wl,'
14590
 
      # All OSF/1 code is PIC.
14591
 
      lt_prog_compiler_static_F77='-non_shared'
14592
 
      ;;
14593
 
 
14594
 
    rdos*)
14595
 
      lt_prog_compiler_static_F77='-non_shared'
14596
 
      ;;
14597
 
 
14598
 
    solaris*)
14599
 
      lt_prog_compiler_pic_F77='-KPIC'
14600
 
      lt_prog_compiler_static_F77='-Bstatic'
14601
 
      case $cc_basename in
14602
 
      f77* | f90* | f95*)
14603
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
14604
 
      *)
14605
 
        lt_prog_compiler_wl_F77='-Wl,';;
14606
 
      esac
14607
 
      ;;
14608
 
 
14609
 
    sunos4*)
14610
 
      lt_prog_compiler_wl_F77='-Qoption ld '
14611
 
      lt_prog_compiler_pic_F77='-PIC'
14612
 
      lt_prog_compiler_static_F77='-Bstatic'
14613
 
      ;;
14614
 
 
14615
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
14616
 
      lt_prog_compiler_wl_F77='-Wl,'
14617
 
      lt_prog_compiler_pic_F77='-KPIC'
14618
 
      lt_prog_compiler_static_F77='-Bstatic'
14619
 
      ;;
14620
 
 
14621
 
    sysv4*MP*)
14622
 
      if test -d /usr/nec ;then
14623
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
14624
 
        lt_prog_compiler_static_F77='-Bstatic'
14625
 
      fi
14626
 
      ;;
14627
 
 
14628
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14629
 
      lt_prog_compiler_wl_F77='-Wl,'
14630
 
      lt_prog_compiler_pic_F77='-KPIC'
14631
 
      lt_prog_compiler_static_F77='-Bstatic'
14632
 
      ;;
14633
 
 
14634
 
    unicos*)
14635
 
      lt_prog_compiler_wl_F77='-Wl,'
14636
 
      lt_prog_compiler_can_build_shared_F77=no
14637
 
      ;;
14638
 
 
14639
 
    uts4*)
14640
 
      lt_prog_compiler_pic_F77='-pic'
14641
 
      lt_prog_compiler_static_F77='-Bstatic'
14642
 
      ;;
14643
 
 
14644
 
    *)
14645
 
      lt_prog_compiler_can_build_shared_F77=no
14646
 
      ;;
14647
 
    esac
14648
 
  fi
14649
 
 
14650
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_F77" >&5
14651
 
$as_echo "$lt_prog_compiler_pic_F77" >&6; }
14652
 
 
14653
 
#
14654
 
# Check to make sure the PIC flag actually works.
14655
 
#
14656
 
if test -n "$lt_prog_compiler_pic_F77"; then
14657
 
 
14658
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14659
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
14660
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then :
14661
 
  $as_echo_n "(cached) " >&6
14662
 
else
14663
 
  lt_cv_prog_compiler_pic_works_F77=no
14664
 
  ac_outfile=conftest.$ac_objext
14665
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14666
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14667
 
   # Insert the option either (1) after the last *FLAGS variable, or
14668
 
   # (2) before a word containing "conftest.", or (3) at the end.
14669
 
   # Note that $ac_compile itself does not contain backslashes and begins
14670
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14671
 
   # The option is referenced via a variable to avoid confusing sed.
14672
 
   lt_compile=`echo "$ac_compile" | $SED \
14673
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14674
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14675
 
   -e 's:$: $lt_compiler_flag:'`
14676
 
   (eval echo "\"\$as_me:14676: $lt_compile\"" >&5)
14677
 
   (eval "$lt_compile" 2>conftest.err)
14678
 
   ac_status=$?
14679
 
   cat conftest.err >&5
14680
 
   echo "$as_me:14680: \$? = $ac_status" >&5
14681
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14682
 
     # The compiler can only warn and ignore the option if not recognized
14683
 
     # So say no if there are warnings other than the usual output.
14684
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14685
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14686
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14687
 
       lt_cv_prog_compiler_pic_works_F77=yes
14688
 
     fi
14689
 
   fi
14690
 
   $rm conftest*
14691
 
 
14692
 
fi
14693
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14694
 
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
14695
 
 
14696
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
14697
 
    case $lt_prog_compiler_pic_F77 in
14698
 
     "" | " "*) ;;
14699
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14700
 
     esac
14701
 
else
14702
 
    lt_prog_compiler_pic_F77=
14703
 
     lt_prog_compiler_can_build_shared_F77=no
14704
 
fi
14705
 
 
14706
 
fi
14707
 
case $host_os in
14708
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14709
 
  *djgpp*)
14710
 
    lt_prog_compiler_pic_F77=
14711
 
    ;;
14712
 
  *)
14713
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14714
 
    ;;
14715
 
esac
14716
 
 
14717
 
#
14718
 
# Check to make sure the static flag actually works.
14719
 
#
14720
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14721
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14722
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14723
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then :
14724
 
  $as_echo_n "(cached) " >&6
14725
 
else
14726
 
  lt_cv_prog_compiler_static_works_F77=no
14727
 
   save_LDFLAGS="$LDFLAGS"
14728
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14729
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14730
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14731
 
     # The linker can only warn and ignore the option if not recognized
14732
 
     # So say no if there are warnings
14733
 
     if test -s conftest.err; then
14734
 
       # Append any errors to the config.log.
14735
 
       cat conftest.err 1>&5
14736
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14737
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14738
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14739
 
         lt_cv_prog_compiler_static_works_F77=yes
14740
 
       fi
14741
 
     else
14742
 
       lt_cv_prog_compiler_static_works_F77=yes
14743
 
     fi
14744
 
   fi
14745
 
   $rm -r conftest*
14746
 
   LDFLAGS="$save_LDFLAGS"
14747
 
 
14748
 
fi
14749
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_F77" >&5
14750
 
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
14751
 
 
14752
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
14753
 
    :
14754
 
else
14755
 
    lt_prog_compiler_static_F77=
14756
 
fi
14757
 
 
14758
 
 
14759
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14760
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14761
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then :
14762
 
  $as_echo_n "(cached) " >&6
14763
 
else
14764
 
  lt_cv_prog_compiler_c_o_F77=no
14765
 
   $rm -r conftest 2>/dev/null
14766
 
   mkdir conftest
14767
 
   cd conftest
14768
 
   mkdir out
14769
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14770
 
 
14771
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14772
 
   # Insert the option either (1) after the last *FLAGS variable, or
14773
 
   # (2) before a word containing "conftest.", or (3) at the end.
14774
 
   # Note that $ac_compile itself does not contain backslashes and begins
14775
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14776
 
   lt_compile=`echo "$ac_compile" | $SED \
14777
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14778
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14779
 
   -e 's:$: $lt_compiler_flag:'`
14780
 
   (eval echo "\"\$as_me:14780: $lt_compile\"" >&5)
14781
 
   (eval "$lt_compile" 2>out/conftest.err)
14782
 
   ac_status=$?
14783
 
   cat out/conftest.err >&5
14784
 
   echo "$as_me:14784: \$? = $ac_status" >&5
14785
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14786
 
   then
14787
 
     # The compiler can only warn and ignore the option if not recognized
14788
 
     # So say no if there are warnings
14789
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14790
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14791
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14792
 
       lt_cv_prog_compiler_c_o_F77=yes
14793
 
     fi
14794
 
   fi
14795
 
   chmod u+w . 2>&5
14796
 
   $rm conftest*
14797
 
   # SGI C++ compiler will create directory out/ii_files/ for
14798
 
   # template instantiation
14799
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14800
 
   $rm out/* && rmdir out
14801
 
   cd ..
14802
 
   rmdir conftest
14803
 
   $rm conftest*
14804
 
 
14805
 
fi
14806
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
14807
 
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
14808
 
 
14809
 
 
14810
 
hard_links="nottested"
14811
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14812
 
  # do not overwrite the value of need_locks provided by the user
14813
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14814
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
14815
 
  hard_links=yes
14816
 
  $rm conftest*
14817
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14818
 
  touch conftest.a
14819
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14820
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14821
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14822
 
$as_echo "$hard_links" >&6; }
14823
 
  if test "$hard_links" = no; then
14824
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14825
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14826
 
    need_locks=warn
14827
 
  fi
14828
 
else
14829
 
  need_locks=no
14830
 
fi
14831
 
 
14832
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14833
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14834
 
 
14835
 
  runpath_var=
14836
 
  allow_undefined_flag_F77=
14837
 
  enable_shared_with_static_runtimes_F77=no
14838
 
  archive_cmds_F77=
14839
 
  archive_expsym_cmds_F77=
14840
 
  old_archive_From_new_cmds_F77=
14841
 
  old_archive_from_expsyms_cmds_F77=
14842
 
  export_dynamic_flag_spec_F77=
14843
 
  whole_archive_flag_spec_F77=
14844
 
  thread_safe_flag_spec_F77=
14845
 
  hardcode_libdir_flag_spec_F77=
14846
 
  hardcode_libdir_flag_spec_ld_F77=
14847
 
  hardcode_libdir_separator_F77=
14848
 
  hardcode_direct_F77=no
14849
 
  hardcode_minus_L_F77=no
14850
 
  hardcode_shlibpath_var_F77=unsupported
14851
 
  link_all_deplibs_F77=unknown
14852
 
  hardcode_automatic_F77=no
14853
 
  module_cmds_F77=
14854
 
  module_expsym_cmds_F77=
14855
 
  always_export_symbols_F77=no
14856
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14857
 
  # include_expsyms should be a list of space-separated symbols to be *always*
14858
 
  # included in the symbol list
14859
 
  include_expsyms_F77=
14860
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
14861
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14862
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14863
 
  # as well as any symbol that contains `d'.
14864
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14865
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14866
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
14867
 
  # the symbol is explicitly referenced.  Since portable code cannot
14868
 
  # rely on this symbol name, it's probably fine to never include it in
14869
 
  # preloaded symbol tables.
14870
 
  # Exclude shared library initialization/finalization symbols.
14871
 
  extract_expsyms_cmds=
14872
 
  # Just being paranoid about ensuring that cc_basename is set.
14873
 
  for cc_temp in $compiler""; do
14874
 
  case $cc_temp in
14875
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14876
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14877
 
    \-*) ;;
14878
 
    *) break;;
14879
 
  esac
14880
 
done
14881
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14882
 
 
14883
 
  case $host_os in
14884
 
  cygwin* | mingw* | pw32*)
14885
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
14886
 
    # When not using gcc, we currently assume that we are using
14887
 
    # Microsoft Visual C++.
14888
 
    if test "$GCC" != yes; then
14889
 
      with_gnu_ld=no
14890
 
    fi
14891
 
    ;;
14892
 
  interix*)
14893
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
14894
 
    with_gnu_ld=yes
14895
 
    ;;
14896
 
  openbsd*)
14897
 
    with_gnu_ld=no
14898
 
    ;;
14899
 
  esac
14900
 
 
14901
 
  ld_shlibs_F77=yes
14902
 
  if test "$with_gnu_ld" = yes; then
14903
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
14904
 
    wlarc='${wl}'
14905
 
 
14906
 
    # Set some defaults for GNU ld with shared library support. These
14907
 
    # are reset later if shared libraries are not supported. Putting them
14908
 
    # here allows them to be overridden if necessary.
14909
 
    runpath_var=LD_RUN_PATH
14910
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14911
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14912
 
    # ancient GNU ld didn't support --whole-archive et. al.
14913
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14914
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14915
 
      else
14916
 
        whole_archive_flag_spec_F77=
14917
 
    fi
14918
 
    supports_anon_versioning=no
14919
 
    case `$LD -v 2>/dev/null` in
14920
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14921
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14922
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14923
 
      *\ 2.11.*) ;; # other 2.11 versions
14924
 
      *) supports_anon_versioning=yes ;;
14925
 
    esac
14926
 
 
14927
 
    # See if GNU ld supports shared libraries.
14928
 
    case $host_os in
14929
 
    aix[3-9]*)
14930
 
      # On AIX/PPC, the GNU linker is very broken
14931
 
      if test "$host_cpu" != ia64; then
14932
 
        ld_shlibs_F77=no
14933
 
        cat <<EOF 1>&2
14934
 
 
14935
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14936
 
*** to be unable to reliably create shared libraries on AIX.
14937
 
*** Therefore, libtool is disabling shared libraries support.  If you
14938
 
*** really care for shared libraries, you may want to modify your PATH
14939
 
*** so that a non-GNU linker is found, and then restart.
14940
 
 
14941
 
EOF
14942
 
      fi
14943
 
      ;;
14944
 
 
14945
 
    amigaos*)
14946
 
      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)'
14947
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14948
 
      hardcode_minus_L_F77=yes
14949
 
 
14950
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14951
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
14952
 
      # to version 4, is to share data among multiple programs linked
14953
 
      # with the same dynamic library.  Since this doesn't match the
14954
 
      # behavior of shared libraries on other platforms, we can't use
14955
 
      # them.
14956
 
      ld_shlibs_F77=no
14957
 
      ;;
14958
 
 
14959
 
    beos*)
14960
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14961
 
        allow_undefined_flag_F77=unsupported
14962
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14963
 
        # support --undefined.  This deserves some investigation.  FIXME
14964
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14965
 
      else
14966
 
        ld_shlibs_F77=no
14967
 
      fi
14968
 
      ;;
14969
 
 
14970
 
    cygwin* | mingw* | pw32*)
14971
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14972
 
      # as there is no search path for DLLs.
14973
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14974
 
      allow_undefined_flag_F77=unsupported
14975
 
      always_export_symbols_F77=no
14976
 
      enable_shared_with_static_runtimes_F77=yes
14977
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14978
 
 
14979
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14980
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14981
 
        # If the export-symbols file already is a .def file (1st line
14982
 
        # is EXPORTS), use it as is; otherwise, prepend...
14983
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14984
 
          cp $export_symbols $output_objdir/$soname.def;
14985
 
        else
14986
 
          echo EXPORTS > $output_objdir/$soname.def;
14987
 
          cat $export_symbols >> $output_objdir/$soname.def;
14988
 
        fi~
14989
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14990
 
      else
14991
 
        ld_shlibs_F77=no
14992
 
      fi
14993
 
      ;;
14994
 
 
14995
 
    interix[3-9]*)
14996
 
      hardcode_direct_F77=no
14997
 
      hardcode_shlibpath_var_F77=no
14998
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14999
 
      export_dynamic_flag_spec_F77='${wl}-E'
15000
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15001
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
15002
 
      # default) and relocated if they conflict, which is a slow very memory
15003
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
15004
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15005
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15006
 
      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'
15007
 
      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'
15008
 
      ;;
15009
 
 
15010
 
    gnu* | linux* | k*bsd*-gnu)
15011
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15012
 
        tmp_addflag=
15013
 
        case $cc_basename,$host_cpu in
15014
 
        pgcc*)                          # Portland Group C compiler
15015
 
          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'
15016
 
          tmp_addflag=' $pic_flag'
15017
 
          ;;
15018
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
15019
 
          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'
15020
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
15021
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
15022
 
          tmp_addflag=' -i_dynamic' ;;
15023
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
15024
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
15025
 
        ifc* | ifort*)                  # Intel Fortran compiler
15026
 
          tmp_addflag=' -nofor_main' ;;
15027
 
        esac
15028
 
        case `$CC -V 2>&1 | sed 5q` in
15029
 
        *Sun\ C*)                       # Sun C 5.9
15030
 
          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'
15031
 
          tmp_sharedflag='-G' ;;
15032
 
        *Sun\ F*)                       # Sun Fortran 8.3
15033
 
          tmp_sharedflag='-G' ;;
15034
 
        *)
15035
 
          tmp_sharedflag='-shared' ;;
15036
 
        esac
15037
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15038
 
 
15039
 
        if test $supports_anon_versioning = yes; then
15040
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15041
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15042
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15043
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15044
 
        fi
15045
 
      else
15046
 
        ld_shlibs_F77=no
15047
 
      fi
15048
 
      ;;
15049
 
 
15050
 
    netbsd*)
15051
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15052
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15053
 
        wlarc=
15054
 
      else
15055
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15056
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15057
 
      fi
15058
 
      ;;
15059
 
 
15060
 
    solaris*)
15061
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15062
 
        ld_shlibs_F77=no
15063
 
        cat <<EOF 1>&2
15064
 
 
15065
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15066
 
*** create shared libraries on Solaris systems.  Therefore, libtool
15067
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15068
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
15069
 
*** your PATH or compiler configuration so that the native linker is
15070
 
*** used, and then restart.
15071
 
 
15072
 
EOF
15073
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15074
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15075
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15076
 
      else
15077
 
        ld_shlibs_F77=no
15078
 
      fi
15079
 
      ;;
15080
 
 
15081
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15082
 
      case `$LD -v 2>&1` in
15083
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15084
 
        ld_shlibs_F77=no
15085
 
        cat <<_LT_EOF 1>&2
15086
 
 
15087
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15088
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
15089
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15090
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
15091
 
*** your PATH or compiler configuration so that the native linker is
15092
 
*** used, and then restart.
15093
 
 
15094
 
_LT_EOF
15095
 
        ;;
15096
 
        *)
15097
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15098
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15099
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15100
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15101
 
          else
15102
 
            ld_shlibs_F77=no
15103
 
          fi
15104
 
        ;;
15105
 
      esac
15106
 
      ;;
15107
 
 
15108
 
    sunos4*)
15109
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15110
 
      wlarc=
15111
 
      hardcode_direct_F77=yes
15112
 
      hardcode_shlibpath_var_F77=no
15113
 
      ;;
15114
 
 
15115
 
    *)
15116
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15117
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15118
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15119
 
      else
15120
 
        ld_shlibs_F77=no
15121
 
      fi
15122
 
      ;;
15123
 
    esac
15124
 
 
15125
 
    if test "$ld_shlibs_F77" = no; then
15126
 
      runpath_var=
15127
 
      hardcode_libdir_flag_spec_F77=
15128
 
      export_dynamic_flag_spec_F77=
15129
 
      whole_archive_flag_spec_F77=
15130
 
    fi
15131
 
  else
15132
 
    # PORTME fill in a description of your system's linker (not GNU ld)
15133
 
    case $host_os in
15134
 
    aix3*)
15135
 
      allow_undefined_flag_F77=unsupported
15136
 
      always_export_symbols_F77=yes
15137
 
      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'
15138
 
      # Note: this linker hardcodes the directories in LIBPATH if there
15139
 
      # are no directories specified by -L.
15140
 
      hardcode_minus_L_F77=yes
15141
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15142
 
        # Neither direct hardcoding nor static linking is supported with a
15143
 
        # broken collect2.
15144
 
        hardcode_direct_F77=unsupported
15145
 
      fi
15146
 
      ;;
15147
 
 
15148
 
    aix[4-9]*)
15149
 
      if test "$host_cpu" = ia64; then
15150
 
        # On IA64, the linker does run time linking by default, so we don't
15151
 
        # have to do anything special.
15152
 
        aix_use_runtimelinking=no
15153
 
        exp_sym_flag='-Bexport'
15154
 
        no_entry_flag=""
15155
 
      else
15156
 
        # If we're using GNU nm, then we don't want the "-C" option.
15157
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
15158
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15159
 
          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'
15160
 
        else
15161
 
          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'
15162
 
        fi
15163
 
        aix_use_runtimelinking=no
15164
 
 
15165
 
        # Test if we are trying to use run time linking or normal
15166
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15167
 
        # need to do runtime linking.
15168
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15169
 
          for ld_flag in $LDFLAGS; do
15170
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15171
 
            aix_use_runtimelinking=yes
15172
 
            break
15173
 
          fi
15174
 
          done
15175
 
          ;;
15176
 
        esac
15177
 
 
15178
 
        exp_sym_flag='-bexport'
15179
 
        no_entry_flag='-bnoentry'
15180
 
      fi
15181
 
 
15182
 
      # When large executables or shared objects are built, AIX ld can
15183
 
      # have problems creating the table of contents.  If linking a library
15184
 
      # or program results in "error TOC overflow" add -mminimal-toc to
15185
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15186
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15187
 
 
15188
 
      archive_cmds_F77=''
15189
 
      hardcode_direct_F77=yes
15190
 
      hardcode_libdir_separator_F77=':'
15191
 
      link_all_deplibs_F77=yes
15192
 
 
15193
 
      if test "$GCC" = yes; then
15194
 
        case $host_os in aix4.[012]|aix4.[012].*)
15195
 
        # We only want to do this on AIX 4.2 and lower, the check
15196
 
        # below for broken collect2 doesn't work under 4.3+
15197
 
          collect2name=`${CC} -print-prog-name=collect2`
15198
 
          if test -f "$collect2name" && \
15199
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
15200
 
          then
15201
 
          # We have reworked collect2
15202
 
          :
15203
 
          else
15204
 
          # We have old collect2
15205
 
          hardcode_direct_F77=unsupported
15206
 
          # It fails to find uninstalled libraries when the uninstalled
15207
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
15208
 
          # to unsupported forces relinking
15209
 
          hardcode_minus_L_F77=yes
15210
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
15211
 
          hardcode_libdir_separator_F77=
15212
 
          fi
15213
 
          ;;
15214
 
        esac
15215
 
        shared_flag='-shared'
15216
 
        if test "$aix_use_runtimelinking" = yes; then
15217
 
          shared_flag="$shared_flag "'${wl}-G'
15218
 
        fi
15219
 
      else
15220
 
        # not using gcc
15221
 
        if test "$host_cpu" = ia64; then
15222
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15223
 
        # chokes on -Wl,-G. The following line is correct:
15224
 
          shared_flag='-G'
15225
 
        else
15226
 
          if test "$aix_use_runtimelinking" = yes; then
15227
 
            shared_flag='${wl}-G'
15228
 
          else
15229
 
            shared_flag='${wl}-bM:SRE'
15230
 
          fi
15231
 
        fi
15232
 
      fi
15233
 
 
15234
 
      # It seems that -bexpall does not export symbols beginning with
15235
 
      # underscore (_), so it is better to generate a list of symbols to export.
15236
 
      always_export_symbols_F77=yes
15237
 
      if test "$aix_use_runtimelinking" = yes; then
15238
 
        # Warning - without using the other runtime loading flags (-brtl),
15239
 
        # -berok will link without error, but may produce a broken library.
15240
 
        allow_undefined_flag_F77='-berok'
15241
 
       # Determine the default libpath from the value encoded in an empty executable.
15242
 
       cat > conftest.$ac_ext <<_ACEOF
15243
 
      program main
15244
 
 
15245
 
      end
15246
 
_ACEOF
15247
 
if ac_fn_f77_try_link "$LINENO"; then :
15248
 
 
15249
 
lt_aix_libpath_sed='
15250
 
    /Import File Strings/,/^$/ {
15251
 
        /^0/ {
15252
 
            s/^0  *\(.*\)$/\1/
15253
 
            p
15254
 
        }
15255
 
    }'
15256
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15257
 
# Check for a 64-bit object if we didn't find anything.
15258
 
if test -z "$aix_libpath"; then
15259
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15260
 
fi
15261
 
fi
15262
 
rm -f core conftest.err conftest.$ac_objext \
15263
 
    conftest$ac_exeext conftest.$ac_ext
15264
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15265
 
 
15266
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15267
 
        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"
15268
 
       else
15269
 
        if test "$host_cpu" = ia64; then
15270
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15271
 
          allow_undefined_flag_F77="-z nodefs"
15272
 
          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"
15273
 
        else
15274
 
         # Determine the default libpath from the value encoded in an empty executable.
15275
 
         cat > conftest.$ac_ext <<_ACEOF
15276
 
      program main
15277
 
 
15278
 
      end
15279
 
_ACEOF
15280
 
if ac_fn_f77_try_link "$LINENO"; then :
15281
 
 
15282
 
lt_aix_libpath_sed='
15283
 
    /Import File Strings/,/^$/ {
15284
 
        /^0/ {
15285
 
            s/^0  *\(.*\)$/\1/
15286
 
            p
15287
 
        }
15288
 
    }'
15289
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15290
 
# Check for a 64-bit object if we didn't find anything.
15291
 
if test -z "$aix_libpath"; then
15292
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15293
 
fi
15294
 
fi
15295
 
rm -f core conftest.err conftest.$ac_objext \
15296
 
    conftest$ac_exeext conftest.$ac_ext
15297
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15298
 
 
15299
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15300
 
          # Warning - without using the other run time loading flags,
15301
 
          # -berok will link without error, but may produce a broken library.
15302
 
          no_undefined_flag_F77=' ${wl}-bernotok'
15303
 
          allow_undefined_flag_F77=' ${wl}-berok'
15304
 
          # Exported symbols can be pulled into shared objects from archives
15305
 
          whole_archive_flag_spec_F77='$convenience'
15306
 
          archive_cmds_need_lc_F77=yes
15307
 
          # This is similar to how AIX traditionally builds its shared libraries.
15308
 
          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'
15309
 
        fi
15310
 
      fi
15311
 
      ;;
15312
 
 
15313
 
    amigaos*)
15314
 
      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)'
15315
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15316
 
      hardcode_minus_L_F77=yes
15317
 
      # see comment about different semantics on the GNU ld section
15318
 
      ld_shlibs_F77=no
15319
 
      ;;
15320
 
 
15321
 
    bsdi[45]*)
15322
 
      export_dynamic_flag_spec_F77=-rdynamic
15323
 
      ;;
15324
 
 
15325
 
    cygwin* | mingw* | pw32*)
15326
 
      # When not using gcc, we currently assume that we are using
15327
 
      # Microsoft Visual C++.
15328
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
15329
 
      # no search path for DLLs.
15330
 
      hardcode_libdir_flag_spec_F77=' '
15331
 
      allow_undefined_flag_F77=unsupported
15332
 
      # Tell ltmain to make .lib files, not .a files.
15333
 
      libext=lib
15334
 
      # Tell ltmain to make .dll files, not .so files.
15335
 
      shrext_cmds=".dll"
15336
 
      # FIXME: Setting linknames here is a bad hack.
15337
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15338
 
      # The linker will automatically build a .lib file if we build a DLL.
15339
 
      old_archive_From_new_cmds_F77='true'
15340
 
      # FIXME: Should let the user specify the lib program.
15341
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15342
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15343
 
      enable_shared_with_static_runtimes_F77=yes
15344
 
      ;;
15345
 
 
15346
 
    darwin* | rhapsody*)
15347
 
      case $host_os in
15348
 
        rhapsody* | darwin1.[012])
15349
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15350
 
         ;;
15351
 
       *) # Darwin 1.3 on
15352
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15353
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15354
 
         else
15355
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
15356
 
             10.[012])
15357
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15358
 
               ;;
15359
 
             10.*)
15360
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15361
 
               ;;
15362
 
           esac
15363
 
         fi
15364
 
         ;;
15365
 
      esac
15366
 
      archive_cmds_need_lc_F77=no
15367
 
      hardcode_direct_F77=no
15368
 
      hardcode_automatic_F77=yes
15369
 
      hardcode_shlibpath_var_F77=unsupported
15370
 
      whole_archive_flag_spec_F77=''
15371
 
      link_all_deplibs_F77=yes
15372
 
    if test "$GCC" = yes ; then
15373
 
        output_verbose_link_cmd='echo'
15374
 
        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}"
15375
 
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15376
 
        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}"
15377
 
        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}"
15378
 
    else
15379
 
      case $cc_basename in
15380
 
        xlc*)
15381
 
         output_verbose_link_cmd='echo'
15382
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15383
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15384
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15385
 
         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}'
15386
 
          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}'
15387
 
          ;;
15388
 
       *)
15389
 
         ld_shlibs_F77=no
15390
 
          ;;
15391
 
      esac
15392
 
    fi
15393
 
      ;;
15394
 
 
15395
 
    dgux*)
15396
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15397
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15398
 
      hardcode_shlibpath_var_F77=no
15399
 
      ;;
15400
 
 
15401
 
    freebsd1*)
15402
 
      ld_shlibs_F77=no
15403
 
      ;;
15404
 
 
15405
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15406
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
15407
 
    # does not break anything, and helps significantly (at the cost of a little
15408
 
    # extra space).
15409
 
    freebsd2.2*)
15410
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15411
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15412
 
      hardcode_direct_F77=yes
15413
 
      hardcode_shlibpath_var_F77=no
15414
 
      ;;
15415
 
 
15416
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15417
 
    freebsd2*)
15418
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15419
 
      hardcode_direct_F77=yes
15420
 
      hardcode_minus_L_F77=yes
15421
 
      hardcode_shlibpath_var_F77=no
15422
 
      ;;
15423
 
 
15424
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15425
 
    freebsd* | dragonfly*)
15426
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15427
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15428
 
      hardcode_direct_F77=yes
15429
 
      hardcode_shlibpath_var_F77=no
15430
 
      ;;
15431
 
 
15432
 
    hpux9*)
15433
 
      if test "$GCC" = yes; then
15434
 
        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'
15435
 
      else
15436
 
        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'
15437
 
      fi
15438
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15439
 
      hardcode_libdir_separator_F77=:
15440
 
      hardcode_direct_F77=yes
15441
 
 
15442
 
      # hardcode_minus_L: Not really in the search PATH,
15443
 
      # but as the default location of the library.
15444
 
      hardcode_minus_L_F77=yes
15445
 
      export_dynamic_flag_spec_F77='${wl}-E'
15446
 
      ;;
15447
 
 
15448
 
    hpux10*)
15449
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15450
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15451
 
      else
15452
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15453
 
      fi
15454
 
      if test "$with_gnu_ld" = no; then
15455
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15456
 
        hardcode_libdir_separator_F77=:
15457
 
 
15458
 
        hardcode_direct_F77=yes
15459
 
        export_dynamic_flag_spec_F77='${wl}-E'
15460
 
 
15461
 
        # hardcode_minus_L: Not really in the search PATH,
15462
 
        # but as the default location of the library.
15463
 
        hardcode_minus_L_F77=yes
15464
 
      fi
15465
 
      ;;
15466
 
 
15467
 
    hpux11*)
15468
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15469
 
        case $host_cpu in
15470
 
        hppa*64*)
15471
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15472
 
          ;;
15473
 
        ia64*)
15474
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15475
 
          ;;
15476
 
        *)
15477
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15478
 
          ;;
15479
 
        esac
15480
 
      else
15481
 
        case $host_cpu in
15482
 
        hppa*64*)
15483
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15484
 
          ;;
15485
 
        ia64*)
15486
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15487
 
          ;;
15488
 
        *)
15489
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15490
 
          ;;
15491
 
        esac
15492
 
      fi
15493
 
      if test "$with_gnu_ld" = no; then
15494
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15495
 
        hardcode_libdir_separator_F77=:
15496
 
 
15497
 
        case $host_cpu in
15498
 
        hppa*64*|ia64*)
15499
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15500
 
          hardcode_direct_F77=no
15501
 
          hardcode_shlibpath_var_F77=no
15502
 
          ;;
15503
 
        *)
15504
 
          hardcode_direct_F77=yes
15505
 
          export_dynamic_flag_spec_F77='${wl}-E'
15506
 
 
15507
 
          # hardcode_minus_L: Not really in the search PATH,
15508
 
          # but as the default location of the library.
15509
 
          hardcode_minus_L_F77=yes
15510
 
          ;;
15511
 
        esac
15512
 
      fi
15513
 
      ;;
15514
 
 
15515
 
    irix5* | irix6* | nonstopux*)
15516
 
      if test "$GCC" = yes; then
15517
 
        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'
15518
 
      else
15519
 
        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'
15520
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15521
 
      fi
15522
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15523
 
      hardcode_libdir_separator_F77=:
15524
 
      link_all_deplibs_F77=yes
15525
 
      ;;
15526
 
 
15527
 
    netbsd*)
15528
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15529
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15530
 
      else
15531
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15532
 
      fi
15533
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15534
 
      hardcode_direct_F77=yes
15535
 
      hardcode_shlibpath_var_F77=no
15536
 
      ;;
15537
 
 
15538
 
    newsos6)
15539
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15540
 
      hardcode_direct_F77=yes
15541
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15542
 
      hardcode_libdir_separator_F77=:
15543
 
      hardcode_shlibpath_var_F77=no
15544
 
      ;;
15545
 
 
15546
 
    openbsd*)
15547
 
      if test -f /usr/libexec/ld.so; then
15548
 
        hardcode_direct_F77=yes
15549
 
        hardcode_shlibpath_var_F77=no
15550
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15551
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15552
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15553
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15554
 
          export_dynamic_flag_spec_F77='${wl}-E'
15555
 
        else
15556
 
          case $host_os in
15557
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15558
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15559
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
15560
 
             ;;
15561
 
           *)
15562
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15563
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15564
 
             ;;
15565
 
          esac
15566
 
        fi
15567
 
      else
15568
 
        ld_shlibs_F77=no
15569
 
      fi
15570
 
      ;;
15571
 
 
15572
 
    os2*)
15573
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15574
 
      hardcode_minus_L_F77=yes
15575
 
      allow_undefined_flag_F77=unsupported
15576
 
      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'
15577
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15578
 
      ;;
15579
 
 
15580
 
    osf3*)
15581
 
      if test "$GCC" = yes; then
15582
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15583
 
        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'
15584
 
      else
15585
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15586
 
        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'
15587
 
      fi
15588
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15589
 
      hardcode_libdir_separator_F77=:
15590
 
      ;;
15591
 
 
15592
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15593
 
      if test "$GCC" = yes; then
15594
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15595
 
        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'
15596
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15597
 
      else
15598
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15599
 
        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'
15600
 
        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~
15601
 
        $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'
15602
 
 
15603
 
        # Both c and cxx compiler support -rpath directly
15604
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
15605
 
      fi
15606
 
      hardcode_libdir_separator_F77=:
15607
 
      ;;
15608
 
 
15609
 
    solaris*)
15610
 
      no_undefined_flag_F77=' -z text'
15611
 
      if test "$GCC" = yes; then
15612
 
        wlarc='${wl}'
15613
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15614
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15615
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15616
 
      else
15617
 
        wlarc=''
15618
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15619
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15620
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15621
 
      fi
15622
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15623
 
      hardcode_shlibpath_var_F77=no
15624
 
      case $host_os in
15625
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15626
 
      *)
15627
 
        # The compiler driver will combine and reorder linker options,
15628
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
15629
 
        # but is careful enough not to reorder.
15630
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
15631
 
        if test "$GCC" = yes; then
15632
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15633
 
        else
15634
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
15635
 
        fi
15636
 
        ;;
15637
 
      esac
15638
 
      link_all_deplibs_F77=yes
15639
 
      ;;
15640
 
 
15641
 
    sunos4*)
15642
 
      if test "x$host_vendor" = xsequent; then
15643
 
        # Use $CC to link under sequent, because it throws in some extra .o
15644
 
        # files that make .init and .fini sections work.
15645
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15646
 
      else
15647
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15648
 
      fi
15649
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15650
 
      hardcode_direct_F77=yes
15651
 
      hardcode_minus_L_F77=yes
15652
 
      hardcode_shlibpath_var_F77=no
15653
 
      ;;
15654
 
 
15655
 
    sysv4)
15656
 
      case $host_vendor in
15657
 
        sni)
15658
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15659
 
          hardcode_direct_F77=yes # is this really true???
15660
 
        ;;
15661
 
        siemens)
15662
 
          ## LD is ld it makes a PLAMLIB
15663
 
          ## CC just makes a GrossModule.
15664
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15665
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
15666
 
          hardcode_direct_F77=no
15667
 
        ;;
15668
 
        motorola)
15669
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15670
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15671
 
        ;;
15672
 
      esac
15673
 
      runpath_var='LD_RUN_PATH'
15674
 
      hardcode_shlibpath_var_F77=no
15675
 
      ;;
15676
 
 
15677
 
    sysv4.3*)
15678
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15679
 
      hardcode_shlibpath_var_F77=no
15680
 
      export_dynamic_flag_spec_F77='-Bexport'
15681
 
      ;;
15682
 
 
15683
 
    sysv4*MP*)
15684
 
      if test -d /usr/nec; then
15685
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15686
 
        hardcode_shlibpath_var_F77=no
15687
 
        runpath_var=LD_RUN_PATH
15688
 
        hardcode_runpath_var=yes
15689
 
        ld_shlibs_F77=yes
15690
 
      fi
15691
 
      ;;
15692
 
 
15693
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15694
 
      no_undefined_flag_F77='${wl}-z,text'
15695
 
      archive_cmds_need_lc_F77=no
15696
 
      hardcode_shlibpath_var_F77=no
15697
 
      runpath_var='LD_RUN_PATH'
15698
 
 
15699
 
      if test "$GCC" = yes; then
15700
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15701
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15702
 
      else
15703
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15704
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15705
 
      fi
15706
 
      ;;
15707
 
 
15708
 
    sysv5* | sco3.2v5* | sco5v6*)
15709
 
      # Note: We can NOT use -z defs as we might desire, because we do not
15710
 
      # link with -lc, and that would cause any symbols used from libc to
15711
 
      # always be unresolved, which means just about no library would
15712
 
      # ever link correctly.  If we're not using GNU ld we use -z text
15713
 
      # though, which does catch some bad symbols but isn't as heavy-handed
15714
 
      # as -z defs.
15715
 
      no_undefined_flag_F77='${wl}-z,text'
15716
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
15717
 
      archive_cmds_need_lc_F77=no
15718
 
      hardcode_shlibpath_var_F77=no
15719
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15720
 
      hardcode_libdir_separator_F77=':'
15721
 
      link_all_deplibs_F77=yes
15722
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15723
 
      runpath_var='LD_RUN_PATH'
15724
 
 
15725
 
      if test "$GCC" = yes; then
15726
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15727
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15728
 
      else
15729
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15730
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15731
 
      fi
15732
 
      ;;
15733
 
 
15734
 
    uts4*)
15735
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15736
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15737
 
      hardcode_shlibpath_var_F77=no
15738
 
      ;;
15739
 
 
15740
 
    *)
15741
 
      ld_shlibs_F77=no
15742
 
      ;;
15743
 
    esac
15744
 
  fi
15745
 
 
15746
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5
15747
 
$as_echo "$ld_shlibs_F77" >&6; }
15748
 
test "$ld_shlibs_F77" = no && can_build_shared=no
15749
 
 
15750
 
#
15751
 
# Do we need to explicitly link libc?
15752
 
#
15753
 
case "x$archive_cmds_need_lc_F77" in
15754
 
x|xyes)
15755
 
  # Assume -lc should be added
15756
 
  archive_cmds_need_lc_F77=yes
15757
 
 
15758
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15759
 
    case $archive_cmds_F77 in
15760
 
    *'~'*)
15761
 
      # FIXME: we may have to deal with multi-command sequences.
15762
 
      ;;
15763
 
    '$CC '*)
15764
 
      # Test whether the compiler implicitly links with -lc since on some
15765
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15766
 
      # to ld, don't add -lc before -lgcc.
15767
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15768
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15769
 
      $rm conftest*
15770
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15771
 
 
15772
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15773
 
  (eval $ac_compile) 2>&5
15774
 
  ac_status=$?
15775
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15776
 
  test $ac_status = 0; } 2>conftest.err; then
15777
 
        soname=conftest
15778
 
        lib=conftest
15779
 
        libobjs=conftest.$ac_objext
15780
 
        deplibs=
15781
 
        wl=$lt_prog_compiler_wl_F77
15782
 
        pic_flag=$lt_prog_compiler_pic_F77
15783
 
        compiler_flags=-v
15784
 
        linker_flags=-v
15785
 
        verstring=
15786
 
        output_objdir=.
15787
 
        libname=conftest
15788
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15789
 
        allow_undefined_flag_F77=
15790
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15791
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15792
 
  ac_status=$?
15793
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15794
 
  test $ac_status = 0; }
15795
 
        then
15796
 
          archive_cmds_need_lc_F77=no
15797
 
        else
15798
 
          archive_cmds_need_lc_F77=yes
15799
 
        fi
15800
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15801
 
      else
15802
 
        cat conftest.err 1>&5
15803
 
      fi
15804
 
      $rm conftest*
15805
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_F77" >&5
15806
 
$as_echo "$archive_cmds_need_lc_F77" >&6; }
15807
 
      ;;
15808
 
    esac
15809
 
  fi
15810
 
  ;;
15811
 
esac
15812
 
 
15813
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15814
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
15815
 
library_names_spec=
15816
 
libname_spec='lib$name'
15817
 
soname_spec=
15818
 
shrext_cmds=".so"
15819
 
postinstall_cmds=
15820
 
postuninstall_cmds=
15821
 
finish_cmds=
15822
 
finish_eval=
15823
 
shlibpath_var=
15824
 
shlibpath_overrides_runpath=unknown
15825
 
version_type=none
15826
 
dynamic_linker="$host_os ld.so"
15827
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15828
 
 
15829
 
need_lib_prefix=unknown
15830
 
hardcode_into_libs=no
15831
 
 
15832
 
# when you set need_version to no, make sure it does not cause -set_version
15833
 
# flags to be left without arguments
15834
 
need_version=unknown
15835
 
 
15836
 
case $host_os in
15837
 
aix3*)
15838
 
  version_type=linux
15839
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15840
 
  shlibpath_var=LIBPATH
15841
 
 
15842
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15843
 
  soname_spec='${libname}${release}${shared_ext}$major'
15844
 
  ;;
15845
 
 
15846
 
aix[4-9]*)
15847
 
  version_type=linux
15848
 
  need_lib_prefix=no
15849
 
  need_version=no
15850
 
  hardcode_into_libs=yes
15851
 
  if test "$host_cpu" = ia64; then
15852
 
    # AIX 5 supports IA64
15853
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15854
 
    shlibpath_var=LD_LIBRARY_PATH
15855
 
  else
15856
 
    # With GCC up to 2.95.x, collect2 would create an import file
15857
 
    # for dependence libraries.  The import file would start with
15858
 
    # the line `#! .'.  This would cause the generated library to
15859
 
    # depend on `.', always an invalid library.  This was fixed in
15860
 
    # development snapshots of GCC prior to 3.0.
15861
 
    case $host_os in
15862
 
      aix4 | aix4.[01] | aix4.[01].*)
15863
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15864
 
           echo ' yes '
15865
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15866
 
        :
15867
 
      else
15868
 
        can_build_shared=no
15869
 
      fi
15870
 
      ;;
15871
 
    esac
15872
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15873
 
    # soname into executable. Probably we can add versioning support to
15874
 
    # collect2, so additional links can be useful in future.
15875
 
    if test "$aix_use_runtimelinking" = yes; then
15876
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15877
 
      # instead of lib<name>.a to let people know that these are not
15878
 
      # typical AIX shared libraries.
15879
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15880
 
    else
15881
 
      # We preserve .a as extension for shared libraries through AIX4.2
15882
 
      # and later when we are not doing run time linking.
15883
 
      library_names_spec='${libname}${release}.a $libname.a'
15884
 
      soname_spec='${libname}${release}${shared_ext}$major'
15885
 
    fi
15886
 
    shlibpath_var=LIBPATH
15887
 
  fi
15888
 
  ;;
15889
 
 
15890
 
amigaos*)
15891
 
  library_names_spec='$libname.ixlibrary $libname.a'
15892
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15893
 
  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'
15894
 
  ;;
15895
 
 
15896
 
beos*)
15897
 
  library_names_spec='${libname}${shared_ext}'
15898
 
  dynamic_linker="$host_os ld.so"
15899
 
  shlibpath_var=LIBRARY_PATH
15900
 
  ;;
15901
 
 
15902
 
bsdi[45]*)
15903
 
  version_type=linux
15904
 
  need_version=no
15905
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15906
 
  soname_spec='${libname}${release}${shared_ext}$major'
15907
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15908
 
  shlibpath_var=LD_LIBRARY_PATH
15909
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15910
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15911
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15912
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15913
 
  # libtool to hard-code these into programs
15914
 
  ;;
15915
 
 
15916
 
cygwin* | mingw* | pw32*)
15917
 
  version_type=windows
15918
 
  shrext_cmds=".dll"
15919
 
  need_version=no
15920
 
  need_lib_prefix=no
15921
 
 
15922
 
  case $GCC,$host_os in
15923
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15924
 
    library_names_spec='$libname.dll.a'
15925
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15926
 
    postinstall_cmds='base_file=`basename \${file}`~
15927
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15928
 
      dldir=$destdir/`dirname \$dlpath`~
15929
 
      test -d \$dldir || mkdir -p \$dldir~
15930
 
      $install_prog $dir/$dlname \$dldir/$dlname~
15931
 
      chmod a+x \$dldir/$dlname'
15932
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15933
 
      dlpath=$dir/\$dldll~
15934
 
       $rm \$dlpath'
15935
 
    shlibpath_overrides_runpath=yes
15936
 
 
15937
 
    case $host_os in
15938
 
    cygwin*)
15939
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15940
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15941
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15942
 
      ;;
15943
 
    mingw*)
15944
 
      # MinGW DLLs use traditional 'lib' prefix
15945
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15946
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15947
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15948
 
        # It is most probably a Windows format PATH printed by
15949
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15950
 
        # path with ; separators, and with drive letters. We can handle the
15951
 
        # drive letters (cygwin fileutils understands them), so leave them,
15952
 
        # especially as we might pass files found there to a mingw objdump,
15953
 
        # which wouldn't understand a cygwinified path. Ahh.
15954
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15955
 
      else
15956
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15957
 
      fi
15958
 
      ;;
15959
 
    pw32*)
15960
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15961
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15962
 
      ;;
15963
 
    esac
15964
 
    ;;
15965
 
 
15966
 
  *)
15967
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15968
 
    ;;
15969
 
  esac
15970
 
  dynamic_linker='Win32 ld.exe'
15971
 
  # FIXME: first we should search . and the directory the executable is in
15972
 
  shlibpath_var=PATH
15973
 
  ;;
15974
 
 
15975
 
darwin* | rhapsody*)
15976
 
  dynamic_linker="$host_os dyld"
15977
 
  version_type=darwin
15978
 
  need_lib_prefix=no
15979
 
  need_version=no
15980
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15981
 
  soname_spec='${libname}${release}${major}$shared_ext'
15982
 
  shlibpath_overrides_runpath=yes
15983
 
  shlibpath_var=DYLD_LIBRARY_PATH
15984
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15985
 
 
15986
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15987
 
  ;;
15988
 
 
15989
 
dgux*)
15990
 
  version_type=linux
15991
 
  need_lib_prefix=no
15992
 
  need_version=no
15993
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15994
 
  soname_spec='${libname}${release}${shared_ext}$major'
15995
 
  shlibpath_var=LD_LIBRARY_PATH
15996
 
  ;;
15997
 
 
15998
 
freebsd1*)
15999
 
  dynamic_linker=no
16000
 
  ;;
16001
 
 
16002
 
freebsd* | dragonfly*)
16003
 
  # DragonFly does not have aout.  When/if they implement a new
16004
 
  # versioning mechanism, adjust this.
16005
 
  if test -x /usr/bin/objformat; then
16006
 
    objformat=`/usr/bin/objformat`
16007
 
  else
16008
 
    case $host_os in
16009
 
    freebsd[123]*) objformat=aout ;;
16010
 
    *) objformat=elf ;;
16011
 
    esac
16012
 
  fi
16013
 
  version_type=freebsd-$objformat
16014
 
  case $version_type in
16015
 
    freebsd-elf*)
16016
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16017
 
      need_version=no
16018
 
      need_lib_prefix=no
16019
 
      ;;
16020
 
    freebsd-*)
16021
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16022
 
      need_version=yes
16023
 
      ;;
16024
 
  esac
16025
 
  shlibpath_var=LD_LIBRARY_PATH
16026
 
  case $host_os in
16027
 
  freebsd2*)
16028
 
    shlibpath_overrides_runpath=yes
16029
 
    ;;
16030
 
  freebsd3.[01]* | freebsdelf3.[01]*)
16031
 
    shlibpath_overrides_runpath=yes
16032
 
    hardcode_into_libs=yes
16033
 
    ;;
16034
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16035
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16036
 
    shlibpath_overrides_runpath=no
16037
 
    hardcode_into_libs=yes
16038
 
    ;;
16039
 
  *) # from 4.6 on, and DragonFly
16040
 
    shlibpath_overrides_runpath=yes
16041
 
    hardcode_into_libs=yes
16042
 
    ;;
16043
 
  esac
16044
 
  ;;
16045
 
 
16046
 
gnu*)
16047
 
  version_type=linux
16048
 
  need_lib_prefix=no
16049
 
  need_version=no
16050
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16051
 
  soname_spec='${libname}${release}${shared_ext}$major'
16052
 
  shlibpath_var=LD_LIBRARY_PATH
16053
 
  hardcode_into_libs=yes
16054
 
  ;;
16055
 
 
16056
 
hpux9* | hpux10* | hpux11*)
16057
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
16058
 
  # link against other versions.
16059
 
  version_type=sunos
16060
 
  need_lib_prefix=no
16061
 
  need_version=no
16062
 
  case $host_cpu in
16063
 
  ia64*)
16064
 
    shrext_cmds='.so'
16065
 
    hardcode_into_libs=yes
16066
 
    dynamic_linker="$host_os dld.so"
16067
 
    shlibpath_var=LD_LIBRARY_PATH
16068
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16069
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16070
 
    soname_spec='${libname}${release}${shared_ext}$major'
16071
 
    if test "X$HPUX_IA64_MODE" = X32; then
16072
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16073
 
    else
16074
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16075
 
    fi
16076
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16077
 
    ;;
16078
 
   hppa*64*)
16079
 
     shrext_cmds='.sl'
16080
 
     hardcode_into_libs=yes
16081
 
     dynamic_linker="$host_os dld.sl"
16082
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16083
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16084
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16085
 
     soname_spec='${libname}${release}${shared_ext}$major'
16086
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16087
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16088
 
     ;;
16089
 
   *)
16090
 
    shrext_cmds='.sl'
16091
 
    dynamic_linker="$host_os dld.sl"
16092
 
    shlibpath_var=SHLIB_PATH
16093
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16094
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16095
 
    soname_spec='${libname}${release}${shared_ext}$major'
16096
 
    ;;
16097
 
  esac
16098
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
16099
 
  postinstall_cmds='chmod 555 $lib'
16100
 
  ;;
16101
 
 
16102
 
interix[3-9]*)
16103
 
  version_type=linux
16104
 
  need_lib_prefix=no
16105
 
  need_version=no
16106
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16107
 
  soname_spec='${libname}${release}${shared_ext}$major'
16108
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16109
 
  shlibpath_var=LD_LIBRARY_PATH
16110
 
  shlibpath_overrides_runpath=no
16111
 
  hardcode_into_libs=yes
16112
 
  ;;
16113
 
 
16114
 
irix5* | irix6* | nonstopux*)
16115
 
  case $host_os in
16116
 
    nonstopux*) version_type=nonstopux ;;
16117
 
    *)
16118
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
16119
 
                version_type=linux
16120
 
        else
16121
 
                version_type=irix
16122
 
        fi ;;
16123
 
  esac
16124
 
  need_lib_prefix=no
16125
 
  need_version=no
16126
 
  soname_spec='${libname}${release}${shared_ext}$major'
16127
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16128
 
  case $host_os in
16129
 
  irix5* | nonstopux*)
16130
 
    libsuff= shlibsuff=
16131
 
    ;;
16132
 
  *)
16133
 
    case $LD in # libtool.m4 will add one of these switches to LD
16134
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16135
 
      libsuff= shlibsuff= libmagic=32-bit;;
16136
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16137
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
16138
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16139
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16140
 
    *) libsuff= shlibsuff= libmagic=never-match;;
16141
 
    esac
16142
 
    ;;
16143
 
  esac
16144
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16145
 
  shlibpath_overrides_runpath=no
16146
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16147
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16148
 
  hardcode_into_libs=yes
16149
 
  ;;
16150
 
 
16151
 
# No shared lib support for Linux oldld, aout, or coff.
16152
 
linux*oldld* | linux*aout* | linux*coff*)
16153
 
  dynamic_linker=no
16154
 
  ;;
16155
 
 
16156
 
# This must be Linux ELF.
16157
 
linux* | k*bsd*-gnu)
16158
 
  version_type=linux
16159
 
  need_lib_prefix=no
16160
 
  need_version=no
16161
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16162
 
  soname_spec='${libname}${release}${shared_ext}$major'
16163
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16164
 
  shlibpath_var=LD_LIBRARY_PATH
16165
 
  shlibpath_overrides_runpath=no
16166
 
  # This implies no fast_install, which is unacceptable.
16167
 
  # Some rework will be needed to allow for fast_install
16168
 
  # before this can be enabled.
16169
 
  hardcode_into_libs=yes
16170
 
 
16171
 
  # Append ld.so.conf contents to the search path
16172
 
  if test -f /etc/ld.so.conf; then
16173
 
    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' ' '`
16174
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16175
 
  fi
16176
 
 
16177
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
16178
 
  # powerpc, because MkLinux only supported shared libraries with the
16179
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
16180
 
  # most powerpc-linux boxes support dynamic linking these days and
16181
 
  # people can always --disable-shared, the test was removed, and we
16182
 
  # assume the GNU/Linux dynamic linker is in use.
16183
 
  dynamic_linker='GNU/Linux ld.so'
16184
 
  ;;
16185
 
 
16186
 
netbsd*)
16187
 
  version_type=sunos
16188
 
  need_lib_prefix=no
16189
 
  need_version=no
16190
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16191
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16192
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16193
 
    dynamic_linker='NetBSD (a.out) ld.so'
16194
 
  else
16195
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16196
 
    soname_spec='${libname}${release}${shared_ext}$major'
16197
 
    dynamic_linker='NetBSD ld.elf_so'
16198
 
  fi
16199
 
  shlibpath_var=LD_LIBRARY_PATH
16200
 
  shlibpath_overrides_runpath=yes
16201
 
  hardcode_into_libs=yes
16202
 
  ;;
16203
 
 
16204
 
newsos6)
16205
 
  version_type=linux
16206
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16207
 
  shlibpath_var=LD_LIBRARY_PATH
16208
 
  shlibpath_overrides_runpath=yes
16209
 
  ;;
16210
 
 
16211
 
nto-qnx*)
16212
 
  version_type=linux
16213
 
  need_lib_prefix=no
16214
 
  need_version=no
16215
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16216
 
  soname_spec='${libname}${release}${shared_ext}$major'
16217
 
  shlibpath_var=LD_LIBRARY_PATH
16218
 
  shlibpath_overrides_runpath=yes
16219
 
  ;;
16220
 
 
16221
 
openbsd*)
16222
 
  version_type=sunos
16223
 
  sys_lib_dlsearch_path_spec="/usr/lib"
16224
 
  need_lib_prefix=no
16225
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16226
 
  case $host_os in
16227
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16228
 
    *)                         need_version=no  ;;
16229
 
  esac
16230
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16231
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16232
 
  shlibpath_var=LD_LIBRARY_PATH
16233
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16234
 
    case $host_os in
16235
 
      openbsd2.[89] | openbsd2.[89].*)
16236
 
        shlibpath_overrides_runpath=no
16237
 
        ;;
16238
 
      *)
16239
 
        shlibpath_overrides_runpath=yes
16240
 
        ;;
16241
 
      esac
16242
 
  else
16243
 
    shlibpath_overrides_runpath=yes
16244
 
  fi
16245
 
  ;;
16246
 
 
16247
 
os2*)
16248
 
  libname_spec='$name'
16249
 
  shrext_cmds=".dll"
16250
 
  need_lib_prefix=no
16251
 
  library_names_spec='$libname${shared_ext} $libname.a'
16252
 
  dynamic_linker='OS/2 ld.exe'
16253
 
  shlibpath_var=LIBPATH
16254
 
  ;;
16255
 
 
16256
 
osf3* | osf4* | osf5*)
16257
 
  version_type=osf
16258
 
  need_lib_prefix=no
16259
 
  need_version=no
16260
 
  soname_spec='${libname}${release}${shared_ext}$major'
16261
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16262
 
  shlibpath_var=LD_LIBRARY_PATH
16263
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16264
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16265
 
  ;;
16266
 
 
16267
 
rdos*)
16268
 
  dynamic_linker=no
16269
 
  ;;
16270
 
 
16271
 
solaris*)
16272
 
  version_type=linux
16273
 
  need_lib_prefix=no
16274
 
  need_version=no
16275
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16276
 
  soname_spec='${libname}${release}${shared_ext}$major'
16277
 
  shlibpath_var=LD_LIBRARY_PATH
16278
 
  shlibpath_overrides_runpath=yes
16279
 
  hardcode_into_libs=yes
16280
 
  # ldd complains unless libraries are executable
16281
 
  postinstall_cmds='chmod +x $lib'
16282
 
  ;;
16283
 
 
16284
 
sunos4*)
16285
 
  version_type=sunos
16286
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16287
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16288
 
  shlibpath_var=LD_LIBRARY_PATH
16289
 
  shlibpath_overrides_runpath=yes
16290
 
  if test "$with_gnu_ld" = yes; then
16291
 
    need_lib_prefix=no
16292
 
  fi
16293
 
  need_version=yes
16294
 
  ;;
16295
 
 
16296
 
sysv4 | sysv4.3*)
16297
 
  version_type=linux
16298
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16299
 
  soname_spec='${libname}${release}${shared_ext}$major'
16300
 
  shlibpath_var=LD_LIBRARY_PATH
16301
 
  case $host_vendor in
16302
 
    sni)
16303
 
      shlibpath_overrides_runpath=no
16304
 
      need_lib_prefix=no
16305
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
16306
 
      runpath_var=LD_RUN_PATH
16307
 
      ;;
16308
 
    siemens)
16309
 
      need_lib_prefix=no
16310
 
      ;;
16311
 
    motorola)
16312
 
      need_lib_prefix=no
16313
 
      need_version=no
16314
 
      shlibpath_overrides_runpath=no
16315
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16316
 
      ;;
16317
 
  esac
16318
 
  ;;
16319
 
 
16320
 
sysv4*MP*)
16321
 
  if test -d /usr/nec ;then
16322
 
    version_type=linux
16323
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16324
 
    soname_spec='$libname${shared_ext}.$major'
16325
 
    shlibpath_var=LD_LIBRARY_PATH
16326
 
  fi
16327
 
  ;;
16328
 
 
16329
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16330
 
  version_type=freebsd-elf
16331
 
  need_lib_prefix=no
16332
 
  need_version=no
16333
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16334
 
  soname_spec='${libname}${release}${shared_ext}$major'
16335
 
  shlibpath_var=LD_LIBRARY_PATH
16336
 
  hardcode_into_libs=yes
16337
 
  if test "$with_gnu_ld" = yes; then
16338
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16339
 
    shlibpath_overrides_runpath=no
16340
 
  else
16341
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16342
 
    shlibpath_overrides_runpath=yes
16343
 
    case $host_os in
16344
 
      sco3.2v5*)
16345
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16346
 
        ;;
16347
 
    esac
16348
 
  fi
16349
 
  sys_lib_dlsearch_path_spec='/usr/lib'
16350
 
  ;;
16351
 
 
16352
 
uts4*)
16353
 
  version_type=linux
16354
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16355
 
  soname_spec='${libname}${release}${shared_ext}$major'
16356
 
  shlibpath_var=LD_LIBRARY_PATH
16357
 
  ;;
16358
 
 
16359
 
*)
16360
 
  dynamic_linker=no
16361
 
  ;;
16362
 
esac
16363
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16364
 
$as_echo "$dynamic_linker" >&6; }
16365
 
test "$dynamic_linker" = no && can_build_shared=no
16366
 
 
16367
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then :
16368
 
  $as_echo_n "(cached) " >&6
16369
 
else
16370
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
16371
 
fi
16372
 
 
16373
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16374
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then :
16375
 
  $as_echo_n "(cached) " >&6
16376
 
else
16377
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
16378
 
fi
16379
 
 
16380
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16381
 
 
16382
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16383
 
if test "$GCC" = yes; then
16384
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16385
 
fi
16386
 
 
16387
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16388
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16389
 
hardcode_action_F77=
16390
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
16391
 
   test -n "$runpath_var_F77" || \
16392
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
16393
 
 
16394
 
  # We can hardcode non-existant directories.
16395
 
  if test "$hardcode_direct_F77" != no &&
16396
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16397
 
     # have to relink, otherwise we might link with an installed library
16398
 
     # when we should be linking with a yet-to-be-installed one
16399
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16400
 
     test "$hardcode_minus_L_F77" != no; then
16401
 
    # Linking always hardcodes the temporary library directory.
16402
 
    hardcode_action_F77=relink
16403
 
  else
16404
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16405
 
    hardcode_action_F77=immediate
16406
 
  fi
16407
 
else
16408
 
  # We cannot hardcode anything, or else we can only hardcode existing
16409
 
  # directories.
16410
 
  hardcode_action_F77=unsupported
16411
 
fi
16412
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5
16413
 
$as_echo "$hardcode_action_F77" >&6; }
16414
 
 
16415
 
if test "$hardcode_action_F77" = relink; then
16416
 
  # Fast installation is not supported
16417
 
  enable_fast_install=no
16418
 
elif test "$shlibpath_overrides_runpath" = yes ||
16419
 
     test "$enable_shared" = no; then
16420
 
  # Fast installation is not necessary
16421
 
  enable_fast_install=needless
16422
 
fi
16423
 
 
16424
 
 
16425
 
# The else clause should only fire when bootstrapping the
16426
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16427
 
# with your package, and you will get complaints that there are
16428
 
# no rules to generate ltmain.sh.
16429
 
if test -f "$ltmain"; then
16430
 
  # See if we are running on zsh, and set the options which allow our commands through
16431
 
  # without removal of \ escapes.
16432
 
  if test -n "${ZSH_VERSION+set}" ; then
16433
 
    setopt NO_GLOB_SUBST
16434
 
  fi
16435
 
  # Now quote all the things that may contain metacharacters while being
16436
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16437
 
  # variables and quote the copies for generation of the libtool script.
16438
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16439
 
    SED SHELL STRIP \
16440
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16441
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16442
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16443
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16444
 
    lt_cv_sys_global_symbol_to_c_name_address \
16445
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16446
 
    old_postinstall_cmds old_postuninstall_cmds \
16447
 
    compiler_F77 \
16448
 
    CC_F77 \
16449
 
    LD_F77 \
16450
 
    lt_prog_compiler_wl_F77 \
16451
 
    lt_prog_compiler_pic_F77 \
16452
 
    lt_prog_compiler_static_F77 \
16453
 
    lt_prog_compiler_no_builtin_flag_F77 \
16454
 
    export_dynamic_flag_spec_F77 \
16455
 
    thread_safe_flag_spec_F77 \
16456
 
    whole_archive_flag_spec_F77 \
16457
 
    enable_shared_with_static_runtimes_F77 \
16458
 
    old_archive_cmds_F77 \
16459
 
    old_archive_from_new_cmds_F77 \
16460
 
    predep_objects_F77 \
16461
 
    postdep_objects_F77 \
16462
 
    predeps_F77 \
16463
 
    postdeps_F77 \
16464
 
    compiler_lib_search_path_F77 \
16465
 
    compiler_lib_search_dirs_F77 \
16466
 
    archive_cmds_F77 \
16467
 
    archive_expsym_cmds_F77 \
16468
 
    postinstall_cmds_F77 \
16469
 
    postuninstall_cmds_F77 \
16470
 
    old_archive_from_expsyms_cmds_F77 \
16471
 
    allow_undefined_flag_F77 \
16472
 
    no_undefined_flag_F77 \
16473
 
    export_symbols_cmds_F77 \
16474
 
    hardcode_libdir_flag_spec_F77 \
16475
 
    hardcode_libdir_flag_spec_ld_F77 \
16476
 
    hardcode_libdir_separator_F77 \
16477
 
    hardcode_automatic_F77 \
16478
 
    module_cmds_F77 \
16479
 
    module_expsym_cmds_F77 \
16480
 
    lt_cv_prog_compiler_c_o_F77 \
16481
 
    fix_srcfile_path_F77 \
16482
 
    exclude_expsyms_F77 \
16483
 
    include_expsyms_F77; do
16484
 
 
16485
 
    case $var in
16486
 
    old_archive_cmds_F77 | \
16487
 
    old_archive_from_new_cmds_F77 | \
16488
 
    archive_cmds_F77 | \
16489
 
    archive_expsym_cmds_F77 | \
16490
 
    module_cmds_F77 | \
16491
 
    module_expsym_cmds_F77 | \
16492
 
    old_archive_from_expsyms_cmds_F77 | \
16493
 
    export_symbols_cmds_F77 | \
16494
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16495
 
    postinstall_cmds | postuninstall_cmds | \
16496
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16497
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16498
 
      # Double-quote double-evaled strings.
16499
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16500
 
      ;;
16501
 
    *)
16502
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16503
 
      ;;
16504
 
    esac
16505
 
  done
16506
 
 
16507
 
  case $lt_echo in
16508
 
  *'\$0 --fallback-echo"')
16509
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16510
 
    ;;
16511
 
  esac
16512
 
 
16513
 
cfgfile="$ofile"
16514
 
 
16515
 
  cat <<__EOF__ >> "$cfgfile"
16516
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16517
 
 
16518
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16519
 
 
16520
 
# Shell to use when invoking shell scripts.
16521
 
SHELL=$lt_SHELL
16522
 
 
16523
 
# Whether or not to build shared libraries.
16524
 
build_libtool_libs=$enable_shared
16525
 
 
16526
 
# Whether or not to build static libraries.
16527
 
build_old_libs=$enable_static
16528
 
 
16529
 
# Whether or not to add -lc for building shared libraries.
16530
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
16531
 
 
16532
 
# Whether or not to disallow shared libs when runtime libs are static
16533
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16534
 
 
16535
 
# Whether or not to optimize for fast installation.
16536
 
fast_install=$enable_fast_install
16537
 
 
16538
 
# The host system.
16539
 
host_alias=$host_alias
16540
 
host=$host
16541
 
host_os=$host_os
16542
 
 
16543
 
# The build system.
16544
 
build_alias=$build_alias
16545
 
build=$build
16546
 
build_os=$build_os
16547
 
 
16548
 
# An echo program that does not interpret backslashes.
16549
 
echo=$lt_echo
16550
 
 
16551
 
# The archiver.
16552
 
AR=$lt_AR
16553
 
AR_FLAGS=$lt_AR_FLAGS
16554
 
 
16555
 
# A C compiler.
16556
 
LTCC=$lt_LTCC
16557
 
 
16558
 
# LTCC compiler flags.
16559
 
LTCFLAGS=$lt_LTCFLAGS
16560
 
 
16561
 
# A language-specific compiler.
16562
 
CC=$lt_compiler_F77
16563
 
 
16564
 
# Is the compiler the GNU C compiler?
16565
 
with_gcc=$GCC_F77
16566
 
 
16567
 
# An ERE matcher.
16568
 
EGREP=$lt_EGREP
16569
 
 
16570
 
# The linker used to build libraries.
16571
 
LD=$lt_LD_F77
16572
 
 
16573
 
# Whether we need hard or soft links.
16574
 
LN_S=$lt_LN_S
16575
 
 
16576
 
# A BSD-compatible nm program.
16577
 
NM=$lt_NM
16578
 
 
16579
 
# A symbol stripping program
16580
 
STRIP=$lt_STRIP
16581
 
 
16582
 
# Used to examine libraries when file_magic_cmd begins "file"
16583
 
MAGIC_CMD=$MAGIC_CMD
16584
 
 
16585
 
# Used on cygwin: DLL creation program.
16586
 
DLLTOOL="$DLLTOOL"
16587
 
 
16588
 
# Used on cygwin: object dumper.
16589
 
OBJDUMP="$OBJDUMP"
16590
 
 
16591
 
# Used on cygwin: assembler.
16592
 
AS="$AS"
16593
 
 
16594
 
# The name of the directory that contains temporary libtool files.
16595
 
objdir=$objdir
16596
 
 
16597
 
# How to create reloadable object files.
16598
 
reload_flag=$lt_reload_flag
16599
 
reload_cmds=$lt_reload_cmds
16600
 
 
16601
 
# How to pass a linker flag through the compiler.
16602
 
wl=$lt_lt_prog_compiler_wl_F77
16603
 
 
16604
 
# Object file suffix (normally "o").
16605
 
objext="$ac_objext"
16606
 
 
16607
 
# Old archive suffix (normally "a").
16608
 
libext="$libext"
16609
 
 
16610
 
# Shared library suffix (normally ".so").
16611
 
shrext_cmds='$shrext_cmds'
16612
 
 
16613
 
# Executable file suffix (normally "").
16614
 
exeext="$exeext"
16615
 
 
16616
 
# Additional compiler flags for building library objects.
16617
 
pic_flag=$lt_lt_prog_compiler_pic_F77
16618
 
pic_mode=$pic_mode
16619
 
 
16620
 
# What is the maximum length of a command?
16621
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16622
 
 
16623
 
# Does compiler simultaneously support -c and -o options?
16624
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16625
 
 
16626
 
# Must we lock files when doing compilation?
16627
 
need_locks=$lt_need_locks
16628
 
 
16629
 
# Do we need the lib prefix for modules?
16630
 
need_lib_prefix=$need_lib_prefix
16631
 
 
16632
 
# Do we need a version for libraries?
16633
 
need_version=$need_version
16634
 
 
16635
 
# Whether dlopen is supported.
16636
 
dlopen_support=$enable_dlopen
16637
 
 
16638
 
# Whether dlopen of programs is supported.
16639
 
dlopen_self=$enable_dlopen_self
16640
 
 
16641
 
# Whether dlopen of statically linked programs is supported.
16642
 
dlopen_self_static=$enable_dlopen_self_static
16643
 
 
16644
 
# Compiler flag to prevent dynamic linking.
16645
 
link_static_flag=$lt_lt_prog_compiler_static_F77
16646
 
 
16647
 
# Compiler flag to turn off builtin functions.
16648
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16649
 
 
16650
 
# Compiler flag to allow reflexive dlopens.
16651
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16652
 
 
16653
 
# Compiler flag to generate shared objects directly from archives.
16654
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16655
 
 
16656
 
# Compiler flag to generate thread-safe objects.
16657
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16658
 
 
16659
 
# Library versioning type.
16660
 
version_type=$version_type
16661
 
 
16662
 
# Format of library name prefix.
16663
 
libname_spec=$lt_libname_spec
16664
 
 
16665
 
# List of archive names.  First name is the real one, the rest are links.
16666
 
# The last name is the one that the linker finds with -lNAME.
16667
 
library_names_spec=$lt_library_names_spec
16668
 
 
16669
 
# The coded name of the library, if different from the real name.
16670
 
soname_spec=$lt_soname_spec
16671
 
 
16672
 
# Commands used to build and install an old-style archive.
16673
 
RANLIB=$lt_RANLIB
16674
 
old_archive_cmds=$lt_old_archive_cmds_F77
16675
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16676
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16677
 
 
16678
 
# Create an old-style archive from a shared archive.
16679
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16680
 
 
16681
 
# Create a temporary old-style archive to link instead of a shared archive.
16682
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16683
 
 
16684
 
# Commands used to build and install a shared archive.
16685
 
archive_cmds=$lt_archive_cmds_F77
16686
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16687
 
postinstall_cmds=$lt_postinstall_cmds
16688
 
postuninstall_cmds=$lt_postuninstall_cmds
16689
 
 
16690
 
# Commands used to build a loadable module (assumed same as above if empty)
16691
 
module_cmds=$lt_module_cmds_F77
16692
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
16693
 
 
16694
 
# Commands to strip libraries.
16695
 
old_striplib=$lt_old_striplib
16696
 
striplib=$lt_striplib
16697
 
 
16698
 
# Dependencies to place before the objects being linked to create a
16699
 
# shared library.
16700
 
predep_objects=$lt_predep_objects_F77
16701
 
 
16702
 
# Dependencies to place after the objects being linked to create a
16703
 
# shared library.
16704
 
postdep_objects=$lt_postdep_objects_F77
16705
 
 
16706
 
# Dependencies to place before the objects being linked to create a
16707
 
# shared library.
16708
 
predeps=$lt_predeps_F77
16709
 
 
16710
 
# Dependencies to place after the objects being linked to create a
16711
 
# shared library.
16712
 
postdeps=$lt_postdeps_F77
16713
 
 
16714
 
# The directories searched by this compiler when creating a shared
16715
 
# library
16716
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16717
 
 
16718
 
# The library search path used internally by the compiler when linking
16719
 
# a shared library.
16720
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16721
 
 
16722
 
# Method to check whether dependent libraries are shared objects.
16723
 
deplibs_check_method=$lt_deplibs_check_method
16724
 
 
16725
 
# Command to use when deplibs_check_method == file_magic.
16726
 
file_magic_cmd=$lt_file_magic_cmd
16727
 
 
16728
 
# Flag that allows shared libraries with undefined symbols to be built.
16729
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
16730
 
 
16731
 
# Flag that forces no undefined symbols.
16732
 
no_undefined_flag=$lt_no_undefined_flag_F77
16733
 
 
16734
 
# Commands used to finish a libtool library installation in a directory.
16735
 
finish_cmds=$lt_finish_cmds
16736
 
 
16737
 
# Same as above, but a single script fragment to be evaled but not shown.
16738
 
finish_eval=$lt_finish_eval
16739
 
 
16740
 
# Take the output of nm and produce a listing of raw symbols and C names.
16741
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16742
 
 
16743
 
# Transform the output of nm in a proper C declaration
16744
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16745
 
 
16746
 
# Transform the output of nm in a C name address pair
16747
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16748
 
 
16749
 
# This is the shared library runtime path variable.
16750
 
runpath_var=$runpath_var
16751
 
 
16752
 
# This is the shared library path variable.
16753
 
shlibpath_var=$shlibpath_var
16754
 
 
16755
 
# Is shlibpath searched before the hard-coded library search path?
16756
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16757
 
 
16758
 
# How to hardcode a shared library path into an executable.
16759
 
hardcode_action=$hardcode_action_F77
16760
 
 
16761
 
# Whether we should hardcode library paths into libraries.
16762
 
hardcode_into_libs=$hardcode_into_libs
16763
 
 
16764
 
# Flag to hardcode \$libdir into a binary during linking.
16765
 
# This must work even if \$libdir does not exist.
16766
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16767
 
 
16768
 
# If ld is used when linking, flag to hardcode \$libdir into
16769
 
# a binary during linking. This must work even if \$libdir does
16770
 
# not exist.
16771
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16772
 
 
16773
 
# Whether we need a single -rpath flag with a separated argument.
16774
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16775
 
 
16776
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16777
 
# resulting binary.
16778
 
hardcode_direct=$hardcode_direct_F77
16779
 
 
16780
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16781
 
# resulting binary.
16782
 
hardcode_minus_L=$hardcode_minus_L_F77
16783
 
 
16784
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16785
 
# the resulting binary.
16786
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16787
 
 
16788
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16789
 
# and all subsequent libraries and executables linked against it.
16790
 
hardcode_automatic=$hardcode_automatic_F77
16791
 
 
16792
 
# Variables whose values should be saved in libtool wrapper scripts and
16793
 
# restored at relink time.
16794
 
variables_saved_for_relink="$variables_saved_for_relink"
16795
 
 
16796
 
# Whether libtool must link a program against all its dependency libraries.
16797
 
link_all_deplibs=$link_all_deplibs_F77
16798
 
 
16799
 
# Compile-time system search path for libraries
16800
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16801
 
 
16802
 
# Run-time system search path for libraries
16803
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16804
 
 
16805
 
# Fix the shell variable \$srcfile for the compiler.
16806
 
fix_srcfile_path=$lt_fix_srcfile_path
16807
 
 
16808
 
# Set to yes if exported symbols are required.
16809
 
always_export_symbols=$always_export_symbols_F77
16810
 
 
16811
 
# The commands to list exported symbols.
16812
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
16813
 
 
16814
 
# The commands to extract the exported symbol list from a shared archive.
16815
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16816
 
 
16817
 
# Symbols that should not be listed in the preloaded symbols.
16818
 
exclude_expsyms=$lt_exclude_expsyms_F77
16819
 
 
16820
 
# Symbols that must always be exported.
16821
 
include_expsyms=$lt_include_expsyms_F77
16822
 
 
16823
 
# ### END LIBTOOL TAG CONFIG: $tagname
16824
 
 
16825
 
__EOF__
16826
 
 
16827
 
 
16828
 
else
16829
 
  # If there is no Makefile yet, we rely on a make rule to execute
16830
 
  # `config.status --recheck' to rerun these tests and create the
16831
 
  # libtool script then.
16832
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16833
 
  if test -f "$ltmain_in"; then
16834
 
    test -f Makefile && make "$ltmain"
16835
 
  fi
16836
 
fi
16837
 
 
16838
 
 
16839
 
ac_ext=c
16840
 
ac_cpp='$CPP $CPPFLAGS'
16841
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16842
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16843
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16844
 
 
16845
 
CC="$lt_save_CC"
16846
 
 
16847
 
        else
16848
 
          tagname=""
16849
 
        fi
16850
 
        ;;
16851
 
 
16852
 
      GCJ)
16853
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16854
 
 
16855
 
 
16856
 
# Source file extension for Java test sources.
16857
 
ac_ext=java
16858
 
 
16859
 
# Object file extension for compiled Java test sources.
16860
 
objext=o
16861
 
objext_GCJ=$objext
16862
 
 
16863
 
# Code to be used in simple compile tests
16864
 
lt_simple_compile_test_code="class foo {}"
16865
 
 
16866
 
# Code to be used in simple link tests
16867
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16868
 
 
16869
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16870
 
 
16871
 
# If no C compiler was specified, use CC.
16872
 
LTCC=${LTCC-"$CC"}
16873
 
 
16874
 
# If no C compiler flags were specified, use CFLAGS.
16875
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16876
 
 
16877
 
# Allow CC to be a program name with arguments.
16878
 
compiler=$CC
16879
 
 
16880
 
 
16881
 
# save warnings/boilerplate of simple test code
16882
 
ac_outfile=conftest.$ac_objext
16883
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16884
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16885
 
_lt_compiler_boilerplate=`cat conftest.err`
16886
 
$rm conftest*
16887
 
 
16888
 
ac_outfile=conftest.$ac_objext
16889
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16890
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16891
 
_lt_linker_boilerplate=`cat conftest.err`
16892
 
$rm -r conftest*
16893
 
 
16894
 
 
16895
 
# Allow CC to be a program name with arguments.
16896
 
lt_save_CC="$CC"
16897
 
CC=${GCJ-"gcj"}
16898
 
compiler=$CC
16899
 
compiler_GCJ=$CC
16900
 
for cc_temp in $compiler""; do
16901
 
  case $cc_temp in
16902
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16903
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16904
 
    \-*) ;;
16905
 
    *) break;;
16906
 
  esac
16907
 
done
16908
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16909
 
 
16910
 
 
16911
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16912
 
archive_cmds_need_lc_GCJ=no
16913
 
 
16914
 
old_archive_cmds_GCJ=$old_archive_cmds
16915
 
 
16916
 
 
16917
 
lt_prog_compiler_no_builtin_flag_GCJ=
16918
 
 
16919
 
if test "$GCC" = yes; then
16920
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16921
 
 
16922
 
 
16923
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16924
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
16925
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
16926
 
  $as_echo_n "(cached) " >&6
16927
 
else
16928
 
  lt_cv_prog_compiler_rtti_exceptions=no
16929
 
  ac_outfile=conftest.$ac_objext
16930
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16931
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16932
 
   # Insert the option either (1) after the last *FLAGS variable, or
16933
 
   # (2) before a word containing "conftest.", or (3) at the end.
16934
 
   # Note that $ac_compile itself does not contain backslashes and begins
16935
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16936
 
   # The option is referenced via a variable to avoid confusing sed.
16937
 
   lt_compile=`echo "$ac_compile" | $SED \
16938
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16939
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16940
 
   -e 's:$: $lt_compiler_flag:'`
16941
 
   (eval echo "\"\$as_me:16941: $lt_compile\"" >&5)
16942
 
   (eval "$lt_compile" 2>conftest.err)
16943
 
   ac_status=$?
16944
 
   cat conftest.err >&5
16945
 
   echo "$as_me:16945: \$? = $ac_status" >&5
16946
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16947
 
     # The compiler can only warn and ignore the option if not recognized
16948
 
     # So say no if there are warnings other than the usual output.
16949
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16950
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16951
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16952
 
       lt_cv_prog_compiler_rtti_exceptions=yes
16953
 
     fi
16954
 
   fi
16955
 
   $rm conftest*
16956
 
 
16957
 
fi
16958
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16959
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16960
 
 
16961
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16962
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16963
 
else
16964
 
    :
16965
 
fi
16966
 
 
16967
 
fi
16968
 
 
16969
 
lt_prog_compiler_wl_GCJ=
16970
 
lt_prog_compiler_pic_GCJ=
16971
 
lt_prog_compiler_static_GCJ=
16972
 
 
16973
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16974
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16975
 
 
16976
 
  if test "$GCC" = yes; then
16977
 
    lt_prog_compiler_wl_GCJ='-Wl,'
16978
 
    lt_prog_compiler_static_GCJ='-static'
16979
 
 
16980
 
    case $host_os in
16981
 
      aix*)
16982
 
      # All AIX code is PIC.
16983
 
      if test "$host_cpu" = ia64; then
16984
 
        # AIX 5 now supports IA64 processor
16985
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16986
 
      fi
16987
 
      ;;
16988
 
 
16989
 
    amigaos*)
16990
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16991
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16992
 
      # like `-m68040'.
16993
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16994
 
      ;;
16995
 
 
16996
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16997
 
      # PIC is the default for these OSes.
16998
 
      ;;
16999
 
 
17000
 
    mingw* | cygwin* | pw32* | os2*)
17001
 
      # This hack is so that the source file can tell whether it is being
17002
 
      # built for inclusion in a dll (and should export symbols for example).
17003
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
17004
 
      # (--disable-auto-import) libraries
17005
 
 
17006
 
      ;;
17007
 
 
17008
 
    darwin* | rhapsody*)
17009
 
      # PIC is the default on this platform
17010
 
      # Common symbols not allowed in MH_DYLIB files
17011
 
      lt_prog_compiler_pic_GCJ='-fno-common'
17012
 
      ;;
17013
 
 
17014
 
    interix[3-9]*)
17015
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17016
 
      # Instead, we relocate shared libraries at runtime.
17017
 
      ;;
17018
 
 
17019
 
    msdosdjgpp*)
17020
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
17021
 
      # on systems that don't support them.
17022
 
      lt_prog_compiler_can_build_shared_GCJ=no
17023
 
      enable_shared=no
17024
 
      ;;
17025
 
 
17026
 
    sysv4*MP*)
17027
 
      if test -d /usr/nec; then
17028
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
17029
 
      fi
17030
 
      ;;
17031
 
 
17032
 
    hpux*)
17033
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17034
 
      # not for PA HP-UX.
17035
 
      case $host_cpu in
17036
 
      hppa*64*|ia64*)
17037
 
        # +Z the default
17038
 
        ;;
17039
 
      *)
17040
 
        lt_prog_compiler_pic_GCJ='-fPIC'
17041
 
        ;;
17042
 
      esac
17043
 
      ;;
17044
 
 
17045
 
    *)
17046
 
      lt_prog_compiler_pic_GCJ='-fPIC'
17047
 
      ;;
17048
 
    esac
17049
 
  else
17050
 
    # PORTME Check for flag to pass linker flags through the system compiler.
17051
 
    case $host_os in
17052
 
    aix*)
17053
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17054
 
      if test "$host_cpu" = ia64; then
17055
 
        # AIX 5 now supports IA64 processor
17056
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17057
 
      else
17058
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17059
 
      fi
17060
 
      ;;
17061
 
      darwin*)
17062
 
        # PIC is the default on this platform
17063
 
        # Common symbols not allowed in MH_DYLIB files
17064
 
       case $cc_basename in
17065
 
         xlc*)
17066
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
17067
 
         lt_prog_compiler_wl_GCJ='-Wl,'
17068
 
         ;;
17069
 
       esac
17070
 
       ;;
17071
 
 
17072
 
    mingw* | cygwin* | pw32* | os2*)
17073
 
      # This hack is so that the source file can tell whether it is being
17074
 
      # built for inclusion in a dll (and should export symbols for example).
17075
 
 
17076
 
      ;;
17077
 
 
17078
 
    hpux9* | hpux10* | hpux11*)
17079
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17080
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17081
 
      # not for PA HP-UX.
17082
 
      case $host_cpu in
17083
 
      hppa*64*|ia64*)
17084
 
        # +Z the default
17085
 
        ;;
17086
 
      *)
17087
 
        lt_prog_compiler_pic_GCJ='+Z'
17088
 
        ;;
17089
 
      esac
17090
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
17091
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17092
 
      ;;
17093
 
 
17094
 
    irix5* | irix6* | nonstopux*)
17095
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17096
 
      # PIC (with -KPIC) is the default.
17097
 
      lt_prog_compiler_static_GCJ='-non_shared'
17098
 
      ;;
17099
 
 
17100
 
    newsos6)
17101
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17102
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17103
 
      ;;
17104
 
 
17105
 
    linux* | k*bsd*-gnu)
17106
 
      case $cc_basename in
17107
 
      icc* | ecc*)
17108
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17109
 
        lt_prog_compiler_pic_GCJ='-KPIC'
17110
 
        lt_prog_compiler_static_GCJ='-static'
17111
 
        ;;
17112
 
      pgcc* | pgf77* | pgf90* | pgf95*)
17113
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
17114
 
        # which looks to be a dead project)
17115
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17116
 
        lt_prog_compiler_pic_GCJ='-fpic'
17117
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17118
 
        ;;
17119
 
      ccc*)
17120
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17121
 
        # All Alpha code is PIC.
17122
 
        lt_prog_compiler_static_GCJ='-non_shared'
17123
 
        ;;
17124
 
      *)
17125
 
        case `$CC -V 2>&1 | sed 5q` in
17126
 
        *Sun\ C*)
17127
 
          # Sun C 5.9
17128
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17129
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17130
 
          lt_prog_compiler_wl_GCJ='-Wl,'
17131
 
          ;;
17132
 
        *Sun\ F*)
17133
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
17134
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17135
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17136
 
          lt_prog_compiler_wl_GCJ=''
17137
 
          ;;
17138
 
        esac
17139
 
        ;;
17140
 
      esac
17141
 
      ;;
17142
 
 
17143
 
    osf3* | osf4* | osf5*)
17144
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17145
 
      # All OSF/1 code is PIC.
17146
 
      lt_prog_compiler_static_GCJ='-non_shared'
17147
 
      ;;
17148
 
 
17149
 
    rdos*)
17150
 
      lt_prog_compiler_static_GCJ='-non_shared'
17151
 
      ;;
17152
 
 
17153
 
    solaris*)
17154
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17155
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17156
 
      case $cc_basename in
17157
 
      f77* | f90* | f95*)
17158
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17159
 
      *)
17160
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
17161
 
      esac
17162
 
      ;;
17163
 
 
17164
 
    sunos4*)
17165
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
17166
 
      lt_prog_compiler_pic_GCJ='-PIC'
17167
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17168
 
      ;;
17169
 
 
17170
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
17171
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17172
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17173
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17174
 
      ;;
17175
 
 
17176
 
    sysv4*MP*)
17177
 
      if test -d /usr/nec ;then
17178
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
17179
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17180
 
      fi
17181
 
      ;;
17182
 
 
17183
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17184
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17185
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17186
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17187
 
      ;;
17188
 
 
17189
 
    unicos*)
17190
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17191
 
      lt_prog_compiler_can_build_shared_GCJ=no
17192
 
      ;;
17193
 
 
17194
 
    uts4*)
17195
 
      lt_prog_compiler_pic_GCJ='-pic'
17196
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17197
 
      ;;
17198
 
 
17199
 
    *)
17200
 
      lt_prog_compiler_can_build_shared_GCJ=no
17201
 
      ;;
17202
 
    esac
17203
 
  fi
17204
 
 
17205
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GCJ" >&5
17206
 
$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
17207
 
 
17208
 
#
17209
 
# Check to make sure the PIC flag actually works.
17210
 
#
17211
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
17212
 
 
17213
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17214
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
17215
 
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then :
17216
 
  $as_echo_n "(cached) " >&6
17217
 
else
17218
 
  lt_cv_prog_compiler_pic_works_GCJ=no
17219
 
  ac_outfile=conftest.$ac_objext
17220
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17221
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17222
 
   # Insert the option either (1) after the last *FLAGS variable, or
17223
 
   # (2) before a word containing "conftest.", or (3) at the end.
17224
 
   # Note that $ac_compile itself does not contain backslashes and begins
17225
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17226
 
   # The option is referenced via a variable to avoid confusing sed.
17227
 
   lt_compile=`echo "$ac_compile" | $SED \
17228
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17229
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17230
 
   -e 's:$: $lt_compiler_flag:'`
17231
 
   (eval echo "\"\$as_me:17231: $lt_compile\"" >&5)
17232
 
   (eval "$lt_compile" 2>conftest.err)
17233
 
   ac_status=$?
17234
 
   cat conftest.err >&5
17235
 
   echo "$as_me:17235: \$? = $ac_status" >&5
17236
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17237
 
     # The compiler can only warn and ignore the option if not recognized
17238
 
     # So say no if there are warnings other than the usual output.
17239
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17240
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17241
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17242
 
       lt_cv_prog_compiler_pic_works_GCJ=yes
17243
 
     fi
17244
 
   fi
17245
 
   $rm conftest*
17246
 
 
17247
 
fi
17248
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17249
 
$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17250
 
 
17251
 
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
17252
 
    case $lt_prog_compiler_pic_GCJ in
17253
 
     "" | " "*) ;;
17254
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17255
 
     esac
17256
 
else
17257
 
    lt_prog_compiler_pic_GCJ=
17258
 
     lt_prog_compiler_can_build_shared_GCJ=no
17259
 
fi
17260
 
 
17261
 
fi
17262
 
case $host_os in
17263
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17264
 
  *djgpp*)
17265
 
    lt_prog_compiler_pic_GCJ=
17266
 
    ;;
17267
 
  *)
17268
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17269
 
    ;;
17270
 
esac
17271
 
 
17272
 
#
17273
 
# Check to make sure the static flag actually works.
17274
 
#
17275
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17276
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17277
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17278
 
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then :
17279
 
  $as_echo_n "(cached) " >&6
17280
 
else
17281
 
  lt_cv_prog_compiler_static_works_GCJ=no
17282
 
   save_LDFLAGS="$LDFLAGS"
17283
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17284
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17285
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17286
 
     # The linker can only warn and ignore the option if not recognized
17287
 
     # So say no if there are warnings
17288
 
     if test -s conftest.err; then
17289
 
       # Append any errors to the config.log.
17290
 
       cat conftest.err 1>&5
17291
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17292
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17293
 
       if diff conftest.exp conftest.er2 >/dev/null; then
17294
 
         lt_cv_prog_compiler_static_works_GCJ=yes
17295
 
       fi
17296
 
     else
17297
 
       lt_cv_prog_compiler_static_works_GCJ=yes
17298
 
     fi
17299
 
   fi
17300
 
   $rm -r conftest*
17301
 
   LDFLAGS="$save_LDFLAGS"
17302
 
 
17303
 
fi
17304
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17305
 
$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17306
 
 
17307
 
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
17308
 
    :
17309
 
else
17310
 
    lt_prog_compiler_static_GCJ=
17311
 
fi
17312
 
 
17313
 
 
17314
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17315
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17316
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
17317
 
  $as_echo_n "(cached) " >&6
17318
 
else
17319
 
  lt_cv_prog_compiler_c_o_GCJ=no
17320
 
   $rm -r conftest 2>/dev/null
17321
 
   mkdir conftest
17322
 
   cd conftest
17323
 
   mkdir out
17324
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17325
 
 
17326
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17327
 
   # Insert the option either (1) after the last *FLAGS variable, or
17328
 
   # (2) before a word containing "conftest.", or (3) at the end.
17329
 
   # Note that $ac_compile itself does not contain backslashes and begins
17330
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17331
 
   lt_compile=`echo "$ac_compile" | $SED \
17332
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17333
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17334
 
   -e 's:$: $lt_compiler_flag:'`
17335
 
   (eval echo "\"\$as_me:17335: $lt_compile\"" >&5)
17336
 
   (eval "$lt_compile" 2>out/conftest.err)
17337
 
   ac_status=$?
17338
 
   cat out/conftest.err >&5
17339
 
   echo "$as_me:17339: \$? = $ac_status" >&5
17340
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17341
 
   then
17342
 
     # The compiler can only warn and ignore the option if not recognized
17343
 
     # So say no if there are warnings
17344
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17345
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17346
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17347
 
       lt_cv_prog_compiler_c_o_GCJ=yes
17348
 
     fi
17349
 
   fi
17350
 
   chmod u+w . 2>&5
17351
 
   $rm conftest*
17352
 
   # SGI C++ compiler will create directory out/ii_files/ for
17353
 
   # template instantiation
17354
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17355
 
   $rm out/* && rmdir out
17356
 
   cd ..
17357
 
   rmdir conftest
17358
 
   $rm conftest*
17359
 
 
17360
 
fi
17361
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17362
 
$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17363
 
 
17364
 
 
17365
 
hard_links="nottested"
17366
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17367
 
  # do not overwrite the value of need_locks provided by the user
17368
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17369
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
17370
 
  hard_links=yes
17371
 
  $rm conftest*
17372
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17373
 
  touch conftest.a
17374
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17375
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17376
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17377
 
$as_echo "$hard_links" >&6; }
17378
 
  if test "$hard_links" = no; then
17379
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17380
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17381
 
    need_locks=warn
17382
 
  fi
17383
 
else
17384
 
  need_locks=no
17385
 
fi
17386
 
 
17387
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17388
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17389
 
 
17390
 
  runpath_var=
17391
 
  allow_undefined_flag_GCJ=
17392
 
  enable_shared_with_static_runtimes_GCJ=no
17393
 
  archive_cmds_GCJ=
17394
 
  archive_expsym_cmds_GCJ=
17395
 
  old_archive_From_new_cmds_GCJ=
17396
 
  old_archive_from_expsyms_cmds_GCJ=
17397
 
  export_dynamic_flag_spec_GCJ=
17398
 
  whole_archive_flag_spec_GCJ=
17399
 
  thread_safe_flag_spec_GCJ=
17400
 
  hardcode_libdir_flag_spec_GCJ=
17401
 
  hardcode_libdir_flag_spec_ld_GCJ=
17402
 
  hardcode_libdir_separator_GCJ=
17403
 
  hardcode_direct_GCJ=no
17404
 
  hardcode_minus_L_GCJ=no
17405
 
  hardcode_shlibpath_var_GCJ=unsupported
17406
 
  link_all_deplibs_GCJ=unknown
17407
 
  hardcode_automatic_GCJ=no
17408
 
  module_cmds_GCJ=
17409
 
  module_expsym_cmds_GCJ=
17410
 
  always_export_symbols_GCJ=no
17411
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17412
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17413
 
  # included in the symbol list
17414
 
  include_expsyms_GCJ=
17415
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17416
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17417
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17418
 
  # as well as any symbol that contains `d'.
17419
 
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17420
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17421
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17422
 
  # the symbol is explicitly referenced.  Since portable code cannot
17423
 
  # rely on this symbol name, it's probably fine to never include it in
17424
 
  # preloaded symbol tables.
17425
 
  # Exclude shared library initialization/finalization symbols.
17426
 
  extract_expsyms_cmds=
17427
 
  # Just being paranoid about ensuring that cc_basename is set.
17428
 
  for cc_temp in $compiler""; do
17429
 
  case $cc_temp in
17430
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17431
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17432
 
    \-*) ;;
17433
 
    *) break;;
17434
 
  esac
17435
 
done
17436
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17437
 
 
17438
 
  case $host_os in
17439
 
  cygwin* | mingw* | pw32*)
17440
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17441
 
    # When not using gcc, we currently assume that we are using
17442
 
    # Microsoft Visual C++.
17443
 
    if test "$GCC" != yes; then
17444
 
      with_gnu_ld=no
17445
 
    fi
17446
 
    ;;
17447
 
  interix*)
17448
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
17449
 
    with_gnu_ld=yes
17450
 
    ;;
17451
 
  openbsd*)
17452
 
    with_gnu_ld=no
17453
 
    ;;
17454
 
  esac
17455
 
 
17456
 
  ld_shlibs_GCJ=yes
17457
 
  if test "$with_gnu_ld" = yes; then
17458
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17459
 
    wlarc='${wl}'
17460
 
 
17461
 
    # Set some defaults for GNU ld with shared library support. These
17462
 
    # are reset later if shared libraries are not supported. Putting them
17463
 
    # here allows them to be overridden if necessary.
17464
 
    runpath_var=LD_RUN_PATH
17465
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17466
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17467
 
    # ancient GNU ld didn't support --whole-archive et. al.
17468
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17469
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17470
 
      else
17471
 
        whole_archive_flag_spec_GCJ=
17472
 
    fi
17473
 
    supports_anon_versioning=no
17474
 
    case `$LD -v 2>/dev/null` in
17475
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17476
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17477
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17478
 
      *\ 2.11.*) ;; # other 2.11 versions
17479
 
      *) supports_anon_versioning=yes ;;
17480
 
    esac
17481
 
 
17482
 
    # See if GNU ld supports shared libraries.
17483
 
    case $host_os in
17484
 
    aix[3-9]*)
17485
 
      # On AIX/PPC, the GNU linker is very broken
17486
 
      if test "$host_cpu" != ia64; then
17487
 
        ld_shlibs_GCJ=no
17488
 
        cat <<EOF 1>&2
17489
 
 
17490
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17491
 
*** to be unable to reliably create shared libraries on AIX.
17492
 
*** Therefore, libtool is disabling shared libraries support.  If you
17493
 
*** really care for shared libraries, you may want to modify your PATH
17494
 
*** so that a non-GNU linker is found, and then restart.
17495
 
 
17496
 
EOF
17497
 
      fi
17498
 
      ;;
17499
 
 
17500
 
    amigaos*)
17501
 
      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)'
17502
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17503
 
      hardcode_minus_L_GCJ=yes
17504
 
 
17505
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17506
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17507
 
      # to version 4, is to share data among multiple programs linked
17508
 
      # with the same dynamic library.  Since this doesn't match the
17509
 
      # behavior of shared libraries on other platforms, we can't use
17510
 
      # them.
17511
 
      ld_shlibs_GCJ=no
17512
 
      ;;
17513
 
 
17514
 
    beos*)
17515
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17516
 
        allow_undefined_flag_GCJ=unsupported
17517
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17518
 
        # support --undefined.  This deserves some investigation.  FIXME
17519
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17520
 
      else
17521
 
        ld_shlibs_GCJ=no
17522
 
      fi
17523
 
      ;;
17524
 
 
17525
 
    cygwin* | mingw* | pw32*)
17526
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17527
 
      # as there is no search path for DLLs.
17528
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17529
 
      allow_undefined_flag_GCJ=unsupported
17530
 
      always_export_symbols_GCJ=no
17531
 
      enable_shared_with_static_runtimes_GCJ=yes
17532
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17533
 
 
17534
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17535
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17536
 
        # If the export-symbols file already is a .def file (1st line
17537
 
        # is EXPORTS), use it as is; otherwise, prepend...
17538
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17539
 
          cp $export_symbols $output_objdir/$soname.def;
17540
 
        else
17541
 
          echo EXPORTS > $output_objdir/$soname.def;
17542
 
          cat $export_symbols >> $output_objdir/$soname.def;
17543
 
        fi~
17544
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17545
 
      else
17546
 
        ld_shlibs_GCJ=no
17547
 
      fi
17548
 
      ;;
17549
 
 
17550
 
    interix[3-9]*)
17551
 
      hardcode_direct_GCJ=no
17552
 
      hardcode_shlibpath_var_GCJ=no
17553
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17554
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17555
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17556
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
17557
 
      # default) and relocated if they conflict, which is a slow very memory
17558
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
17559
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17560
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17561
 
      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'
17562
 
      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'
17563
 
      ;;
17564
 
 
17565
 
    gnu* | linux* | k*bsd*-gnu)
17566
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17567
 
        tmp_addflag=
17568
 
        case $cc_basename,$host_cpu in
17569
 
        pgcc*)                          # Portland Group C compiler
17570
 
          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'
17571
 
          tmp_addflag=' $pic_flag'
17572
 
          ;;
17573
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17574
 
          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'
17575
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
17576
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17577
 
          tmp_addflag=' -i_dynamic' ;;
17578
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17579
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
17580
 
        ifc* | ifort*)                  # Intel Fortran compiler
17581
 
          tmp_addflag=' -nofor_main' ;;
17582
 
        esac
17583
 
        case `$CC -V 2>&1 | sed 5q` in
17584
 
        *Sun\ C*)                       # Sun C 5.9
17585
 
          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'
17586
 
          tmp_sharedflag='-G' ;;
17587
 
        *Sun\ F*)                       # Sun Fortran 8.3
17588
 
          tmp_sharedflag='-G' ;;
17589
 
        *)
17590
 
          tmp_sharedflag='-shared' ;;
17591
 
        esac
17592
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17593
 
 
17594
 
        if test $supports_anon_versioning = yes; then
17595
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17596
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17597
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17598
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17599
 
        fi
17600
 
      else
17601
 
        ld_shlibs_GCJ=no
17602
 
      fi
17603
 
      ;;
17604
 
 
17605
 
    netbsd*)
17606
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17607
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17608
 
        wlarc=
17609
 
      else
17610
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17611
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17612
 
      fi
17613
 
      ;;
17614
 
 
17615
 
    solaris*)
17616
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17617
 
        ld_shlibs_GCJ=no
17618
 
        cat <<EOF 1>&2
17619
 
 
17620
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17621
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17622
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17623
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17624
 
*** your PATH or compiler configuration so that the native linker is
17625
 
*** used, and then restart.
17626
 
 
17627
 
EOF
17628
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17629
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17630
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17631
 
      else
17632
 
        ld_shlibs_GCJ=no
17633
 
      fi
17634
 
      ;;
17635
 
 
17636
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17637
 
      case `$LD -v 2>&1` in
17638
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17639
 
        ld_shlibs_GCJ=no
17640
 
        cat <<_LT_EOF 1>&2
17641
 
 
17642
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17643
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
17644
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17645
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17646
 
*** your PATH or compiler configuration so that the native linker is
17647
 
*** used, and then restart.
17648
 
 
17649
 
_LT_EOF
17650
 
        ;;
17651
 
        *)
17652
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17653
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17654
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17655
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17656
 
          else
17657
 
            ld_shlibs_GCJ=no
17658
 
          fi
17659
 
        ;;
17660
 
      esac
17661
 
      ;;
17662
 
 
17663
 
    sunos4*)
17664
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17665
 
      wlarc=
17666
 
      hardcode_direct_GCJ=yes
17667
 
      hardcode_shlibpath_var_GCJ=no
17668
 
      ;;
17669
 
 
17670
 
    *)
17671
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17672
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17673
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17674
 
      else
17675
 
        ld_shlibs_GCJ=no
17676
 
      fi
17677
 
      ;;
17678
 
    esac
17679
 
 
17680
 
    if test "$ld_shlibs_GCJ" = no; then
17681
 
      runpath_var=
17682
 
      hardcode_libdir_flag_spec_GCJ=
17683
 
      export_dynamic_flag_spec_GCJ=
17684
 
      whole_archive_flag_spec_GCJ=
17685
 
    fi
17686
 
  else
17687
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17688
 
    case $host_os in
17689
 
    aix3*)
17690
 
      allow_undefined_flag_GCJ=unsupported
17691
 
      always_export_symbols_GCJ=yes
17692
 
      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'
17693
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17694
 
      # are no directories specified by -L.
17695
 
      hardcode_minus_L_GCJ=yes
17696
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17697
 
        # Neither direct hardcoding nor static linking is supported with a
17698
 
        # broken collect2.
17699
 
        hardcode_direct_GCJ=unsupported
17700
 
      fi
17701
 
      ;;
17702
 
 
17703
 
    aix[4-9]*)
17704
 
      if test "$host_cpu" = ia64; then
17705
 
        # On IA64, the linker does run time linking by default, so we don't
17706
 
        # have to do anything special.
17707
 
        aix_use_runtimelinking=no
17708
 
        exp_sym_flag='-Bexport'
17709
 
        no_entry_flag=""
17710
 
      else
17711
 
        # If we're using GNU nm, then we don't want the "-C" option.
17712
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17713
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17714
 
          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'
17715
 
        else
17716
 
          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'
17717
 
        fi
17718
 
        aix_use_runtimelinking=no
17719
 
 
17720
 
        # Test if we are trying to use run time linking or normal
17721
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17722
 
        # need to do runtime linking.
17723
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17724
 
          for ld_flag in $LDFLAGS; do
17725
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17726
 
            aix_use_runtimelinking=yes
17727
 
            break
17728
 
          fi
17729
 
          done
17730
 
          ;;
17731
 
        esac
17732
 
 
17733
 
        exp_sym_flag='-bexport'
17734
 
        no_entry_flag='-bnoentry'
17735
 
      fi
17736
 
 
17737
 
      # When large executables or shared objects are built, AIX ld can
17738
 
      # have problems creating the table of contents.  If linking a library
17739
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17740
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17741
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17742
 
 
17743
 
      archive_cmds_GCJ=''
17744
 
      hardcode_direct_GCJ=yes
17745
 
      hardcode_libdir_separator_GCJ=':'
17746
 
      link_all_deplibs_GCJ=yes
17747
 
 
17748
 
      if test "$GCC" = yes; then
17749
 
        case $host_os in aix4.[012]|aix4.[012].*)
17750
 
        # We only want to do this on AIX 4.2 and lower, the check
17751
 
        # below for broken collect2 doesn't work under 4.3+
17752
 
          collect2name=`${CC} -print-prog-name=collect2`
17753
 
          if test -f "$collect2name" && \
17754
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17755
 
          then
17756
 
          # We have reworked collect2
17757
 
          :
17758
 
          else
17759
 
          # We have old collect2
17760
 
          hardcode_direct_GCJ=unsupported
17761
 
          # It fails to find uninstalled libraries when the uninstalled
17762
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17763
 
          # to unsupported forces relinking
17764
 
          hardcode_minus_L_GCJ=yes
17765
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17766
 
          hardcode_libdir_separator_GCJ=
17767
 
          fi
17768
 
          ;;
17769
 
        esac
17770
 
        shared_flag='-shared'
17771
 
        if test "$aix_use_runtimelinking" = yes; then
17772
 
          shared_flag="$shared_flag "'${wl}-G'
17773
 
        fi
17774
 
      else
17775
 
        # not using gcc
17776
 
        if test "$host_cpu" = ia64; then
17777
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17778
 
        # chokes on -Wl,-G. The following line is correct:
17779
 
          shared_flag='-G'
17780
 
        else
17781
 
          if test "$aix_use_runtimelinking" = yes; then
17782
 
            shared_flag='${wl}-G'
17783
 
          else
17784
 
            shared_flag='${wl}-bM:SRE'
17785
 
          fi
17786
 
        fi
17787
 
      fi
17788
 
 
17789
 
      # It seems that -bexpall does not export symbols beginning with
17790
 
      # underscore (_), so it is better to generate a list of symbols to export.
17791
 
      always_export_symbols_GCJ=yes
17792
 
      if test "$aix_use_runtimelinking" = yes; then
17793
 
        # Warning - without using the other runtime loading flags (-brtl),
17794
 
        # -berok will link without error, but may produce a broken library.
17795
 
        allow_undefined_flag_GCJ='-berok'
17796
 
       # Determine the default libpath from the value encoded in an empty executable.
17797
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17798
 
/* end confdefs.h.  */
17799
 
 
17800
 
int
17801
 
main ()
17802
 
{
17803
 
 
17804
 
  ;
17805
 
  return 0;
17806
 
}
17807
 
_ACEOF
17808
 
if ac_fn_c_try_link "$LINENO"; then :
17809
 
 
17810
 
lt_aix_libpath_sed='
17811
 
    /Import File Strings/,/^$/ {
17812
 
        /^0/ {
17813
 
            s/^0  *\(.*\)$/\1/
17814
 
            p
17815
 
        }
17816
 
    }'
17817
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17818
 
# Check for a 64-bit object if we didn't find anything.
17819
 
if test -z "$aix_libpath"; then
17820
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17821
 
fi
17822
 
fi
17823
 
rm -f core conftest.err conftest.$ac_objext \
17824
 
    conftest$ac_exeext conftest.$ac_ext
17825
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17826
 
 
17827
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17828
 
        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"
17829
 
       else
17830
 
        if test "$host_cpu" = ia64; then
17831
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17832
 
          allow_undefined_flag_GCJ="-z nodefs"
17833
 
          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"
17834
 
        else
17835
 
         # Determine the default libpath from the value encoded in an empty executable.
17836
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17837
 
/* end confdefs.h.  */
17838
 
 
17839
 
int
17840
 
main ()
17841
 
{
17842
 
 
17843
 
  ;
17844
 
  return 0;
17845
 
}
17846
 
_ACEOF
17847
 
if ac_fn_c_try_link "$LINENO"; then :
17848
 
 
17849
 
lt_aix_libpath_sed='
17850
 
    /Import File Strings/,/^$/ {
17851
 
        /^0/ {
17852
 
            s/^0  *\(.*\)$/\1/
17853
 
            p
17854
 
        }
17855
 
    }'
17856
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17857
 
# Check for a 64-bit object if we didn't find anything.
17858
 
if test -z "$aix_libpath"; then
17859
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17860
 
fi
17861
 
fi
17862
 
rm -f core conftest.err conftest.$ac_objext \
17863
 
    conftest$ac_exeext conftest.$ac_ext
17864
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17865
 
 
17866
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17867
 
          # Warning - without using the other run time loading flags,
17868
 
          # -berok will link without error, but may produce a broken library.
17869
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
17870
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
17871
 
          # Exported symbols can be pulled into shared objects from archives
17872
 
          whole_archive_flag_spec_GCJ='$convenience'
17873
 
          archive_cmds_need_lc_GCJ=yes
17874
 
          # This is similar to how AIX traditionally builds its shared libraries.
17875
 
          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'
17876
 
        fi
17877
 
      fi
17878
 
      ;;
17879
 
 
17880
 
    amigaos*)
17881
 
      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)'
17882
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17883
 
      hardcode_minus_L_GCJ=yes
17884
 
      # see comment about different semantics on the GNU ld section
17885
 
      ld_shlibs_GCJ=no
17886
 
      ;;
17887
 
 
17888
 
    bsdi[45]*)
17889
 
      export_dynamic_flag_spec_GCJ=-rdynamic
17890
 
      ;;
17891
 
 
17892
 
    cygwin* | mingw* | pw32*)
17893
 
      # When not using gcc, we currently assume that we are using
17894
 
      # Microsoft Visual C++.
17895
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17896
 
      # no search path for DLLs.
17897
 
      hardcode_libdir_flag_spec_GCJ=' '
17898
 
      allow_undefined_flag_GCJ=unsupported
17899
 
      # Tell ltmain to make .lib files, not .a files.
17900
 
      libext=lib
17901
 
      # Tell ltmain to make .dll files, not .so files.
17902
 
      shrext_cmds=".dll"
17903
 
      # FIXME: Setting linknames here is a bad hack.
17904
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17905
 
      # The linker will automatically build a .lib file if we build a DLL.
17906
 
      old_archive_From_new_cmds_GCJ='true'
17907
 
      # FIXME: Should let the user specify the lib program.
17908
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
17909
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17910
 
      enable_shared_with_static_runtimes_GCJ=yes
17911
 
      ;;
17912
 
 
17913
 
    darwin* | rhapsody*)
17914
 
      case $host_os in
17915
 
        rhapsody* | darwin1.[012])
17916
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17917
 
         ;;
17918
 
       *) # Darwin 1.3 on
17919
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17920
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17921
 
         else
17922
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
17923
 
             10.[012])
17924
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17925
 
               ;;
17926
 
             10.*)
17927
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17928
 
               ;;
17929
 
           esac
17930
 
         fi
17931
 
         ;;
17932
 
      esac
17933
 
      archive_cmds_need_lc_GCJ=no
17934
 
      hardcode_direct_GCJ=no
17935
 
      hardcode_automatic_GCJ=yes
17936
 
      hardcode_shlibpath_var_GCJ=unsupported
17937
 
      whole_archive_flag_spec_GCJ=''
17938
 
      link_all_deplibs_GCJ=yes
17939
 
    if test "$GCC" = yes ; then
17940
 
        output_verbose_link_cmd='echo'
17941
 
        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}"
17942
 
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17943
 
        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}"
17944
 
        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}"
17945
 
    else
17946
 
      case $cc_basename in
17947
 
        xlc*)
17948
 
         output_verbose_link_cmd='echo'
17949
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17950
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17951
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17952
 
         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}'
17953
 
          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}'
17954
 
          ;;
17955
 
       *)
17956
 
         ld_shlibs_GCJ=no
17957
 
          ;;
17958
 
      esac
17959
 
    fi
17960
 
      ;;
17961
 
 
17962
 
    dgux*)
17963
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17964
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17965
 
      hardcode_shlibpath_var_GCJ=no
17966
 
      ;;
17967
 
 
17968
 
    freebsd1*)
17969
 
      ld_shlibs_GCJ=no
17970
 
      ;;
17971
 
 
17972
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17973
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17974
 
    # does not break anything, and helps significantly (at the cost of a little
17975
 
    # extra space).
17976
 
    freebsd2.2*)
17977
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17978
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17979
 
      hardcode_direct_GCJ=yes
17980
 
      hardcode_shlibpath_var_GCJ=no
17981
 
      ;;
17982
 
 
17983
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17984
 
    freebsd2*)
17985
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17986
 
      hardcode_direct_GCJ=yes
17987
 
      hardcode_minus_L_GCJ=yes
17988
 
      hardcode_shlibpath_var_GCJ=no
17989
 
      ;;
17990
 
 
17991
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17992
 
    freebsd* | dragonfly*)
17993
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17994
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17995
 
      hardcode_direct_GCJ=yes
17996
 
      hardcode_shlibpath_var_GCJ=no
17997
 
      ;;
17998
 
 
17999
 
    hpux9*)
18000
 
      if test "$GCC" = yes; then
18001
 
        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'
18002
 
      else
18003
 
        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'
18004
 
      fi
18005
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18006
 
      hardcode_libdir_separator_GCJ=:
18007
 
      hardcode_direct_GCJ=yes
18008
 
 
18009
 
      # hardcode_minus_L: Not really in the search PATH,
18010
 
      # but as the default location of the library.
18011
 
      hardcode_minus_L_GCJ=yes
18012
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18013
 
      ;;
18014
 
 
18015
 
    hpux10*)
18016
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18017
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18018
 
      else
18019
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18020
 
      fi
18021
 
      if test "$with_gnu_ld" = no; then
18022
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18023
 
        hardcode_libdir_separator_GCJ=:
18024
 
 
18025
 
        hardcode_direct_GCJ=yes
18026
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
18027
 
 
18028
 
        # hardcode_minus_L: Not really in the search PATH,
18029
 
        # but as the default location of the library.
18030
 
        hardcode_minus_L_GCJ=yes
18031
 
      fi
18032
 
      ;;
18033
 
 
18034
 
    hpux11*)
18035
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18036
 
        case $host_cpu in
18037
 
        hppa*64*)
18038
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18039
 
          ;;
18040
 
        ia64*)
18041
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18042
 
          ;;
18043
 
        *)
18044
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18045
 
          ;;
18046
 
        esac
18047
 
      else
18048
 
        case $host_cpu in
18049
 
        hppa*64*)
18050
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18051
 
          ;;
18052
 
        ia64*)
18053
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18054
 
          ;;
18055
 
        *)
18056
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18057
 
          ;;
18058
 
        esac
18059
 
      fi
18060
 
      if test "$with_gnu_ld" = no; then
18061
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18062
 
        hardcode_libdir_separator_GCJ=:
18063
 
 
18064
 
        case $host_cpu in
18065
 
        hppa*64*|ia64*)
18066
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18067
 
          hardcode_direct_GCJ=no
18068
 
          hardcode_shlibpath_var_GCJ=no
18069
 
          ;;
18070
 
        *)
18071
 
          hardcode_direct_GCJ=yes
18072
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18073
 
 
18074
 
          # hardcode_minus_L: Not really in the search PATH,
18075
 
          # but as the default location of the library.
18076
 
          hardcode_minus_L_GCJ=yes
18077
 
          ;;
18078
 
        esac
18079
 
      fi
18080
 
      ;;
18081
 
 
18082
 
    irix5* | irix6* | nonstopux*)
18083
 
      if test "$GCC" = yes; then
18084
 
        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'
18085
 
      else
18086
 
        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'
18087
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18088
 
      fi
18089
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18090
 
      hardcode_libdir_separator_GCJ=:
18091
 
      link_all_deplibs_GCJ=yes
18092
 
      ;;
18093
 
 
18094
 
    netbsd*)
18095
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18096
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18097
 
      else
18098
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
18099
 
      fi
18100
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18101
 
      hardcode_direct_GCJ=yes
18102
 
      hardcode_shlibpath_var_GCJ=no
18103
 
      ;;
18104
 
 
18105
 
    newsos6)
18106
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18107
 
      hardcode_direct_GCJ=yes
18108
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18109
 
      hardcode_libdir_separator_GCJ=:
18110
 
      hardcode_shlibpath_var_GCJ=no
18111
 
      ;;
18112
 
 
18113
 
    openbsd*)
18114
 
      if test -f /usr/libexec/ld.so; then
18115
 
        hardcode_direct_GCJ=yes
18116
 
        hardcode_shlibpath_var_GCJ=no
18117
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18118
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18119
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18120
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18121
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18122
 
        else
18123
 
          case $host_os in
18124
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18125
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18126
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
18127
 
             ;;
18128
 
           *)
18129
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18130
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18131
 
             ;;
18132
 
          esac
18133
 
        fi
18134
 
      else
18135
 
        ld_shlibs_GCJ=no
18136
 
      fi
18137
 
      ;;
18138
 
 
18139
 
    os2*)
18140
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18141
 
      hardcode_minus_L_GCJ=yes
18142
 
      allow_undefined_flag_GCJ=unsupported
18143
 
      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'
18144
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18145
 
      ;;
18146
 
 
18147
 
    osf3*)
18148
 
      if test "$GCC" = yes; then
18149
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18150
 
        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'
18151
 
      else
18152
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18153
 
        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'
18154
 
      fi
18155
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18156
 
      hardcode_libdir_separator_GCJ=:
18157
 
      ;;
18158
 
 
18159
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
18160
 
      if test "$GCC" = yes; then
18161
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18162
 
        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'
18163
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18164
 
      else
18165
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18166
 
        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'
18167
 
        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~
18168
 
        $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'
18169
 
 
18170
 
        # Both c and cxx compiler support -rpath directly
18171
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18172
 
      fi
18173
 
      hardcode_libdir_separator_GCJ=:
18174
 
      ;;
18175
 
 
18176
 
    solaris*)
18177
 
      no_undefined_flag_GCJ=' -z text'
18178
 
      if test "$GCC" = yes; then
18179
 
        wlarc='${wl}'
18180
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18181
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18182
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18183
 
      else
18184
 
        wlarc=''
18185
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18186
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18187
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18188
 
      fi
18189
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18190
 
      hardcode_shlibpath_var_GCJ=no
18191
 
      case $host_os in
18192
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
18193
 
      *)
18194
 
        # The compiler driver will combine and reorder linker options,
18195
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
18196
 
        # but is careful enough not to reorder.
18197
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
18198
 
        if test "$GCC" = yes; then
18199
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18200
 
        else
18201
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
18202
 
        fi
18203
 
        ;;
18204
 
      esac
18205
 
      link_all_deplibs_GCJ=yes
18206
 
      ;;
18207
 
 
18208
 
    sunos4*)
18209
 
      if test "x$host_vendor" = xsequent; then
18210
 
        # Use $CC to link under sequent, because it throws in some extra .o
18211
 
        # files that make .init and .fini sections work.
18212
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18213
 
      else
18214
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18215
 
      fi
18216
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18217
 
      hardcode_direct_GCJ=yes
18218
 
      hardcode_minus_L_GCJ=yes
18219
 
      hardcode_shlibpath_var_GCJ=no
18220
 
      ;;
18221
 
 
18222
 
    sysv4)
18223
 
      case $host_vendor in
18224
 
        sni)
18225
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18226
 
          hardcode_direct_GCJ=yes # is this really true???
18227
 
        ;;
18228
 
        siemens)
18229
 
          ## LD is ld it makes a PLAMLIB
18230
 
          ## CC just makes a GrossModule.
18231
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18232
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18233
 
          hardcode_direct_GCJ=no
18234
 
        ;;
18235
 
        motorola)
18236
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18237
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18238
 
        ;;
18239
 
      esac
18240
 
      runpath_var='LD_RUN_PATH'
18241
 
      hardcode_shlibpath_var_GCJ=no
18242
 
      ;;
18243
 
 
18244
 
    sysv4.3*)
18245
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18246
 
      hardcode_shlibpath_var_GCJ=no
18247
 
      export_dynamic_flag_spec_GCJ='-Bexport'
18248
 
      ;;
18249
 
 
18250
 
    sysv4*MP*)
18251
 
      if test -d /usr/nec; then
18252
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18253
 
        hardcode_shlibpath_var_GCJ=no
18254
 
        runpath_var=LD_RUN_PATH
18255
 
        hardcode_runpath_var=yes
18256
 
        ld_shlibs_GCJ=yes
18257
 
      fi
18258
 
      ;;
18259
 
 
18260
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18261
 
      no_undefined_flag_GCJ='${wl}-z,text'
18262
 
      archive_cmds_need_lc_GCJ=no
18263
 
      hardcode_shlibpath_var_GCJ=no
18264
 
      runpath_var='LD_RUN_PATH'
18265
 
 
18266
 
      if test "$GCC" = yes; then
18267
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18268
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18269
 
      else
18270
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18271
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18272
 
      fi
18273
 
      ;;
18274
 
 
18275
 
    sysv5* | sco3.2v5* | sco5v6*)
18276
 
      # Note: We can NOT use -z defs as we might desire, because we do not
18277
 
      # link with -lc, and that would cause any symbols used from libc to
18278
 
      # always be unresolved, which means just about no library would
18279
 
      # ever link correctly.  If we're not using GNU ld we use -z text
18280
 
      # though, which does catch some bad symbols but isn't as heavy-handed
18281
 
      # as -z defs.
18282
 
      no_undefined_flag_GCJ='${wl}-z,text'
18283
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
18284
 
      archive_cmds_need_lc_GCJ=no
18285
 
      hardcode_shlibpath_var_GCJ=no
18286
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18287
 
      hardcode_libdir_separator_GCJ=':'
18288
 
      link_all_deplibs_GCJ=yes
18289
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18290
 
      runpath_var='LD_RUN_PATH'
18291
 
 
18292
 
      if test "$GCC" = yes; then
18293
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18294
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18295
 
      else
18296
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18297
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18298
 
      fi
18299
 
      ;;
18300
 
 
18301
 
    uts4*)
18302
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18303
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18304
 
      hardcode_shlibpath_var_GCJ=no
18305
 
      ;;
18306
 
 
18307
 
    *)
18308
 
      ld_shlibs_GCJ=no
18309
 
      ;;
18310
 
    esac
18311
 
  fi
18312
 
 
18313
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
18314
 
$as_echo "$ld_shlibs_GCJ" >&6; }
18315
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18316
 
 
18317
 
#
18318
 
# Do we need to explicitly link libc?
18319
 
#
18320
 
case "x$archive_cmds_need_lc_GCJ" in
18321
 
x|xyes)
18322
 
  # Assume -lc should be added
18323
 
  archive_cmds_need_lc_GCJ=yes
18324
 
 
18325
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
18326
 
    case $archive_cmds_GCJ in
18327
 
    *'~'*)
18328
 
      # FIXME: we may have to deal with multi-command sequences.
18329
 
      ;;
18330
 
    '$CC '*)
18331
 
      # Test whether the compiler implicitly links with -lc since on some
18332
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18333
 
      # to ld, don't add -lc before -lgcc.
18334
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18335
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18336
 
      $rm conftest*
18337
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18338
 
 
18339
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18340
 
  (eval $ac_compile) 2>&5
18341
 
  ac_status=$?
18342
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18343
 
  test $ac_status = 0; } 2>conftest.err; then
18344
 
        soname=conftest
18345
 
        lib=conftest
18346
 
        libobjs=conftest.$ac_objext
18347
 
        deplibs=
18348
 
        wl=$lt_prog_compiler_wl_GCJ
18349
 
        pic_flag=$lt_prog_compiler_pic_GCJ
18350
 
        compiler_flags=-v
18351
 
        linker_flags=-v
18352
 
        verstring=
18353
 
        output_objdir=.
18354
 
        libname=conftest
18355
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18356
 
        allow_undefined_flag_GCJ=
18357
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18358
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18359
 
  ac_status=$?
18360
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18361
 
  test $ac_status = 0; }
18362
 
        then
18363
 
          archive_cmds_need_lc_GCJ=no
18364
 
        else
18365
 
          archive_cmds_need_lc_GCJ=yes
18366
 
        fi
18367
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18368
 
      else
18369
 
        cat conftest.err 1>&5
18370
 
      fi
18371
 
      $rm conftest*
18372
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_GCJ" >&5
18373
 
$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
18374
 
      ;;
18375
 
    esac
18376
 
  fi
18377
 
  ;;
18378
 
esac
18379
 
 
18380
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
18381
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
18382
 
library_names_spec=
18383
 
libname_spec='lib$name'
18384
 
soname_spec=
18385
 
shrext_cmds=".so"
18386
 
postinstall_cmds=
18387
 
postuninstall_cmds=
18388
 
finish_cmds=
18389
 
finish_eval=
18390
 
shlibpath_var=
18391
 
shlibpath_overrides_runpath=unknown
18392
 
version_type=none
18393
 
dynamic_linker="$host_os ld.so"
18394
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18395
 
 
18396
 
need_lib_prefix=unknown
18397
 
hardcode_into_libs=no
18398
 
 
18399
 
# when you set need_version to no, make sure it does not cause -set_version
18400
 
# flags to be left without arguments
18401
 
need_version=unknown
18402
 
 
18403
 
case $host_os in
18404
 
aix3*)
18405
 
  version_type=linux
18406
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18407
 
  shlibpath_var=LIBPATH
18408
 
 
18409
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18410
 
  soname_spec='${libname}${release}${shared_ext}$major'
18411
 
  ;;
18412
 
 
18413
 
aix[4-9]*)
18414
 
  version_type=linux
18415
 
  need_lib_prefix=no
18416
 
  need_version=no
18417
 
  hardcode_into_libs=yes
18418
 
  if test "$host_cpu" = ia64; then
18419
 
    # AIX 5 supports IA64
18420
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18421
 
    shlibpath_var=LD_LIBRARY_PATH
18422
 
  else
18423
 
    # With GCC up to 2.95.x, collect2 would create an import file
18424
 
    # for dependence libraries.  The import file would start with
18425
 
    # the line `#! .'.  This would cause the generated library to
18426
 
    # depend on `.', always an invalid library.  This was fixed in
18427
 
    # development snapshots of GCC prior to 3.0.
18428
 
    case $host_os in
18429
 
      aix4 | aix4.[01] | aix4.[01].*)
18430
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18431
 
           echo ' yes '
18432
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18433
 
        :
18434
 
      else
18435
 
        can_build_shared=no
18436
 
      fi
18437
 
      ;;
18438
 
    esac
18439
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18440
 
    # soname into executable. Probably we can add versioning support to
18441
 
    # collect2, so additional links can be useful in future.
18442
 
    if test "$aix_use_runtimelinking" = yes; then
18443
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18444
 
      # instead of lib<name>.a to let people know that these are not
18445
 
      # typical AIX shared libraries.
18446
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18447
 
    else
18448
 
      # We preserve .a as extension for shared libraries through AIX4.2
18449
 
      # and later when we are not doing run time linking.
18450
 
      library_names_spec='${libname}${release}.a $libname.a'
18451
 
      soname_spec='${libname}${release}${shared_ext}$major'
18452
 
    fi
18453
 
    shlibpath_var=LIBPATH
18454
 
  fi
18455
 
  ;;
18456
 
 
18457
 
amigaos*)
18458
 
  library_names_spec='$libname.ixlibrary $libname.a'
18459
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18460
 
  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'
18461
 
  ;;
18462
 
 
18463
 
beos*)
18464
 
  library_names_spec='${libname}${shared_ext}'
18465
 
  dynamic_linker="$host_os ld.so"
18466
 
  shlibpath_var=LIBRARY_PATH
18467
 
  ;;
18468
 
 
18469
 
bsdi[45]*)
18470
 
  version_type=linux
18471
 
  need_version=no
18472
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18473
 
  soname_spec='${libname}${release}${shared_ext}$major'
18474
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18475
 
  shlibpath_var=LD_LIBRARY_PATH
18476
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18477
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18478
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18479
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18480
 
  # libtool to hard-code these into programs
18481
 
  ;;
18482
 
 
18483
 
cygwin* | mingw* | pw32*)
18484
 
  version_type=windows
18485
 
  shrext_cmds=".dll"
18486
 
  need_version=no
18487
 
  need_lib_prefix=no
18488
 
 
18489
 
  case $GCC,$host_os in
18490
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18491
 
    library_names_spec='$libname.dll.a'
18492
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18493
 
    postinstall_cmds='base_file=`basename \${file}`~
18494
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18495
 
      dldir=$destdir/`dirname \$dlpath`~
18496
 
      test -d \$dldir || mkdir -p \$dldir~
18497
 
      $install_prog $dir/$dlname \$dldir/$dlname~
18498
 
      chmod a+x \$dldir/$dlname'
18499
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18500
 
      dlpath=$dir/\$dldll~
18501
 
       $rm \$dlpath'
18502
 
    shlibpath_overrides_runpath=yes
18503
 
 
18504
 
    case $host_os in
18505
 
    cygwin*)
18506
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18507
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18508
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18509
 
      ;;
18510
 
    mingw*)
18511
 
      # MinGW DLLs use traditional 'lib' prefix
18512
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18513
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18514
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18515
 
        # It is most probably a Windows format PATH printed by
18516
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18517
 
        # path with ; separators, and with drive letters. We can handle the
18518
 
        # drive letters (cygwin fileutils understands them), so leave them,
18519
 
        # especially as we might pass files found there to a mingw objdump,
18520
 
        # which wouldn't understand a cygwinified path. Ahh.
18521
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18522
 
      else
18523
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18524
 
      fi
18525
 
      ;;
18526
 
    pw32*)
18527
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18528
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18529
 
      ;;
18530
 
    esac
18531
 
    ;;
18532
 
 
18533
 
  *)
18534
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18535
 
    ;;
18536
 
  esac
18537
 
  dynamic_linker='Win32 ld.exe'
18538
 
  # FIXME: first we should search . and the directory the executable is in
18539
 
  shlibpath_var=PATH
18540
 
  ;;
18541
 
 
18542
 
darwin* | rhapsody*)
18543
 
  dynamic_linker="$host_os dyld"
18544
 
  version_type=darwin
18545
 
  need_lib_prefix=no
18546
 
  need_version=no
18547
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18548
 
  soname_spec='${libname}${release}${major}$shared_ext'
18549
 
  shlibpath_overrides_runpath=yes
18550
 
  shlibpath_var=DYLD_LIBRARY_PATH
18551
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18552
 
 
18553
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18554
 
  ;;
18555
 
 
18556
 
dgux*)
18557
 
  version_type=linux
18558
 
  need_lib_prefix=no
18559
 
  need_version=no
18560
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18561
 
  soname_spec='${libname}${release}${shared_ext}$major'
18562
 
  shlibpath_var=LD_LIBRARY_PATH
18563
 
  ;;
18564
 
 
18565
 
freebsd1*)
18566
 
  dynamic_linker=no
18567
 
  ;;
18568
 
 
18569
 
freebsd* | dragonfly*)
18570
 
  # DragonFly does not have aout.  When/if they implement a new
18571
 
  # versioning mechanism, adjust this.
18572
 
  if test -x /usr/bin/objformat; then
18573
 
    objformat=`/usr/bin/objformat`
18574
 
  else
18575
 
    case $host_os in
18576
 
    freebsd[123]*) objformat=aout ;;
18577
 
    *) objformat=elf ;;
18578
 
    esac
18579
 
  fi
18580
 
  version_type=freebsd-$objformat
18581
 
  case $version_type in
18582
 
    freebsd-elf*)
18583
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18584
 
      need_version=no
18585
 
      need_lib_prefix=no
18586
 
      ;;
18587
 
    freebsd-*)
18588
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18589
 
      need_version=yes
18590
 
      ;;
18591
 
  esac
18592
 
  shlibpath_var=LD_LIBRARY_PATH
18593
 
  case $host_os in
18594
 
  freebsd2*)
18595
 
    shlibpath_overrides_runpath=yes
18596
 
    ;;
18597
 
  freebsd3.[01]* | freebsdelf3.[01]*)
18598
 
    shlibpath_overrides_runpath=yes
18599
 
    hardcode_into_libs=yes
18600
 
    ;;
18601
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18602
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18603
 
    shlibpath_overrides_runpath=no
18604
 
    hardcode_into_libs=yes
18605
 
    ;;
18606
 
  *) # from 4.6 on, and DragonFly
18607
 
    shlibpath_overrides_runpath=yes
18608
 
    hardcode_into_libs=yes
18609
 
    ;;
18610
 
  esac
18611
 
  ;;
18612
 
 
18613
 
gnu*)
18614
 
  version_type=linux
18615
 
  need_lib_prefix=no
18616
 
  need_version=no
18617
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18618
 
  soname_spec='${libname}${release}${shared_ext}$major'
18619
 
  shlibpath_var=LD_LIBRARY_PATH
18620
 
  hardcode_into_libs=yes
18621
 
  ;;
18622
 
 
18623
 
hpux9* | hpux10* | hpux11*)
18624
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18625
 
  # link against other versions.
18626
 
  version_type=sunos
18627
 
  need_lib_prefix=no
18628
 
  need_version=no
18629
 
  case $host_cpu in
18630
 
  ia64*)
18631
 
    shrext_cmds='.so'
18632
 
    hardcode_into_libs=yes
18633
 
    dynamic_linker="$host_os dld.so"
18634
 
    shlibpath_var=LD_LIBRARY_PATH
18635
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18636
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18637
 
    soname_spec='${libname}${release}${shared_ext}$major'
18638
 
    if test "X$HPUX_IA64_MODE" = X32; then
18639
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18640
 
    else
18641
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18642
 
    fi
18643
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18644
 
    ;;
18645
 
   hppa*64*)
18646
 
     shrext_cmds='.sl'
18647
 
     hardcode_into_libs=yes
18648
 
     dynamic_linker="$host_os dld.sl"
18649
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18650
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18651
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18652
 
     soname_spec='${libname}${release}${shared_ext}$major'
18653
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18654
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18655
 
     ;;
18656
 
   *)
18657
 
    shrext_cmds='.sl'
18658
 
    dynamic_linker="$host_os dld.sl"
18659
 
    shlibpath_var=SHLIB_PATH
18660
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18661
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18662
 
    soname_spec='${libname}${release}${shared_ext}$major'
18663
 
    ;;
18664
 
  esac
18665
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18666
 
  postinstall_cmds='chmod 555 $lib'
18667
 
  ;;
18668
 
 
18669
 
interix[3-9]*)
18670
 
  version_type=linux
18671
 
  need_lib_prefix=no
18672
 
  need_version=no
18673
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18674
 
  soname_spec='${libname}${release}${shared_ext}$major'
18675
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18676
 
  shlibpath_var=LD_LIBRARY_PATH
18677
 
  shlibpath_overrides_runpath=no
18678
 
  hardcode_into_libs=yes
18679
 
  ;;
18680
 
 
18681
 
irix5* | irix6* | nonstopux*)
18682
 
  case $host_os in
18683
 
    nonstopux*) version_type=nonstopux ;;
18684
 
    *)
18685
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18686
 
                version_type=linux
18687
 
        else
18688
 
                version_type=irix
18689
 
        fi ;;
18690
 
  esac
18691
 
  need_lib_prefix=no
18692
 
  need_version=no
18693
 
  soname_spec='${libname}${release}${shared_ext}$major'
18694
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18695
 
  case $host_os in
18696
 
  irix5* | nonstopux*)
18697
 
    libsuff= shlibsuff=
18698
 
    ;;
18699
 
  *)
18700
 
    case $LD in # libtool.m4 will add one of these switches to LD
18701
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18702
 
      libsuff= shlibsuff= libmagic=32-bit;;
18703
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18704
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18705
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18706
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18707
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18708
 
    esac
18709
 
    ;;
18710
 
  esac
18711
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18712
 
  shlibpath_overrides_runpath=no
18713
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18714
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18715
 
  hardcode_into_libs=yes
18716
 
  ;;
18717
 
 
18718
 
# No shared lib support for Linux oldld, aout, or coff.
18719
 
linux*oldld* | linux*aout* | linux*coff*)
18720
 
  dynamic_linker=no
18721
 
  ;;
18722
 
 
18723
 
# This must be Linux ELF.
18724
 
linux* | k*bsd*-gnu)
18725
 
  version_type=linux
18726
 
  need_lib_prefix=no
18727
 
  need_version=no
18728
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18729
 
  soname_spec='${libname}${release}${shared_ext}$major'
18730
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18731
 
  shlibpath_var=LD_LIBRARY_PATH
18732
 
  shlibpath_overrides_runpath=no
18733
 
  # This implies no fast_install, which is unacceptable.
18734
 
  # Some rework will be needed to allow for fast_install
18735
 
  # before this can be enabled.
18736
 
  hardcode_into_libs=yes
18737
 
 
18738
 
  # Append ld.so.conf contents to the search path
18739
 
  if test -f /etc/ld.so.conf; then
18740
 
    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' ' '`
18741
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18742
 
  fi
18743
 
 
18744
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18745
 
  # powerpc, because MkLinux only supported shared libraries with the
18746
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18747
 
  # most powerpc-linux boxes support dynamic linking these days and
18748
 
  # people can always --disable-shared, the test was removed, and we
18749
 
  # assume the GNU/Linux dynamic linker is in use.
18750
 
  dynamic_linker='GNU/Linux ld.so'
18751
 
  ;;
18752
 
 
18753
 
netbsd*)
18754
 
  version_type=sunos
18755
 
  need_lib_prefix=no
18756
 
  need_version=no
18757
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18758
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18759
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18760
 
    dynamic_linker='NetBSD (a.out) ld.so'
18761
 
  else
18762
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18763
 
    soname_spec='${libname}${release}${shared_ext}$major'
18764
 
    dynamic_linker='NetBSD ld.elf_so'
18765
 
  fi
18766
 
  shlibpath_var=LD_LIBRARY_PATH
18767
 
  shlibpath_overrides_runpath=yes
18768
 
  hardcode_into_libs=yes
18769
 
  ;;
18770
 
 
18771
 
newsos6)
18772
 
  version_type=linux
18773
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18774
 
  shlibpath_var=LD_LIBRARY_PATH
18775
 
  shlibpath_overrides_runpath=yes
18776
 
  ;;
18777
 
 
18778
 
nto-qnx*)
18779
 
  version_type=linux
18780
 
  need_lib_prefix=no
18781
 
  need_version=no
18782
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18783
 
  soname_spec='${libname}${release}${shared_ext}$major'
18784
 
  shlibpath_var=LD_LIBRARY_PATH
18785
 
  shlibpath_overrides_runpath=yes
18786
 
  ;;
18787
 
 
18788
 
openbsd*)
18789
 
  version_type=sunos
18790
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18791
 
  need_lib_prefix=no
18792
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18793
 
  case $host_os in
18794
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18795
 
    *)                         need_version=no  ;;
18796
 
  esac
18797
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18798
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18799
 
  shlibpath_var=LD_LIBRARY_PATH
18800
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18801
 
    case $host_os in
18802
 
      openbsd2.[89] | openbsd2.[89].*)
18803
 
        shlibpath_overrides_runpath=no
18804
 
        ;;
18805
 
      *)
18806
 
        shlibpath_overrides_runpath=yes
18807
 
        ;;
18808
 
      esac
18809
 
  else
18810
 
    shlibpath_overrides_runpath=yes
18811
 
  fi
18812
 
  ;;
18813
 
 
18814
 
os2*)
18815
 
  libname_spec='$name'
18816
 
  shrext_cmds=".dll"
18817
 
  need_lib_prefix=no
18818
 
  library_names_spec='$libname${shared_ext} $libname.a'
18819
 
  dynamic_linker='OS/2 ld.exe'
18820
 
  shlibpath_var=LIBPATH
18821
 
  ;;
18822
 
 
18823
 
osf3* | osf4* | osf5*)
18824
 
  version_type=osf
18825
 
  need_lib_prefix=no
18826
 
  need_version=no
18827
 
  soname_spec='${libname}${release}${shared_ext}$major'
18828
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18829
 
  shlibpath_var=LD_LIBRARY_PATH
18830
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18831
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18832
 
  ;;
18833
 
 
18834
 
rdos*)
18835
 
  dynamic_linker=no
18836
 
  ;;
18837
 
 
18838
 
solaris*)
18839
 
  version_type=linux
18840
 
  need_lib_prefix=no
18841
 
  need_version=no
18842
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18843
 
  soname_spec='${libname}${release}${shared_ext}$major'
18844
 
  shlibpath_var=LD_LIBRARY_PATH
18845
 
  shlibpath_overrides_runpath=yes
18846
 
  hardcode_into_libs=yes
18847
 
  # ldd complains unless libraries are executable
18848
 
  postinstall_cmds='chmod +x $lib'
18849
 
  ;;
18850
 
 
18851
 
sunos4*)
18852
 
  version_type=sunos
18853
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18854
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18855
 
  shlibpath_var=LD_LIBRARY_PATH
18856
 
  shlibpath_overrides_runpath=yes
18857
 
  if test "$with_gnu_ld" = yes; then
18858
 
    need_lib_prefix=no
18859
 
  fi
18860
 
  need_version=yes
18861
 
  ;;
18862
 
 
18863
 
sysv4 | sysv4.3*)
18864
 
  version_type=linux
18865
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18866
 
  soname_spec='${libname}${release}${shared_ext}$major'
18867
 
  shlibpath_var=LD_LIBRARY_PATH
18868
 
  case $host_vendor in
18869
 
    sni)
18870
 
      shlibpath_overrides_runpath=no
18871
 
      need_lib_prefix=no
18872
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18873
 
      runpath_var=LD_RUN_PATH
18874
 
      ;;
18875
 
    siemens)
18876
 
      need_lib_prefix=no
18877
 
      ;;
18878
 
    motorola)
18879
 
      need_lib_prefix=no
18880
 
      need_version=no
18881
 
      shlibpath_overrides_runpath=no
18882
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18883
 
      ;;
18884
 
  esac
18885
 
  ;;
18886
 
 
18887
 
sysv4*MP*)
18888
 
  if test -d /usr/nec ;then
18889
 
    version_type=linux
18890
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18891
 
    soname_spec='$libname${shared_ext}.$major'
18892
 
    shlibpath_var=LD_LIBRARY_PATH
18893
 
  fi
18894
 
  ;;
18895
 
 
18896
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18897
 
  version_type=freebsd-elf
18898
 
  need_lib_prefix=no
18899
 
  need_version=no
18900
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18901
 
  soname_spec='${libname}${release}${shared_ext}$major'
18902
 
  shlibpath_var=LD_LIBRARY_PATH
18903
 
  hardcode_into_libs=yes
18904
 
  if test "$with_gnu_ld" = yes; then
18905
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18906
 
    shlibpath_overrides_runpath=no
18907
 
  else
18908
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18909
 
    shlibpath_overrides_runpath=yes
18910
 
    case $host_os in
18911
 
      sco3.2v5*)
18912
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18913
 
        ;;
18914
 
    esac
18915
 
  fi
18916
 
  sys_lib_dlsearch_path_spec='/usr/lib'
18917
 
  ;;
18918
 
 
18919
 
uts4*)
18920
 
  version_type=linux
18921
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18922
 
  soname_spec='${libname}${release}${shared_ext}$major'
18923
 
  shlibpath_var=LD_LIBRARY_PATH
18924
 
  ;;
18925
 
 
18926
 
*)
18927
 
  dynamic_linker=no
18928
 
  ;;
18929
 
esac
18930
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18931
 
$as_echo "$dynamic_linker" >&6; }
18932
 
test "$dynamic_linker" = no && can_build_shared=no
18933
 
 
18934
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then :
18935
 
  $as_echo_n "(cached) " >&6
18936
 
else
18937
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
18938
 
fi
18939
 
 
18940
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18941
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then :
18942
 
  $as_echo_n "(cached) " >&6
18943
 
else
18944
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
18945
 
fi
18946
 
 
18947
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18948
 
 
18949
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18950
 
if test "$GCC" = yes; then
18951
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18952
 
fi
18953
 
 
18954
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18955
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18956
 
hardcode_action_GCJ=
18957
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18958
 
   test -n "$runpath_var_GCJ" || \
18959
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18960
 
 
18961
 
  # We can hardcode non-existant directories.
18962
 
  if test "$hardcode_direct_GCJ" != no &&
18963
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18964
 
     # have to relink, otherwise we might link with an installed library
18965
 
     # when we should be linking with a yet-to-be-installed one
18966
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18967
 
     test "$hardcode_minus_L_GCJ" != no; then
18968
 
    # Linking always hardcodes the temporary library directory.
18969
 
    hardcode_action_GCJ=relink
18970
 
  else
18971
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18972
 
    hardcode_action_GCJ=immediate
18973
 
  fi
18974
 
else
18975
 
  # We cannot hardcode anything, or else we can only hardcode existing
18976
 
  # directories.
18977
 
  hardcode_action_GCJ=unsupported
18978
 
fi
18979
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
18980
 
$as_echo "$hardcode_action_GCJ" >&6; }
18981
 
 
18982
 
if test "$hardcode_action_GCJ" = relink; then
18983
 
  # Fast installation is not supported
18984
 
  enable_fast_install=no
18985
 
elif test "$shlibpath_overrides_runpath" = yes ||
18986
 
     test "$enable_shared" = no; then
18987
 
  # Fast installation is not necessary
18988
 
  enable_fast_install=needless
18989
 
fi
18990
 
 
18991
 
 
18992
 
# The else clause should only fire when bootstrapping the
18993
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18994
 
# with your package, and you will get complaints that there are
18995
 
# no rules to generate ltmain.sh.
18996
 
if test -f "$ltmain"; then
18997
 
  # See if we are running on zsh, and set the options which allow our commands through
18998
 
  # without removal of \ escapes.
18999
 
  if test -n "${ZSH_VERSION+set}" ; then
19000
 
    setopt NO_GLOB_SUBST
19001
 
  fi
19002
 
  # Now quote all the things that may contain metacharacters while being
19003
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19004
 
  # variables and quote the copies for generation of the libtool script.
19005
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19006
 
    SED SHELL STRIP \
19007
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19008
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19009
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19010
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19011
 
    lt_cv_sys_global_symbol_to_c_name_address \
19012
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19013
 
    old_postinstall_cmds old_postuninstall_cmds \
19014
 
    compiler_GCJ \
19015
 
    CC_GCJ \
19016
 
    LD_GCJ \
19017
 
    lt_prog_compiler_wl_GCJ \
19018
 
    lt_prog_compiler_pic_GCJ \
19019
 
    lt_prog_compiler_static_GCJ \
19020
 
    lt_prog_compiler_no_builtin_flag_GCJ \
19021
 
    export_dynamic_flag_spec_GCJ \
19022
 
    thread_safe_flag_spec_GCJ \
19023
 
    whole_archive_flag_spec_GCJ \
19024
 
    enable_shared_with_static_runtimes_GCJ \
19025
 
    old_archive_cmds_GCJ \
19026
 
    old_archive_from_new_cmds_GCJ \
19027
 
    predep_objects_GCJ \
19028
 
    postdep_objects_GCJ \
19029
 
    predeps_GCJ \
19030
 
    postdeps_GCJ \
19031
 
    compiler_lib_search_path_GCJ \
19032
 
    compiler_lib_search_dirs_GCJ \
19033
 
    archive_cmds_GCJ \
19034
 
    archive_expsym_cmds_GCJ \
19035
 
    postinstall_cmds_GCJ \
19036
 
    postuninstall_cmds_GCJ \
19037
 
    old_archive_from_expsyms_cmds_GCJ \
19038
 
    allow_undefined_flag_GCJ \
19039
 
    no_undefined_flag_GCJ \
19040
 
    export_symbols_cmds_GCJ \
19041
 
    hardcode_libdir_flag_spec_GCJ \
19042
 
    hardcode_libdir_flag_spec_ld_GCJ \
19043
 
    hardcode_libdir_separator_GCJ \
19044
 
    hardcode_automatic_GCJ \
19045
 
    module_cmds_GCJ \
19046
 
    module_expsym_cmds_GCJ \
19047
 
    lt_cv_prog_compiler_c_o_GCJ \
19048
 
    fix_srcfile_path_GCJ \
19049
 
    exclude_expsyms_GCJ \
19050
 
    include_expsyms_GCJ; do
19051
 
 
19052
 
    case $var in
19053
 
    old_archive_cmds_GCJ | \
19054
 
    old_archive_from_new_cmds_GCJ | \
19055
 
    archive_cmds_GCJ | \
19056
 
    archive_expsym_cmds_GCJ | \
19057
 
    module_cmds_GCJ | \
19058
 
    module_expsym_cmds_GCJ | \
19059
 
    old_archive_from_expsyms_cmds_GCJ | \
19060
 
    export_symbols_cmds_GCJ | \
19061
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19062
 
    postinstall_cmds | postuninstall_cmds | \
19063
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19064
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19065
 
      # Double-quote double-evaled strings.
19066
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19067
 
      ;;
19068
 
    *)
19069
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19070
 
      ;;
19071
 
    esac
19072
 
  done
19073
 
 
19074
 
  case $lt_echo in
19075
 
  *'\$0 --fallback-echo"')
19076
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19077
 
    ;;
19078
 
  esac
19079
 
 
19080
 
cfgfile="$ofile"
19081
 
 
19082
 
  cat <<__EOF__ >> "$cfgfile"
19083
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19084
 
 
19085
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19086
 
 
19087
 
# Shell to use when invoking shell scripts.
19088
 
SHELL=$lt_SHELL
19089
 
 
19090
 
# Whether or not to build shared libraries.
19091
 
build_libtool_libs=$enable_shared
19092
 
 
19093
 
# Whether or not to build static libraries.
19094
 
build_old_libs=$enable_static
19095
 
 
19096
 
# Whether or not to add -lc for building shared libraries.
19097
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19098
 
 
19099
 
# Whether or not to disallow shared libs when runtime libs are static
19100
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19101
 
 
19102
 
# Whether or not to optimize for fast installation.
19103
 
fast_install=$enable_fast_install
19104
 
 
19105
 
# The host system.
19106
 
host_alias=$host_alias
19107
 
host=$host
19108
 
host_os=$host_os
19109
 
 
19110
 
# The build system.
19111
 
build_alias=$build_alias
19112
 
build=$build
19113
 
build_os=$build_os
19114
 
 
19115
 
# An echo program that does not interpret backslashes.
19116
 
echo=$lt_echo
19117
 
 
19118
 
# The archiver.
19119
 
AR=$lt_AR
19120
 
AR_FLAGS=$lt_AR_FLAGS
19121
 
 
19122
 
# A C compiler.
19123
 
LTCC=$lt_LTCC
19124
 
 
19125
 
# LTCC compiler flags.
19126
 
LTCFLAGS=$lt_LTCFLAGS
19127
 
 
19128
 
# A language-specific compiler.
19129
 
CC=$lt_compiler_GCJ
19130
 
 
19131
 
# Is the compiler the GNU C compiler?
19132
 
with_gcc=$GCC_GCJ
19133
 
 
19134
 
# An ERE matcher.
19135
 
EGREP=$lt_EGREP
19136
 
 
19137
 
# The linker used to build libraries.
19138
 
LD=$lt_LD_GCJ
19139
 
 
19140
 
# Whether we need hard or soft links.
19141
 
LN_S=$lt_LN_S
19142
 
 
19143
 
# A BSD-compatible nm program.
19144
 
NM=$lt_NM
19145
 
 
19146
 
# A symbol stripping program
19147
 
STRIP=$lt_STRIP
19148
 
 
19149
 
# Used to examine libraries when file_magic_cmd begins "file"
19150
 
MAGIC_CMD=$MAGIC_CMD
19151
 
 
19152
 
# Used on cygwin: DLL creation program.
19153
 
DLLTOOL="$DLLTOOL"
19154
 
 
19155
 
# Used on cygwin: object dumper.
19156
 
OBJDUMP="$OBJDUMP"
19157
 
 
19158
 
# Used on cygwin: assembler.
19159
 
AS="$AS"
19160
 
 
19161
 
# The name of the directory that contains temporary libtool files.
19162
 
objdir=$objdir
19163
 
 
19164
 
# How to create reloadable object files.
19165
 
reload_flag=$lt_reload_flag
19166
 
reload_cmds=$lt_reload_cmds
19167
 
 
19168
 
# How to pass a linker flag through the compiler.
19169
 
wl=$lt_lt_prog_compiler_wl_GCJ
19170
 
 
19171
 
# Object file suffix (normally "o").
19172
 
objext="$ac_objext"
19173
 
 
19174
 
# Old archive suffix (normally "a").
19175
 
libext="$libext"
19176
 
 
19177
 
# Shared library suffix (normally ".so").
19178
 
shrext_cmds='$shrext_cmds'
19179
 
 
19180
 
# Executable file suffix (normally "").
19181
 
exeext="$exeext"
19182
 
 
19183
 
# Additional compiler flags for building library objects.
19184
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
19185
 
pic_mode=$pic_mode
19186
 
 
19187
 
# What is the maximum length of a command?
19188
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19189
 
 
19190
 
# Does compiler simultaneously support -c and -o options?
19191
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19192
 
 
19193
 
# Must we lock files when doing compilation?
19194
 
need_locks=$lt_need_locks
19195
 
 
19196
 
# Do we need the lib prefix for modules?
19197
 
need_lib_prefix=$need_lib_prefix
19198
 
 
19199
 
# Do we need a version for libraries?
19200
 
need_version=$need_version
19201
 
 
19202
 
# Whether dlopen is supported.
19203
 
dlopen_support=$enable_dlopen
19204
 
 
19205
 
# Whether dlopen of programs is supported.
19206
 
dlopen_self=$enable_dlopen_self
19207
 
 
19208
 
# Whether dlopen of statically linked programs is supported.
19209
 
dlopen_self_static=$enable_dlopen_self_static
19210
 
 
19211
 
# Compiler flag to prevent dynamic linking.
19212
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
19213
 
 
19214
 
# Compiler flag to turn off builtin functions.
19215
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19216
 
 
19217
 
# Compiler flag to allow reflexive dlopens.
19218
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19219
 
 
19220
 
# Compiler flag to generate shared objects directly from archives.
19221
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19222
 
 
19223
 
# Compiler flag to generate thread-safe objects.
19224
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19225
 
 
19226
 
# Library versioning type.
19227
 
version_type=$version_type
19228
 
 
19229
 
# Format of library name prefix.
19230
 
libname_spec=$lt_libname_spec
19231
 
 
19232
 
# List of archive names.  First name is the real one, the rest are links.
19233
 
# The last name is the one that the linker finds with -lNAME.
19234
 
library_names_spec=$lt_library_names_spec
19235
 
 
19236
 
# The coded name of the library, if different from the real name.
19237
 
soname_spec=$lt_soname_spec
19238
 
 
19239
 
# Commands used to build and install an old-style archive.
19240
 
RANLIB=$lt_RANLIB
19241
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
19242
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19243
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19244
 
 
19245
 
# Create an old-style archive from a shared archive.
19246
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19247
 
 
19248
 
# Create a temporary old-style archive to link instead of a shared archive.
19249
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19250
 
 
19251
 
# Commands used to build and install a shared archive.
19252
 
archive_cmds=$lt_archive_cmds_GCJ
19253
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19254
 
postinstall_cmds=$lt_postinstall_cmds
19255
 
postuninstall_cmds=$lt_postuninstall_cmds
19256
 
 
19257
 
# Commands used to build a loadable module (assumed same as above if empty)
19258
 
module_cmds=$lt_module_cmds_GCJ
19259
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19260
 
 
19261
 
# Commands to strip libraries.
19262
 
old_striplib=$lt_old_striplib
19263
 
striplib=$lt_striplib
19264
 
 
19265
 
# Dependencies to place before the objects being linked to create a
19266
 
# shared library.
19267
 
predep_objects=$lt_predep_objects_GCJ
19268
 
 
19269
 
# Dependencies to place after the objects being linked to create a
19270
 
# shared library.
19271
 
postdep_objects=$lt_postdep_objects_GCJ
19272
 
 
19273
 
# Dependencies to place before the objects being linked to create a
19274
 
# shared library.
19275
 
predeps=$lt_predeps_GCJ
19276
 
 
19277
 
# Dependencies to place after the objects being linked to create a
19278
 
# shared library.
19279
 
postdeps=$lt_postdeps_GCJ
19280
 
 
19281
 
# The directories searched by this compiler when creating a shared
19282
 
# library
19283
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19284
 
 
19285
 
# The library search path used internally by the compiler when linking
19286
 
# a shared library.
19287
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19288
 
 
19289
 
# Method to check whether dependent libraries are shared objects.
19290
 
deplibs_check_method=$lt_deplibs_check_method
19291
 
 
19292
 
# Command to use when deplibs_check_method == file_magic.
19293
 
file_magic_cmd=$lt_file_magic_cmd
19294
 
 
19295
 
# Flag that allows shared libraries with undefined symbols to be built.
19296
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19297
 
 
19298
 
# Flag that forces no undefined symbols.
19299
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
19300
 
 
19301
 
# Commands used to finish a libtool library installation in a directory.
19302
 
finish_cmds=$lt_finish_cmds
19303
 
 
19304
 
# Same as above, but a single script fragment to be evaled but not shown.
19305
 
finish_eval=$lt_finish_eval
19306
 
 
19307
 
# Take the output of nm and produce a listing of raw symbols and C names.
19308
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19309
 
 
19310
 
# Transform the output of nm in a proper C declaration
19311
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19312
 
 
19313
 
# Transform the output of nm in a C name address pair
19314
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19315
 
 
19316
 
# This is the shared library runtime path variable.
19317
 
runpath_var=$runpath_var
19318
 
 
19319
 
# This is the shared library path variable.
19320
 
shlibpath_var=$shlibpath_var
19321
 
 
19322
 
# Is shlibpath searched before the hard-coded library search path?
19323
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19324
 
 
19325
 
# How to hardcode a shared library path into an executable.
19326
 
hardcode_action=$hardcode_action_GCJ
19327
 
 
19328
 
# Whether we should hardcode library paths into libraries.
19329
 
hardcode_into_libs=$hardcode_into_libs
19330
 
 
19331
 
# Flag to hardcode \$libdir into a binary during linking.
19332
 
# This must work even if \$libdir does not exist.
19333
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19334
 
 
19335
 
# If ld is used when linking, flag to hardcode \$libdir into
19336
 
# a binary during linking. This must work even if \$libdir does
19337
 
# not exist.
19338
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19339
 
 
19340
 
# Whether we need a single -rpath flag with a separated argument.
19341
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19342
 
 
19343
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19344
 
# resulting binary.
19345
 
hardcode_direct=$hardcode_direct_GCJ
19346
 
 
19347
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19348
 
# resulting binary.
19349
 
hardcode_minus_L=$hardcode_minus_L_GCJ
19350
 
 
19351
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19352
 
# the resulting binary.
19353
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19354
 
 
19355
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19356
 
# and all subsequent libraries and executables linked against it.
19357
 
hardcode_automatic=$hardcode_automatic_GCJ
19358
 
 
19359
 
# Variables whose values should be saved in libtool wrapper scripts and
19360
 
# restored at relink time.
19361
 
variables_saved_for_relink="$variables_saved_for_relink"
19362
 
 
19363
 
# Whether libtool must link a program against all its dependency libraries.
19364
 
link_all_deplibs=$link_all_deplibs_GCJ
19365
 
 
19366
 
# Compile-time system search path for libraries
19367
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19368
 
 
19369
 
# Run-time system search path for libraries
19370
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19371
 
 
19372
 
# Fix the shell variable \$srcfile for the compiler.
19373
 
fix_srcfile_path=$lt_fix_srcfile_path
19374
 
 
19375
 
# Set to yes if exported symbols are required.
19376
 
always_export_symbols=$always_export_symbols_GCJ
19377
 
 
19378
 
# The commands to list exported symbols.
19379
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19380
 
 
19381
 
# The commands to extract the exported symbol list from a shared archive.
19382
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19383
 
 
19384
 
# Symbols that should not be listed in the preloaded symbols.
19385
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
19386
 
 
19387
 
# Symbols that must always be exported.
19388
 
include_expsyms=$lt_include_expsyms_GCJ
19389
 
 
19390
 
# ### END LIBTOOL TAG CONFIG: $tagname
19391
 
 
19392
 
__EOF__
19393
 
 
19394
 
 
19395
 
else
19396
 
  # If there is no Makefile yet, we rely on a make rule to execute
19397
 
  # `config.status --recheck' to rerun these tests and create the
19398
 
  # libtool script then.
19399
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19400
 
  if test -f "$ltmain_in"; then
19401
 
    test -f Makefile && make "$ltmain"
19402
 
  fi
19403
 
fi
19404
 
 
19405
 
 
19406
 
ac_ext=c
19407
 
ac_cpp='$CPP $CPPFLAGS'
19408
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19409
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19410
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19411
 
 
19412
 
CC="$lt_save_CC"
19413
 
 
19414
 
        else
19415
 
          tagname=""
19416
 
        fi
19417
 
        ;;
19418
 
 
19419
 
      RC)
19420
 
 
19421
 
 
19422
 
# Source file extension for RC test sources.
19423
 
ac_ext=rc
19424
 
 
19425
 
# Object file extension for compiled RC test sources.
19426
 
objext=o
19427
 
objext_RC=$objext
19428
 
 
19429
 
# Code to be used in simple compile tests
19430
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19431
 
 
19432
 
# Code to be used in simple link tests
19433
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
19434
 
 
19435
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19436
 
 
19437
 
# If no C compiler was specified, use CC.
19438
 
LTCC=${LTCC-"$CC"}
19439
 
 
19440
 
# If no C compiler flags were specified, use CFLAGS.
19441
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19442
 
 
19443
 
# Allow CC to be a program name with arguments.
19444
 
compiler=$CC
19445
 
 
19446
 
 
19447
 
# save warnings/boilerplate of simple test code
19448
 
ac_outfile=conftest.$ac_objext
19449
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19450
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19451
 
_lt_compiler_boilerplate=`cat conftest.err`
19452
 
$rm conftest*
19453
 
 
19454
 
ac_outfile=conftest.$ac_objext
19455
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19456
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19457
 
_lt_linker_boilerplate=`cat conftest.err`
19458
 
$rm -r conftest*
19459
 
 
19460
 
 
19461
 
# Allow CC to be a program name with arguments.
19462
 
lt_save_CC="$CC"
19463
 
CC=${RC-"windres"}
19464
 
compiler=$CC
19465
 
compiler_RC=$CC
19466
 
for cc_temp in $compiler""; do
19467
 
  case $cc_temp in
19468
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19469
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19470
 
    \-*) ;;
19471
 
    *) break;;
19472
 
  esac
19473
 
done
19474
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19475
 
 
19476
 
lt_cv_prog_compiler_c_o_RC=yes
19477
 
 
19478
 
# The else clause should only fire when bootstrapping the
19479
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19480
 
# with your package, and you will get complaints that there are
19481
 
# no rules to generate ltmain.sh.
19482
 
if test -f "$ltmain"; then
19483
 
  # See if we are running on zsh, and set the options which allow our commands through
19484
 
  # without removal of \ escapes.
19485
 
  if test -n "${ZSH_VERSION+set}" ; then
19486
 
    setopt NO_GLOB_SUBST
19487
 
  fi
19488
 
  # Now quote all the things that may contain metacharacters while being
19489
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19490
 
  # variables and quote the copies for generation of the libtool script.
19491
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19492
 
    SED SHELL STRIP \
19493
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19494
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19495
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19496
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19497
 
    lt_cv_sys_global_symbol_to_c_name_address \
19498
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19499
 
    old_postinstall_cmds old_postuninstall_cmds \
19500
 
    compiler_RC \
19501
 
    CC_RC \
19502
 
    LD_RC \
19503
 
    lt_prog_compiler_wl_RC \
19504
 
    lt_prog_compiler_pic_RC \
19505
 
    lt_prog_compiler_static_RC \
19506
 
    lt_prog_compiler_no_builtin_flag_RC \
19507
 
    export_dynamic_flag_spec_RC \
19508
 
    thread_safe_flag_spec_RC \
19509
 
    whole_archive_flag_spec_RC \
19510
 
    enable_shared_with_static_runtimes_RC \
19511
 
    old_archive_cmds_RC \
19512
 
    old_archive_from_new_cmds_RC \
19513
 
    predep_objects_RC \
19514
 
    postdep_objects_RC \
19515
 
    predeps_RC \
19516
 
    postdeps_RC \
19517
 
    compiler_lib_search_path_RC \
19518
 
    compiler_lib_search_dirs_RC \
19519
 
    archive_cmds_RC \
19520
 
    archive_expsym_cmds_RC \
19521
 
    postinstall_cmds_RC \
19522
 
    postuninstall_cmds_RC \
19523
 
    old_archive_from_expsyms_cmds_RC \
19524
 
    allow_undefined_flag_RC \
19525
 
    no_undefined_flag_RC \
19526
 
    export_symbols_cmds_RC \
19527
 
    hardcode_libdir_flag_spec_RC \
19528
 
    hardcode_libdir_flag_spec_ld_RC \
19529
 
    hardcode_libdir_separator_RC \
19530
 
    hardcode_automatic_RC \
19531
 
    module_cmds_RC \
19532
 
    module_expsym_cmds_RC \
19533
 
    lt_cv_prog_compiler_c_o_RC \
19534
 
    fix_srcfile_path_RC \
19535
 
    exclude_expsyms_RC \
19536
 
    include_expsyms_RC; do
19537
 
 
19538
 
    case $var in
19539
 
    old_archive_cmds_RC | \
19540
 
    old_archive_from_new_cmds_RC | \
19541
 
    archive_cmds_RC | \
19542
 
    archive_expsym_cmds_RC | \
19543
 
    module_cmds_RC | \
19544
 
    module_expsym_cmds_RC | \
19545
 
    old_archive_from_expsyms_cmds_RC | \
19546
 
    export_symbols_cmds_RC | \
19547
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19548
 
    postinstall_cmds | postuninstall_cmds | \
19549
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19550
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19551
 
      # Double-quote double-evaled strings.
19552
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19553
 
      ;;
19554
 
    *)
19555
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19556
 
      ;;
19557
 
    esac
19558
 
  done
19559
 
 
19560
 
  case $lt_echo in
19561
 
  *'\$0 --fallback-echo"')
19562
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19563
 
    ;;
19564
 
  esac
19565
 
 
19566
 
cfgfile="$ofile"
19567
 
 
19568
 
  cat <<__EOF__ >> "$cfgfile"
19569
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19570
 
 
19571
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19572
 
 
19573
 
# Shell to use when invoking shell scripts.
19574
 
SHELL=$lt_SHELL
19575
 
 
19576
 
# Whether or not to build shared libraries.
19577
 
build_libtool_libs=$enable_shared
19578
 
 
19579
 
# Whether or not to build static libraries.
19580
 
build_old_libs=$enable_static
19581
 
 
19582
 
# Whether or not to add -lc for building shared libraries.
19583
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
19584
 
 
19585
 
# Whether or not to disallow shared libs when runtime libs are static
19586
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19587
 
 
19588
 
# Whether or not to optimize for fast installation.
19589
 
fast_install=$enable_fast_install
19590
 
 
19591
 
# The host system.
19592
 
host_alias=$host_alias
19593
 
host=$host
19594
 
host_os=$host_os
19595
 
 
19596
 
# The build system.
19597
 
build_alias=$build_alias
19598
 
build=$build
19599
 
build_os=$build_os
19600
 
 
19601
 
# An echo program that does not interpret backslashes.
19602
 
echo=$lt_echo
19603
 
 
19604
 
# The archiver.
19605
 
AR=$lt_AR
19606
 
AR_FLAGS=$lt_AR_FLAGS
19607
 
 
19608
 
# A C compiler.
19609
 
LTCC=$lt_LTCC
19610
 
 
19611
 
# LTCC compiler flags.
19612
 
LTCFLAGS=$lt_LTCFLAGS
19613
 
 
19614
 
# A language-specific compiler.
19615
 
CC=$lt_compiler_RC
19616
 
 
19617
 
# Is the compiler the GNU C compiler?
19618
 
with_gcc=$GCC_RC
19619
 
 
19620
 
# An ERE matcher.
19621
 
EGREP=$lt_EGREP
19622
 
 
19623
 
# The linker used to build libraries.
19624
 
LD=$lt_LD_RC
19625
 
 
19626
 
# Whether we need hard or soft links.
19627
 
LN_S=$lt_LN_S
19628
 
 
19629
 
# A BSD-compatible nm program.
19630
 
NM=$lt_NM
19631
 
 
19632
 
# A symbol stripping program
19633
 
STRIP=$lt_STRIP
19634
 
 
19635
 
# Used to examine libraries when file_magic_cmd begins "file"
19636
 
MAGIC_CMD=$MAGIC_CMD
19637
 
 
19638
 
# Used on cygwin: DLL creation program.
19639
 
DLLTOOL="$DLLTOOL"
19640
 
 
19641
 
# Used on cygwin: object dumper.
19642
 
OBJDUMP="$OBJDUMP"
19643
 
 
19644
 
# Used on cygwin: assembler.
19645
 
AS="$AS"
19646
 
 
19647
 
# The name of the directory that contains temporary libtool files.
19648
 
objdir=$objdir
19649
 
 
19650
 
# How to create reloadable object files.
19651
 
reload_flag=$lt_reload_flag
19652
 
reload_cmds=$lt_reload_cmds
19653
 
 
19654
 
# How to pass a linker flag through the compiler.
19655
 
wl=$lt_lt_prog_compiler_wl_RC
19656
 
 
19657
 
# Object file suffix (normally "o").
19658
 
objext="$ac_objext"
19659
 
 
19660
 
# Old archive suffix (normally "a").
19661
 
libext="$libext"
19662
 
 
19663
 
# Shared library suffix (normally ".so").
19664
 
shrext_cmds='$shrext_cmds'
19665
 
 
19666
 
# Executable file suffix (normally "").
19667
 
exeext="$exeext"
19668
 
 
19669
 
# Additional compiler flags for building library objects.
19670
 
pic_flag=$lt_lt_prog_compiler_pic_RC
19671
 
pic_mode=$pic_mode
19672
 
 
19673
 
# What is the maximum length of a command?
19674
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19675
 
 
19676
 
# Does compiler simultaneously support -c and -o options?
19677
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19678
 
 
19679
 
# Must we lock files when doing compilation?
19680
 
need_locks=$lt_need_locks
19681
 
 
19682
 
# Do we need the lib prefix for modules?
19683
 
need_lib_prefix=$need_lib_prefix
19684
 
 
19685
 
# Do we need a version for libraries?
19686
 
need_version=$need_version
19687
 
 
19688
 
# Whether dlopen is supported.
19689
 
dlopen_support=$enable_dlopen
19690
 
 
19691
 
# Whether dlopen of programs is supported.
19692
 
dlopen_self=$enable_dlopen_self
19693
 
 
19694
 
# Whether dlopen of statically linked programs is supported.
19695
 
dlopen_self_static=$enable_dlopen_self_static
19696
 
 
19697
 
# Compiler flag to prevent dynamic linking.
19698
 
link_static_flag=$lt_lt_prog_compiler_static_RC
19699
 
 
19700
 
# Compiler flag to turn off builtin functions.
19701
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19702
 
 
19703
 
# Compiler flag to allow reflexive dlopens.
19704
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19705
 
 
19706
 
# Compiler flag to generate shared objects directly from archives.
19707
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19708
 
 
19709
 
# Compiler flag to generate thread-safe objects.
19710
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19711
 
 
19712
 
# Library versioning type.
19713
 
version_type=$version_type
19714
 
 
19715
 
# Format of library name prefix.
19716
 
libname_spec=$lt_libname_spec
19717
 
 
19718
 
# List of archive names.  First name is the real one, the rest are links.
19719
 
# The last name is the one that the linker finds with -lNAME.
19720
 
library_names_spec=$lt_library_names_spec
19721
 
 
19722
 
# The coded name of the library, if different from the real name.
19723
 
soname_spec=$lt_soname_spec
19724
 
 
19725
 
# Commands used to build and install an old-style archive.
19726
 
RANLIB=$lt_RANLIB
19727
 
old_archive_cmds=$lt_old_archive_cmds_RC
19728
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19729
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19730
 
 
19731
 
# Create an old-style archive from a shared archive.
19732
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19733
 
 
19734
 
# Create a temporary old-style archive to link instead of a shared archive.
19735
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19736
 
 
19737
 
# Commands used to build and install a shared archive.
19738
 
archive_cmds=$lt_archive_cmds_RC
19739
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19740
 
postinstall_cmds=$lt_postinstall_cmds
19741
 
postuninstall_cmds=$lt_postuninstall_cmds
19742
 
 
19743
 
# Commands used to build a loadable module (assumed same as above if empty)
19744
 
module_cmds=$lt_module_cmds_RC
19745
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
19746
 
 
19747
 
# Commands to strip libraries.
19748
 
old_striplib=$lt_old_striplib
19749
 
striplib=$lt_striplib
19750
 
 
19751
 
# Dependencies to place before the objects being linked to create a
19752
 
# shared library.
19753
 
predep_objects=$lt_predep_objects_RC
19754
 
 
19755
 
# Dependencies to place after the objects being linked to create a
19756
 
# shared library.
19757
 
postdep_objects=$lt_postdep_objects_RC
19758
 
 
19759
 
# Dependencies to place before the objects being linked to create a
19760
 
# shared library.
19761
 
predeps=$lt_predeps_RC
19762
 
 
19763
 
# Dependencies to place after the objects being linked to create a
19764
 
# shared library.
19765
 
postdeps=$lt_postdeps_RC
19766
 
 
19767
 
# The directories searched by this compiler when creating a shared
19768
 
# library
19769
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19770
 
 
19771
 
# The library search path used internally by the compiler when linking
19772
 
# a shared library.
19773
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19774
 
 
19775
 
# Method to check whether dependent libraries are shared objects.
19776
 
deplibs_check_method=$lt_deplibs_check_method
19777
 
 
19778
 
# Command to use when deplibs_check_method == file_magic.
19779
 
file_magic_cmd=$lt_file_magic_cmd
19780
 
 
19781
 
# Flag that allows shared libraries with undefined symbols to be built.
19782
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
19783
 
 
19784
 
# Flag that forces no undefined symbols.
19785
 
no_undefined_flag=$lt_no_undefined_flag_RC
19786
 
 
19787
 
# Commands used to finish a libtool library installation in a directory.
19788
 
finish_cmds=$lt_finish_cmds
19789
 
 
19790
 
# Same as above, but a single script fragment to be evaled but not shown.
19791
 
finish_eval=$lt_finish_eval
19792
 
 
19793
 
# Take the output of nm and produce a listing of raw symbols and C names.
19794
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19795
 
 
19796
 
# Transform the output of nm in a proper C declaration
19797
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19798
 
 
19799
 
# Transform the output of nm in a C name address pair
19800
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19801
 
 
19802
 
# This is the shared library runtime path variable.
19803
 
runpath_var=$runpath_var
19804
 
 
19805
 
# This is the shared library path variable.
19806
 
shlibpath_var=$shlibpath_var
19807
 
 
19808
 
# Is shlibpath searched before the hard-coded library search path?
19809
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19810
 
 
19811
 
# How to hardcode a shared library path into an executable.
19812
 
hardcode_action=$hardcode_action_RC
19813
 
 
19814
 
# Whether we should hardcode library paths into libraries.
19815
 
hardcode_into_libs=$hardcode_into_libs
19816
 
 
19817
 
# Flag to hardcode \$libdir into a binary during linking.
19818
 
# This must work even if \$libdir does not exist.
19819
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19820
 
 
19821
 
# If ld is used when linking, flag to hardcode \$libdir into
19822
 
# a binary during linking. This must work even if \$libdir does
19823
 
# not exist.
19824
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19825
 
 
19826
 
# Whether we need a single -rpath flag with a separated argument.
19827
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19828
 
 
19829
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19830
 
# resulting binary.
19831
 
hardcode_direct=$hardcode_direct_RC
19832
 
 
19833
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19834
 
# resulting binary.
19835
 
hardcode_minus_L=$hardcode_minus_L_RC
19836
 
 
19837
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19838
 
# the resulting binary.
19839
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19840
 
 
19841
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19842
 
# and all subsequent libraries and executables linked against it.
19843
 
hardcode_automatic=$hardcode_automatic_RC
19844
 
 
19845
 
# Variables whose values should be saved in libtool wrapper scripts and
19846
 
# restored at relink time.
19847
 
variables_saved_for_relink="$variables_saved_for_relink"
19848
 
 
19849
 
# Whether libtool must link a program against all its dependency libraries.
19850
 
link_all_deplibs=$link_all_deplibs_RC
19851
 
 
19852
 
# Compile-time system search path for libraries
19853
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19854
 
 
19855
 
# Run-time system search path for libraries
19856
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19857
 
 
19858
 
# Fix the shell variable \$srcfile for the compiler.
19859
 
fix_srcfile_path=$lt_fix_srcfile_path
19860
 
 
19861
 
# Set to yes if exported symbols are required.
19862
 
always_export_symbols=$always_export_symbols_RC
19863
 
 
19864
 
# The commands to list exported symbols.
19865
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
19866
 
 
19867
 
# The commands to extract the exported symbol list from a shared archive.
19868
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19869
 
 
19870
 
# Symbols that should not be listed in the preloaded symbols.
19871
 
exclude_expsyms=$lt_exclude_expsyms_RC
19872
 
 
19873
 
# Symbols that must always be exported.
19874
 
include_expsyms=$lt_include_expsyms_RC
19875
 
 
19876
 
# ### END LIBTOOL TAG CONFIG: $tagname
19877
 
 
19878
 
__EOF__
19879
 
 
19880
 
 
19881
 
else
19882
 
  # If there is no Makefile yet, we rely on a make rule to execute
19883
 
  # `config.status --recheck' to rerun these tests and create the
19884
 
  # libtool script then.
19885
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19886
 
  if test -f "$ltmain_in"; then
19887
 
    test -f Makefile && make "$ltmain"
19888
 
  fi
19889
 
fi
19890
 
 
19891
 
 
19892
 
ac_ext=c
19893
 
ac_cpp='$CPP $CPPFLAGS'
19894
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19895
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19896
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19897
 
 
19898
 
CC="$lt_save_CC"
19899
 
 
19900
 
        ;;
19901
 
 
19902
 
      *)
19903
 
        as_fn_error "Unsupported tag name: $tagname" "$LINENO" 5
19904
 
        ;;
19905
 
      esac
19906
 
 
19907
 
      # Append the new tag name to the list of available tags.
19908
 
      if test -n "$tagname" ; then
19909
 
      available_tags="$available_tags $tagname"
19910
 
    fi
19911
 
    fi
19912
 
  done
19913
 
  IFS="$lt_save_ifs"
19914
 
 
19915
 
  # Now substitute the updated list of available tags.
19916
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19917
 
    mv "${ofile}T" "$ofile"
19918
 
    chmod +x "$ofile"
19919
 
  else
19920
 
    rm -f "${ofile}T"
19921
 
    as_fn_error "unable to update list of available tagged configurations." "$LINENO" 5
19922
 
  fi
19923
 
fi
19924
 
 
19925
 
 
19926
 
 
19927
 
# This can be used to rebuild libtool when needed
19928
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19929
 
 
19930
 
# Always use our own libtool.
19931
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19932
 
 
19933
 
# Prevent multiple expansion
19934
 
 
19935
 
 
19936
 
 
19937
 
 
19938
 
 
19939
 
 
19940
 
 
19941
 
 
19942
 
 
19943
 
 
19944
 
 
19945
 
 
19946
 
 
19947
 
 
19948
 
 
19949
 
 
19950
 
 
19951
 
 
19952
 
 
19953
 
 
19954
 
 
19955
 
 
19956
 
# dolt, a replacement for libtool
19957
 
# Josh Triplett <josh@freedesktop.org>
19958
 
# Extract the first word of "bash", so it can be a program name with args.
19959
 
set dummy bash; ac_word=$2
19960
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19961
 
$as_echo_n "checking for $ac_word... " >&6; }
19962
 
if test "${ac_cv_path_DOLT_BASH+set}" = set; then :
19963
 
  $as_echo_n "(cached) " >&6
19964
 
else
19965
 
  case $DOLT_BASH in
19966
 
  [\\/]* | ?:[\\/]*)
19967
 
  ac_cv_path_DOLT_BASH="$DOLT_BASH" # Let the user override the test with a path.
19968
 
  ;;
19969
 
  *)
19970
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19971
 
for as_dir in $PATH
19972
 
do
19973
 
  IFS=$as_save_IFS
19974
 
  test -z "$as_dir" && as_dir=.
19975
 
    for ac_exec_ext in '' $ac_executable_extensions; do
19976
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19977
 
    ac_cv_path_DOLT_BASH="$as_dir/$ac_word$ac_exec_ext"
19978
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19979
 
    break 2
19980
 
  fi
19981
 
done
19982
 
  done
19983
 
IFS=$as_save_IFS
19984
 
 
19985
 
  ;;
19986
 
esac
19987
 
fi
19988
 
DOLT_BASH=$ac_cv_path_DOLT_BASH
19989
 
if test -n "$DOLT_BASH"; then
19990
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOLT_BASH" >&5
19991
 
$as_echo "$DOLT_BASH" >&6; }
19992
 
else
19993
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19994
 
$as_echo "no" >&6; }
19995
 
fi
19996
 
 
19997
 
 
19998
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if dolt supports this host" >&5
19999
 
$as_echo_n "checking if dolt supports this host... " >&6; }
20000
 
dolt_supported=yes
20001
 
if test x$DOLT_BASH = x; then
20002
 
    dolt_supported=no
20003
 
fi
20004
 
if test x$GCC != xyes; then
20005
 
    dolt_supported=no
20006
 
fi
20007
 
case $host in
20008
 
i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux* \
20009
 
|amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*)
20010
 
    pic_options='-fPIC'
20011
 
    ;;
20012
 
i?86-pc-cygwin*)
20013
 
    pic_options='-DDLL_EXPORT'
20014
 
    ;;
20015
 
i?86-apple-darwin*)
20016
 
    pic_options='-fno-common'
20017
 
    ;;
20018
 
*)
20019
 
    dolt_supported=no
20020
 
    ;;
20021
 
esac
20022
 
if test x$dolt_supported = xno ; then
20023
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, falling back to libtool" >&5
20024
 
$as_echo "no, falling back to libtool" >&6; }
20025
 
    LTCOMPILE='$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)'
20026
 
    LTCXXCOMPILE='$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)'
20027
 
else
20028
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, replacing libtool" >&5
20029
 
$as_echo "yes, replacing libtool" >&6; }
20030
 
 
20031
 
    cat <<__DOLTCOMPILE__EOF__ >doltcompile
20032
 
#!$DOLT_BASH
20033
 
__DOLTCOMPILE__EOF__
20034
 
    cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
20035
 
args=("$@")
20036
 
for ((arg=0; arg<${#args[@]}; arg++)) ; do
20037
 
    if test x"${args[$arg]}" = x-o ; then
20038
 
        objarg=$((arg+1))
20039
 
        break
20040
 
    fi
20041
 
done
20042
 
if test x$objarg = x ; then
20043
 
    echo 'Error: no -o on compiler command line' 1>&2
20044
 
    exit 1
20045
 
fi
20046
 
lo="${args[$objarg]}"
20047
 
obj="${lo%.lo}"
20048
 
if test x"$lo" = x"$obj" ; then
20049
 
    echo "Error: libtool object file name \"$lo\" does not end in .lo" 1>&2
20050
 
    exit 1
20051
 
fi
20052
 
objbase="${obj##*/}"
20053
 
__DOLTCOMPILE__EOF__
20054
 
 
20055
 
    if test x$enable_shared = xyes; then
20056
 
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
20057
 
libobjdir="${obj%$objbase}.libs"
20058
 
if test ! -d "$libobjdir" ; then
20059
 
    mkdir_out="$(mkdir "$libobjdir" 2>&1)"
20060
 
    mkdir_ret=$?
20061
 
    if test "$mkdir_ret" -ne 0 && test ! -d "$libobjdir" ; then
20062
 
        echo "$mkdir_out" 1>&2
20063
 
        exit $mkdir_ret
20064
 
    fi
20065
 
fi
20066
 
pic_object="$libobjdir/$objbase.o"
20067
 
args[$objarg]="$pic_object"
20068
 
__DOLTCOMPILE__EOF__
20069
 
    cat <<__DOLTCOMPILE__EOF__ >>doltcompile
20070
 
"\${args[@]}" $pic_options -DPIC || exit \$?
20071
 
__DOLTCOMPILE__EOF__
20072
 
    fi
20073
 
 
20074
 
    if test x$enable_static = xyes; then
20075
 
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
20076
 
non_pic_object="$obj.o"
20077
 
args[$objarg]="$non_pic_object"
20078
 
__DOLTCOMPILE__EOF__
20079
 
        if test x$enable_shared = xyes; then
20080
 
            cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
20081
 
"${args[@]}" >/dev/null 2>&1 || exit $?
20082
 
__DOLTCOMPILE__EOF__
20083
 
        else
20084
 
            cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
20085
 
"${args[@]}" || exit $?
20086
 
__DOLTCOMPILE__EOF__
20087
 
        fi
20088
 
    fi
20089
 
 
20090
 
    cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
20091
 
{
20092
 
echo "# $lo - a libtool object file"
20093
 
echo "# Generated by doltcompile, not libtool"
20094
 
__DOLTCOMPILE__EOF__
20095
 
 
20096
 
    if test x$enable_shared = xyes; then
20097
 
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
20098
 
echo "pic_object='.libs/${objbase}.o'"
20099
 
__DOLTCOMPILE__EOF__
20100
 
    else
20101
 
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
20102
 
echo pic_object=none
20103
 
__DOLTCOMPILE__EOF__
20104
 
    fi
20105
 
 
20106
 
    if test x$enable_static = xyes; then
20107
 
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
20108
 
echo "non_pic_object='${objbase}.o'"
20109
 
__DOLTCOMPILE__EOF__
20110
 
    else
20111
 
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
20112
 
echo non_pic_object=none
20113
 
__DOLTCOMPILE__EOF__
20114
 
    fi
20115
 
 
20116
 
    cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
20117
 
} > "$lo"
20118
 
__DOLTCOMPILE__EOF__
20119
 
 
20120
 
    chmod +x doltcompile
20121
 
    LTCOMPILE='$(top_builddir)/doltcompile $(COMPILE)'
20122
 
    LTCXXCOMPILE='$(top_builddir)/doltcompile $(CXXCOMPILE)'
20123
 
 
20124
 
    cat <<__DOLTLIBTOOL__EOF__ > doltlibtool
20125
 
#!$DOLT_BASH
20126
 
__DOLTLIBTOOL__EOF__
20127
 
    cat <<'__DOLTLIBTOOL__EOF__' >>doltlibtool
20128
 
top_builddir_slash="${0%%doltlibtool}"
20129
 
: ${top_builddir_slash:=./}
20130
 
args=()
20131
 
modeok=false
20132
 
tagok=false
20133
 
for arg in "$@"; do
20134
 
    case "$arg" in
20135
 
        --mode=compile) modeok=true ;;
20136
 
        --tag=CC|--tag=CXX) tagok=true ;;
20137
 
        *) args[${#args[@]}]="$arg" ;;
20138
 
    esac
20139
 
done
20140
 
if $modeok && $tagok ; then
20141
 
    . ${top_builddir_slash}doltcompile "${args[@]}"
20142
 
else
20143
 
    exec ${top_builddir_slash}libtool "$@"
20144
 
fi
20145
 
__DOLTLIBTOOL__EOF__
20146
 
 
20147
 
    chmod +x doltlibtool
20148
 
    LIBTOOL='$(top_builddir)/doltlibtool'
20149
 
fi
20150
 
 
20151
 
 
20152
 
# end dolt
 
12607
 
 
12608
 
 
12609
 
 
12610
 
 
12611
 
 
12612
 
 
12613
 
 
12614
 
 
12615
 
 
12616
 
 
12617
 
 
12618
 
 
12619
 
 
12620
 
 
12621
 
 
12622
striplib=
 
12623
old_striplib=
 
12624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
12625
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
12626
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
12627
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
12628
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
12629
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12630
$as_echo "yes" >&6; }
 
12631
else
 
12632
# FIXME - insert some real tests, host_os isn't really good enough
 
12633
  case $host_os in
 
12634
  darwin*)
 
12635
    if test -n "$STRIP" ; then
 
12636
      striplib="$STRIP -x"
 
12637
      old_striplib="$STRIP -S"
 
12638
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12639
$as_echo "yes" >&6; }
 
12640
    else
 
12641
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12642
$as_echo "no" >&6; }
 
12643
    fi
 
12644
    ;;
 
12645
  *)
 
12646
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12647
$as_echo "no" >&6; }
 
12648
    ;;
 
12649
  esac
 
12650
fi
 
12651
 
 
12652
 
 
12653
 
 
12654
 
 
12655
 
 
12656
 
 
12657
 
 
12658
 
 
12659
 
 
12660
 
 
12661
 
 
12662
 
 
12663
  # Report which library types will actually be built
 
12664
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
12665
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
12666
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
12667
$as_echo "$can_build_shared" >&6; }
 
12668
 
 
12669
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
12670
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
12671
  test "$can_build_shared" = "no" && enable_shared=no
 
12672
 
 
12673
  # On AIX, shared libraries and static libraries use the same namespace, and
 
12674
  # are all built from PIC.
 
12675
  case $host_os in
 
12676
  aix3*)
 
12677
    test "$enable_shared" = yes && enable_static=no
 
12678
    if test -n "$RANLIB"; then
 
12679
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
12680
      postinstall_cmds='$RANLIB $lib'
 
12681
    fi
 
12682
    ;;
 
12683
 
 
12684
  aix[4-9]*)
 
12685
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
12686
      test "$enable_shared" = yes && enable_static=no
 
12687
    fi
 
12688
    ;;
 
12689
  esac
 
12690
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
12691
$as_echo "$enable_shared" >&6; }
 
12692
 
 
12693
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
12694
$as_echo_n "checking whether to build static libraries... " >&6; }
 
12695
  # Make sure either enable_shared or enable_static is yes.
 
12696
  test "$enable_shared" = yes || enable_static=yes
 
12697
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
12698
$as_echo "$enable_static" >&6; }
 
12699
 
 
12700
 
 
12701
 
 
12702
 
 
12703
fi
 
12704
ac_ext=c
 
12705
ac_cpp='$CPP $CPPFLAGS'
 
12706
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12707
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12708
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12709
 
 
12710
CC="$lt_save_CC"
 
12711
 
 
12712
 
 
12713
 
 
12714
 
 
12715
 
 
12716
 
 
12717
 
 
12718
 
 
12719
 
 
12720
 
 
12721
 
 
12722
 
 
12723
 
 
12724
        ac_config_commands="$ac_config_commands libtool"
 
12725
 
 
12726
 
 
12727
 
 
12728
 
 
12729
# Only expand once:
 
12730
 
20153
12731
 
20154
12732
ac_ext=c
20155
12733
ac_cpp='$CPP $CPPFLAGS'
20161
12739
set dummy ${ac_tool_prefix}gcc; ac_word=$2
20162
12740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20163
12741
$as_echo_n "checking for $ac_word... " >&6; }
20164
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
12742
if ${ac_cv_prog_CC+:} false; then :
20165
12743
  $as_echo_n "(cached) " >&6
20166
12744
else
20167
12745
  if test -n "$CC"; then
20201
12779
set dummy gcc; ac_word=$2
20202
12780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20203
12781
$as_echo_n "checking for $ac_word... " >&6; }
20204
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
12782
if ${ac_cv_prog_ac_ct_CC+:} false; then :
20205
12783
  $as_echo_n "(cached) " >&6
20206
12784
else
20207
12785
  if test -n "$ac_ct_CC"; then
20254
12832
set dummy ${ac_tool_prefix}cc; ac_word=$2
20255
12833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20256
12834
$as_echo_n "checking for $ac_word... " >&6; }
20257
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
12835
if ${ac_cv_prog_CC+:} false; then :
20258
12836
  $as_echo_n "(cached) " >&6
20259
12837
else
20260
12838
  if test -n "$CC"; then
20294
12872
set dummy cc; ac_word=$2
20295
12873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20296
12874
$as_echo_n "checking for $ac_word... " >&6; }
20297
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
12875
if ${ac_cv_prog_CC+:} false; then :
20298
12876
  $as_echo_n "(cached) " >&6
20299
12877
else
20300
12878
  if test -n "$CC"; then
20353
12931
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20354
12932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20355
12933
$as_echo_n "checking for $ac_word... " >&6; }
20356
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
12934
if ${ac_cv_prog_CC+:} false; then :
20357
12935
  $as_echo_n "(cached) " >&6
20358
12936
else
20359
12937
  if test -n "$CC"; then
20397
12975
set dummy $ac_prog; ac_word=$2
20398
12976
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20399
12977
$as_echo_n "checking for $ac_word... " >&6; }
20400
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
12978
if ${ac_cv_prog_ac_ct_CC+:} false; then :
20401
12979
  $as_echo_n "(cached) " >&6
20402
12980
else
20403
12981
  if test -n "$ac_ct_CC"; then
20451
13029
 
20452
13030
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20453
13031
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20454
 
as_fn_error "no acceptable C compiler found in \$PATH
20455
 
See \`config.log' for more details." "$LINENO" 5; }
 
13032
as_fn_error $? "no acceptable C compiler found in \$PATH
 
13033
See \`config.log' for more details" "$LINENO" 5; }
20456
13034
 
20457
13035
# Provide some information about the compiler.
20458
13036
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
20481
13059
 
20482
13060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
20483
13061
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
20484
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
13062
if ${ac_cv_c_compiler_gnu+:} false; then :
20485
13063
  $as_echo_n "(cached) " >&6
20486
13064
else
20487
13065
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20518
13096
ac_save_CFLAGS=$CFLAGS
20519
13097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
20520
13098
$as_echo_n "checking whether $CC accepts -g... " >&6; }
20521
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
13099
if ${ac_cv_prog_cc_g+:} false; then :
20522
13100
  $as_echo_n "(cached) " >&6
20523
13101
else
20524
13102
  ac_save_c_werror_flag=$ac_c_werror_flag
20596
13174
fi
20597
13175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
20598
13176
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
20599
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
13177
if ${ac_cv_prog_cc_c89+:} false; then :
20600
13178
  $as_echo_n "(cached) " >&6
20601
13179
else
20602
13180
  ac_cv_prog_cc_c89=no
20695
13273
 
20696
13274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
20697
13275
$as_echo_n "checking dependency style of $depcc... " >&6; }
20698
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
13276
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
20699
13277
  $as_echo_n "(cached) " >&6
20700
13278
else
20701
13279
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
20819
13397
 
20820
13398
 
20821
13399
 
 
13400
 
 
13401
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
13402
        if test -n "$ac_tool_prefix"; then
 
13403
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
13404
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
13405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13406
$as_echo_n "checking for $ac_word... " >&6; }
 
13407
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
13408
  $as_echo_n "(cached) " >&6
 
13409
else
 
13410
  case $PKG_CONFIG in
 
13411
  [\\/]* | ?:[\\/]*)
 
13412
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
13413
  ;;
 
13414
  *)
 
13415
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13416
for as_dir in $PATH
 
13417
do
 
13418
  IFS=$as_save_IFS
 
13419
  test -z "$as_dir" && as_dir=.
 
13420
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13421
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13422
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
13423
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13424
    break 2
 
13425
  fi
 
13426
done
 
13427
  done
 
13428
IFS=$as_save_IFS
 
13429
 
 
13430
  ;;
 
13431
esac
 
13432
fi
 
13433
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
13434
if test -n "$PKG_CONFIG"; then
 
13435
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
13436
$as_echo "$PKG_CONFIG" >&6; }
 
13437
else
 
13438
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13439
$as_echo "no" >&6; }
 
13440
fi
 
13441
 
 
13442
 
 
13443
fi
 
13444
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
13445
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
13446
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
13447
set dummy pkg-config; ac_word=$2
 
13448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13449
$as_echo_n "checking for $ac_word... " >&6; }
 
13450
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
13451
  $as_echo_n "(cached) " >&6
 
13452
else
 
13453
  case $ac_pt_PKG_CONFIG in
 
13454
  [\\/]* | ?:[\\/]*)
 
13455
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
13456
  ;;
 
13457
  *)
 
13458
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13459
for as_dir in $PATH
 
13460
do
 
13461
  IFS=$as_save_IFS
 
13462
  test -z "$as_dir" && as_dir=.
 
13463
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13464
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13465
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
13466
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13467
    break 2
 
13468
  fi
 
13469
done
 
13470
  done
 
13471
IFS=$as_save_IFS
 
13472
 
 
13473
  ;;
 
13474
esac
 
13475
fi
 
13476
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
13477
if test -n "$ac_pt_PKG_CONFIG"; then
 
13478
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
13479
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
13480
else
 
13481
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13482
$as_echo "no" >&6; }
 
13483
fi
 
13484
 
 
13485
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
13486
    PKG_CONFIG=""
 
13487
  else
 
13488
    case $cross_compiling:$ac_tool_warned in
 
13489
yes:)
 
13490
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
13491
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
13492
ac_tool_warned=yes ;;
 
13493
esac
 
13494
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
13495
  fi
 
13496
else
 
13497
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
13498
fi
 
13499
 
 
13500
fi
 
13501
if test -n "$PKG_CONFIG"; then
 
13502
        _pkg_min_version=0.9.0
 
13503
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
13504
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
13505
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
13506
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13507
$as_echo "yes" >&6; }
 
13508
        else
 
13509
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13510
$as_echo "no" >&6; }
 
13511
                PKG_CONFIG=""
 
13512
        fi
 
13513
 
 
13514
fi
 
13515
 
20822
13516
if test x"$CC_FOR_BUILD" = x; then
20823
13517
        if test x"$cross_compiling" = xyes; then
20824
13518
               for ac_prog in gcc cc
20827
13521
set dummy $ac_prog; ac_word=$2
20828
13522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20829
13523
$as_echo_n "checking for $ac_word... " >&6; }
20830
 
if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then :
 
13524
if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
20831
13525
  $as_echo_n "(cached) " >&6
20832
13526
else
20833
13527
  if test -n "$CC_FOR_BUILD"; then
20869
13563
fi
20870
13564
 
20871
13565
 
20872
 
 
20873
 
 
20874
 
for ac_prog in cpp
20875
 
do
20876
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
20877
 
set dummy $ac_prog; ac_word=$2
20878
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20879
 
$as_echo_n "checking for $ac_word... " >&6; }
20880
 
if test "${ac_cv_path_RAWCPP+set}" = set; then :
20881
 
  $as_echo_n "(cached) " >&6
20882
 
else
20883
 
  case $RAWCPP in
20884
 
  [\\/]* | ?:[\\/]*)
20885
 
  ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
20886
 
  ;;
20887
 
  *)
20888
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20889
 
as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
20890
 
for as_dir in $as_dummy
20891
 
do
20892
 
  IFS=$as_save_IFS
20893
 
  test -z "$as_dir" && as_dir=.
20894
 
    for ac_exec_ext in '' $ac_executable_extensions; do
20895
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20896
 
    ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
20897
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20898
 
    break 2
20899
 
  fi
20900
 
done
20901
 
  done
20902
 
IFS=$as_save_IFS
20903
 
 
20904
 
  ;;
20905
 
esac
20906
 
fi
20907
 
RAWCPP=$ac_cv_path_RAWCPP
20908
 
if test -n "$RAWCPP"; then
20909
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
20910
 
$as_echo "$RAWCPP" >&6; }
20911
 
else
20912
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20913
 
$as_echo "no" >&6; }
20914
 
fi
20915
 
 
20916
 
 
20917
 
  test -n "$RAWCPP" && break
20918
 
done
20919
 
test -n "$RAWCPP" || RAWCPP="${CPP}"
20920
 
 
20921
 
 
20922
 
# Check for flag to avoid builtin definitions - assumes unix is predefined,
20923
 
# which is not the best choice for supporting other OS'es, but covers most
20924
 
# of the ones we need for now.
20925
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
20926
 
$as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
20927
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20928
 
/* end confdefs.h.  */
20929
 
Does cpp redefine unix ?
20930
 
_ACEOF
20931
 
if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
20932
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20933
 
$as_echo "no" >&6; }
20934
 
else
20935
 
        if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
20936
 
                RAWCPPFLAGS=-undef
20937
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20938
 
$as_echo "yes" >&6; }
20939
 
        # under Cygwin unix is still defined even with -undef
20940
 
        elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
20941
 
                RAWCPPFLAGS="-undef -ansi"
20942
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
20943
 
$as_echo "yes, with -ansi" >&6; }
20944
 
        else
20945
 
                as_fn_error "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
20946
 
        fi
20947
 
fi
20948
 
rm -f conftest.$ac_ext
20949
 
 
20950
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
20951
 
$as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
20952
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20953
 
/* end confdefs.h.  */
20954
 
Does cpp preserve   "whitespace"?
20955
 
_ACEOF
20956
 
if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
20957
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20958
 
$as_echo "no" >&6; }
20959
 
else
20960
 
        if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
20961
 
                RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
20962
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20963
 
$as_echo "yes" >&6; }
20964
 
        else
20965
 
                as_fn_error "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
20966
 
        fi
20967
 
fi
20968
 
rm -f conftest.$ac_ext
20969
 
 
20970
 
 
20971
 
 
20972
 
# Find perl for "make check" tests in nls/localerules.in
 
13566
if test x"$CPPFLAGS_FOR_BUILD" = x; then
 
13567
        if test ! x"$cross_compiling" = xyes; then
 
13568
                CPPFLAGS_FOR_BUILD=${CPPFLAGS}
 
13569
        fi
 
13570
fi
 
13571
 
 
13572
 
 
13573
if test x"$CFLAGS_FOR_BUILD" = x; then
 
13574
        if test ! x"$cross_compiling" = xyes; then
 
13575
                CFLAGS_FOR_BUILD=${CFLAGS}
 
13576
        fi
 
13577
fi
 
13578
 
 
13579
 
 
13580
if test x"$LDFLAGS_FOR_BUILD" = x; then
 
13581
        if test ! x"$cross_compiling" = xyes; then
 
13582
                LDFLAGS_FOR_BUILD=${LDFLAGS}
 
13583
        fi
 
13584
fi
 
13585
 
 
13586
 
 
13587
# Find perl for "make check" tests in nls/Makefile.am
20973
13588
 
20974
13589
# Check whether --with-perl was given.
20975
13590
if test "${with_perl+set}" = set; then :
20984
13599
set dummy $ac_prog; ac_word=$2
20985
13600
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20986
13601
$as_echo_n "checking for $ac_word... " >&6; }
20987
 
if test "${ac_cv_prog_PERL+set}" = set; then :
 
13602
if ${ac_cv_prog_PERL+:} false; then :
20988
13603
  $as_echo_n "(cached) " >&6
20989
13604
else
20990
13605
  if test -n "$PERL"; then
21032
13647
fi
21033
13648
 
21034
13649
 
21035
 
# Build with XCB support?
21036
 
 
21037
 
# Check whether --with-xcb was given.
21038
 
if test "${with_xcb+set}" = set; then :
21039
 
  withval=$with_xcb; ac_cv_use_xcb=$withval
21040
 
else
21041
 
  ac_cv_use_xcb=yes
21042
 
fi
21043
 
 
21044
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use XCB" >&5
21045
 
$as_echo_n "checking whether to use XCB... " >&6; }
21046
 
if test "${ac_cv_use_xcb+set}" = set; then :
21047
 
  $as_echo_n "(cached) " >&6
21048
 
else
21049
 
  ac_cv_use_xcb=yes
21050
 
fi
21051
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_use_xcb" >&5
21052
 
$as_echo "$ac_cv_use_xcb" >&6; }
21053
 
 if test x$ac_cv_use_xcb != xno; then
21054
 
  XCB_TRUE=
21055
 
  XCB_FALSE='#'
21056
 
else
21057
 
  XCB_TRUE='#'
21058
 
  XCB_FALSE=
21059
 
fi
21060
 
 
21061
 
 
21062
13650
# Checks for pkg-config packages
21063
13651
 
21064
13652
# Always required
21065
 
X11_REQUIRES='xproto >= 7.0.13 xextproto xtrans'
 
13653
X11_REQUIRES='xproto >= 7.0.13 xextproto xtrans xcb >= 1.1.92'
 
13654
X11_EXTRA_DEPS="xcb >= 1.1.92"
21066
13655
 
21067
13656
 
21068
13657
 
21072
13661
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21073
13662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21074
13663
$as_echo_n "checking for $ac_word... " >&6; }
21075
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
13664
if ${ac_cv_path_PKG_CONFIG+:} false; then :
21076
13665
  $as_echo_n "(cached) " >&6
21077
13666
else
21078
13667
  case $PKG_CONFIG in
21115
13704
set dummy pkg-config; ac_word=$2
21116
13705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21117
13706
$as_echo_n "checking for $ac_word... " >&6; }
21118
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
13707
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
21119
13708
  $as_echo_n "(cached) " >&6
21120
13709
else
21121
13710
  case $ac_pt_PKG_CONFIG in
21181
13770
 
21182
13771
fi
21183
13772
 
21184
 
case "$ac_cv_use_xcb" in
21185
 
no)
21186
 
        X11_REQUIRES="${X11_REQUIRES} xau xcmiscproto bigreqsproto"
21187
 
        X11_EXTRA_DEPS="xau"
21188
 
 
21189
 
pkg_failed=no
21190
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDMCP" >&5
21191
 
$as_echo_n "checking for XDMCP... " >&6; }
21192
 
 
21193
 
if test -n "$XDMCP_CFLAGS"; then
21194
 
    pkg_cv_XDMCP_CFLAGS="$XDMCP_CFLAGS"
21195
 
 elif test -n "$PKG_CONFIG"; then
21196
 
    if test -n "$PKG_CONFIG" && \
21197
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
21198
 
  ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
21199
 
  ac_status=$?
21200
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21201
 
  test $ac_status = 0; }; then
21202
 
  pkg_cv_XDMCP_CFLAGS=`$PKG_CONFIG --cflags "xdmcp" 2>/dev/null`
21203
 
else
21204
 
  pkg_failed=yes
21205
 
fi
21206
 
 else
21207
 
    pkg_failed=untried
21208
 
fi
21209
 
if test -n "$XDMCP_LIBS"; then
21210
 
    pkg_cv_XDMCP_LIBS="$XDMCP_LIBS"
21211
 
 elif test -n "$PKG_CONFIG"; then
21212
 
    if test -n "$PKG_CONFIG" && \
21213
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
21214
 
  ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
21215
 
  ac_status=$?
21216
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21217
 
  test $ac_status = 0; }; then
21218
 
  pkg_cv_XDMCP_LIBS=`$PKG_CONFIG --libs "xdmcp" 2>/dev/null`
21219
 
else
21220
 
  pkg_failed=yes
21221
 
fi
21222
 
 else
21223
 
    pkg_failed=untried
21224
 
fi
21225
 
 
21226
 
 
21227
 
 
21228
 
if test $pkg_failed = yes; then
21229
 
 
21230
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21231
 
        _pkg_short_errors_supported=yes
21232
 
else
21233
 
        _pkg_short_errors_supported=no
21234
 
fi
21235
 
        if test $_pkg_short_errors_supported = yes; then
21236
 
                XDMCP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xdmcp" 2>&1`
21237
 
        else
21238
 
                XDMCP_PKG_ERRORS=`$PKG_CONFIG --print-errors "xdmcp" 2>&1`
21239
 
        fi
21240
 
        # Put the nasty error message in config.log where it belongs
21241
 
        echo "$XDMCP_PKG_ERRORS" >&5
21242
 
 
21243
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21244
 
$as_echo "no" >&6; }
21245
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21246
 
$as_echo "no" >&6; }
21247
 
elif test $pkg_failed = untried; then
21248
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21249
 
$as_echo "no" >&6; }
21250
 
else
21251
 
        XDMCP_CFLAGS=$pkg_cv_XDMCP_CFLAGS
21252
 
        XDMCP_LIBS=$pkg_cv_XDMCP_LIBS
21253
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21254
 
$as_echo "yes" >&6; }
21255
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XdmcpWrap in -lXdmcp" >&5
21256
 
$as_echo_n "checking for XdmcpWrap in -lXdmcp... " >&6; }
21257
 
if test "${ac_cv_lib_Xdmcp_XdmcpWrap+set}" = set; then :
21258
 
  $as_echo_n "(cached) " >&6
21259
 
else
21260
 
  ac_check_lib_save_LIBS=$LIBS
21261
 
LIBS="-lXdmcp $XDMCP_LIBS $LIBS"
21262
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21263
 
/* end confdefs.h.  */
21264
 
 
21265
 
/* Override any GCC internal prototype to avoid an error.
21266
 
   Use char because int might match the return type of a GCC
21267
 
   builtin and then its argument prototype would still apply.  */
21268
 
#ifdef __cplusplus
21269
 
extern "C"
21270
 
#endif
21271
 
char XdmcpWrap ();
21272
 
int
21273
 
main ()
21274
 
{
21275
 
return XdmcpWrap ();
21276
 
  ;
21277
 
  return 0;
21278
 
}
21279
 
_ACEOF
21280
 
if ac_fn_c_try_link "$LINENO"; then :
21281
 
  ac_cv_lib_Xdmcp_XdmcpWrap=yes
21282
 
else
21283
 
  ac_cv_lib_Xdmcp_XdmcpWrap=no
21284
 
fi
21285
 
rm -f core conftest.err conftest.$ac_objext \
21286
 
    conftest$ac_exeext conftest.$ac_ext
21287
 
LIBS=$ac_check_lib_save_LIBS
21288
 
fi
21289
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdmcp_XdmcpWrap" >&5
21290
 
$as_echo "$ac_cv_lib_Xdmcp_XdmcpWrap" >&6; }
21291
 
if test "x$ac_cv_lib_Xdmcp_XdmcpWrap" = x""yes; then :
21292
 
 
21293
 
                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XdmcpWrap in -lXdmcp" >&5
21294
 
$as_echo_n "checking for XdmcpWrap in -lXdmcp... " >&6; }
21295
 
if test "${ac_cv_lib_Xdmcp_XdmcpWrap+set}" = set; then :
21296
 
  $as_echo_n "(cached) " >&6
21297
 
else
21298
 
  ac_check_lib_save_LIBS=$LIBS
21299
 
LIBS="-lXdmcp $XDMCP_LIBS $LIBS"
21300
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21301
 
/* end confdefs.h.  */
21302
 
 
21303
 
/* Override any GCC internal prototype to avoid an error.
21304
 
   Use char because int might match the return type of a GCC
21305
 
   builtin and then its argument prototype would still apply.  */
21306
 
#ifdef __cplusplus
21307
 
extern "C"
21308
 
#endif
21309
 
char XdmcpWrap ();
21310
 
int
21311
 
main ()
21312
 
{
21313
 
return XdmcpWrap ();
21314
 
  ;
21315
 
  return 0;
21316
 
}
21317
 
_ACEOF
21318
 
if ac_fn_c_try_link "$LINENO"; then :
21319
 
  ac_cv_lib_Xdmcp_XdmcpWrap=yes
21320
 
else
21321
 
  ac_cv_lib_Xdmcp_XdmcpWrap=no
21322
 
fi
21323
 
rm -f core conftest.err conftest.$ac_objext \
21324
 
    conftest$ac_exeext conftest.$ac_ext
21325
 
LIBS=$ac_check_lib_save_LIBS
21326
 
fi
21327
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdmcp_XdmcpWrap" >&5
21328
 
$as_echo "$ac_cv_lib_Xdmcp_XdmcpWrap" >&6; }
21329
 
if test "x$ac_cv_lib_Xdmcp_XdmcpWrap" = x""yes; then :
21330
 
  xdmauth="yes"
21331
 
else
21332
 
  xdmauth="no"
21333
 
fi
21334
 
 
21335
 
                        X11_EXTRA_DEPS="$X11_EXTRA_DEPS xdmcp"
21336
 
 
21337
 
else
21338
 
 
21339
 
                        XDMCP_CFLAGS=
21340
 
                        XDMCP_LIBS=
21341
 
 
21342
 
fi
21343
 
 
21344
 
fi
21345
 
 
21346
 
$as_echo "#define USE_XCB 0" >>confdefs.h
21347
 
 
21348
 
        ;;
21349
 
*)
21350
 
        X11_REQUIRES="${X11_REQUIRES} xcb >= 1.1.92"
21351
 
        X11_EXTRA_DEPS="xcb >= 1.1.92"
21352
 
        xdmauth="no" # XCB handles all auth
21353
 
 
21354
 
$as_echo "#define USE_XCB 1" >>confdefs.h
21355
 
 
21356
 
        ;;
21357
 
esac
21358
13773
 
21359
13774
 
21360
13775
 
21362
13777
# Transport selection macro from xtrans.m4
21363
13778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
21364
13779
$as_echo_n "checking return type of signal handlers... " >&6; }
21365
 
if test "${ac_cv_type_signal+set}" = set; then :
 
13780
if ${ac_cv_type_signal+:} false; then :
21366
13781
  $as_echo_n "(cached) " >&6
21367
13782
else
21368
13783
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21435
13850
 # SVR4 hides these in libraries other than libc
21436
13851
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
21437
13852
$as_echo_n "checking for library containing socket... " >&6; }
21438
 
if test "${ac_cv_search_socket+set}" = set; then :
 
13853
if ${ac_cv_search_socket+:} false; then :
21439
13854
  $as_echo_n "(cached) " >&6
21440
13855
else
21441
13856
  ac_func_search_save_LIBS=$LIBS
21469
13884
fi
21470
13885
rm -f core conftest.err conftest.$ac_objext \
21471
13886
    conftest$ac_exeext
21472
 
  if test "${ac_cv_search_socket+set}" = set; then :
 
13887
  if ${ac_cv_search_socket+:} false; then :
21473
13888
  break
21474
13889
fi
21475
13890
done
21476
 
if test "${ac_cv_search_socket+set}" = set; then :
 
13891
if ${ac_cv_search_socket+:} false; then :
21477
13892
 
21478
13893
else
21479
13894
  ac_cv_search_socket=no
21491
13906
 
21492
13907
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
21493
13908
$as_echo_n "checking for library containing gethostbyname... " >&6; }
21494
 
if test "${ac_cv_search_gethostbyname+set}" = set; then :
 
13909
if ${ac_cv_search_gethostbyname+:} false; then :
21495
13910
  $as_echo_n "(cached) " >&6
21496
13911
else
21497
13912
  ac_func_search_save_LIBS=$LIBS
21525
13940
fi
21526
13941
rm -f core conftest.err conftest.$ac_objext \
21527
13942
    conftest$ac_exeext
21528
 
  if test "${ac_cv_search_gethostbyname+set}" = set; then :
 
13943
  if ${ac_cv_search_gethostbyname+:} false; then :
21529
13944
  break
21530
13945
fi
21531
13946
done
21532
 
if test "${ac_cv_search_gethostbyname+set}" = set; then :
 
13947
if ${ac_cv_search_gethostbyname+:} false; then :
21533
13948
 
21534
13949
else
21535
13950
  ac_cv_search_gethostbyname=no
21548
13963
 if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
21549
13964
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
21550
13965
$as_echo_n "checking for main in -lws2_32... " >&6; }
21551
 
if test "${ac_cv_lib_ws2_32_main+set}" = set; then :
 
13966
if ${ac_cv_lib_ws2_32_main+:} false; then :
21552
13967
  $as_echo_n "(cached) " >&6
21553
13968
else
21554
13969
  ac_check_lib_save_LIBS=$LIBS
21576
13991
fi
21577
13992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
21578
13993
$as_echo "$ac_cv_lib_ws2_32_main" >&6; }
21579
 
if test "x$ac_cv_lib_ws2_32_main" = x""yes; then :
 
13994
if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
21580
13995
  cat >>confdefs.h <<_ACEOF
21581
13996
#define HAVE_LIBWS2_32 1
21582
13997
_ACEOF
21594
14009
  enableval=$enable_ipv6; IPV6CONN=$enableval
21595
14010
else
21596
14011
  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
21597
 
if test "x$ac_cv_func_getaddrinfo" = x""yes; then :
 
14012
if test "x$ac_cv_func_getaddrinfo" = xyes; then :
21598
14013
  IPV6CONN=yes
21599
14014
else
21600
14015
  IPV6CONN=no
21619
14034
#include <netinet/in.h>
21620
14035
 
21621
14036
"
21622
 
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
 
14037
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
21623
14038
 
21624
14039
$as_echo "#define BSD44SOCKETS 1" >>confdefs.h
21625
14040
 
21631
14046
$ac_includes_default
21632
14047
#include <sys/socket.h>
21633
14048
"
21634
 
if test "x$ac_cv_type_socklen_t" = x""yes; then :
 
14049
if test "x$ac_cv_type_socklen_t" = xyes; then :
21635
14050
 
21636
14051
cat >>confdefs.h <<_ACEOF
21637
14052
#define HAVE_SOCKLEN_T 1
21682
14097
do :
21683
14098
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21684
14099
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21685
 
eval as_val=\$$as_ac_var
21686
 
   if test "x$as_val" = x""yes; then :
 
14100
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
21687
14101
  cat >>confdefs.h <<_ACEOF
21688
14102
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21689
14103
_ACEOF
21693
14107
 
21694
14108
        if test "x$FOUND_SECURE_RPC" = "xno" ; then
21695
14109
                if test "x$SECURE_RPC" = "xyes" ; then
21696
 
        as_fn_error "Secure RPC requested, but required functions not found" "$LINENO" 5
 
14110
        as_fn_error $? "Secure RPC requested, but required functions not found" "$LINENO" 5
21697
14111
                fi
21698
14112
                SECURE_RPC="no"
21699
14113
        else
21700
14114
                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getsecretkey" >&5
21701
14115
$as_echo_n "checking for library containing getsecretkey... " >&6; }
21702
 
if test "${ac_cv_search_getsecretkey+set}" = set; then :
 
14116
if ${ac_cv_search_getsecretkey+:} false; then :
21703
14117
  $as_echo_n "(cached) " >&6
21704
14118
else
21705
14119
  ac_func_search_save_LIBS=$LIBS
21733
14147
fi
21734
14148
rm -f core conftest.err conftest.$ac_objext \
21735
14149
    conftest$ac_exeext
21736
 
  if test "${ac_cv_search_getsecretkey+set}" = set; then :
 
14150
  if ${ac_cv_search_getsecretkey+:} false; then :
21737
14151
  break
21738
14152
fi
21739
14153
done
21740
 
if test "${ac_cv_search_getsecretkey+set}" = set; then :
 
14154
if ${ac_cv_search_getsecretkey+:} false; then :
21741
14155
 
21742
14156
else
21743
14157
  ac_cv_search_getsecretkey=no
21770
14184
# Preferred order to try transports for local connections
21771
14185
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what order to try transports in for local connections" >&5
21772
14186
$as_echo_n "checking what order to try transports in for local connections... " >&6; }
 
14187
DEFAULT_LOCAL_TRANS=""
21773
14188
case $host_os in
21774
14189
        solaris*)
21775
14190
                # On Solaris 2.6 through 9, named pipes (LOCAL_TRANS) were
21776
14191
                # faster than Unix domain sockets, but on Solaris 10 & later,
21777
14192
                # Unix domain sockets are faster now.
21778
 
                DEFAULT_LOCAL_TRANS="UNIX_TRANS,LOCAL_TRANS,TCP_TRANS"
 
14193
                if test "$UNIXCONN" = "yes" ; then
 
14194
                        if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
 
14195
                                DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
 
14196
                        fi
 
14197
                        DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}UNIX_TRANS"
 
14198
                fi
 
14199
                if test "$LOCALCONN" = "yes" ; then
 
14200
                        if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
 
14201
                                DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
 
14202
                        fi
 
14203
                        DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}LOCAL_TRANS"
 
14204
                fi
 
14205
                if test "$TCPCONN" = "yes" ; then
 
14206
                        if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
 
14207
                                DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
 
14208
                        fi
 
14209
                        DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}TCP_TRANS"
 
14210
                fi
 
14211
                ;;
 
14212
        linux*)
 
14213
                # LOCAL_TRANS is used for abstract sockets.
 
14214
                if test "$UNIXCONN" = "yes" ; then
 
14215
                        if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
 
14216
                                DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
 
14217
                        fi
 
14218
                        DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}LOCAL_TRANS,UNIX_TRANS"
 
14219
                fi
 
14220
                if test "$TCPCONN" = "yes" ; then
 
14221
                        if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
 
14222
                                DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
 
14223
                        fi
 
14224
                        DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}TCP_TRANS"
 
14225
                fi
21779
14226
                ;;
21780
14227
        *)
21781
 
                if test "$LOCALCONN" = "yes"; then
21782
 
                        DEFAULT_LOCAL_TRANS="LOCAL_TRANS,UNIX_TRANS,TCP_TRANS"
21783
 
                else
21784
 
                        DEFAULT_LOCAL_TRANS="UNIX_TRANS,TCP_TRANS"
 
14228
                if test "$LOCALCONN" = "yes" ; then
 
14229
                        if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
 
14230
                                DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
 
14231
                        fi
 
14232
                        DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}LOCAL_TRANS"
 
14233
                fi
 
14234
                if test "$UNIXCONN" = "yes" ; then
 
14235
                        if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
 
14236
                                DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
 
14237
                        fi
 
14238
                        DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}UNIX_TRANS"
 
14239
                fi
 
14240
                if test "$TCPCONN" = "yes" ; then
 
14241
                        if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
 
14242
                                DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
 
14243
                        fi
 
14244
                        DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}TCP_TRANS"
21785
14245
                fi
21786
14246
                ;;
21787
14247
esac
21807
14267
$as_echo_n "checking if run-time linking is supported... " >&6; }
21808
14268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
21809
14269
$as_echo_n "checking for library containing dlopen... " >&6; }
21810
 
if test "${ac_cv_search_dlopen+set}" = set; then :
 
14270
if ${ac_cv_search_dlopen+:} false; then :
21811
14271
  $as_echo_n "(cached) " >&6
21812
14272
else
21813
14273
  ac_func_search_save_LIBS=$LIBS
21841
14301
fi
21842
14302
rm -f core conftest.err conftest.$ac_objext \
21843
14303
    conftest$ac_exeext
21844
 
  if test "${ac_cv_search_dlopen+set}" = set; then :
 
14304
  if ${ac_cv_search_dlopen+:} false; then :
21845
14305
  break
21846
14306
fi
21847
14307
done
21848
 
if test "${ac_cv_search_dlopen+set}" = set; then :
 
14308
if ${ac_cv_search_dlopen+:} false; then :
21849
14309
 
21850
14310
else
21851
14311
  ac_cv_search_dlopen=no
21864
14324
if test "x$ac_cv_search_dlopen" = xno; then
21865
14325
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shl_load" >&5
21866
14326
$as_echo_n "checking for library containing shl_load... " >&6; }
21867
 
if test "${ac_cv_search_shl_load+set}" = set; then :
 
14327
if ${ac_cv_search_shl_load+:} false; then :
21868
14328
  $as_echo_n "(cached) " >&6
21869
14329
else
21870
14330
  ac_func_search_save_LIBS=$LIBS
21898
14358
fi
21899
14359
rm -f core conftest.err conftest.$ac_objext \
21900
14360
    conftest$ac_exeext
21901
 
  if test "${ac_cv_search_shl_load+set}" = set; then :
 
14361
  if ${ac_cv_search_shl_load+:} false; then :
21902
14362
  break
21903
14363
fi
21904
14364
done
21905
 
if test "${ac_cv_search_shl_load+set}" = set; then :
 
14365
if ${ac_cv_search_shl_load+:} false; then :
21906
14366
 
21907
14367
else
21908
14368
  ac_cv_search_shl_load=no
21925
14385
                for ac_header in dl.h
21926
14386
do :
21927
14387
  ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default"
21928
 
if test "x$ac_cv_header_dl_h" = x""yes; then :
 
14388
if test "x$ac_cv_header_dl_h" = xyes; then :
21929
14389
  cat >>confdefs.h <<_ACEOF
21930
14390
#define HAVE_DL_H 1
21931
14391
_ACEOF
21942
14402
        for ac_header in dlfcn.h
21943
14403
do :
21944
14404
  ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
21945
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
14405
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
21946
14406
  cat >>confdefs.h <<_ACEOF
21947
14407
#define HAVE_DLFCN_H 1
21948
14408
_ACEOF
21971
14431
 
21972
14432
if test x$XLIB_LOADABLE_I18N = xyes; then
21973
14433
        if test x$HAVE_LOADABLE_MODULES = xno; then
21974
 
                as_fn_error "Loadable module support is required to enable loadable i18n module support" "$LINENO" 5
 
14434
                as_fn_error $? "Loadable module support is required to enable loadable i18n module support" "$LINENO" 5
21975
14435
        fi
21976
14436
 
21977
14437
$as_echo "#define USE_DYNAMIC_LC 1" >>confdefs.h
22011
14471
# Checks for header files.
22012
14472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
22013
14473
$as_echo_n "checking for ANSI C header files... " >&6; }
22014
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
14474
if ${ac_cv_header_stdc+:} false; then :
22015
14475
  $as_echo_n "(cached) " >&6
22016
14476
else
22017
14477
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22124
14584
for ac_header in sys/select.h
22125
14585
do :
22126
14586
  ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
22127
 
if test "x$ac_cv_header_sys_select_h" = x""yes; then :
 
14587
if test "x$ac_cv_header_sys_select_h" = xyes; then :
22128
14588
  cat >>confdefs.h <<_ACEOF
22129
14589
#define HAVE_SYS_SELECT_H 1
22130
14590
_ACEOF
22140
14600
for ac_func in strtol
22141
14601
do :
22142
14602
  ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
22143
 
if test "x$ac_cv_func_strtol" = x""yes; then :
 
14603
if test "x$ac_cv_func_strtol" = xyes; then :
22144
14604
  cat >>confdefs.h <<_ACEOF
22145
14605
#define HAVE_STRTOL 1
22146
14606
_ACEOF
22151
14611
# Used in lcFile.c (see also --enable-xlocaledir settings below)
22152
14612
XLOCALEDIR_IS_SAFE="no"
22153
14613
ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid"
22154
 
if test "x$ac_cv_func_issetugid" = x""yes; then :
 
14614
if test "x$ac_cv_func_issetugid" = xyes; then :
22155
14615
  XLOCALEDIR_IS_SAFE="yes"
22156
14616
 
22157
14617
$as_echo "#define HASSETUGID 1" >>confdefs.h
22159
14619
fi
22160
14620
 
22161
14621
ac_fn_c_check_func "$LINENO" "getresuid" "ac_cv_func_getresuid"
22162
 
if test "x$ac_cv_func_getresuid" = x""yes; then :
 
14622
if test "x$ac_cv_func_getresuid" = xyes; then :
22163
14623
  XLOCALEDIR_IS_SAFE="yes"
22164
14624
 
22165
14625
$as_echo "#define HASGETRESUID 1" >>confdefs.h
22168
14628
 
22169
14629
# Used in Font.c
22170
14630
ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
22171
 
if test "x$ac_cv_func_shmat" = x""yes; then :
 
14631
if test "x$ac_cv_func_shmat" = xyes; then :
22172
14632
 
22173
14633
$as_echo "#define HAS_SHM 1" >>confdefs.h
22174
14634
 
22179
14639
 
22180
14640
# arch specific things
22181
14641
WCHAR32="1"
22182
 
case $target_alias in
22183
 
  *os2*) os2="true" ; WCHAR32="0" ;;
 
14642
case $host_os in
 
14643
  os2*) os2="true" ; WCHAR32="0" ;;
22184
14644
  *) ;;
22185
14645
esac
22186
14646
 
22208
14668
set dummy launchd; ac_word=$2
22209
14669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22210
14670
$as_echo_n "checking for $ac_word... " >&6; }
22211
 
if test "${ac_cv_prog_LAUNCHD+set}" = set; then :
 
14671
if ${ac_cv_prog_LAUNCHD+:} false; then :
22212
14672
  $as_echo_n "(cached) " >&6
22213
14673
else
22214
14674
  if test -n "$LAUNCHD"; then
22215
14675
  ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
22216
14676
else
22217
14677
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22218
 
for as_dir in $PATH
 
14678
for as_dir in $PATH$PATH_SEPARATOR/sbin
22219
14679
do
22220
14680
  IFS=$as_save_IFS
22221
14681
  test -z "$as_dir" && as_dir=.
22263
14723
 
22264
14724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwuid_r in -lc" >&5
22265
14725
$as_echo_n "checking for getpwuid_r in -lc... " >&6; }
22266
 
if test "${ac_cv_lib_c_getpwuid_r+set}" = set; then :
 
14726
if ${ac_cv_lib_c_getpwuid_r+:} false; then :
22267
14727
  $as_echo_n "(cached) " >&6
22268
14728
else
22269
14729
  ac_check_lib_save_LIBS=$LIBS
22297
14757
fi
22298
14758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpwuid_r" >&5
22299
14759
$as_echo "$ac_cv_lib_c_getpwuid_r" >&6; }
22300
 
if test "x$ac_cv_lib_c_getpwuid_r" = x""yes; then :
 
14760
if test "x$ac_cv_lib_c_getpwuid_r" = xyes; then :
22301
14761
  mtsafeapi="yes"
22302
14762
else
22303
14763
  mtsafeapi="no"
22322
14782
 
22323
14783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lc" >&5
22324
14784
$as_echo_n "checking for pthread_self in -lc... " >&6; }
22325
 
if test "${ac_cv_lib_c_pthread_self+set}" = set; then :
 
14785
if ${ac_cv_lib_c_pthread_self+:} false; then :
22326
14786
  $as_echo_n "(cached) " >&6
22327
14787
else
22328
14788
  ac_check_lib_save_LIBS=$LIBS
22356
14816
fi
22357
14817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_self" >&5
22358
14818
$as_echo "$ac_cv_lib_c_pthread_self" >&6; }
22359
 
if test "x$ac_cv_lib_c_pthread_self" = x""yes; then :
 
14819
if test "x$ac_cv_lib_c_pthread_self" = xyes; then :
22360
14820
  thrstubs="no"
22361
14821
else
22362
14822
  thrstubs="yes"
22390
14850
 
22391
14851
 
22392
14852
 
22393
 
case x$xdmauth in
22394
 
xyes)
22395
 
        XDMCP_CFLAGS="$XDMCP_CFLAGS -DHASXDMAUTH"
22396
 
        ;;
22397
 
xno)
22398
 
        XDMCP_LIBS=""
22399
 
        ;;
22400
 
esac
22401
 
 
22402
 
 
22403
 
 
22404
14853
ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
22405
 
if test "x$ac_cv_func_poll" = x""yes; then :
 
14854
if test "x$ac_cv_func_poll" = xyes; then :
22406
14855
 
22407
14856
$as_echo "#define USE_POLL 1" >>confdefs.h
22408
14857
 
22412
14861
#
22413
14862
# Find keysymdef.h
22414
14863
#
22415
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking keysymdef.h" >&5
22416
 
$as_echo_n "checking keysymdef.h... " >&6; }
22417
 
dir=`pkg-config --variable=includedir xproto`
22418
 
KEYSYMDEF="$dir/X11/keysymdef.h"
22419
 
if test -f "$KEYSYMDEF"; then
22420
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEF" >&5
22421
 
$as_echo "$KEYSYMDEF" >&6; }
22422
 
else
22423
 
        as_fn_error "Cannot find keysymdef.h" "$LINENO" 5
22424
 
fi
 
14864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking keysym definitions" >&5
 
14865
$as_echo_n "checking keysym definitions... " >&6; }
 
14866
KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11
 
14867
FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
 
14868
for i in $FILES; do
 
14869
    if test -f "$KEYSYMDEFDIR/$i"; then
 
14870
            KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
 
14871
    elif test "x$i" = "xkeysymdef.h"; then
 
14872
            as_fn_error $? "Cannot find keysymdef.h" "$LINENO" 5
 
14873
    fi
 
14874
done
 
14875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5
 
14876
$as_echo "$KEYSYMDEFS" >&6; }
22425
14877
 
22426
14878
 
22427
14879
 if test xfalse = xtrue; then
22585
15037
fi
22586
15038
 
22587
15039
 
22588
 
# Check whether --enable-man-pages was given.
22589
 
if test "${enable_man_pages+set}" = set; then :
22590
 
  enableval=$enable_man_pages; LIBMAN=$enableval
22591
 
else
22592
 
  LIBMAN=yes
22593
 
fi
22594
 
 
22595
 
 
22596
 
if test "x$LIBMAN" != "xyes"; then
22597
 
        LIB_MAN_SUFFIX=$LIBMAN
22598
 
fi
22599
 
 
22600
 
 if  test x$LIBMAN '!=' xno ; then
22601
 
  MANPAGES_TRUE=
22602
 
  MANPAGES_FALSE='#'
22603
 
else
22604
 
  MANPAGES_TRUE='#'
22605
 
  MANPAGES_FALSE=
22606
 
fi
22607
 
 
22608
 
 
22609
15040
 if  test x$XKB = xyes ; then
22610
15041
  XKB_TRUE=
22611
15042
  XKB_FALSE='#'
22633
15064
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22634
15065
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
22635
15066
"
22636
 
eval as_val=\$$as_ac_Header
22637
 
   if test "x$as_val" = x""yes; then :
 
15067
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22638
15068
  cat >>confdefs.h <<_ACEOF
22639
15069
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22640
15070
_ACEOF
22653
15083
for ac_func in getpagesize
22654
15084
do :
22655
15085
  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
22656
 
if test "x$ac_cv_func_getpagesize" = x""yes; then :
 
15086
if test "x$ac_cv_func_getpagesize" = xyes; then :
22657
15087
  cat >>confdefs.h <<_ACEOF
22658
15088
#define HAVE_GETPAGESIZE 1
22659
15089
_ACEOF
22663
15093
 
22664
15094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
22665
15095
$as_echo_n "checking for working mmap... " >&6; }
22666
 
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
 
15096
if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
22667
15097
  $as_echo_n "(cached) " >&6
22668
15098
else
22669
15099
  if test "$cross_compiling" = yes; then :
22740
15170
main ()
22741
15171
{
22742
15172
  char *data, *data2, *data3;
 
15173
  const char *cdata2;
22743
15174
  int i, pagesize;
22744
15175
  int fd, fd2;
22745
15176
 
22764
15195
  fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
22765
15196
  if (fd2 < 0)
22766
15197
    return 4;
22767
 
  data2 = "";
22768
 
  if (write (fd2, data2, 1) != 1)
 
15198
  cdata2 = "";
 
15199
  if (write (fd2, cdata2, 1) != 1)
22769
15200
    return 5;
22770
 
  data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
 
15201
  data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
22771
15202
  if (data2 == MAP_FAILED)
22772
15203
    return 6;
22773
15204
  for (i = 0; i < pagesize; ++i)
22828
15259
 
22829
15260
composecache_default=$ac_cv_func_mmap_fixed_mapped
22830
15261
ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
22831
 
if test "x$ac_cv_func_nl_langinfo" = x""yes; then :
 
15262
if test "x$ac_cv_func_nl_langinfo" = xyes; then :
22832
15263
 
22833
15264
else
22834
15265
  composecache_default=no
22849
15280
 
22850
15281
 
22851
15282
 
22852
 
# Allow checking code with lint, sparse, etc.
 
15283
 
 
15284
 
22853
15285
 
22854
15286
# Check whether --with-lint was given.
22855
15287
if test "${with_lint+set}" = set; then :
22858
15290
  use_lint=no
22859
15291
fi
22860
15292
 
22861
 
if test "x$use_lint" = "xyes" ; then
22862
 
        LINT="lint"
22863
 
else
22864
 
        LINT="$use_lint"
22865
 
fi
22866
 
if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
22867
 
    case $LINT in
22868
 
        lint|*/lint)
22869
 
            case $host_os in
22870
 
                solaris*)
22871
 
                        LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
22872
 
                        ;;
22873
 
            esac
22874
 
            ;;
22875
 
    esac
22876
 
fi
22877
 
 
22878
 
 
22879
 
 
22880
 
 if test x$LINT != xno; then
 
15293
 
 
15294
# Obtain platform specific info like program name and options
 
15295
# The lint program on FreeBSD and NetBSD is different from the one on Solaris
 
15296
case $host_os in
 
15297
  *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
 
15298
        lint_name=splint
 
15299
        lint_options="-badflag"
 
15300
        ;;
 
15301
  *freebsd* | *netbsd*)
 
15302
        lint_name=lint
 
15303
        lint_options="-u -b"
 
15304
        ;;
 
15305
  *solaris*)
 
15306
        lint_name=lint
 
15307
        lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
 
15308
        ;;
 
15309
esac
 
15310
 
 
15311
# Test for the presence of the program (either guessed by the code or spelled out by the user)
 
15312
if test "x$use_lint" = x"yes" ; then
 
15313
   # Extract the first word of "$lint_name", so it can be a program name with args.
 
15314
set dummy $lint_name; ac_word=$2
 
15315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15316
$as_echo_n "checking for $ac_word... " >&6; }
 
15317
if ${ac_cv_path_LINT+:} false; then :
 
15318
  $as_echo_n "(cached) " >&6
 
15319
else
 
15320
  case $LINT in
 
15321
  [\\/]* | ?:[\\/]*)
 
15322
  ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
 
15323
  ;;
 
15324
  *)
 
15325
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15326
for as_dir in $PATH
 
15327
do
 
15328
  IFS=$as_save_IFS
 
15329
  test -z "$as_dir" && as_dir=.
 
15330
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15331
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15332
    ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
 
15333
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15334
    break 2
 
15335
  fi
 
15336
done
 
15337
  done
 
15338
IFS=$as_save_IFS
 
15339
 
 
15340
  ;;
 
15341
esac
 
15342
fi
 
15343
LINT=$ac_cv_path_LINT
 
15344
if test -n "$LINT"; then
 
15345
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
 
15346
$as_echo "$LINT" >&6; }
 
15347
else
 
15348
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15349
$as_echo "no" >&6; }
 
15350
fi
 
15351
 
 
15352
 
 
15353
   if test "x$LINT" = "x"; then
 
15354
        as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
 
15355
   fi
 
15356
elif test "x$use_lint" = x"no" ; then
 
15357
   if test "x$LINT" != "x"; then
 
15358
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
 
15359
$as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
 
15360
   fi
 
15361
else
 
15362
   as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
 
15363
fi
 
15364
 
 
15365
# User supplied flags override default flags
 
15366
if test "x$LINT_FLAGS" != "x"; then
 
15367
   lint_options=$LINT_FLAGS
 
15368
fi
 
15369
 
 
15370
LINT_FLAGS=$lint_options
 
15371
 
 
15372
 if test "x$LINT" != x; then
22881
15373
  LINT_TRUE=
22882
15374
  LINT_FALSE='#'
22883
15375
else
22889
15381
 
22890
15382
 
22891
15383
 
22892
 
# Build lint "library" for more indepth checks of programs calling this library
22893
15384
# Check whether --enable-lint-library was given.
22894
15385
if test "${enable_lint_library+set}" = set; then :
22895
15386
  enableval=$enable_lint_library; make_lint_lib=$enableval
22897
15388
  make_lint_lib=no
22898
15389
fi
22899
15390
 
22900
 
if test "x$make_lint_lib" != "xno" ; then
22901
 
        if test "x$LINT" = "xno" ; then
22902
 
                as_fn_error "Cannot make lint library without --with-lint" "$LINENO" 5
22903
 
        fi
22904
 
        if test "x$make_lint_lib" = "xyes" ; then
22905
 
                LINTLIB=llib-lX11.ln
22906
 
        else
22907
 
                LINTLIB=$make_lint_lib
22908
 
        fi
 
15391
 
 
15392
if test "x$make_lint_lib" = x"yes" ; then
 
15393
   LINTLIB=llib-lX11.ln
 
15394
   if test "x$LINT" = "x"; then
 
15395
        as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
 
15396
   fi
 
15397
elif test "x$make_lint_lib" != x"no" ; then
 
15398
   as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
22909
15399
fi
22910
15400
 
 
15401
 
22911
15402
 if test x$make_lint_lib != xno; then
22912
15403
  MAKE_LINT_LIB_TRUE=
22913
15404
  MAKE_LINT_LIB_FALSE='#'
22925
15416
  exec_prefix_NONE=
22926
15417
  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
22927
15418
  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
22928
 
  eval ac_define_dir="\"$X11_DATADIR\""
22929
 
  eval ac_define_dir="\"$ac_define_dir\""
22930
 
  X11_DATADIR="$ac_define_dir"
 
15419
  eval ax_define_dir="\"$X11_DATADIR\""
 
15420
  eval ax_define_dir="\"$ax_define_dir\""
 
15421
  X11_DATADIR="$ax_define_dir"
22931
15422
 
22932
15423
 
22933
15424
cat >>confdefs.h <<_ACEOF
22934
 
#define X11_DATADIR "$ac_define_dir"
 
15425
#define X11_DATADIR "$ax_define_dir"
22935
15426
_ACEOF
22936
15427
 
22937
15428
  test "$prefix_NONE" && prefix=NONE
22945
15436
  exec_prefix_NONE=
22946
15437
  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
22947
15438
  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
22948
 
  eval ac_define_dir="\"$X11_LIBDIR\""
22949
 
  eval ac_define_dir="\"$ac_define_dir\""
22950
 
  X11_LIBDIR="$ac_define_dir"
 
15439
  eval ax_define_dir="\"$X11_LIBDIR\""
 
15440
  eval ax_define_dir="\"$ax_define_dir\""
 
15441
  X11_LIBDIR="$ax_define_dir"
22951
15442
 
22952
15443
 
22953
15444
cat >>confdefs.h <<_ACEOF
22954
 
#define X11_LIBDIR "$ac_define_dir"
 
15445
#define X11_LIBDIR "$ax_define_dir"
22955
15446
_ACEOF
22956
15447
 
22957
15448
  test "$prefix_NONE" && prefix=NONE
23014
15505
        # Put the nasty error message in config.log where it belongs
23015
15506
        echo "$X11_PKG_ERRORS" >&5
23016
15507
 
23017
 
        as_fn_error "Package requirements ($X11_REQUIRES) were not met:
 
15508
        as_fn_error $? "Package requirements ($X11_REQUIRES) were not met:
23018
15509
 
23019
15510
$X11_PKG_ERRORS
23020
15511
 
23028
15519
elif test $pkg_failed = untried; then
23029
15520
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23030
15521
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23031
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
15522
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
23032
15523
is in your PATH or set the PKG_CONFIG environment variable to the full
23033
15524
path to pkg-config.
23034
15525
 
23037
15528
See the pkg-config man page for more details.
23038
15529
 
23039
15530
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23040
 
See \`config.log' for more details." "$LINENO" 5; }
 
15531
See \`config.log' for more details" "$LINENO" 5; }
23041
15532
else
23042
15533
        X11_CFLAGS=$pkg_cv_X11_CFLAGS
23043
15534
        X11_LIBS=$pkg_cv_X11_LIBS
23045
15536
$as_echo "yes" >&6; }
23046
15537
        :
23047
15538
fi
23048
 
X11_CFLAGS="$CWARNFLAGS $X11_CFLAGS $XTHREAD_CFLAGS"
23049
 
 
23050
 
 
 
15539
X11_CFLAGS="$X11_CFLAGS $XTHREAD_CFLAGS"
23051
15540
 
23052
15541
#
23053
15542
# Yes, it would be nice to put the locale data in
23063
15552
  exec_prefix_NONE=
23064
15553
  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
23065
15554
  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
23066
 
  eval ac_define_dir="\"$X11_LOCALEDATADIR\""
23067
 
  eval ac_define_dir="\"$ac_define_dir\""
23068
 
  XLOCALEDATADIR="$ac_define_dir"
 
15555
  eval ax_define_dir="\"$X11_LOCALEDATADIR\""
 
15556
  eval ax_define_dir="\"$ax_define_dir\""
 
15557
  XLOCALEDATADIR="$ax_define_dir"
23069
15558
 
23070
15559
 
23071
15560
cat >>confdefs.h <<_ACEOF
23072
 
#define XLOCALEDATADIR "$ac_define_dir"
 
15561
#define XLOCALEDATADIR "$ax_define_dir"
23073
15562
_ACEOF
23074
15563
 
23075
15564
  test "$prefix_NONE" && prefix=NONE
23090
15579
  exec_prefix_NONE=
23091
15580
  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
23092
15581
  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
23093
 
  eval ac_define_dir="\"$X11_LOCALELIBDIR\""
23094
 
  eval ac_define_dir="\"$ac_define_dir\""
23095
 
  XLOCALELIBDIR="$ac_define_dir"
 
15582
  eval ax_define_dir="\"$X11_LOCALELIBDIR\""
 
15583
  eval ax_define_dir="\"$ax_define_dir\""
 
15584
  XLOCALELIBDIR="$ax_define_dir"
23096
15585
 
23097
15586
 
23098
15587
cat >>confdefs.h <<_ACEOF
23099
 
#define XLOCALELIBDIR "$ac_define_dir"
 
15588
#define XLOCALELIBDIR "$ax_define_dir"
23100
15589
_ACEOF
23101
15590
 
23102
15591
  test "$prefix_NONE" && prefix=NONE
23110
15599
  exec_prefix_NONE=
23111
15600
  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
23112
15601
  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
23113
 
  eval ac_define_dir="\"$X11_LOCALEDIR\""
23114
 
  eval ac_define_dir="\"$ac_define_dir\""
23115
 
  XLOCALEDIR="$ac_define_dir"
 
15602
  eval ax_define_dir="\"$X11_LOCALEDIR\""
 
15603
  eval ax_define_dir="\"$ax_define_dir\""
 
15604
  XLOCALEDIR="$ax_define_dir"
23116
15605
 
23117
15606
 
23118
15607
cat >>confdefs.h <<_ACEOF
23119
 
#define XLOCALEDIR "$ac_define_dir"
 
15608
#define XLOCALEDIR "$ax_define_dir"
23120
15609
_ACEOF
23121
15610
 
23122
15611
  test "$prefix_NONE" && prefix=NONE
23130
15619
  exec_prefix_NONE=
23131
15620
  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
23132
15621
  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
23133
 
  eval ac_define_dir="\"$XKEYSYMDB\""
23134
 
  eval ac_define_dir="\"$ac_define_dir\""
23135
 
  XKEYSYMDB="$ac_define_dir"
 
15622
  eval ax_define_dir="\"$XKEYSYMDB\""
 
15623
  eval ax_define_dir="\"$ax_define_dir\""
 
15624
  XKEYSYMDB="$ax_define_dir"
23136
15625
 
23137
15626
 
23138
15627
cat >>confdefs.h <<_ACEOF
23139
 
#define XKEYSYMDB "$ac_define_dir"
 
15628
#define XKEYSYMDB "$ax_define_dir"
23140
15629
_ACEOF
23141
15630
 
23142
15631
  test "$prefix_NONE" && prefix=NONE
23149
15638
  exec_prefix_NONE=
23150
15639
  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
23151
15640
  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
23152
 
  eval ac_define_dir="\"$XERRORDB\""
23153
 
  eval ac_define_dir="\"$ac_define_dir\""
23154
 
  XERRORDB="$ac_define_dir"
 
15641
  eval ax_define_dir="\"$XERRORDB\""
 
15642
  eval ax_define_dir="\"$ax_define_dir\""
 
15643
  XERRORDB="$ax_define_dir"
23155
15644
 
23156
15645
 
23157
15646
cat >>confdefs.h <<_ACEOF
23158
 
#define XERRORDB "$ac_define_dir"
 
15647
#define XERRORDB "$ax_define_dir"
23159
15648
_ACEOF
23160
15649
 
23161
15650
  test "$prefix_NONE" && prefix=NONE
23180
15669
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23181
15670
/* end confdefs.h.  */
23182
15671
 
23183
 
char *malloc();
23184
 
char *realloc();
23185
 
char *calloc();
23186
 
main() {
 
15672
#include <stdlib.h>
 
15673
 
 
15674
int
 
15675
main ()
 
15676
{
 
15677
 
23187
15678
    char *m0, *r0, *c0, *p;
23188
15679
    m0 = malloc(0);
23189
15680
    p = malloc(10);
23190
15681
    r0 = realloc(p,0);
23191
 
    c0 = calloc(0);
23192
 
    exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
 
15682
    c0 = calloc(0,10);
 
15683
    exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
 
15684
 
 
15685
  ;
 
15686
  return 0;
23193
15687
}
23194
15688
_ACEOF
23195
15689
if ac_fn_c_try_run "$LINENO"; then :
23220
15714
 
23221
15715
 
23222
15716
 
23223
 
# Specification documents are currently provided in troff format
23224
 
 
23225
 
for ac_prog in groff
23226
 
do
23227
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
23228
 
set dummy $ac_prog; ac_word=$2
23229
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23230
 
$as_echo_n "checking for $ac_word... " >&6; }
23231
 
if test "${ac_cv_path_GROFF+set}" = set; then :
23232
 
  $as_echo_n "(cached) " >&6
23233
 
else
23234
 
  case $GROFF in
23235
 
  [\\/]* | ?:[\\/]*)
23236
 
  ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path.
23237
 
  ;;
23238
 
  *)
23239
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23240
 
as_dummy="$PATH:/usr/gnu/bin"
23241
 
for as_dir in $as_dummy
23242
 
do
23243
 
  IFS=$as_save_IFS
23244
 
  test -z "$as_dir" && as_dir=.
23245
 
    for ac_exec_ext in '' $ac_executable_extensions; do
23246
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23247
 
    ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext"
23248
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23249
 
    break 2
23250
 
  fi
23251
 
done
23252
 
  done
23253
 
IFS=$as_save_IFS
23254
 
 
23255
 
  ;;
23256
 
esac
23257
 
fi
23258
 
GROFF=$ac_cv_path_GROFF
23259
 
if test -n "$GROFF"; then
23260
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GROFF" >&5
23261
 
$as_echo "$GROFF" >&6; }
23262
 
else
23263
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23264
 
$as_echo "no" >&6; }
23265
 
fi
23266
 
 
23267
 
 
23268
 
  test -n "$GROFF" && break
23269
 
done
23270
 
test -n "$GROFF" || GROFF="none"
23271
 
 
23272
 
 
23273
 
 
23274
 
for ac_prog in ps2pdf
23275
 
do
23276
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
23277
 
set dummy $ac_prog; ac_word=$2
23278
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23279
 
$as_echo_n "checking for $ac_word... " >&6; }
23280
 
if test "${ac_cv_path_PS2PDF+set}" = set; then :
23281
 
  $as_echo_n "(cached) " >&6
23282
 
else
23283
 
  case $PS2PDF in
23284
 
  [\\/]* | ?:[\\/]*)
23285
 
  ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path.
23286
 
  ;;
23287
 
  *)
23288
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23289
 
as_dummy="$PATH:/usr/gnu/bin"
23290
 
for as_dir in $as_dummy
23291
 
do
23292
 
  IFS=$as_save_IFS
23293
 
  test -z "$as_dir" && as_dir=.
23294
 
    for ac_exec_ext in '' $ac_executable_extensions; do
23295
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23296
 
    ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext"
23297
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23298
 
    break 2
23299
 
  fi
23300
 
done
23301
 
  done
23302
 
IFS=$as_save_IFS
23303
 
 
23304
 
  ;;
23305
 
esac
23306
 
fi
23307
 
PS2PDF=$ac_cv_path_PS2PDF
23308
 
if test -n "$PS2PDF"; then
23309
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PS2PDF" >&5
23310
 
$as_echo "$PS2PDF" >&6; }
23311
 
else
23312
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23313
 
$as_echo "no" >&6; }
23314
 
fi
23315
 
 
23316
 
 
23317
 
  test -n "$PS2PDF" && break
23318
 
done
23319
 
test -n "$PS2PDF" || PS2PDF="none"
23320
 
 
23321
 
 
23322
 
if test "x${GROFF}" != xnone ; then
23323
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${GROFF} -ms works" >&5
23324
 
$as_echo_n "checking whether ${GROFF} -ms works... " >&6; }
23325
 
    if ${GROFF} -ms -I. /dev/null >/dev/null 2>&1 ; then
23326
 
        groff_ms_works=yes
23327
 
    else
23328
 
        groff_ms_works=no
23329
 
        GROFF=none
23330
 
    fi
23331
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${groff_ms_works}" >&5
23332
 
$as_echo "${groff_ms_works}" >&6; }
23333
 
fi
23334
 
 
23335
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build specifications" >&5
23336
 
$as_echo_n "checking whether to build specifications... " >&6; }
23337
 
# Check whether --enable-specs was given.
23338
 
if test "${enable_specs+set}" = set; then :
23339
 
  enableval=$enable_specs; build_specs="${enableval}"
23340
 
else
23341
 
  build_specs="auto"
23342
 
fi
23343
 
 
23344
 
 
23345
 
if test "x${build_specs}" = xauto; then
23346
 
    if test "x${GROFF}" = xnone ; then
23347
 
        build_specs=no
23348
 
    else
23349
 
        build_specs=yes
23350
 
    fi
23351
 
fi
23352
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${build_specs}" >&5
23353
 
$as_echo "${build_specs}" >&6; }
23354
 
if test "x${build_specs}" = xyes && test "x${GROFF}" = xnone ; then
23355
 
    as_fn_error "can't build documentation without groff" "$LINENO" 5
23356
 
fi
23357
 
 
23358
 
 if test x$build_specs = xyes; then
23359
 
  BUILD_SPECS_TRUE=
23360
 
  BUILD_SPECS_FALSE='#'
23361
 
else
23362
 
  BUILD_SPECS_TRUE='#'
23363
 
  BUILD_SPECS_FALSE=
23364
 
fi
23365
 
 
23366
 
 if test x$PS2PDF != xnone; then
23367
 
  HAVE_PS2PDF_TRUE=
23368
 
  HAVE_PS2PDF_FALSE='#'
23369
 
else
23370
 
  HAVE_PS2PDF_TRUE='#'
23371
 
  HAVE_PS2PDF_FALSE=
23372
 
fi
23373
 
 
23374
 
 
23375
 
 
23376
 
ac_config_files="$ac_config_files Makefile include/Makefile man/Makefile man/xkb/Makefile src/Makefile src/util/Makefile src/xcms/Makefile src/xlibi18n/Makefile modules/Makefile modules/im/Makefile modules/im/ximcp/Makefile modules/lc/Makefile modules/lc/def/Makefile modules/lc/gen/Makefile modules/lc/Utf8/Makefile modules/lc/xlocale/Makefile modules/om/Makefile modules/om/generic/Makefile src/xkb/Makefile nls/Makefile nls/am_ET.UTF-8/Makefile nls/armscii-8/Makefile nls/C/Makefile nls/el_GR.UTF-8/Makefile nls/en_US.UTF-8/Makefile nls/fi_FI.UTF-8/Makefile nls/georgian-academy/Makefile nls/georgian-ps/Makefile nls/ibm-cp1133/Makefile nls/iscii-dev/Makefile nls/isiri-3342/Makefile nls/iso8859-1/Makefile nls/iso8859-10/Makefile nls/iso8859-11/Makefile nls/iso8859-13/Makefile nls/iso8859-14/Makefile nls/iso8859-15/Makefile nls/iso8859-2/Makefile nls/iso8859-3/Makefile nls/iso8859-4/Makefile nls/iso8859-5/Makefile nls/iso8859-6/Makefile nls/iso8859-7/Makefile nls/iso8859-8/Makefile nls/iso8859-9/Makefile nls/iso8859-9e/Makefile nls/ja/Makefile nls/ja.JIS/Makefile nls/ja_JP.UTF-8/Makefile nls/ja.S90/Makefile nls/ja.SJIS/Makefile nls/ja.U90/Makefile nls/ko/Makefile nls/koi8-c/Makefile nls/koi8-r/Makefile nls/koi8-u/Makefile nls/ko_KR.UTF-8/Makefile nls/microsoft-cp1251/Makefile nls/microsoft-cp1255/Makefile nls/microsoft-cp1256/Makefile nls/mulelao-1/Makefile nls/nokhchi-1/Makefile nls/pt_BR.UTF-8/Makefile nls/ru_RU.UTF-8/Makefile nls/tatar-cyr/Makefile nls/th_TH/Makefile nls/th_TH.UTF-8/Makefile nls/tscii-0/Makefile nls/vi_VN.tcvn/Makefile nls/vi_VN.viscii/Makefile nls/zh_CN/Makefile nls/zh_CN.gb18030/Makefile nls/zh_CN.gbk/Makefile nls/zh_CN.UTF-8/Makefile nls/zh_HK.big5/Makefile nls/zh_HK.big5hkscs/Makefile nls/zh_HK.UTF-8/Makefile nls/zh_TW/Makefile nls/zh_TW.big5/Makefile nls/zh_TW.UTF-8/Makefile specs/Makefile specs/i18n/Makefile specs/libX11/Makefile specs/XIM/Makefile x11.pc x11-xcb.pc"
 
15717
ac_config_files="$ac_config_files Makefile include/Makefile man/Makefile man/xkb/Makefile src/Makefile src/util/Makefile src/xcms/Makefile src/xlibi18n/Makefile modules/Makefile modules/im/Makefile modules/im/ximcp/Makefile modules/lc/Makefile modules/lc/def/Makefile modules/lc/gen/Makefile modules/lc/Utf8/Makefile modules/lc/xlocale/Makefile modules/om/Makefile modules/om/generic/Makefile src/xkb/Makefile nls/Makefile specs/Makefile specs/i18n/Makefile specs/i18n/framework/Makefile specs/i18n/localedb/Makefile specs/i18n/trans/Makefile specs/libX11/Makefile specs/XIM/Makefile specs/XKB/Makefile x11.pc x11-xcb.pc"
23377
15718
 
23378
15719
cat >confcache <<\_ACEOF
23379
15720
# This file is a shell script that caches the results of configure
23439
15780
     :end' >>confcache
23440
15781
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23441
15782
  if test -w "$cache_file"; then
23442
 
    test "x$cache_file" != "x/dev/null" &&
 
15783
    if test "x$cache_file" != "x/dev/null"; then
23443
15784
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23444
15785
$as_echo "$as_me: updating cache $cache_file" >&6;}
23445
 
    cat confcache >$cache_file
 
15786
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
15787
        cat confcache >"$cache_file"
 
15788
      else
 
15789
        case $cache_file in #(
 
15790
        */* | ?:*)
 
15791
          mv -f confcache "$cache_file"$$ &&
 
15792
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
15793
        *)
 
15794
          mv -f confcache "$cache_file" ;;
 
15795
        esac
 
15796
      fi
 
15797
    fi
23446
15798
  else
23447
15799
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23448
15800
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23458
15810
 
23459
15811
ac_libobjs=
23460
15812
ac_ltlibobjs=
 
15813
U=
23461
15814
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23462
15815
  # 1. Remove the extension, and $U if already installed.
23463
15816
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23481
15834
fi
23482
15835
 
23483
15836
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23484
 
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
15837
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
23485
15838
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23486
15839
fi
23487
15840
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23488
 
  as_fn_error "conditional \"AMDEP\" was never defined.
23489
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23490
 
fi
23491
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23492
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
23493
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23494
 
fi
23495
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23496
 
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
23497
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23498
 
fi
23499
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23500
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
15841
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
15842
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15843
fi
 
15844
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
15845
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
15846
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15847
fi
 
15848
if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
 
15849
  as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
 
15850
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15851
fi
 
15852
if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
 
15853
  as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
 
15854
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15855
fi
 
15856
if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
 
15857
  as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
 
15858
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15859
fi
 
15860
if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
 
15861
  as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
 
15862
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15863
fi
 
15864
if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
 
15865
  as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
 
15866
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15867
fi
 
15868
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
15869
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
23501
15870
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23502
15871
fi
23503
15872
if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
23504
 
  as_fn_error "conditional \"HAVE_PERL\" was never defined.
23505
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23506
 
fi
23507
 
if test -z "${XCB_TRUE}" && test -z "${XCB_FALSE}"; then
23508
 
  as_fn_error "conditional \"XCB\" was never defined.
 
15873
  as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
23509
15874
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23510
15875
fi
23511
15876
if test -z "${XLIB_LOADABLE_I18N_TRUE}" && test -z "${XLIB_LOADABLE_I18N_FALSE}"; then
23512
 
  as_fn_error "conditional \"XLIB_LOADABLE_I18N\" was never defined.
 
15877
  as_fn_error $? "conditional \"XLIB_LOADABLE_I18N\" was never defined.
23513
15878
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23514
15879
fi
23515
15880
if test -z "${OS2_TRUE}" && test -z "${OS2_FALSE}"; then
23516
 
  as_fn_error "conditional \"OS2\" was never defined.
 
15881
  as_fn_error $? "conditional \"OS2\" was never defined.
23517
15882
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23518
15883
fi
23519
15884
if test -z "${THRSTUBS_TRUE}" && test -z "${THRSTUBS_FALSE}"; then
23520
 
  as_fn_error "conditional \"THRSTUBS\" was never defined.
 
15885
  as_fn_error $? "conditional \"THRSTUBS\" was never defined.
23521
15886
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23522
15887
fi
23523
15888
if test -z "${UDC_TRUE}" && test -z "${UDC_FALSE}"; then
23524
 
  as_fn_error "conditional \"UDC\" was never defined.
 
15889
  as_fn_error $? "conditional \"UDC\" was never defined.
23525
15890
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23526
15891
fi
23527
15892
if test -z "${XCMS_TRUE}" && test -z "${XCMS_FALSE}"; then
23528
 
  as_fn_error "conditional \"XCMS\" was never defined.
 
15893
  as_fn_error $? "conditional \"XCMS\" was never defined.
23529
15894
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23530
15895
fi
23531
15896
if test -z "${XLOCALE_TRUE}" && test -z "${XLOCALE_FALSE}"; then
23532
 
  as_fn_error "conditional \"XLOCALE\" was never defined.
23533
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23534
 
fi
23535
 
if test -z "${MANPAGES_TRUE}" && test -z "${MANPAGES_FALSE}"; then
23536
 
  as_fn_error "conditional \"MANPAGES\" was never defined.
 
15897
  as_fn_error $? "conditional \"XLOCALE\" was never defined.
23537
15898
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23538
15899
fi
23539
15900
if test -z "${XKB_TRUE}" && test -z "${XKB_FALSE}"; then
23540
 
  as_fn_error "conditional \"XKB\" was never defined.
 
15901
  as_fn_error $? "conditional \"XKB\" was never defined.
23541
15902
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23542
15903
fi
23543
15904
if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
23544
 
  as_fn_error "conditional \"LINT\" was never defined.
 
15905
  as_fn_error $? "conditional \"LINT\" was never defined.
23545
15906
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23546
15907
fi
23547
15908
if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
23548
 
  as_fn_error "conditional \"MAKE_LINT_LIB\" was never defined.
23549
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23550
 
fi
23551
 
if test -z "${BUILD_SPECS_TRUE}" && test -z "${BUILD_SPECS_FALSE}"; then
23552
 
  as_fn_error "conditional \"BUILD_SPECS\" was never defined.
23553
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23554
 
fi
23555
 
if test -z "${HAVE_PS2PDF_TRUE}" && test -z "${HAVE_PS2PDF_FALSE}"; then
23556
 
  as_fn_error "conditional \"HAVE_PS2PDF\" was never defined.
 
15909
  as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
23557
15910
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23558
15911
fi
23559
15912
 
23560
 
: ${CONFIG_STATUS=./config.status}
 
15913
: "${CONFIG_STATUS=./config.status}"
23561
15914
ac_write_fail=0
23562
15915
ac_clean_files_save=$ac_clean_files
23563
15916
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23658
16011
IFS=" ""        $as_nl"
23659
16012
 
23660
16013
# Find who we are.  Look in the path if we contain no directory separator.
 
16014
as_myself=
23661
16015
case $0 in #((
23662
16016
  *[\\/]* ) as_myself=$0 ;;
23663
16017
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23703
16057
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23704
16058
 
23705
16059
 
23706
 
# as_fn_error ERROR [LINENO LOG_FD]
23707
 
# ---------------------------------
 
16060
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
16061
# ----------------------------------------
23708
16062
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23709
16063
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23710
 
# script with status $?, using 1 if that was 0.
 
16064
# script with STATUS, using 1 if that was 0.
23711
16065
as_fn_error ()
23712
16066
{
23713
 
  as_status=$?; test $as_status -eq 0 && as_status=1
23714
 
  if test "$3"; then
23715
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23716
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
16067
  as_status=$1; test $as_status -eq 0 && as_status=1
 
16068
  if test "$4"; then
 
16069
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
16070
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23717
16071
  fi
23718
 
  $as_echo "$as_me: error: $1" >&2
 
16072
  $as_echo "$as_me: error: $2" >&2
23719
16073
  as_fn_exit $as_status
23720
16074
} # as_fn_error
23721
16075
 
23911
16265
      test -d "$as_dir" && break
23912
16266
    done
23913
16267
    test -z "$as_dirs" || eval "mkdir $as_dirs"
23914
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
16268
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23915
16269
 
23916
16270
 
23917
16271
} # as_fn_mkdir_p
23964
16318
# report actual input values of CONFIG_FILES etc. instead of their
23965
16319
# values after options handling.
23966
16320
ac_log="
23967
 
This file was extended by libX11 $as_me 1.3.3, which was
23968
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
16321
This file was extended by libX11 $as_me 1.4.1, which was
 
16322
generated by GNU Autoconf 2.68.  Invocation command line was
23969
16323
 
23970
16324
  CONFIG_FILES    = $CONFIG_FILES
23971
16325
  CONFIG_HEADERS  = $CONFIG_HEADERS
24030
16384
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24031
16385
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
24032
16386
ac_cs_version="\\
24033
 
libX11 config.status 1.3.3
24034
 
configured by $0, generated by GNU Autoconf 2.65,
 
16387
libX11 config.status 1.4.1
 
16388
configured by $0, generated by GNU Autoconf 2.68,
24035
16389
  with options \\"\$ac_cs_config\\"
24036
16390
 
24037
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
16391
Copyright (C) 2010 Free Software Foundation, Inc.
24038
16392
This config.status script is free software; the Free Software Foundation
24039
16393
gives unlimited permission to copy, distribute and modify it."
24040
16394
 
24052
16406
while test $# != 0
24053
16407
do
24054
16408
  case $1 in
24055
 
  --*=*)
 
16409
  --*=?*)
24056
16410
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
24057
16411
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24058
16412
    ac_shift=:
24059
16413
    ;;
 
16414
  --*=)
 
16415
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
16416
    ac_optarg=
 
16417
    ac_shift=:
 
16418
    ;;
24060
16419
  *)
24061
16420
    ac_option=$1
24062
16421
    ac_optarg=$2
24078
16437
    $ac_shift
24079
16438
    case $ac_optarg in
24080
16439
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
16440
    '') as_fn_error $? "missing file argument" ;;
24081
16441
    esac
24082
16442
    as_fn_append CONFIG_FILES " '$ac_optarg'"
24083
16443
    ac_need_defaults=false;;
24090
16450
    ac_need_defaults=false;;
24091
16451
  --he | --h)
24092
16452
    # Conflict between --help and --header
24093
 
    as_fn_error "ambiguous option: \`$1'
 
16453
    as_fn_error $? "ambiguous option: \`$1'
24094
16454
Try \`$0 --help' for more information.";;
24095
16455
  --help | --hel | -h )
24096
16456
    $as_echo "$ac_cs_usage"; exit ;;
24099
16459
    ac_cs_silent=: ;;
24100
16460
 
24101
16461
  # This is an error.
24102
 
  -*) as_fn_error "unrecognized option: \`$1'
 
16462
  -*) as_fn_error $? "unrecognized option: \`$1'
24103
16463
Try \`$0 --help' for more information." ;;
24104
16464
 
24105
16465
  *) as_fn_append ac_config_targets " $1"
24145
16505
#
24146
16506
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24147
16507
 
 
16508
 
 
16509
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
16510
# if CDPATH is set.
 
16511
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
16512
 
 
16513
sed_quote_subst='$sed_quote_subst'
 
16514
double_quote_subst='$double_quote_subst'
 
16515
delay_variable_subst='$delay_variable_subst'
 
16516
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
16517
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
16518
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
16519
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
16520
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
16521
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
16522
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
16523
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
16524
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
16525
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
16526
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
16527
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
16528
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
16529
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
16530
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
16531
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
16532
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
16533
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
16534
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
16535
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
16536
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
16537
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
16538
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
16539
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
16540
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
16541
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
16542
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
16543
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
16544
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
16545
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
16546
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
16547
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
16548
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
16549
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
16550
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
16551
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
16552
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
16553
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
16554
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
16555
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
16556
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
16557
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
16558
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
16559
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
16560
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16561
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16562
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
16563
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
16564
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
16565
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
16566
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
16567
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
16568
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
16569
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
16570
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
16571
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
16572
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
16573
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
16574
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
16575
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
16576
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
16577
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
16578
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
16579
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
16580
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
16581
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
16582
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
16583
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
16584
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
16585
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
16586
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
16587
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
16588
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
16589
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
16590
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
16591
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
16592
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
16593
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16594
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16595
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
16596
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
16597
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
16598
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
16599
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
16600
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
16601
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
16602
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
16603
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
16604
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
16605
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16606
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
16607
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
16608
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
16609
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
16610
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
16611
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
16612
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
16613
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
16614
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
16615
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
16616
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
16617
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
16618
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
16619
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
16620
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
16621
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
16622
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
16623
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
16624
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
16625
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
16626
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
16627
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
16628
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
16629
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
16630
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
16631
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
16632
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
16633
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16634
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16635
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
16636
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
16637
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
16638
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
16639
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
16640
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
16641
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
16642
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
16643
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
16644
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
16645
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
16646
 
 
16647
LTCC='$LTCC'
 
16648
LTCFLAGS='$LTCFLAGS'
 
16649
compiler='$compiler_DEFAULT'
 
16650
 
 
16651
# A function that is used when there is no print builtin or printf.
 
16652
func_fallback_echo ()
 
16653
{
 
16654
  eval 'cat <<_LTECHO_EOF
 
16655
\$1
 
16656
_LTECHO_EOF'
 
16657
}
 
16658
 
 
16659
# Quote evaled strings.
 
16660
for var in SHELL \
 
16661
ECHO \
 
16662
SED \
 
16663
GREP \
 
16664
EGREP \
 
16665
FGREP \
 
16666
LD \
 
16667
NM \
 
16668
LN_S \
 
16669
lt_SP2NL \
 
16670
lt_NL2SP \
 
16671
reload_flag \
 
16672
OBJDUMP \
 
16673
deplibs_check_method \
 
16674
file_magic_cmd \
 
16675
file_magic_glob \
 
16676
want_nocaseglob \
 
16677
DLLTOOL \
 
16678
sharedlib_from_linklib_cmd \
 
16679
AR \
 
16680
AR_FLAGS \
 
16681
archiver_list_spec \
 
16682
STRIP \
 
16683
RANLIB \
 
16684
CC \
 
16685
CFLAGS \
 
16686
compiler \
 
16687
lt_cv_sys_global_symbol_pipe \
 
16688
lt_cv_sys_global_symbol_to_cdecl \
 
16689
lt_cv_sys_global_symbol_to_c_name_address \
 
16690
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
16691
nm_file_list_spec \
 
16692
lt_prog_compiler_no_builtin_flag \
 
16693
lt_prog_compiler_pic \
 
16694
lt_prog_compiler_wl \
 
16695
lt_prog_compiler_static \
 
16696
lt_cv_prog_compiler_c_o \
 
16697
need_locks \
 
16698
MANIFEST_TOOL \
 
16699
DSYMUTIL \
 
16700
NMEDIT \
 
16701
LIPO \
 
16702
OTOOL \
 
16703
OTOOL64 \
 
16704
shrext_cmds \
 
16705
export_dynamic_flag_spec \
 
16706
whole_archive_flag_spec \
 
16707
compiler_needs_object \
 
16708
with_gnu_ld \
 
16709
allow_undefined_flag \
 
16710
no_undefined_flag \
 
16711
hardcode_libdir_flag_spec \
 
16712
hardcode_libdir_flag_spec_ld \
 
16713
hardcode_libdir_separator \
 
16714
exclude_expsyms \
 
16715
include_expsyms \
 
16716
file_list_spec \
 
16717
variables_saved_for_relink \
 
16718
libname_spec \
 
16719
library_names_spec \
 
16720
soname_spec \
 
16721
install_override_mode \
 
16722
finish_eval \
 
16723
old_striplib \
 
16724
striplib; do
 
16725
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
16726
    *[\\\\\\\`\\"\\\$]*)
 
16727
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
16728
      ;;
 
16729
    *)
 
16730
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16731
      ;;
 
16732
    esac
 
16733
done
 
16734
 
 
16735
# Double-quote double-evaled strings.
 
16736
for var in reload_cmds \
 
16737
old_postinstall_cmds \
 
16738
old_postuninstall_cmds \
 
16739
old_archive_cmds \
 
16740
extract_expsyms_cmds \
 
16741
old_archive_from_new_cmds \
 
16742
old_archive_from_expsyms_cmds \
 
16743
archive_cmds \
 
16744
archive_expsym_cmds \
 
16745
module_cmds \
 
16746
module_expsym_cmds \
 
16747
export_symbols_cmds \
 
16748
prelink_cmds \
 
16749
postlink_cmds \
 
16750
postinstall_cmds \
 
16751
postuninstall_cmds \
 
16752
finish_cmds \
 
16753
sys_lib_search_path_spec \
 
16754
sys_lib_dlsearch_path_spec; do
 
16755
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
16756
    *[\\\\\\\`\\"\\\$]*)
 
16757
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
16758
      ;;
 
16759
    *)
 
16760
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16761
      ;;
 
16762
    esac
 
16763
done
 
16764
 
 
16765
ac_aux_dir='$ac_aux_dir'
 
16766
xsi_shell='$xsi_shell'
 
16767
lt_shell_append='$lt_shell_append'
 
16768
 
 
16769
# See if we are running on zsh, and set the options which allow our
 
16770
# commands through without removal of \ escapes INIT.
 
16771
if test -n "\${ZSH_VERSION+set}" ; then
 
16772
   setopt NO_GLOB_SUBST
 
16773
fi
 
16774
 
 
16775
 
 
16776
    PACKAGE='$PACKAGE'
 
16777
    VERSION='$VERSION'
 
16778
    TIMESTAMP='$TIMESTAMP'
 
16779
    RM='$RM'
 
16780
    ofile='$ofile'
 
16781
 
 
16782
 
 
16783
 
 
16784
 
24148
16785
_ACEOF
24149
16786
 
24150
16787
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24156
16793
    "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
24157
16794
    "include/X11/XlibConf.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/XlibConf.h" ;;
24158
16795
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
16796
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
24159
16797
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24160
16798
    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
24161
16799
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
24176
16814
    "modules/om/generic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/generic/Makefile" ;;
24177
16815
    "src/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES src/xkb/Makefile" ;;
24178
16816
    "nls/Makefile") CONFIG_FILES="$CONFIG_FILES nls/Makefile" ;;
24179
 
    "nls/am_ET.UTF-8/Makefile") CONFIG_FILES="$CONFIG_FILES nls/am_ET.UTF-8/Makefile" ;;
24180
 
    "nls/armscii-8/Makefile") CONFIG_FILES="$CONFIG_FILES nls/armscii-8/Makefile" ;;
24181
 
    "nls/C/Makefile") CONFIG_FILES="$CONFIG_FILES nls/C/Makefile" ;;
24182
 
    "nls/el_GR.UTF-8/Makefile") CONFIG_FILES="$CONFIG_FILES nls/el_GR.UTF-8/Makefile" ;;
24183
 
    "nls/en_US.UTF-8/Makefile") CONFIG_FILES="$CONFIG_FILES nls/en_US.UTF-8/Makefile" ;;
24184
 
    "nls/fi_FI.UTF-8/Makefile") CONFIG_FILES="$CONFIG_FILES nls/fi_FI.UTF-8/Makefile" ;;
24185
 
    "nls/georgian-academy/Makefile") CONFIG_FILES="$CONFIG_FILES nls/georgian-academy/Makefile" ;;
24186
 
    "nls/georgian-ps/Makefile") CONFIG_FILES="$CONFIG_FILES nls/georgian-ps/Makefile" ;;
24187
 
    "nls/ibm-cp1133/Makefile") CONFIG_FILES="$CONFIG_FILES nls/ibm-cp1133/Makefile" ;;
24188
 
    "nls/iscii-dev/Makefile") CONFIG_FILES="$CONFIG_FILES nls/iscii-dev/Makefile" ;;
24189
 
    "nls/isiri-3342/Makefile") CONFIG_FILES="$CONFIG_FILES nls/isiri-3342/Makefile" ;;
24190
 
    "nls/iso8859-1/Makefile") CONFIG_FILES="$CONFIG_FILES nls/iso8859-1/Makefile" ;;
24191
 
    "nls/iso8859-10/Makefile") CONFIG_FILES="$CONFIG_FILES nls/iso8859-10/Makefile" ;;
24192
 
    "nls/iso8859-11/Makefile") CONFIG_FILES="$CONFIG_FILES nls/iso8859-11/Makefile" ;;
24193
 
    "nls/iso8859-13/Makefile") CONFIG_FILES="$CONFIG_FILES nls/iso8859-13/Makefile" ;;
24194
 
    "nls/iso8859-14/Makefile") CONFIG_FILES="$CONFIG_FILES nls/iso8859-14/Makefile" ;;
24195
 
    "nls/iso8859-15/Makefile") CONFIG_FILES="$CONFIG_FILES nls/iso8859-15/Makefile" ;;
24196
 
    "nls/iso8859-2/Makefile") CONFIG_FILES="$CONFIG_FILES nls/iso8859-2/Makefile" ;;
24197
 
    "nls/iso8859-3/Makefile") CONFIG_FILES="$CONFIG_FILES nls/iso8859-3/Makefile" ;;
24198
 
    "nls/iso8859-4/Makefile") CONFIG_FILES="$CONFIG_FILES nls/iso8859-4/Makefile" ;;
24199
 
    "nls/iso8859-5/Makefile") CONFIG_FILES="$CONFIG_FILES nls/iso8859-5/Makefile" ;;
24200
 
    "nls/iso8859-6/Makefile") CONFIG_FILES="$CONFIG_FILES nls/iso8859-6/Makefile" ;;
24201
 
    "nls/iso8859-7/Makefile") CONFIG_FILES="$CONFIG_FILES nls/iso8859-7/Makefile" ;;
24202
 
    "nls/iso8859-8/Makefile") CONFIG_FILES="$CONFIG_FILES nls/iso8859-8/Makefile" ;;
24203
 
    "nls/iso8859-9/Makefile") CONFIG_FILES="$CONFIG_FILES nls/iso8859-9/Makefile" ;;
24204
 
    "nls/iso8859-9e/Makefile") CONFIG_FILES="$CONFIG_FILES nls/iso8859-9e/Makefile" ;;
24205
 
    "nls/ja/Makefile") CONFIG_FILES="$CONFIG_FILES nls/ja/Makefile" ;;
24206
 
    "nls/ja.JIS/Makefile") CONFIG_FILES="$CONFIG_FILES nls/ja.JIS/Makefile" ;;
24207
 
    "nls/ja_JP.UTF-8/Makefile") CONFIG_FILES="$CONFIG_FILES nls/ja_JP.UTF-8/Makefile" ;;
24208
 
    "nls/ja.S90/Makefile") CONFIG_FILES="$CONFIG_FILES nls/ja.S90/Makefile" ;;
24209
 
    "nls/ja.SJIS/Makefile") CONFIG_FILES="$CONFIG_FILES nls/ja.SJIS/Makefile" ;;
24210
 
    "nls/ja.U90/Makefile") CONFIG_FILES="$CONFIG_FILES nls/ja.U90/Makefile" ;;
24211
 
    "nls/ko/Makefile") CONFIG_FILES="$CONFIG_FILES nls/ko/Makefile" ;;
24212
 
    "nls/koi8-c/Makefile") CONFIG_FILES="$CONFIG_FILES nls/koi8-c/Makefile" ;;
24213
 
    "nls/koi8-r/Makefile") CONFIG_FILES="$CONFIG_FILES nls/koi8-r/Makefile" ;;
24214
 
    "nls/koi8-u/Makefile") CONFIG_FILES="$CONFIG_FILES nls/koi8-u/Makefile" ;;
24215
 
    "nls/ko_KR.UTF-8/Makefile") CONFIG_FILES="$CONFIG_FILES nls/ko_KR.UTF-8/Makefile" ;;
24216
 
    "nls/microsoft-cp1251/Makefile") CONFIG_FILES="$CONFIG_FILES nls/microsoft-cp1251/Makefile" ;;
24217
 
    "nls/microsoft-cp1255/Makefile") CONFIG_FILES="$CONFIG_FILES nls/microsoft-cp1255/Makefile" ;;
24218
 
    "nls/microsoft-cp1256/Makefile") CONFIG_FILES="$CONFIG_FILES nls/microsoft-cp1256/Makefile" ;;
24219
 
    "nls/mulelao-1/Makefile") CONFIG_FILES="$CONFIG_FILES nls/mulelao-1/Makefile" ;;
24220
 
    "nls/nokhchi-1/Makefile") CONFIG_FILES="$CONFIG_FILES nls/nokhchi-1/Makefile" ;;
24221
 
    "nls/pt_BR.UTF-8/Makefile") CONFIG_FILES="$CONFIG_FILES nls/pt_BR.UTF-8/Makefile" ;;
24222
 
    "nls/ru_RU.UTF-8/Makefile") CONFIG_FILES="$CONFIG_FILES nls/ru_RU.UTF-8/Makefile" ;;
24223
 
    "nls/tatar-cyr/Makefile") CONFIG_FILES="$CONFIG_FILES nls/tatar-cyr/Makefile" ;;
24224
 
    "nls/th_TH/Makefile") CONFIG_FILES="$CONFIG_FILES nls/th_TH/Makefile" ;;
24225
 
    "nls/th_TH.UTF-8/Makefile") CONFIG_FILES="$CONFIG_FILES nls/th_TH.UTF-8/Makefile" ;;
24226
 
    "nls/tscii-0/Makefile") CONFIG_FILES="$CONFIG_FILES nls/tscii-0/Makefile" ;;
24227
 
    "nls/vi_VN.tcvn/Makefile") CONFIG_FILES="$CONFIG_FILES nls/vi_VN.tcvn/Makefile" ;;
24228
 
    "nls/vi_VN.viscii/Makefile") CONFIG_FILES="$CONFIG_FILES nls/vi_VN.viscii/Makefile" ;;
24229
 
    "nls/zh_CN/Makefile") CONFIG_FILES="$CONFIG_FILES nls/zh_CN/Makefile" ;;
24230
 
    "nls/zh_CN.gb18030/Makefile") CONFIG_FILES="$CONFIG_FILES nls/zh_CN.gb18030/Makefile" ;;
24231
 
    "nls/zh_CN.gbk/Makefile") CONFIG_FILES="$CONFIG_FILES nls/zh_CN.gbk/Makefile" ;;
24232
 
    "nls/zh_CN.UTF-8/Makefile") CONFIG_FILES="$CONFIG_FILES nls/zh_CN.UTF-8/Makefile" ;;
24233
 
    "nls/zh_HK.big5/Makefile") CONFIG_FILES="$CONFIG_FILES nls/zh_HK.big5/Makefile" ;;
24234
 
    "nls/zh_HK.big5hkscs/Makefile") CONFIG_FILES="$CONFIG_FILES nls/zh_HK.big5hkscs/Makefile" ;;
24235
 
    "nls/zh_HK.UTF-8/Makefile") CONFIG_FILES="$CONFIG_FILES nls/zh_HK.UTF-8/Makefile" ;;
24236
 
    "nls/zh_TW/Makefile") CONFIG_FILES="$CONFIG_FILES nls/zh_TW/Makefile" ;;
24237
 
    "nls/zh_TW.big5/Makefile") CONFIG_FILES="$CONFIG_FILES nls/zh_TW.big5/Makefile" ;;
24238
 
    "nls/zh_TW.UTF-8/Makefile") CONFIG_FILES="$CONFIG_FILES nls/zh_TW.UTF-8/Makefile" ;;
24239
16817
    "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
24240
16818
    "specs/i18n/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/Makefile" ;;
 
16819
    "specs/i18n/framework/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/framework/Makefile" ;;
 
16820
    "specs/i18n/localedb/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/localedb/Makefile" ;;
 
16821
    "specs/i18n/trans/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/trans/Makefile" ;;
24241
16822
    "specs/libX11/Makefile") CONFIG_FILES="$CONFIG_FILES specs/libX11/Makefile" ;;
24242
16823
    "specs/XIM/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XIM/Makefile" ;;
 
16824
    "specs/XKB/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XKB/Makefile" ;;
24243
16825
    "x11.pc") CONFIG_FILES="$CONFIG_FILES x11.pc" ;;
24244
16826
    "x11-xcb.pc") CONFIG_FILES="$CONFIG_FILES x11-xcb.pc" ;;
24245
16827
 
24246
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
16828
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24247
16829
  esac
24248
16830
done
24249
16831
 
24266
16848
# after its creation but before its name has been assigned to `$tmp'.
24267
16849
$debug ||
24268
16850
{
24269
 
  tmp=
 
16851
  tmp= ac_tmp=
24270
16852
  trap 'exit_status=$?
24271
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
16853
  : "${ac_tmp:=$tmp}"
 
16854
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24272
16855
' 0
24273
16856
  trap 'as_fn_exit 1' 1 2 13 15
24274
16857
}
24276
16859
 
24277
16860
{
24278
16861
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24279
 
  test -n "$tmp" && test -d "$tmp"
 
16862
  test -d "$tmp"
24280
16863
}  ||
24281
16864
{
24282
16865
  tmp=./conf$$-$RANDOM
24283
16866
  (umask 077 && mkdir "$tmp")
24284
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
16867
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
16868
ac_tmp=$tmp
24285
16869
 
24286
16870
# Set up the scripts for CONFIG_FILES section.
24287
16871
# No need to generate them if there are no CONFIG_FILES.
24298
16882
fi
24299
16883
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
24300
16884
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
24301
 
  ac_cs_awk_cr='\r'
 
16885
  ac_cs_awk_cr='\\r'
24302
16886
else
24303
16887
  ac_cs_awk_cr=$ac_cr
24304
16888
fi
24305
16889
 
24306
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
16890
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
24307
16891
_ACEOF
24308
16892
 
24309
16893
 
24312
16896
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
24313
16897
  echo "_ACEOF"
24314
16898
} >conf$$subs.sh ||
24315
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
24316
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
16899
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
16900
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
24317
16901
ac_delim='%!_!# '
24318
16902
for ac_last_try in false false false false false :; do
24319
16903
  . ./conf$$subs.sh ||
24320
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
16904
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24321
16905
 
24322
16906
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
24323
16907
  if test $ac_delim_n = $ac_delim_num; then
24324
16908
    break
24325
16909
  elif $ac_last_try; then
24326
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
16910
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24327
16911
  else
24328
16912
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24329
16913
  fi
24331
16915
rm -f conf$$subs.sh
24332
16916
 
24333
16917
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24334
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
16918
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
24335
16919
_ACEOF
24336
16920
sed -n '
24337
16921
h
24379
16963
rm -f conf$$subs.awk
24380
16964
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24381
16965
_ACAWK
24382
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
16966
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
24383
16967
  for (key in S) S_is_set[key] = 1
24384
16968
  FS = ""
24385
16969
 
24411
16995
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
24412
16996
else
24413
16997
  cat
24414
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
24415
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
16998
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
16999
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
24416
17000
_ACEOF
24417
17001
 
24418
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
24419
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
17002
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
17003
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
24420
17004
# trailing colons and then remove the whole line if VPATH becomes empty
24421
17005
# (actually we leave an empty line to preserve line numbers).
24422
17006
if test "x$srcdir" = x.; then
24423
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
24424
 
s/:*\$(srcdir):*/:/
24425
 
s/:*\${srcdir}:*/:/
24426
 
s/:*@srcdir@:*/:/
24427
 
s/^\([^=]*=[     ]*\):*/\1/
 
17007
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
17008
h
 
17009
s///
 
17010
s/^/:/
 
17011
s/[      ]*$/:/
 
17012
s/:\$(srcdir):/:/g
 
17013
s/:\${srcdir}:/:/g
 
17014
s/:@srcdir@:/:/g
 
17015
s/^:*//
24428
17016
s/:*$//
 
17017
x
 
17018
s/\(=[   ]*\).*/\1/
 
17019
G
 
17020
s/\n//
24429
17021
s/^[^=]*=[       ]*$//
24430
17022
}'
24431
17023
fi
24437
17029
# No need to generate them if there are no CONFIG_HEADERS.
24438
17030
# This happens for instance with `./config.status Makefile'.
24439
17031
if test -n "$CONFIG_HEADERS"; then
24440
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
17032
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24441
17033
BEGIN {
24442
17034
_ACEOF
24443
17035
 
24449
17041
# handling of long lines.
24450
17042
ac_delim='%!_!# '
24451
17043
for ac_last_try in false false :; do
24452
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
24453
 
  if test -z "$ac_t"; then
 
17044
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
17045
  if test -z "$ac_tt"; then
24454
17046
    break
24455
17047
  elif $ac_last_try; then
24456
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
17048
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
24457
17049
  else
24458
17050
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24459
17051
  fi
24538
17130
_ACAWK
24539
17131
_ACEOF
24540
17132
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24541
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
17133
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
24542
17134
fi # test -n "$CONFIG_HEADERS"
24543
17135
 
24544
17136
 
24551
17143
  esac
24552
17144
  case $ac_mode$ac_tag in
24553
17145
  :[FHL]*:*);;
24554
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
17146
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24555
17147
  :[FH]-) ac_tag=-:-;;
24556
17148
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24557
17149
  esac
24570
17162
    for ac_f
24571
17163
    do
24572
17164
      case $ac_f in
24573
 
      -) ac_f="$tmp/stdin";;
 
17165
      -) ac_f="$ac_tmp/stdin";;
24574
17166
      *) # Look for the file first in the build tree, then in the source tree
24575
17167
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
24576
17168
         # because $ac_f cannot contain `:'.
24579
17171
           [\\/$]*) false;;
24580
17172
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24581
17173
           esac ||
24582
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
17174
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24583
17175
      esac
24584
17176
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24585
17177
      as_fn_append ac_file_inputs " '$ac_f'"
24605
17197
    esac
24606
17198
 
24607
17199
    case $ac_tag in
24608
 
    *:-:* | *:-) cat >"$tmp/stdin" \
24609
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
17200
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
17201
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24610
17202
    esac
24611
17203
    ;;
24612
17204
  esac
24742
17334
s&@MKDIR_P@&$ac_MKDIR_P&;t t
24743
17335
$ac_datarootdir_hack
24744
17336
"
24745
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
24746
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17337
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
17338
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24747
17339
 
24748
17340
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24749
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24750
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
17341
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
17342
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
17343
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
24751
17344
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24752
 
which seems to be undefined.  Please make sure it is defined." >&5
 
17345
which seems to be undefined.  Please make sure it is defined" >&5
24753
17346
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24754
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
17347
which seems to be undefined.  Please make sure it is defined" >&2;}
24755
17348
 
24756
 
  rm -f "$tmp/stdin"
 
17349
  rm -f "$ac_tmp/stdin"
24757
17350
  case $ac_file in
24758
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
24759
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
17351
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
17352
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24760
17353
  esac \
24761
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17354
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24762
17355
 ;;
24763
17356
  :H)
24764
17357
  #
24767
17360
  if test x"$ac_file" != x-; then
24768
17361
    {
24769
17362
      $as_echo "/* $configure_input  */" \
24770
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
24771
 
    } >"$tmp/config.h" \
24772
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
24773
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
17363
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
17364
    } >"$ac_tmp/config.h" \
 
17365
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
17366
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24774
17367
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24775
17368
$as_echo "$as_me: $ac_file is unchanged" >&6;}
24776
17369
    else
24777
17370
      rm -f "$ac_file"
24778
 
      mv "$tmp/config.h" "$ac_file" \
24779
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17371
      mv "$ac_tmp/config.h" "$ac_file" \
 
17372
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24780
17373
    fi
24781
17374
  else
24782
17375
    $as_echo "/* $configure_input  */" \
24783
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
24784
 
      || as_fn_error "could not create -" "$LINENO" 5
 
17376
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
17377
      || as_fn_error $? "could not create -" "$LINENO" 5
24785
17378
  fi
24786
17379
# Compute "$ac_file"'s index in $config_headers.
24787
17380
_am_arg="$ac_file"
24921
17514
  done
24922
17515
}
24923
17516
 ;;
 
17517
    "libtool":C)
 
17518
 
 
17519
    # See if we are running on zsh, and set the options which allow our
 
17520
    # commands through without removal of \ escapes.
 
17521
    if test -n "${ZSH_VERSION+set}" ; then
 
17522
      setopt NO_GLOB_SUBST
 
17523
    fi
 
17524
 
 
17525
    cfgfile="${ofile}T"
 
17526
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
17527
    $RM "$cfgfile"
 
17528
 
 
17529
    cat <<_LT_EOF >> "$cfgfile"
 
17530
#! $SHELL
 
17531
 
 
17532
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
17533
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
17534
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
17535
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
17536
#
 
17537
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
17538
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
17539
#                 Inc.
 
17540
#   Written by Gordon Matzigkeit, 1996
 
17541
#
 
17542
#   This file is part of GNU Libtool.
 
17543
#
 
17544
# GNU Libtool is free software; you can redistribute it and/or
 
17545
# modify it under the terms of the GNU General Public License as
 
17546
# published by the Free Software Foundation; either version 2 of
 
17547
# the License, or (at your option) any later version.
 
17548
#
 
17549
# As a special exception to the GNU General Public License,
 
17550
# if you distribute this file as part of a program or library that
 
17551
# is built using GNU Libtool, you may include this file under the
 
17552
# same distribution terms that you use for the rest of that program.
 
17553
#
 
17554
# GNU Libtool is distributed in the hope that it will be useful,
 
17555
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17556
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17557
# GNU General Public License for more details.
 
17558
#
 
17559
# You should have received a copy of the GNU General Public License
 
17560
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
17561
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
17562
# obtained by writing to the Free Software Foundation, Inc.,
 
17563
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
17564
 
 
17565
 
 
17566
# The names of the tagged configurations supported by this script.
 
17567
available_tags=""
 
17568
 
 
17569
# ### BEGIN LIBTOOL CONFIG
 
17570
 
 
17571
# Which release of libtool.m4 was used?
 
17572
macro_version=$macro_version
 
17573
macro_revision=$macro_revision
 
17574
 
 
17575
# Whether or not to build shared libraries.
 
17576
build_libtool_libs=$enable_shared
 
17577
 
 
17578
# Whether or not to build static libraries.
 
17579
build_old_libs=$enable_static
 
17580
 
 
17581
# What type of objects to build.
 
17582
pic_mode=$pic_mode
 
17583
 
 
17584
# Whether or not to optimize for fast installation.
 
17585
fast_install=$enable_fast_install
 
17586
 
 
17587
# Shell to use when invoking shell scripts.
 
17588
SHELL=$lt_SHELL
 
17589
 
 
17590
# An echo program that protects backslashes.
 
17591
ECHO=$lt_ECHO
 
17592
 
 
17593
# The host system.
 
17594
host_alias=$host_alias
 
17595
host=$host
 
17596
host_os=$host_os
 
17597
 
 
17598
# The build system.
 
17599
build_alias=$build_alias
 
17600
build=$build
 
17601
build_os=$build_os
 
17602
 
 
17603
# A sed program that does not truncate output.
 
17604
SED=$lt_SED
 
17605
 
 
17606
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
17607
Xsed="\$SED -e 1s/^X//"
 
17608
 
 
17609
# A grep program that handles long lines.
 
17610
GREP=$lt_GREP
 
17611
 
 
17612
# An ERE matcher.
 
17613
EGREP=$lt_EGREP
 
17614
 
 
17615
# A literal string matcher.
 
17616
FGREP=$lt_FGREP
 
17617
 
 
17618
# A BSD- or MS-compatible name lister.
 
17619
NM=$lt_NM
 
17620
 
 
17621
# Whether we need soft or hard links.
 
17622
LN_S=$lt_LN_S
 
17623
 
 
17624
# What is the maximum length of a command?
 
17625
max_cmd_len=$max_cmd_len
 
17626
 
 
17627
# Object file suffix (normally "o").
 
17628
objext=$ac_objext
 
17629
 
 
17630
# Executable file suffix (normally "").
 
17631
exeext=$exeext
 
17632
 
 
17633
# whether the shell understands "unset".
 
17634
lt_unset=$lt_unset
 
17635
 
 
17636
# turn spaces into newlines.
 
17637
SP2NL=$lt_lt_SP2NL
 
17638
 
 
17639
# turn newlines into spaces.
 
17640
NL2SP=$lt_lt_NL2SP
 
17641
 
 
17642
# convert \$build file names to \$host format.
 
17643
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
17644
 
 
17645
# convert \$build files to toolchain format.
 
17646
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
17647
 
 
17648
# An object symbol dumper.
 
17649
OBJDUMP=$lt_OBJDUMP
 
17650
 
 
17651
# Method to check whether dependent libraries are shared objects.
 
17652
deplibs_check_method=$lt_deplibs_check_method
 
17653
 
 
17654
# Command to use when deplibs_check_method = "file_magic".
 
17655
file_magic_cmd=$lt_file_magic_cmd
 
17656
 
 
17657
# How to find potential files when deplibs_check_method = "file_magic".
 
17658
file_magic_glob=$lt_file_magic_glob
 
17659
 
 
17660
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
17661
want_nocaseglob=$lt_want_nocaseglob
 
17662
 
 
17663
# DLL creation program.
 
17664
DLLTOOL=$lt_DLLTOOL
 
17665
 
 
17666
# Command to associate shared and link libraries.
 
17667
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
17668
 
 
17669
# The archiver.
 
17670
AR=$lt_AR
 
17671
 
 
17672
# Flags to create an archive.
 
17673
AR_FLAGS=$lt_AR_FLAGS
 
17674
 
 
17675
# How to feed a file listing to the archiver.
 
17676
archiver_list_spec=$lt_archiver_list_spec
 
17677
 
 
17678
# A symbol stripping program.
 
17679
STRIP=$lt_STRIP
 
17680
 
 
17681
# Commands used to install an old-style archive.
 
17682
RANLIB=$lt_RANLIB
 
17683
old_postinstall_cmds=$lt_old_postinstall_cmds
 
17684
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
17685
 
 
17686
# Whether to use a lock for old archive extraction.
 
17687
lock_old_archive_extraction=$lock_old_archive_extraction
 
17688
 
 
17689
# A C compiler.
 
17690
LTCC=$lt_CC
 
17691
 
 
17692
# LTCC compiler flags.
 
17693
LTCFLAGS=$lt_CFLAGS
 
17694
 
 
17695
# Take the output of nm and produce a listing of raw symbols and C names.
 
17696
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
17697
 
 
17698
# Transform the output of nm in a proper C declaration.
 
17699
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
17700
 
 
17701
# Transform the output of nm in a C name address pair.
 
17702
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
17703
 
 
17704
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
17705
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
17706
 
 
17707
# Specify filename containing input files for \$NM.
 
17708
nm_file_list_spec=$lt_nm_file_list_spec
 
17709
 
 
17710
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
17711
lt_sysroot=$lt_sysroot
 
17712
 
 
17713
# The name of the directory that contains temporary libtool files.
 
17714
objdir=$objdir
 
17715
 
 
17716
# Used to examine libraries when file_magic_cmd begins with "file".
 
17717
MAGIC_CMD=$MAGIC_CMD
 
17718
 
 
17719
# Must we lock files when doing compilation?
 
17720
need_locks=$lt_need_locks
 
17721
 
 
17722
# Manifest tool.
 
17723
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
17724
 
 
17725
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
17726
DSYMUTIL=$lt_DSYMUTIL
 
17727
 
 
17728
# Tool to change global to local symbols on Mac OS X.
 
17729
NMEDIT=$lt_NMEDIT
 
17730
 
 
17731
# Tool to manipulate fat objects and archives on Mac OS X.
 
17732
LIPO=$lt_LIPO
 
17733
 
 
17734
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
17735
OTOOL=$lt_OTOOL
 
17736
 
 
17737
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
17738
OTOOL64=$lt_OTOOL64
 
17739
 
 
17740
# Old archive suffix (normally "a").
 
17741
libext=$libext
 
17742
 
 
17743
# Shared library suffix (normally ".so").
 
17744
shrext_cmds=$lt_shrext_cmds
 
17745
 
 
17746
# The commands to extract the exported symbol list from a shared archive.
 
17747
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
17748
 
 
17749
# Variables whose values should be saved in libtool wrapper scripts and
 
17750
# restored at link time.
 
17751
variables_saved_for_relink=$lt_variables_saved_for_relink
 
17752
 
 
17753
# Do we need the "lib" prefix for modules?
 
17754
need_lib_prefix=$need_lib_prefix
 
17755
 
 
17756
# Do we need a version for libraries?
 
17757
need_version=$need_version
 
17758
 
 
17759
# Library versioning type.
 
17760
version_type=$version_type
 
17761
 
 
17762
# Shared library runtime path variable.
 
17763
runpath_var=$runpath_var
 
17764
 
 
17765
# Shared library path variable.
 
17766
shlibpath_var=$shlibpath_var
 
17767
 
 
17768
# Is shlibpath searched before the hard-coded library search path?
 
17769
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
17770
 
 
17771
# Format of library name prefix.
 
17772
libname_spec=$lt_libname_spec
 
17773
 
 
17774
# List of archive names.  First name is the real one, the rest are links.
 
17775
# The last name is the one that the linker finds with -lNAME
 
17776
library_names_spec=$lt_library_names_spec
 
17777
 
 
17778
# The coded name of the library, if different from the real name.
 
17779
soname_spec=$lt_soname_spec
 
17780
 
 
17781
# Permission mode override for installation of shared libraries.
 
17782
install_override_mode=$lt_install_override_mode
 
17783
 
 
17784
# Command to use after installation of a shared archive.
 
17785
postinstall_cmds=$lt_postinstall_cmds
 
17786
 
 
17787
# Command to use after uninstallation of a shared archive.
 
17788
postuninstall_cmds=$lt_postuninstall_cmds
 
17789
 
 
17790
# Commands used to finish a libtool library installation in a directory.
 
17791
finish_cmds=$lt_finish_cmds
 
17792
 
 
17793
# As "finish_cmds", except a single script fragment to be evaled but
 
17794
# not shown.
 
17795
finish_eval=$lt_finish_eval
 
17796
 
 
17797
# Whether we should hardcode library paths into libraries.
 
17798
hardcode_into_libs=$hardcode_into_libs
 
17799
 
 
17800
# Compile-time system search path for libraries.
 
17801
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
17802
 
 
17803
# Run-time system search path for libraries.
 
17804
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
17805
 
 
17806
# Whether dlopen is supported.
 
17807
dlopen_support=$enable_dlopen
 
17808
 
 
17809
# Whether dlopen of programs is supported.
 
17810
dlopen_self=$enable_dlopen_self
 
17811
 
 
17812
# Whether dlopen of statically linked programs is supported.
 
17813
dlopen_self_static=$enable_dlopen_self_static
 
17814
 
 
17815
# Commands to strip libraries.
 
17816
old_striplib=$lt_old_striplib
 
17817
striplib=$lt_striplib
 
17818
 
 
17819
 
 
17820
# The linker used to build libraries.
 
17821
LD=$lt_LD
 
17822
 
 
17823
# How to create reloadable object files.
 
17824
reload_flag=$lt_reload_flag
 
17825
reload_cmds=$lt_reload_cmds
 
17826
 
 
17827
# Commands used to build an old-style archive.
 
17828
old_archive_cmds=$lt_old_archive_cmds
 
17829
 
 
17830
# A language specific compiler.
 
17831
CC=$lt_compiler
 
17832
 
 
17833
# Is the compiler the GNU compiler?
 
17834
with_gcc=$GCC
 
17835
 
 
17836
# Compiler flag to turn off builtin functions.
 
17837
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
17838
 
 
17839
# Additional compiler flags for building library objects.
 
17840
pic_flag=$lt_lt_prog_compiler_pic
 
17841
 
 
17842
# How to pass a linker flag through the compiler.
 
17843
wl=$lt_lt_prog_compiler_wl
 
17844
 
 
17845
# Compiler flag to prevent dynamic linking.
 
17846
link_static_flag=$lt_lt_prog_compiler_static
 
17847
 
 
17848
# Does compiler simultaneously support -c and -o options?
 
17849
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
17850
 
 
17851
# Whether or not to add -lc for building shared libraries.
 
17852
build_libtool_need_lc=$archive_cmds_need_lc
 
17853
 
 
17854
# Whether or not to disallow shared libs when runtime libs are static.
 
17855
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
17856
 
 
17857
# Compiler flag to allow reflexive dlopens.
 
17858
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
17859
 
 
17860
# Compiler flag to generate shared objects directly from archives.
 
17861
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
17862
 
 
17863
# Whether the compiler copes with passing no objects directly.
 
17864
compiler_needs_object=$lt_compiler_needs_object
 
17865
 
 
17866
# Create an old-style archive from a shared archive.
 
17867
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
17868
 
 
17869
# Create a temporary old-style archive to link instead of a shared archive.
 
17870
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
17871
 
 
17872
# Commands used to build a shared archive.
 
17873
archive_cmds=$lt_archive_cmds
 
17874
archive_expsym_cmds=$lt_archive_expsym_cmds
 
17875
 
 
17876
# Commands used to build a loadable module if different from building
 
17877
# a shared archive.
 
17878
module_cmds=$lt_module_cmds
 
17879
module_expsym_cmds=$lt_module_expsym_cmds
 
17880
 
 
17881
# Whether we are building with GNU ld or not.
 
17882
with_gnu_ld=$lt_with_gnu_ld
 
17883
 
 
17884
# Flag that allows shared libraries with undefined symbols to be built.
 
17885
allow_undefined_flag=$lt_allow_undefined_flag
 
17886
 
 
17887
# Flag that enforces no undefined symbols.
 
17888
no_undefined_flag=$lt_no_undefined_flag
 
17889
 
 
17890
# Flag to hardcode \$libdir into a binary during linking.
 
17891
# This must work even if \$libdir does not exist
 
17892
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
17893
 
 
17894
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
17895
# during linking.  This must work even if \$libdir does not exist.
 
17896
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
17897
 
 
17898
# Whether we need a single "-rpath" flag with a separated argument.
 
17899
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
17900
 
 
17901
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
17902
# DIR into the resulting binary.
 
17903
hardcode_direct=$hardcode_direct
 
17904
 
 
17905
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
17906
# DIR into the resulting binary and the resulting library dependency is
 
17907
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
17908
# library is relocated.
 
17909
hardcode_direct_absolute=$hardcode_direct_absolute
 
17910
 
 
17911
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
17912
# into the resulting binary.
 
17913
hardcode_minus_L=$hardcode_minus_L
 
17914
 
 
17915
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
17916
# into the resulting binary.
 
17917
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
17918
 
 
17919
# Set to "yes" if building a shared library automatically hardcodes DIR
 
17920
# into the library and all subsequent libraries and executables linked
 
17921
# against it.
 
17922
hardcode_automatic=$hardcode_automatic
 
17923
 
 
17924
# Set to yes if linker adds runtime paths of dependent libraries
 
17925
# to runtime path list.
 
17926
inherit_rpath=$inherit_rpath
 
17927
 
 
17928
# Whether libtool must link a program against all its dependency libraries.
 
17929
link_all_deplibs=$link_all_deplibs
 
17930
 
 
17931
# Set to "yes" if exported symbols are required.
 
17932
always_export_symbols=$always_export_symbols
 
17933
 
 
17934
# The commands to list exported symbols.
 
17935
export_symbols_cmds=$lt_export_symbols_cmds
 
17936
 
 
17937
# Symbols that should not be listed in the preloaded symbols.
 
17938
exclude_expsyms=$lt_exclude_expsyms
 
17939
 
 
17940
# Symbols that must always be exported.
 
17941
include_expsyms=$lt_include_expsyms
 
17942
 
 
17943
# Commands necessary for linking programs (against libraries) with templates.
 
17944
prelink_cmds=$lt_prelink_cmds
 
17945
 
 
17946
# Commands necessary for finishing linking programs.
 
17947
postlink_cmds=$lt_postlink_cmds
 
17948
 
 
17949
# Specify filename containing input files.
 
17950
file_list_spec=$lt_file_list_spec
 
17951
 
 
17952
# How to hardcode a shared library path into an executable.
 
17953
hardcode_action=$hardcode_action
 
17954
 
 
17955
# ### END LIBTOOL CONFIG
 
17956
 
 
17957
_LT_EOF
 
17958
 
 
17959
  case $host_os in
 
17960
  aix3*)
 
17961
    cat <<\_LT_EOF >> "$cfgfile"
 
17962
# AIX sometimes has problems with the GCC collect2 program.  For some
 
17963
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
17964
# vanish in a puff of smoke.
 
17965
if test "X${COLLECT_NAMES+set}" != Xset; then
 
17966
  COLLECT_NAMES=
 
17967
  export COLLECT_NAMES
 
17968
fi
 
17969
_LT_EOF
 
17970
    ;;
 
17971
  esac
 
17972
 
 
17973
 
 
17974
ltmain="$ac_aux_dir/ltmain.sh"
 
17975
 
 
17976
 
 
17977
  # We use sed instead of cat because bash on DJGPP gets confused if
 
17978
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
17979
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
17980
  # is reportedly fixed, but why not run on old versions too?
 
17981
  sed '$q' "$ltmain" >> "$cfgfile" \
 
17982
     || (rm -f "$cfgfile"; exit 1)
 
17983
 
 
17984
  if test x"$xsi_shell" = xyes; then
 
17985
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
17986
func_dirname ()\
 
17987
{\
 
17988
\    case ${1} in\
 
17989
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17990
\      *  ) func_dirname_result="${3}" ;;\
 
17991
\    esac\
 
17992
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
17993
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17994
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17995
test 0 -eq $? || _lt_function_replace_fail=:
 
17996
 
 
17997
 
 
17998
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
17999
func_basename ()\
 
18000
{\
 
18001
\    func_basename_result="${1##*/}"\
 
18002
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
18003
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18004
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18005
test 0 -eq $? || _lt_function_replace_fail=:
 
18006
 
 
18007
 
 
18008
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
18009
func_dirname_and_basename ()\
 
18010
{\
 
18011
\    case ${1} in\
 
18012
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
18013
\      *  ) func_dirname_result="${3}" ;;\
 
18014
\    esac\
 
18015
\    func_basename_result="${1##*/}"\
 
18016
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
18017
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18018
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18019
test 0 -eq $? || _lt_function_replace_fail=:
 
18020
 
 
18021
 
 
18022
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
18023
func_stripname ()\
 
18024
{\
 
18025
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
18026
\    # positional parameters, so assign one to ordinary parameter first.\
 
18027
\    func_stripname_result=${3}\
 
18028
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
18029
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
18030
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
18031
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18032
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18033
test 0 -eq $? || _lt_function_replace_fail=:
 
18034
 
 
18035
 
 
18036
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
18037
func_split_long_opt ()\
 
18038
{\
 
18039
\    func_split_long_opt_name=${1%%=*}\
 
18040
\    func_split_long_opt_arg=${1#*=}\
 
18041
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
18042
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18043
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18044
test 0 -eq $? || _lt_function_replace_fail=:
 
18045
 
 
18046
 
 
18047
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
18048
func_split_short_opt ()\
 
18049
{\
 
18050
\    func_split_short_opt_arg=${1#??}\
 
18051
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
18052
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
18053
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18054
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18055
test 0 -eq $? || _lt_function_replace_fail=:
 
18056
 
 
18057
 
 
18058
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
18059
func_lo2o ()\
 
18060
{\
 
18061
\    case ${1} in\
 
18062
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
18063
\      *)    func_lo2o_result=${1} ;;\
 
18064
\    esac\
 
18065
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
18066
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18067
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18068
test 0 -eq $? || _lt_function_replace_fail=:
 
18069
 
 
18070
 
 
18071
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
18072
func_xform ()\
 
18073
{\
 
18074
    func_xform_result=${1%.*}.lo\
 
18075
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
18076
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18077
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18078
test 0 -eq $? || _lt_function_replace_fail=:
 
18079
 
 
18080
 
 
18081
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
18082
func_arith ()\
 
18083
{\
 
18084
    func_arith_result=$(( $* ))\
 
18085
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
18086
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18087
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18088
test 0 -eq $? || _lt_function_replace_fail=:
 
18089
 
 
18090
 
 
18091
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
18092
func_len ()\
 
18093
{\
 
18094
    func_len_result=${#1}\
 
18095
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
18096
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18097
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18098
test 0 -eq $? || _lt_function_replace_fail=:
 
18099
 
 
18100
fi
 
18101
 
 
18102
if test x"$lt_shell_append" = xyes; then
 
18103
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
18104
func_append ()\
 
18105
{\
 
18106
    eval "${1}+=\\${2}"\
 
18107
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
18108
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18109
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18110
test 0 -eq $? || _lt_function_replace_fail=:
 
18111
 
 
18112
 
 
18113
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
18114
func_append_quoted ()\
 
18115
{\
 
18116
\    func_quote_for_eval "${2}"\
 
18117
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
18118
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
18119
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18120
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18121
test 0 -eq $? || _lt_function_replace_fail=:
 
18122
 
 
18123
 
 
18124
  # Save a `func_append' function call where possible by direct use of '+='
 
18125
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
18126
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18127
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18128
  test 0 -eq $? || _lt_function_replace_fail=:
 
18129
else
 
18130
  # Save a `func_append' function call even when '+=' is not available
 
18131
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
18132
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18133
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18134
  test 0 -eq $? || _lt_function_replace_fail=:
 
18135
fi
 
18136
 
 
18137
if test x"$_lt_function_replace_fail" = x":"; then
 
18138
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
18139
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
18140
fi
 
18141
 
 
18142
 
 
18143
   mv -f "$cfgfile" "$ofile" ||
 
18144
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
18145
  chmod +x "$ofile"
 
18146
 
 
18147
 ;;
24924
18148
 
24925
18149
  esac
24926
18150
done # for ac_tag
24931
18155
ac_clean_files=$ac_clean_files_save
24932
18156
 
24933
18157
test $ac_write_fail = 0 ||
24934
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
18158
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24935
18159
 
24936
18160
 
24937
18161
# configure is writing to config.log, and then calls config.status.
24952
18176
  exec 5>>config.log
24953
18177
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24954
18178
  # would make configure fail if this is the last instruction.
24955
 
  $ac_cs_success || as_fn_exit $?
 
18179
  $ac_cs_success || as_fn_exit 1
24956
18180
fi
24957
18181
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24958
18182
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24960
18184
fi
24961
18185
 
24962
18186
 
24963
 
man_pages_suffix=$LIBMAN_SUFFIX
24964
 
if test -z "$man_pages_suffix"; then
24965
 
    man_pages_suffix=none
24966
 
fi
24967
 
 
24968
18187
echo ""
24969
18188
echo "X11 will be built with the following settings:"
24970
18189
echo " Loadable i18n module support:            "$XLIB_LOADABLE_I18N
24971
18190
echo " Loadable xcursor library support:        "$XLIB_LOADABLE_XCURSOR
24972
 
echo " Use XCB:                                 "$ac_cv_use_xcb
24973
18191
echo " Threading support:                       "$xthreads
24974
18192
echo " Use Threads safe API:                    "$mtsafeapi
24975
18193
echo " Threads stubs in libX11:                 "$thrstubs
24978
18196
echo " XF86BigFont support:                     "$XF86BIGFONT
24979
18197
echo " XKB support:                             "$XKB
24980
18198
echo " XLOCALEDIR environment variable support: "$ENABLE_XLOCALEDIR
24981
 
echo " Manual pages suffix:                     "$man_pages_suffix
24982
18199
echo " Compose table cache enabled:             "$COMPOSECACHE
 
18200
echo " Functional specs building enabled:       "$build_specs
24983
18201
echo ""