Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Side by Side Diff: third_party/libxslt/src/configure

Issue 2865973002: Check in the libxslt roll script. (Closed)
Patch Set: Consistent quotes. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libxslt/src/config.h.in ('k') | third_party/libxslt/src/configure.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69. 3 # Generated by GNU Autoconf 2.69.
4 # 4 #
5 # 5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 # 7 #
8 # 8 #
9 # This configure script is free software; the Free Software Foundation 9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it. 10 # gives unlimited permission to copy, distribute and modify it.
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 WITH_PERL_FALSE 675 WITH_PERL_FALSE
676 WITH_PERL_TRUE 676 WITH_PERL_TRUE
677 PERL 677 PERL
678 WITH_TRIO 678 WITH_TRIO
679 XSLT_LOCALE_WINAPI 679 XSLT_LOCALE_WINAPI
680 XSLT_LOCALE_XLOCALE 680 XSLT_LOCALE_XLOCALE
681 THREAD_LIBS 681 THREAD_LIBS
682 USE_VERSION_SCRIPT_FALSE 682 USE_VERSION_SCRIPT_FALSE
683 USE_VERSION_SCRIPT_TRUE 683 USE_VERSION_SCRIPT_TRUE
684 VERSION_SCRIPT_FLAGS 684 VERSION_SCRIPT_FLAGS
685 LT_SYS_LIBRARY_PATH
685 OTOOL64 686 OTOOL64
686 OTOOL 687 OTOOL
687 LIPO 688 LIPO
688 NMEDIT 689 NMEDIT
689 DSYMUTIL 690 DSYMUTIL
690 MANIFEST_TOOL 691 MANIFEST_TOOL
691 RANLIB 692 RANLIB
692 ac_ct_AR 693 ac_ct_AR
693 AR 694 AR
694 LN_S 695 LN_S
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 ac_user_opts=' 821 ac_user_opts='
821 enable_option_checking 822 enable_option_checking
822 enable_dependency_tracking 823 enable_dependency_tracking
823 enable_silent_rules 824 enable_silent_rules
824 with_html_dir 825 with_html_dir
825 with_html_subdir 826 with_html_subdir
826 enable_shared 827 enable_shared
827 enable_static 828 enable_static
828 with_pic 829 with_pic
829 enable_fast_install 830 enable_fast_install
831 with_aix_soname
830 with_gnu_ld 832 with_gnu_ld
831 with_sysroot 833 with_sysroot
832 enable_libtool_lock 834 enable_libtool_lock
833 with_python 835 with_python
834 with_crypto 836 with_crypto
835 with_debug 837 with_debug
836 with_mem_debug 838 with_mem_debug
837 with_debugger 839 with_debugger
838 with_libxml_prefix 840 with_libxml_prefix
839 with_libxml_include_prefix 841 with_libxml_include_prefix
840 with_libxml_libs_prefix 842 with_libxml_libs_prefix
841 with_libxml_src 843 with_libxml_src
842 with_plugins 844 with_plugins
843 ' 845 '
844 ac_precious_vars='build_alias 846 ac_precious_vars='build_alias
845 host_alias 847 host_alias
846 target_alias 848 target_alias
847 CC 849 CC
848 CFLAGS 850 CFLAGS
849 LDFLAGS 851 LDFLAGS
850 LIBS 852 LIBS
851 CPPFLAGS 853 CPPFLAGS
852 CPP' 854 CPP
855 LT_SYS_LIBRARY_PATH'
853 856
854 857
855 # Initialize some variables set by options. 858 # Initialize some variables set by options.
856 ac_init_help= 859 ac_init_help=
857 ac_init_version=false 860 ac_init_version=false
858 ac_unrecognized_opts= 861 ac_unrecognized_opts=
859 ac_unrecognized_sep= 862 ac_unrecognized_sep=
860 # The variables have the same names as the options, with 863 # The variables have the same names as the options, with
861 # dashes changed to underlines. 864 # dashes changed to underlines.
862 cache_file=/dev/null 865 cache_file=/dev/null
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
1480 1483
1481 Optional Packages: 1484 Optional Packages:
1482 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1485 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1483 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1486 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1484 --with-html-dir=path path to base html directory, default 1487 --with-html-dir=path path to base html directory, default
1485 $datadir/doc/html 1488 $datadir/doc/html
1486 --with-html-subdir=path directory used under html-dir, default 1489 --with-html-subdir=path directory used under html-dir, default
1487 $PACKAGE-$VERSION/html 1490 $PACKAGE-$VERSION/html
1488 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1491 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1489 both] 1492 both]
1493 --with-aix-soname=aix|svr4|both
1494 shared library versioning (aka "SONAME") variant to
1495 provide on AIX, [default=aix].
1490 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1496 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1491 --with-sysroot=DIR Search for dependent libraries within DIR 1497 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1492 (or the compiler's sysroot if not specified). 1498 compiler's sysroot if not specified).
1493 --with-python=DIR Build Python bindings if found 1499 --with-python=DIR Build Python bindings if found
1494 --with-crypto Add crypto support to exslt (on) 1500 --with-crypto Add crypto support to exslt (on)
1495 --with-debug Add the debugging code (on) 1501 --with-debug Add the debugging code (on)
1496 --with-mem-debug Add the memory debugging module (off) 1502 --with-mem-debug Add the memory debugging module (off)
1497 --with-debugger Add the debugging support (on) 1503 --with-debugger Add the debugging support (on)
1498 --with-libxml-prefix=PFX Specify location of libxml config 1504 --with-libxml-prefix=PFX Specify location of libxml config
1499 --with-libxml-include-prefix=PFX Specify location of libxml headers 1505 --with-libxml-include-prefix=PFX Specify location of libxml headers
1500 --with-libxml-libs-prefix=PFX Specify location of libxml libs 1506 --with-libxml-libs-prefix=PFX Specify location of libxml libs
1501 --with-libxml-src=DIR For libxml thats not installed yet (sets al l three above) 1507 --with-libxml-src=DIR For libxml thats not installed yet (sets al l three above)
1502 --with-plugins Add plugin extension support (on) 1508 --with-plugins Add plugin extension support (on)
1503 1509
1504 Some influential environment variables: 1510 Some influential environment variables:
1505 CC C compiler command 1511 CC C compiler command
1506 CFLAGS C compiler flags 1512 CFLAGS C compiler flags
1507 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1513 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1508 nonstandard directory <lib dir> 1514 nonstandard directory <lib dir>
1509 LIBS libraries to pass to the linker, e.g. -l<library> 1515 LIBS libraries to pass to the linker, e.g. -l<library>
1510 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1516 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1511 you have headers in a nonstandard directory <include dir> 1517 you have headers in a nonstandard directory <include dir>
1512 CPP C preprocessor 1518 CPP C preprocessor
1519 LT_SYS_LIBRARY_PATH
1520 User-defined run-time library search path.
1513 1521
1514 Use these variables to override the choices made by `configure' or to help 1522 Use these variables to override the choices made by `configure' or to help
1515 it to find libraries and programs with nonstandard names/locations. 1523 it to find libraries and programs with nonstandard names/locations.
1516 1524
1517 Report bugs to the package provider. 1525 Report bugs to the package provider.
1518 _ACEOF 1526 _ACEOF
1519 ac_status=$? 1527 ac_status=$?
1520 fi 1528 fi
1521 1529
1522 if test "$ac_init_help" = "recursive"; then 1530 if test "$ac_init_help" = "recursive"; then
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after
2385 host_cpu=$1 2393 host_cpu=$1
2386 host_vendor=$2 2394 host_vendor=$2
2387 shift; shift 2395 shift; shift
2388 # Remember, the first character of IFS is used to create $*, 2396 # Remember, the first character of IFS is used to create $*,
2389 # except with old shells: 2397 # except with old shells:
2390 host_os=$* 2398 host_os=$*
2391 IFS=$ac_save_IFS 2399 IFS=$ac_save_IFS
2392 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2400 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2393 2401
2394 2402
2395 # expand $ac_aux_dir to an absolute path 2403 # Expand $ac_aux_dir to an absolute path.
2396 am_aux_dir=`cd $ac_aux_dir && pwd` 2404 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2397 2405
2398 ac_ext=c 2406 ac_ext=c
2399 ac_cpp='$CPP $CPPFLAGS' 2407 ac_cpp='$CPP $CPPFLAGS'
2400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 2409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
2402 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2403 if test -n "$ac_tool_prefix"; then 2411 if test -n "$ac_tool_prefix"; then
2404 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam e with args. 2412 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam e with args.
2405 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2413 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
(...skipping 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after
3766 3774
3767 3775
3768 3776
3769 3777
3770 3778
3771 3779
3772 3780
3773 3781
3774 VERSION=${LIBXSLT_VERSION} 3782 VERSION=${LIBXSLT_VERSION}
3775 3783
3776 am__api_version='1.14' 3784 am__api_version='1.15'
3777 3785
3778 # Find a good install program. We prefer a C program (faster), 3786 # Find a good install program. We prefer a C program (faster),
3779 # so one script is as good as another. But avoid the broken or 3787 # so one script is as good as another. But avoid the broken or
3780 # incompatible versions: 3788 # incompatible versions:
3781 # SysV /etc/install, /usr/sbin/install 3789 # SysV /etc/install, /usr/sbin/install
3782 # SunOS /usr/etc/install 3790 # SunOS /usr/etc/install
3783 # IRIX /sbin/install 3791 # IRIX /sbin/install
3784 # AIX /bin/install 3792 # AIX /bin/install
3785 # AmigaOS /C/install, which installs bootblocks on floppy discs 3793 # AmigaOS /C/install, which installs bootblocks on floppy discs
3786 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3794 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
3955 fi 3963 fi
3956 # Use eval to expand $SHELL 3964 # Use eval to expand $SHELL
3957 if eval "$MISSING --is-lightweight"; then 3965 if eval "$MISSING --is-lightweight"; then
3958 am_missing_run="$MISSING " 3966 am_missing_run="$MISSING "
3959 else 3967 else
3960 am_missing_run= 3968 am_missing_run=
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3962 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3970 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3963 fi 3971 fi
3964 3972
3965 if test x"${install_sh}" != xset; then 3973 if test x"${install_sh+set}" != xset; then
3966 case $am_aux_dir in 3974 case $am_aux_dir in
3967 *\ * | *\ *) 3975 *\ * | *\ *)
3968 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3976 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3969 *) 3977 *)
3970 install_sh="\${SHELL} $am_aux_dir/install-sh" 3978 install_sh="\${SHELL} $am_aux_dir/install-sh"
3971 esac 3979 esac
3972 fi 3980 fi
3973 3981
3974 # Installed binaries are usually stripped using 'strip' when the user 3982 # Installed binaries are usually stripped using 'strip' when the user
3975 # run "make install-strip". However 'strip' might not be the right 3983 # run "make install-strip". However 'strip' might not be the right
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
4347 4355
4348 4356
4349 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 4357 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4350 4358
4351 # For better backward compatibility. To be removed once Automake 1.9.x 4359 # For better backward compatibility. To be removed once Automake 1.9.x
4352 # dies out for good. For more background, see: 4360 # dies out for good. For more background, see:
4353 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 4361 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4354 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 4362 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4355 mkdir_p='$(MKDIR_P)' 4363 mkdir_p='$(MKDIR_P)'
4356 4364
4357 # We need awk for the "check" target. The system "awk" is bad on 4365 # We need awk for the "check" target (and possibly the TAP driver). The
4358 # some platforms. 4366 # system "awk" is bad on some platforms.
4359 # Always define AMTAR for backward compatibility. Yes, it's still used 4367 # Always define AMTAR for backward compatibility. Yes, it's still used
4360 # in the wild :-( We should find a proper way to deprecate it ... 4368 # in the wild :-( We should find a proper way to deprecate it ...
4361 AMTAR='$${TAR-tar}' 4369 AMTAR='$${TAR-tar}'
4362 4370
4363 4371
4364 # We'll loop over all known methods to create a tar archive until one works. 4372 # We'll loop over all known methods to create a tar archive until one works.
4365 _am_tools='gnutar pax cpio none' 4373 _am_tools='gnutar pax cpio none'
4366 4374
4367 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 4375 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4368 4376
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
4534 4542
4535 If you want to complete the configuration process using your problematic 4543 If you want to complete the configuration process using your problematic
4536 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 4544 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4537 to "yes", and re-run configure. 4545 to "yes", and re-run configure.
4538 4546
4539 END 4547 END
4540 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 4548 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4541 fi 4549 fi
4542 fi 4550 fi
4543 4551
4552
4544 # AM_MAINTAINER_MODE 4553 # AM_MAINTAINER_MODE
4545 4554
4546 # Support silent build rules, requires at least automake-1.11. Disable 4555 # Support silent build rules, requires at least automake-1.11. Disable
4547 # by either passing --disable-silent-rules to configure or passing V=1 4556 # by either passing --disable-silent-rules to configure or passing V=1
4548 # to make 4557 # to make
4549 # Check whether --enable-silent-rules was given. 4558 # Check whether --enable-silent-rules was given.
4550 if test "${enable_silent_rules+set}" = set; then : 4559 if test "${enable_silent_rules+set}" = set; then :
4551 enableval=$enable_silent_rules; 4560 enableval=$enable_silent_rules;
4552 fi 4561 fi
4553 4562
(...skipping 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after
5664 5673
5665 5674
5666 case `pwd` in 5675 case `pwd` in
5667 *\ * | *\ *) 5676 *\ * | *\ *)
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5669 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\` " >&2;} ;; 5678 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\` " >&2;} ;;
5670 esac 5679 esac
5671 5680
5672 5681
5673 5682
5674 macro_version='2.4.2' 5683 macro_version='2.4.6'
5675 macro_revision='1.3337' 5684 macro_revision='2.4.6'
5676 5685
5677 5686
5678 5687
5679 5688
5680 5689
5681 5690
5682 5691
5683 5692
5684 5693
5685 5694
5686 5695
5687 5696
5688 5697
5689 ltmain="$ac_aux_dir/ltmain.sh" 5698 ltmain=$ac_aux_dir/ltmain.sh
5690 5699
5691 # Backslashify metacharacters that are still active within 5700 # Backslashify metacharacters that are still active within
5692 # double-quoted strings. 5701 # double-quoted strings.
5693 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 5702 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5694 5703
5695 # Same as above, but do not quote variable references. 5704 # Same as above, but do not quote variable references.
5696 double_quote_subst='s/\(["`\\]\)/\\\1/g' 5705 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5697 5706
5698 # Sed substitution to delay expansion of an escaped shell variable in a 5707 # Sed substitution to delay expansion of an escaped shell variable in a
5699 # double_quote_subst'ed string. 5708 # double_quote_subst'ed string.
(...skipping 28 matching lines...) Expand all
5728 ECHO='func_fallback_echo' 5737 ECHO='func_fallback_echo'
5729 fi 5738 fi
5730 5739
5731 # func_echo_all arg... 5740 # func_echo_all arg...
5732 # Invoke $ECHO with all args, space-separated. 5741 # Invoke $ECHO with all args, space-separated.
5733 func_echo_all () 5742 func_echo_all ()
5734 { 5743 {
5735 $ECHO "" 5744 $ECHO ""
5736 } 5745 }
5737 5746
5738 case "$ECHO" in 5747 case $ECHO in
5739 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5748 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5740 $as_echo "printf" >&6; } ;; 5749 $as_echo "printf" >&6; } ;;
5741 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5750 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5742 $as_echo "print -r" >&6; } ;; 5751 $as_echo "print -r" >&6; } ;;
5743 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5752 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5744 $as_echo "cat" >&6; } ;; 5753 $as_echo "cat" >&6; } ;;
5745 esac 5754 esac
5746 5755
5747 5756
5748 5757
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
5921 5930
5922 5931
5923 5932
5924 5933
5925 5934
5926 5935
5927 5936
5928 5937
5929 # Check whether --with-gnu-ld was given. 5938 # Check whether --with-gnu-ld was given.
5930 if test "${with_gnu_ld+set}" = set; then : 5939 if test "${with_gnu_ld+set}" = set; then :
5931 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5940 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5932 else 5941 else
5933 with_gnu_ld=no 5942 with_gnu_ld=no
5934 fi 5943 fi
5935 5944
5936 ac_prog=ld 5945 ac_prog=ld
5937 if test "$GCC" = yes; then 5946 if test yes = "$GCC"; then
5938 # Check if gcc -print-prog-name=ld gives a path. 5947 # Check if gcc -print-prog-name=ld gives a path.
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5940 $as_echo_n "checking for ld used by $CC... " >&6; } 5949 $as_echo_n "checking for ld used by $CC... " >&6; }
5941 case $host in 5950 case $host in
5942 *-*-mingw*) 5951 *-*-mingw*)
5943 # gcc leaves a trailing carriage return which upsets mingw 5952 # gcc leaves a trailing carriage return, which upsets mingw
5944 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5953 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5945 *) 5954 *)
5946 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5955 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5947 esac 5956 esac
5948 case $ac_prog in 5957 case $ac_prog in
5949 # Accept absolute paths. 5958 # Accept absolute paths.
5950 [\\/]* | ?:[\\/]*) 5959 [\\/]* | ?:[\\/]*)
5951 re_direlt='/[^/][^/]*/\.\./' 5960 re_direlt='/[^/][^/]*/\.\./'
5952 # Canonicalize the pathname of ld 5961 # Canonicalize the pathname of ld
5953 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5962 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5954 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5963 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5955 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5964 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5956 done 5965 done
5957 test -z "$LD" && LD="$ac_prog" 5966 test -z "$LD" && LD=$ac_prog
5958 ;; 5967 ;;
5959 "") 5968 "")
5960 # If it fails, then pretend we aren't using GCC. 5969 # If it fails, then pretend we aren't using GCC.
5961 ac_prog=ld 5970 ac_prog=ld
5962 ;; 5971 ;;
5963 *) 5972 *)
5964 # If it is relative, then search for the first ld in PATH. 5973 # If it is relative, then search for the first ld in PATH.
5965 with_gnu_ld=unknown 5974 with_gnu_ld=unknown
5966 ;; 5975 ;;
5967 esac 5976 esac
5968 elif test "$with_gnu_ld" = yes; then 5977 elif test yes = "$with_gnu_ld"; then
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5970 $as_echo_n "checking for GNU ld... " >&6; } 5979 $as_echo_n "checking for GNU ld... " >&6; }
5971 else 5980 else
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5973 $as_echo_n "checking for non-GNU ld... " >&6; } 5982 $as_echo_n "checking for non-GNU ld... " >&6; }
5974 fi 5983 fi
5975 if ${lt_cv_path_LD+:} false; then : 5984 if ${lt_cv_path_LD+:} false; then :
5976 $as_echo_n "(cached) " >&6 5985 $as_echo_n "(cached) " >&6
5977 else 5986 else
5978 if test -z "$LD"; then 5987 if test -z "$LD"; then
5979 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5988 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5980 for ac_dir in $PATH; do 5989 for ac_dir in $PATH; do
5981 IFS="$lt_save_ifs" 5990 IFS=$lt_save_ifs
5982 test -z "$ac_dir" && ac_dir=. 5991 test -z "$ac_dir" && ac_dir=.
5983 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5992 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5984 lt_cv_path_LD="$ac_dir/$ac_prog" 5993 lt_cv_path_LD=$ac_dir/$ac_prog
5985 # Check to see if the program is GNU ld. I'd rather use --version, 5994 # Check to see if the program is GNU ld. I'd rather use --version,
5986 # but apparently some variants of GNU ld only accept -v. 5995 # but apparently some variants of GNU ld only accept -v.
5987 # Break only if it was the GNU/non-GNU ld that we prefer. 5996 # Break only if it was the GNU/non-GNU ld that we prefer.
5988 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5997 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5989 *GNU* | *'with BFD'*) 5998 *GNU* | *'with BFD'*)
5990 » test "$with_gnu_ld" != no && break 5999 » test no != "$with_gnu_ld" && break
5991 ;; 6000 ;;
5992 *) 6001 *)
5993 » test "$with_gnu_ld" != yes && break 6002 » test yes != "$with_gnu_ld" && break
5994 ;; 6003 ;;
5995 esac 6004 esac
5996 fi 6005 fi
5997 done 6006 done
5998 IFS="$lt_save_ifs" 6007 IFS=$lt_save_ifs
5999 else 6008 else
6000 lt_cv_path_LD="$LD" # Let the user override the test with a path. 6009 lt_cv_path_LD=$LD # Let the user override the test with a path.
6001 fi 6010 fi
6002 fi 6011 fi
6003 6012
6004 LD="$lt_cv_path_LD" 6013 LD=$lt_cv_path_LD
6005 if test -n "$LD"; then 6014 if test -n "$LD"; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6007 $as_echo "$LD" >&6; } 6016 $as_echo "$LD" >&6; }
6008 else 6017 else
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010 $as_echo "no" >&6; } 6019 $as_echo "no" >&6; }
6011 fi 6020 fi
6012 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6021 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6014 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6023 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
(...skipping 22 matching lines...) Expand all
6037 6046
6038 6047
6039 6048
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6041 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6050 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6042 if ${lt_cv_path_NM+:} false; then : 6051 if ${lt_cv_path_NM+:} false; then :
6043 $as_echo_n "(cached) " >&6 6052 $as_echo_n "(cached) " >&6
6044 else 6053 else
6045 if test -n "$NM"; then 6054 if test -n "$NM"; then
6046 # Let the user override the test. 6055 # Let the user override the test.
6047 lt_cv_path_NM="$NM" 6056 lt_cv_path_NM=$NM
6048 else 6057 else
6049 lt_nm_to_check="${ac_tool_prefix}nm" 6058 lt_nm_to_check=${ac_tool_prefix}nm
6050 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6059 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6051 lt_nm_to_check="$lt_nm_to_check nm" 6060 lt_nm_to_check="$lt_nm_to_check nm"
6052 fi 6061 fi
6053 for lt_tmp_nm in $lt_nm_to_check; do 6062 for lt_tmp_nm in $lt_nm_to_check; do
6054 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6063 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6055 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6064 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6056 IFS="$lt_save_ifs" 6065 IFS=$lt_save_ifs
6057 test -z "$ac_dir" && ac_dir=. 6066 test -z "$ac_dir" && ac_dir=.
6058 tmp_nm="$ac_dir/$lt_tmp_nm" 6067 tmp_nm=$ac_dir/$lt_tmp_nm
6059 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 6068 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6060 # Check to see if the nm accepts a BSD-compat flag. 6069 # Check to see if the nm accepts a BSD-compat flag.
6061 » # Adding the `sed 1q' prevents false positives on HP-UX, which says: 6070 » # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6062 # nm: unknown option "B" ignored 6071 # nm: unknown option "B" ignored
6063 # Tru64's nm complains that /dev/null is an invalid object file 6072 # Tru64's nm complains that /dev/null is an invalid object file
6064 » case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 6073 » # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6065 » */dev/null* | *'Invalid file or object type'*) 6074 » case $build_os in
6075 » mingw*) lt_bad_file=conftest.nm/nofile ;;
6076 » *) lt_bad_file=/dev/null ;;
6077 » esac
6078 » case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6079 » *$lt_bad_file* | *'Invalid file or object type'*)
6066 lt_cv_path_NM="$tmp_nm -B" 6080 lt_cv_path_NM="$tmp_nm -B"
6067 » break 6081 » break 2
6068 ;; 6082 ;;
6069 *) 6083 *)
6070 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6084 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6071 */dev/null*) 6085 */dev/null*)
6072 lt_cv_path_NM="$tmp_nm -p" 6086 lt_cv_path_NM="$tmp_nm -p"
6073 » break 6087 » break 2
6074 ;; 6088 ;;
6075 *) 6089 *)
6076 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6090 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6077 continue # so that we can try to find one that supports BSD flags 6091 continue # so that we can try to find one that supports BSD flags
6078 ;; 6092 ;;
6079 esac 6093 esac
6080 ;; 6094 ;;
6081 esac 6095 esac
6082 fi 6096 fi
6083 done 6097 done
6084 IFS="$lt_save_ifs" 6098 IFS=$lt_save_ifs
6085 done 6099 done
6086 : ${lt_cv_path_NM=no} 6100 : ${lt_cv_path_NM=no}
6087 fi 6101 fi
6088 fi 6102 fi
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6090 $as_echo "$lt_cv_path_NM" >&6; } 6104 $as_echo "$lt_cv_path_NM" >&6; }
6091 if test "$lt_cv_path_NM" != "no"; then 6105 if test no != "$lt_cv_path_NM"; then
6092 NM="$lt_cv_path_NM" 6106 NM=$lt_cv_path_NM
6093 else 6107 else
6094 # Didn't find any BSD compatible name lister, look for dumpbin. 6108 # Didn't find any BSD compatible name lister, look for dumpbin.
6095 if test -n "$DUMPBIN"; then : 6109 if test -n "$DUMPBIN"; then :
6096 # Let the user override the test. 6110 # Let the user override the test.
6097 else 6111 else
6098 if test -n "$ac_tool_prefix"; then 6112 if test -n "$ac_tool_prefix"; then
6099 for ac_prog in dumpbin "link -dump" 6113 for ac_prog in dumpbin "link -dump"
6100 do 6114 do
6101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra m name with args. 6115 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra m name with args.
6102 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6116 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
6188 case $cross_compiling:$ac_tool_warned in 6202 case $cross_compiling:$ac_tool_warned in
6189 yes:) 6203 yes:)
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;} 6205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;}
6192 ac_tool_warned=yes ;; 6206 ac_tool_warned=yes ;;
6193 esac 6207 esac
6194 DUMPBIN=$ac_ct_DUMPBIN 6208 DUMPBIN=$ac_ct_DUMPBIN
6195 fi 6209 fi
6196 fi 6210 fi
6197 6211
6198 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 6212 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6199 *COFF*) 6213 *COFF*)
6200 DUMPBIN="$DUMPBIN -symbols" 6214 DUMPBIN="$DUMPBIN -symbols -headers"
6201 ;; 6215 ;;
6202 *) 6216 *)
6203 DUMPBIN=: 6217 DUMPBIN=:
6204 ;; 6218 ;;
6205 esac 6219 esac
6206 fi 6220 fi
6207 6221
6208 if test "$DUMPBIN" != ":"; then 6222 if test : != "$DUMPBIN"; then
6209 NM="$DUMPBIN" 6223 NM=$DUMPBIN
6210 fi 6224 fi
6211 fi 6225 fi
6212 test -z "$NM" && NM=nm 6226 test -z "$NM" && NM=nm
6213 6227
6214 6228
6215 6229
6216 6230
6217 6231
6218 6232
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interfac e" >&5 6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interfac e" >&5
(...skipping 30 matching lines...) Expand all
6250 $as_echo "no, using $LN_S" >&6; } 6264 $as_echo "no, using $LN_S" >&6; }
6251 fi 6265 fi
6252 6266
6253 # find the maximum length of command line arguments 6267 # find the maximum length of command line arguments
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6255 $as_echo_n "checking the maximum length of command line arguments... " >&6; } 6269 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6256 if ${lt_cv_sys_max_cmd_len+:} false; then : 6270 if ${lt_cv_sys_max_cmd_len+:} false; then :
6257 $as_echo_n "(cached) " >&6 6271 $as_echo_n "(cached) " >&6
6258 else 6272 else
6259 i=0 6273 i=0
6260 teststring="ABCD" 6274 teststring=ABCD
6261 6275
6262 case $build_os in 6276 case $build_os in
6263 msdosdjgpp*) 6277 msdosdjgpp*)
6264 # On DJGPP, this test can blow up pretty badly due to problems in libc 6278 # On DJGPP, this test can blow up pretty badly due to problems in libc
6265 # (any single argument exceeding 2000 bytes causes a buffer overrun 6279 # (any single argument exceeding 2000 bytes causes a buffer overrun
6266 # during glob expansion). Even if it were fixed, the result of this 6280 # during glob expansion). Even if it were fixed, the result of this
6267 # check would be larger than it should be. 6281 # check would be larger than it should be.
6268 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6282 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6269 ;; 6283 ;;
6270 6284
(...skipping 19 matching lines...) Expand all
6290 # On MiNT this can take a long time and run out of memory. 6304 # On MiNT this can take a long time and run out of memory.
6291 lt_cv_sys_max_cmd_len=8192; 6305 lt_cv_sys_max_cmd_len=8192;
6292 ;; 6306 ;;
6293 6307
6294 amigaos*) 6308 amigaos*)
6295 # On AmigaOS with pdksh, this test takes hours, literally. 6309 # On AmigaOS with pdksh, this test takes hours, literally.
6296 # So we just punt and use a minimum line length of 8192. 6310 # So we just punt and use a minimum line length of 8192.
6297 lt_cv_sys_max_cmd_len=8192; 6311 lt_cv_sys_max_cmd_len=8192;
6298 ;; 6312 ;;
6299 6313
6300 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 6314 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6301 # This has been around since 386BSD, at least. Likely further. 6315 # This has been around since 386BSD, at least. Likely further.
6302 if test -x /sbin/sysctl; then 6316 if test -x /sbin/sysctl; then
6303 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6317 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6304 elif test -x /usr/sbin/sysctl; then 6318 elif test -x /usr/sbin/sysctl; then
6305 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6319 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6306 else 6320 else
6307 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6321 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6308 fi 6322 fi
6309 # And add a safety zone 6323 # And add a safety zone
6310 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6324 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
(...skipping 30 matching lines...) Expand all
6341 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6355 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6342 if test -n "$kargmax"; then 6356 if test -n "$kargmax"; then
6343 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6357 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6344 else 6358 else
6345 lt_cv_sys_max_cmd_len=32768 6359 lt_cv_sys_max_cmd_len=32768
6346 fi 6360 fi
6347 ;; 6361 ;;
6348 *) 6362 *)
6349 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6363 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6350 if test -n "$lt_cv_sys_max_cmd_len" && \ 6364 if test -n "$lt_cv_sys_max_cmd_len" && \
6351 » test undefined != "$lt_cv_sys_max_cmd_len"; then 6365 test undefined != "$lt_cv_sys_max_cmd_len"; then
6352 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6366 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6353 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6367 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6354 else 6368 else
6355 # Make teststring a little bigger before we do anything with it. 6369 # Make teststring a little bigger before we do anything with it.
6356 # a 1K string should be a reasonable start. 6370 # a 1K string should be a reasonable start.
6357 for i in 1 2 3 4 5 6 7 8 ; do 6371 for i in 1 2 3 4 5 6 7 8; do
6358 teststring=$teststring$teststring 6372 teststring=$teststring$teststring
6359 done 6373 done
6360 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6374 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6361 # If test is not a shell built-in, we'll probably end up computing a 6375 # If test is not a shell built-in, we'll probably end up computing a
6362 # maximum length that is only half of the actual maximum length, but 6376 # maximum length that is only half of the actual maximum length, but
6363 # we can't tell. 6377 # we can't tell.
6364 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 6378 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6365 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6379 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6366 » test $i != 17 # 1/2 MB should be enough 6380 » test 17 != "$i" # 1/2 MB should be enough
6367 do 6381 do
6368 i=`expr $i + 1` 6382 i=`expr $i + 1`
6369 teststring=$teststring$teststring 6383 teststring=$teststring$teststring
6370 done 6384 done
6371 # Only check the string length outside the loop. 6385 # Only check the string length outside the loop.
6372 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6386 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6373 teststring= 6387 teststring=
6374 # Add a significant safety factor because C++ compilers can tack on 6388 # Add a significant safety factor because C++ compilers can tack on
6375 # massive amounts of additional arguments before passing them to the 6389 # massive amounts of additional arguments before passing them to the
6376 # linker. It appears as though 1/2 is a usable value. 6390 # linker. It appears as though 1/2 is a usable value.
6377 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6391 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6378 fi 6392 fi
6379 ;; 6393 ;;
6380 esac 6394 esac
6381 6395
6382 fi 6396 fi
6383 6397
6384 if test -n $lt_cv_sys_max_cmd_len ; then 6398 if test -n "$lt_cv_sys_max_cmd_len"; then
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6386 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6400 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6387 else 6401 else
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6389 $as_echo "none" >&6; } 6403 $as_echo "none" >&6; }
6390 fi 6404 fi
6391 max_cmd_len=$lt_cv_sys_max_cmd_len 6405 max_cmd_len=$lt_cv_sys_max_cmd_len
6392 6406
6393 6407
6394 6408
6395 6409
6396 6410
6397 6411
6398 : ${CP="cp -f"} 6412 : ${CP="cp -f"}
6399 : ${MV="mv -f"} 6413 : ${MV="mv -f"}
6400 : ${RM="rm -f"} 6414 : ${RM="rm -f"}
6401 6415
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6403 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6404 # Try some XSI features
6405 xsi_shell=no
6406 ( _lt_dummy="a/b/c"
6407 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy "}, \
6408 = c,a/b,b/c, \
6409 && eval 'test $(( 1 + 1 )) -eq 2 \
6410 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6411 && xsi_shell=yes
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6413 $as_echo "$xsi_shell" >&6; }
6414
6415
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6417 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6418 lt_shell_append=no
6419 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6420 >/dev/null 2>&1 \
6421 && lt_shell_append=yes
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6423 $as_echo "$lt_shell_append" >&6; }
6424
6425
6426 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6416 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6427 lt_unset=unset 6417 lt_unset=unset
6428 else 6418 else
6429 lt_unset=false 6419 lt_unset=false
6430 fi 6420 fi
6431 6421
6432 6422
6433 6423
6434 6424
6435 6425
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6539 $as_echo "$lt_cv_ld_reload_flag" >&6; } 6529 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6540 reload_flag=$lt_cv_ld_reload_flag 6530 reload_flag=$lt_cv_ld_reload_flag
6541 case $reload_flag in 6531 case $reload_flag in
6542 "" | " "*) ;; 6532 "" | " "*) ;;
6543 *) reload_flag=" $reload_flag" ;; 6533 *) reload_flag=" $reload_flag" ;;
6544 esac 6534 esac
6545 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6535 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6546 case $host_os in 6536 case $host_os in
6547 cygwin* | mingw* | pw32* | cegcc*) 6537 cygwin* | mingw* | pw32* | cegcc*)
6548 if test "$GCC" != yes; then 6538 if test yes != "$GCC"; then
6549 reload_cmds=false 6539 reload_cmds=false
6550 fi 6540 fi
6551 ;; 6541 ;;
6552 darwin*) 6542 darwin*)
6553 if test "$GCC" = yes; then 6543 if test yes = "$GCC"; then
6554 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 6544 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6555 else 6545 else
6556 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6546 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6557 fi 6547 fi
6558 ;; 6548 ;;
6559 esac 6549 esac
6560 6550
6561 6551
6562 6552
6563 6553
6564 6554
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
6669 $as_echo_n "checking how to recognize dependent libraries... " >&6; } 6659 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6670 if ${lt_cv_deplibs_check_method+:} false; then : 6660 if ${lt_cv_deplibs_check_method+:} false; then :
6671 $as_echo_n "(cached) " >&6 6661 $as_echo_n "(cached) " >&6
6672 else 6662 else
6673 lt_cv_file_magic_cmd='$MAGIC_CMD' 6663 lt_cv_file_magic_cmd='$MAGIC_CMD'
6674 lt_cv_file_magic_test_file= 6664 lt_cv_file_magic_test_file=
6675 lt_cv_deplibs_check_method='unknown' 6665 lt_cv_deplibs_check_method='unknown'
6676 # Need to set the preceding variable on all platforms that support 6666 # Need to set the preceding variable on all platforms that support
6677 # interlibrary dependencies. 6667 # interlibrary dependencies.
6678 # 'none' -- dependencies not supported. 6668 # 'none' -- dependencies not supported.
6679 # `unknown' -- same as none, but documents that we really don't know. 6669 # 'unknown' -- same as none, but documents that we really don't know.
6680 # 'pass_all' -- all dependencies passed with no checks. 6670 # 'pass_all' -- all dependencies passed with no checks.
6681 # 'test_compile' -- check by making test program. 6671 # 'test_compile' -- check by making test program.
6682 # 'file_magic [[regex]]' -- check by looking for files in library path 6672 # 'file_magic [[regex]]' -- check by looking for files in library path
6683 # which responds to the $file_magic_cmd with a given extended regex. 6673 # that responds to the $file_magic_cmd with a given extended regex.
6684 # If you have `file' or equivalent on your system and you're not sure 6674 # If you have 'file' or equivalent on your system and you're not sure
6685 # whether `pass_all' will *always* work, you probably want this one. 6675 # whether 'pass_all' will *always* work, you probably want this one.
6686 6676
6687 case $host_os in 6677 case $host_os in
6688 aix[4-9]*) 6678 aix[4-9]*)
6689 lt_cv_deplibs_check_method=pass_all 6679 lt_cv_deplibs_check_method=pass_all
6690 ;; 6680 ;;
6691 6681
6692 beos*) 6682 beos*)
6693 lt_cv_deplibs_check_method=pass_all 6683 lt_cv_deplibs_check_method=pass_all
6694 ;; 6684 ;;
6695 6685
6696 bsdi[45]*) 6686 bsdi[45]*)
6697 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared obje ct|dynamic lib)' 6687 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared obje ct|dynamic lib)'
6698 lt_cv_file_magic_cmd='/usr/bin/file -L' 6688 lt_cv_file_magic_cmd='/usr/bin/file -L'
6699 lt_cv_file_magic_test_file=/shlib/libc.so 6689 lt_cv_file_magic_test_file=/shlib/libc.so
6700 ;; 6690 ;;
6701 6691
6702 cygwin*) 6692 cygwin*)
6703 # func_win32_libid is a shell function defined in ltmain.sh 6693 # func_win32_libid is a shell function defined in ltmain.sh
6704 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6694 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6705 lt_cv_file_magic_cmd='func_win32_libid' 6695 lt_cv_file_magic_cmd='func_win32_libid'
6706 ;; 6696 ;;
6707 6697
6708 mingw* | pw32*) 6698 mingw* | pw32*)
6709 # Base MSYS/MinGW do not provide the 'file' command needed by 6699 # Base MSYS/MinGW do not provide the 'file' command needed by
6710 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6700 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6711 # unless we find 'file', for example because we are cross-compiling. 6701 # unless we find 'file', for example because we are cross-compiling.
6712 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 6702 if ( file / ) >/dev/null 2>&1; then
6713 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6714 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6703 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6715 lt_cv_file_magic_cmd='func_win32_libid' 6704 lt_cv_file_magic_cmd='func_win32_libid'
6716 else 6705 else
6717 # Keep this pattern in sync with the one in func_win32_libid. 6706 # Keep this pattern in sync with the one in func_win32_libid.
6718 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture : i386)?|pe-arm-wince|pe-x86-64)' 6707 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture : i386)?|pe-arm-wince|pe-x86-64)'
6719 lt_cv_file_magic_cmd='$OBJDUMP -f' 6708 lt_cv_file_magic_cmd='$OBJDUMP -f'
6720 fi 6709 fi
6721 ;; 6710 ;;
6722 6711
6723 cegcc*) 6712 cegcc*)
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
6781 *) libmagic=never-match;; 6770 *) libmagic=never-match;;
6782 esac 6771 esac
6783 lt_cv_deplibs_check_method=pass_all 6772 lt_cv_deplibs_check_method=pass_all
6784 ;; 6773 ;;
6785 6774
6786 # This must be glibc/ELF. 6775 # This must be glibc/ELF.
6787 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 6776 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6788 lt_cv_deplibs_check_method=pass_all 6777 lt_cv_deplibs_check_method=pass_all
6789 ;; 6778 ;;
6790 6779
6791 netbsd* | netbsdelf*-gnu) 6780 netbsd*)
6792 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6781 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6793 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pi c\.a)$' 6782 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pi c\.a)$'
6794 else 6783 else
6795 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6784 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6796 fi 6785 fi
6797 ;; 6786 ;;
6798 6787
6799 newos6*) 6788 newos6*)
6800 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable| dynamic lib)' 6789 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable| dynamic lib)'
6801 lt_cv_file_magic_cmd=/usr/bin/file 6790 lt_cv_file_magic_cmd=/usr/bin/file
6802 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6791 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6803 ;; 6792 ;;
6804 6793
6805 *nto* | *qnx*) 6794 *nto* | *qnx*)
6806 lt_cv_deplibs_check_method=pass_all 6795 lt_cv_deplibs_check_method=pass_all
6807 ;; 6796 ;;
6808 6797
6809 openbsd*) 6798 openbsd* | bitrig*)
6810 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host _cpu" = "openbsd2.8-powerpc"; then 6799 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6811 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.s o|_pic\.a)$' 6800 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.s o|_pic\.a)$'
6812 else 6801 else
6813 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pi c\.a)$' 6802 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pi c\.a)$'
6814 fi 6803 fi
6815 ;; 6804 ;;
6816 6805
6817 osf3* | osf4* | osf5*) 6806 osf3* | osf4* | osf5*)
6818 lt_cv_deplibs_check_method=pass_all 6807 lt_cv_deplibs_check_method=pass_all
6819 ;; 6808 ;;
6820 6809
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
6853 ;; 6842 ;;
6854 pc) 6843 pc)
6855 lt_cv_deplibs_check_method=pass_all 6844 lt_cv_deplibs_check_method=pass_all
6856 ;; 6845 ;;
6857 esac 6846 esac
6858 ;; 6847 ;;
6859 6848
6860 tpf*) 6849 tpf*)
6861 lt_cv_deplibs_check_method=pass_all 6850 lt_cv_deplibs_check_method=pass_all
6862 ;; 6851 ;;
6852 os2*)
6853 lt_cv_deplibs_check_method=pass_all
6854 ;;
6863 esac 6855 esac
6864 6856
6865 fi 6857 fi
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >& 5 6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >& 5
6867 $as_echo "$lt_cv_deplibs_check_method" >&6; } 6859 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6868 6860
6869 file_magic_glob= 6861 file_magic_glob=
6870 want_nocaseglob=no 6862 want_nocaseglob=no
6871 if test "$build" = "$host"; then 6863 if test "$build" = "$host"; then
6872 case $host_os in 6864 case $host_os in
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
7007 6999
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and l ink libraries" >&5 7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and l ink libraries" >&5
7009 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7001 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7010 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 7002 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7011 $as_echo_n "(cached) " >&6 7003 $as_echo_n "(cached) " >&6
7012 else 7004 else
7013 lt_cv_sharedlib_from_linklib_cmd='unknown' 7005 lt_cv_sharedlib_from_linklib_cmd='unknown'
7014 7006
7015 case $host_os in 7007 case $host_os in
7016 cygwin* | mingw* | pw32* | cegcc*) 7008 cygwin* | mingw* | pw32* | cegcc*)
7017 # two different shell functions defined in ltmain.sh 7009 # two different shell functions defined in ltmain.sh;
7018 # decide which to use based on capabilities of $DLLTOOL 7010 # decide which one to use based on capabilities of $DLLTOOL
7019 case `$DLLTOOL --help 2>&1` in 7011 case `$DLLTOOL --help 2>&1` in
7020 *--identify-strict*) 7012 *--identify-strict*)
7021 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7013 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7022 ;; 7014 ;;
7023 *) 7015 *)
7024 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7016 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7025 ;; 7017 ;;
7026 esac 7018 esac
7027 ;; 7019 ;;
7028 *) 7020 *)
7029 # fallback: assume linklib IS sharedlib 7021 # fallback: assume linklib IS sharedlib
7030 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 7022 lt_cv_sharedlib_from_linklib_cmd=$ECHO
7031 ;; 7023 ;;
7032 esac 7024 esac
7033 7025
7034 fi 7026 fi
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_c md" >&5 7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_c md" >&5
7036 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7028 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7037 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7029 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7038 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 7030 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7039 7031
7040 7032
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
7174 } 7166 }
7175 _ACEOF 7167 _ACEOF
7176 if ac_fn_c_try_compile "$LINENO"; then : 7168 if ac_fn_c_try_compile "$LINENO"; then :
7177 echo conftest.$ac_objext > conftest.lst 7169 echo conftest.$ac_objext > conftest.lst
7178 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 7170 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7179 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7171 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7180 (eval $lt_ar_try) 2>&5 7172 (eval $lt_ar_try) 2>&5
7181 ac_status=$? 7173 ac_status=$?
7182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7183 test $ac_status = 0; } 7175 test $ac_status = 0; }
7184 if test "$ac_status" -eq 0; then 7176 if test 0 -eq "$ac_status"; then
7185 # Ensure the archiver fails upon bogus file names. 7177 # Ensure the archiver fails upon bogus file names.
7186 rm -f conftest.$ac_objext libconftest.a 7178 rm -f conftest.$ac_objext libconftest.a
7187 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7179 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7188 (eval $lt_ar_try) 2>&5 7180 (eval $lt_ar_try) 2>&5
7189 ac_status=$? 7181 ac_status=$?
7190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7191 test $ac_status = 0; } 7183 test $ac_status = 0; }
7192 » if test "$ac_status" -ne 0; then 7184 » if test 0 -ne "$ac_status"; then
7193 lt_cv_ar_at_file=@ 7185 lt_cv_ar_at_file=@
7194 fi 7186 fi
7195 fi 7187 fi
7196 rm -f conftest.* libconftest.a 7188 rm -f conftest.* libconftest.a
7197 7189
7198 fi 7190 fi
7199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7200 7192
7201 fi 7193 fi
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7203 $as_echo "$lt_cv_ar_at_file" >&6; } 7195 $as_echo "$lt_cv_ar_at_file" >&6; }
7204 7196
7205 if test "x$lt_cv_ar_at_file" = xno; then 7197 if test no = "$lt_cv_ar_at_file"; then
7206 archiver_list_spec= 7198 archiver_list_spec=
7207 else 7199 else
7208 archiver_list_spec=$lt_cv_ar_at_file 7200 archiver_list_spec=$lt_cv_ar_at_file
7209 fi 7201 fi
7210 7202
7211 7203
7212 7204
7213 7205
7214 7206
7215 7207
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
7412 7404
7413 7405
7414 7406
7415 # Determine commands to create old-style static archives. 7407 # Determine commands to create old-style static archives.
7416 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7408 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7417 old_postinstall_cmds='chmod 644 $oldlib' 7409 old_postinstall_cmds='chmod 644 $oldlib'
7418 old_postuninstall_cmds= 7410 old_postuninstall_cmds=
7419 7411
7420 if test -n "$RANLIB"; then 7412 if test -n "$RANLIB"; then
7421 case $host_os in 7413 case $host_os in
7422 openbsd*) 7414 bitrig* | openbsd*)
7423 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7415 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7424 ;; 7416 ;;
7425 *) 7417 *)
7426 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7418 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7427 ;; 7419 ;;
7428 esac 7420 esac
7429 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7421 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7430 fi 7422 fi
7431 7423
7432 case $host_os in 7424 case $host_os in
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
7502 7494
7503 # Define system-specific variables. 7495 # Define system-specific variables.
7504 case $host_os in 7496 case $host_os in
7505 aix*) 7497 aix*)
7506 symcode='[BCDT]' 7498 symcode='[BCDT]'
7507 ;; 7499 ;;
7508 cygwin* | mingw* | pw32* | cegcc*) 7500 cygwin* | mingw* | pw32* | cegcc*)
7509 symcode='[ABCDGISTW]' 7501 symcode='[ABCDGISTW]'
7510 ;; 7502 ;;
7511 hpux*) 7503 hpux*)
7512 if test "$host_cpu" = ia64; then 7504 if test ia64 = "$host_cpu"; then
7513 symcode='[ABCDEGRST]' 7505 symcode='[ABCDEGRST]'
7514 fi 7506 fi
7515 ;; 7507 ;;
7516 irix* | nonstopux*) 7508 irix* | nonstopux*)
7517 symcode='[BCDEGRST]' 7509 symcode='[BCDEGRST]'
7518 ;; 7510 ;;
7519 osf*) 7511 osf*)
7520 symcode='[BCDEGQRST]' 7512 symcode='[BCDEGQRST]'
7521 ;; 7513 ;;
7522 solaris*) 7514 solaris*)
(...skipping 12 matching lines...) Expand all
7535 symcode='[DFNSTU]' 7527 symcode='[DFNSTU]'
7536 ;; 7528 ;;
7537 esac 7529 esac
7538 7530
7539 # If we're using GNU nm, then use its standard symbol codes. 7531 # If we're using GNU nm, then use its standard symbol codes.
7540 case `$NM -V 2>&1` in 7532 case `$NM -V 2>&1` in
7541 *GNU* | *'with BFD'*) 7533 *GNU* | *'with BFD'*)
7542 symcode='[ABCDGIRSTW]' ;; 7534 symcode='[ABCDGIRSTW]' ;;
7543 esac 7535 esac
7544 7536
7537 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7538 # Gets list of data symbols to import.
7539 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7540 # Adjust the below global symbol transforms to fixup imported variables.
7541 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7542 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7543 lt_c_name_lib_hook="\
7544 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7545 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7546 else
7547 # Disable hooks by default.
7548 lt_cv_sys_global_symbol_to_import=
7549 lt_cdecl_hook=
7550 lt_c_name_hook=
7551 lt_c_name_lib_hook=
7552 fi
7553
7545 # Transform an extracted symbol line into a proper C declaration. 7554 # Transform an extracted symbol line into a proper C declaration.
7546 # Some systems (esp. on ia64) link data and code symbols differently, 7555 # Some systems (esp. on ia64) link data and code symbols differently,
7547 # so use this general approach. 7556 # so use this general approach.
7548 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 7557 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7558 $lt_cdecl_hook\
7559 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7560 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7549 7561
7550 # Transform an extracted symbol line into symbol name and symbol address 7562 # Transform an extracted symbol line into symbol name and symbol address
7551 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\ "\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 7563 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7552 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'" 7564 $lt_c_name_hook\
7565 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7566 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7567
7568 # Transform an extracted symbol line into symbol name with lib prefix and
7569 # symbol address.
7570 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7571 $lt_c_name_lib_hook\
7572 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7573 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7574 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7553 7575
7554 # Handle CRLF in mingw tool chain 7576 # Handle CRLF in mingw tool chain
7555 opt_cr= 7577 opt_cr=
7556 case $build_os in 7578 case $build_os in
7557 mingw*) 7579 mingw*)
7558 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7580 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7559 ;; 7581 ;;
7560 esac 7582 esac
7561 7583
7562 # Try without a prefix underscore, then with it. 7584 # Try without a prefix underscore, then with it.
7563 for ac_symprfx in "" "_"; do 7585 for ac_symprfx in "" "_"; do
7564 7586
7565 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7587 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7566 symxfrm="\\1 $ac_symprfx\\2 \\2" 7588 symxfrm="\\1 $ac_symprfx\\2 \\2"
7567 7589
7568 # Write the raw and C identifiers. 7590 # Write the raw and C identifiers.
7569 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7591 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7570 # Fake it for dumpbin and say T for any non-static function 7592 # Fake it for dumpbin and say T for any non-static function,
7571 # and D for any global variable. 7593 # D for any global variable and I for any imported variable.
7572 # Also find C++ and __fastcall symbols from MSVC++, 7594 # Also find C++ and __fastcall symbols from MSVC++,
7573 # which start with @ or ?. 7595 # which start with @ or ?.
7574 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7596 lt_cv_sys_global_symbol_pipe="$AWK '"\
7575 " {last_section=section; section=\$ 3};"\ 7597 " {last_section=section; section=\$ 3};"\
7576 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7598 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7577 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7599 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7600 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7601 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7602 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7578 " \$ 0!~/External *\|/{next};"\ 7603 " \$ 0!~/External *\|/{next};"\
7579 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7604 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7580 " {if(hide[section]) next};"\ 7605 " {if(hide[section]) next};"\
7581 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 7606 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7582 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 7607 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7583 " s[1]~/^[@?]/{print s[1], s[1]; next};"\ 7608 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7584 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 7609 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7585 " ' prfx=^$ac_symprfx" 7610 " ' prfx=^$ac_symprfx"
7586 else 7611 else
7587 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7612 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7588 fi 7613 fi
7589 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto /d'" 7614 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto /d'"
7590 7615
7591 # Check to see that the pipe works correctly. 7616 # Check to see that the pipe works correctly.
7592 pipe_works=no 7617 pipe_works=no
7593 7618
7594 rm -f conftest* 7619 rm -f conftest*
(...skipping 27 matching lines...) Expand all
7622 mv -f "$nlist"T "$nlist" 7647 mv -f "$nlist"T "$nlist"
7623 else 7648 else
7624 rm -f "$nlist"T 7649 rm -f "$nlist"T
7625 fi 7650 fi
7626 7651
7627 # Make sure that we snagged all the symbols we need. 7652 # Make sure that we snagged all the symbols we need.
7628 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7653 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7629 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7654 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7630 cat <<_LT_EOF > conftest.$ac_ext 7655 cat <<_LT_EOF > conftest.$ac_ext
7631 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. * / 7656 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. * /
7632 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 7657 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7633 /* DATA imports from DLLs on WIN32 con't be const, because runtime 7658 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7634 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7659 relocations are performed -- see ld's documentation on pseudo-relocs. */
7635 # define LT_DLSYM_CONST 7660 # define LT_DLSYM_CONST
7636 #elif defined(__osf__) 7661 #elif defined __osf__
7637 /* This system does not cope well with relocations in const data. */ 7662 /* This system does not cope well with relocations in const data. */
7638 # define LT_DLSYM_CONST 7663 # define LT_DLSYM_CONST
7639 #else 7664 #else
7640 # define LT_DLSYM_CONST const 7665 # define LT_DLSYM_CONST const
7641 #endif 7666 #endif
7642 7667
7643 #ifdef __cplusplus 7668 #ifdef __cplusplus
7644 extern "C" { 7669 extern "C" {
7645 #endif 7670 #endif
7646 7671
7647 _LT_EOF 7672 _LT_EOF
7648 # Now generate the symbol file. 7673 # Now generate the symbol file.
7649 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main > > conftest.$ac_ext' 7674 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main > > conftest.$ac_ext'
7650 7675
7651 cat <<_LT_EOF >> conftest.$ac_ext 7676 cat <<_LT_EOF >> conftest.$ac_ext
7652 7677
7653 /* The mapping between symbol names and symbols. */ 7678 /* The mapping between symbol names and symbols. */
7654 LT_DLSYM_CONST struct { 7679 LT_DLSYM_CONST struct {
7655 const char *name; 7680 const char *name;
7656 void *address; 7681 void *address;
7657 } 7682 }
7658 lt__PROGRAM__LTX_preloaded_symbols[] = 7683 lt__PROGRAM__LTX_preloaded_symbols[] =
7659 { 7684 {
7660 { "@PROGRAM@", (void *) 0 }, 7685 { "@PROGRAM@", (void *) 0 },
7661 _LT_EOF 7686 _LT_EOF
7662 » $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7687 » $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < " $nlist" | $GREP -v main >> conftest.$ac_ext
7663 cat <<\_LT_EOF >> conftest.$ac_ext 7688 cat <<\_LT_EOF >> conftest.$ac_ext
7664 {0, (void *) 0} 7689 {0, (void *) 0}
7665 }; 7690 };
7666 7691
7667 /* This works around a problem in FreeBSD linker */ 7692 /* This works around a problem in FreeBSD linker */
7668 #ifdef FREEBSD_WORKAROUND 7693 #ifdef FREEBSD_WORKAROUND
7669 static const void *lt_preloaded_setup() { 7694 static const void *lt_preloaded_setup() {
7670 return lt__PROGRAM__LTX_preloaded_symbols; 7695 return lt__PROGRAM__LTX_preloaded_symbols;
7671 } 7696 }
7672 #endif 7697 #endif
7673 7698
7674 #ifdef __cplusplus 7699 #ifdef __cplusplus
7675 } 7700 }
7676 #endif 7701 #endif
7677 _LT_EOF 7702 _LT_EOF
7678 # Now try linking the two files. 7703 # Now try linking the two files.
7679 mv conftest.$ac_objext conftstm.$ac_objext 7704 mv conftest.$ac_objext conftstm.$ac_objext
7680 lt_globsym_save_LIBS=$LIBS 7705 lt_globsym_save_LIBS=$LIBS
7681 lt_globsym_save_CFLAGS=$CFLAGS 7706 lt_globsym_save_CFLAGS=$CFLAGS
7682 » LIBS="conftstm.$ac_objext" 7707 » LIBS=conftstm.$ac_objext
7683 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7708 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7684 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } > &5 7709 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } > &5
7685 (eval $ac_link) 2>&5 7710 (eval $ac_link) 2>&5
7686 ac_status=$? 7711 ac_status=$?
7687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7688 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 7713 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7689 pipe_works=yes 7714 pipe_works=yes
7690 fi 7715 fi
7691 LIBS=$lt_globsym_save_LIBS 7716 LIBS=$lt_globsym_save_LIBS
7692 CFLAGS=$lt_globsym_save_CFLAGS 7717 CFLAGS=$lt_globsym_save_CFLAGS
7693 else 7718 else
7694 echo "cannot find nm_test_func in $nlist" >&5 7719 echo "cannot find nm_test_func in $nlist" >&5
7695 fi 7720 fi
7696 else 7721 else
7697 echo "cannot find nm_test_var in $nlist" >&5 7722 echo "cannot find nm_test_var in $nlist" >&5
7698 fi 7723 fi
7699 else 7724 else
7700 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7725 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7701 fi 7726 fi
7702 else 7727 else
7703 echo "$progname: failed program was:" >&5 7728 echo "$progname: failed program was:" >&5
7704 cat conftest.$ac_ext >&5 7729 cat conftest.$ac_ext >&5
7705 fi 7730 fi
7706 rm -rf conftest* conftst* 7731 rm -rf conftest* conftst*
7707 7732
7708 # Do not use the global_symbol_pipe unless it works. 7733 # Do not use the global_symbol_pipe unless it works.
7709 if test "$pipe_works" = yes; then 7734 if test yes = "$pipe_works"; then
7710 break 7735 break
7711 else 7736 else
7712 lt_cv_sys_global_symbol_pipe= 7737 lt_cv_sys_global_symbol_pipe=
7713 fi 7738 fi
7714 done 7739 done
7715 7740
7716 fi 7741 fi
7717 7742
7718 if test -z "$lt_cv_sys_global_symbol_pipe"; then 7743 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7719 lt_cv_sys_global_symbol_to_cdecl= 7744 lt_cv_sys_global_symbol_to_cdecl=
(...skipping 24 matching lines...) Expand all
7744 7769
7745 7770
7746 7771
7747 7772
7748 7773
7749 7774
7750 7775
7751 7776
7752 7777
7753 7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7754 7789
7755 7790
7756 7791
7757 7792
7758 7793
7759 7794
7760 7795
7761 7796
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7763 $as_echo_n "checking for sysroot... " >&6; } 7798 $as_echo_n "checking for sysroot... " >&6; }
7764 7799
7765 # Check whether --with-sysroot was given. 7800 # Check whether --with-sysroot was given.
7766 if test "${with_sysroot+set}" = set; then : 7801 if test "${with_sysroot+set}" = set; then :
7767 withval=$with_sysroot; 7802 withval=$with_sysroot;
7768 else 7803 else
7769 with_sysroot=no 7804 with_sysroot=no
7770 fi 7805 fi
7771 7806
7772 7807
7773 lt_sysroot= 7808 lt_sysroot=
7774 case ${with_sysroot} in #( 7809 case $with_sysroot in #(
7775 yes) 7810 yes)
7776 if test "$GCC" = yes; then 7811 if test yes = "$GCC"; then
7777 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7812 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7778 fi 7813 fi
7779 ;; #( 7814 ;; #(
7780 /*) 7815 /*)
7781 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7816 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7782 ;; #( 7817 ;; #(
7783 no|'') 7818 no|'')
7784 ;; #( 7819 ;; #(
7785 *) 7820 *)
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7787 $as_echo "${with_sysroot}" >&6; } 7822 $as_echo "$with_sysroot" >&6; }
7788 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7823 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7789 ;; 7824 ;;
7790 esac 7825 esac
7791 7826
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7793 $as_echo "${lt_sysroot:-no}" >&6; } 7828 $as_echo "${lt_sysroot:-no}" >&6; }
7794 7829
7795 7830
7796 7831
7797 7832
7798 7833
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7835 $as_echo_n "checking for a working dd... " >&6; }
7836 if ${ac_cv_path_lt_DD+:} false; then :
7837 $as_echo_n "(cached) " >&6
7838 else
7839 printf 0123456789abcdef0123456789abcdef >conftest.i
7840 cat conftest.i conftest.i >conftest2.i
7841 : ${lt_DD:=$DD}
7842 if test -z "$lt_DD"; then
7843 ac_path_lt_DD_found=false
7844 # Loop through the user's path and test for each of PROGNAME-LIST
7845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7846 for as_dir in $PATH
7847 do
7848 IFS=$as_save_IFS
7849 test -z "$as_dir" && as_dir=.
7850 for ac_prog in dd; do
7851 for ac_exec_ext in '' $ac_executable_extensions; do
7852 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7853 as_fn_executable_p "$ac_path_lt_DD" || continue
7854 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7855 cmp -s conftest.i conftest.out \
7856 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7857 fi
7858 $ac_path_lt_DD_found && break 3
7859 done
7860 done
7861 done
7862 IFS=$as_save_IFS
7863 if test -z "$ac_cv_path_lt_DD"; then
7864 :
7865 fi
7866 else
7867 ac_cv_path_lt_DD=$lt_DD
7868 fi
7869
7870 rm -f conftest.i conftest2.i conftest.out
7871 fi
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7873 $as_echo "$ac_cv_path_lt_DD" >&6; }
7874
7875
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7877 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7878 if ${lt_cv_truncate_bin+:} false; then :
7879 $as_echo_n "(cached) " >&6
7880 else
7881 printf 0123456789abcdef0123456789abcdef >conftest.i
7882 cat conftest.i conftest.i >conftest2.i
7883 lt_cv_truncate_bin=
7884 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; the n
7885 cmp -s conftest.i conftest.out \
7886 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7887 fi
7888 rm -f conftest.i conftest2.i conftest.out
7889 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7890 fi
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7892 $as_echo "$lt_cv_truncate_bin" >&6; }
7893
7894
7895
7896
7897
7898
7899
7900 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7901 func_cc_basename ()
7902 {
7903 for cc_temp in $*""; do
7904 case $cc_temp in
7905 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7906 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7907 \-*) ;;
7908 *) break;;
7909 esac
7910 done
7911 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%% "`
7912 }
7913
7799 # Check whether --enable-libtool-lock was given. 7914 # Check whether --enable-libtool-lock was given.
7800 if test "${enable_libtool_lock+set}" = set; then : 7915 if test "${enable_libtool_lock+set}" = set; then :
7801 enableval=$enable_libtool_lock; 7916 enableval=$enable_libtool_lock;
7802 fi 7917 fi
7803 7918
7804 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 7919 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7805 7920
7806 # Some flags need to be propagated to the compiler or linker for good 7921 # Some flags need to be propagated to the compiler or linker for good
7807 # libtool support. 7922 # libtool support.
7808 case $host in 7923 case $host in
7809 ia64-*-hpux*) 7924 ia64-*-hpux*)
7810 # Find out which ABI we are using. 7925 # Find out what ABI is being produced by ac_compile, and set mode
7926 # options accordingly.
7811 echo 'int i;' > conftest.$ac_ext 7927 echo 'int i;' > conftest.$ac_ext
7812 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7928 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7813 (eval $ac_compile) 2>&5 7929 (eval $ac_compile) 2>&5
7814 ac_status=$? 7930 ac_status=$?
7815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7816 test $ac_status = 0; }; then 7932 test $ac_status = 0; }; then
7817 case `/usr/bin/file conftest.$ac_objext` in 7933 case `/usr/bin/file conftest.$ac_objext` in
7818 *ELF-32*) 7934 *ELF-32*)
7819 » HPUX_IA64_MODE="32" 7935 » HPUX_IA64_MODE=32
7820 ;; 7936 ;;
7821 *ELF-64*) 7937 *ELF-64*)
7822 » HPUX_IA64_MODE="64" 7938 » HPUX_IA64_MODE=64
7823 ;; 7939 ;;
7824 esac 7940 esac
7825 fi 7941 fi
7826 rm -rf conftest* 7942 rm -rf conftest*
7827 ;; 7943 ;;
7828 *-*-irix6*) 7944 *-*-irix6*)
7829 # Find out which ABI we are using. 7945 # Find out what ABI is being produced by ac_compile, and set linker
7946 # options accordingly.
7830 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7947 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7831 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7948 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7832 (eval $ac_compile) 2>&5 7949 (eval $ac_compile) 2>&5
7833 ac_status=$? 7950 ac_status=$?
7834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7835 test $ac_status = 0; }; then 7952 test $ac_status = 0; }; then
7836 if test "$lt_cv_prog_gnu_ld" = yes; then 7953 if test yes = "$lt_cv_prog_gnu_ld"; then
7837 case `/usr/bin/file conftest.$ac_objext` in 7954 case `/usr/bin/file conftest.$ac_objext` in
7838 *32-bit*) 7955 *32-bit*)
7839 LD="${LD-ld} -melf32bsmip" 7956 LD="${LD-ld} -melf32bsmip"
7840 ;; 7957 ;;
7841 *N32*) 7958 *N32*)
7842 LD="${LD-ld} -melf32bmipn32" 7959 LD="${LD-ld} -melf32bmipn32"
7843 ;; 7960 ;;
7844 *64-bit*) 7961 *64-bit*)
7845 LD="${LD-ld} -melf64bmip" 7962 LD="${LD-ld} -melf64bmip"
7846 ;; 7963 ;;
7847 esac 7964 esac
7848 else 7965 else
7849 case `/usr/bin/file conftest.$ac_objext` in 7966 case `/usr/bin/file conftest.$ac_objext` in
7850 *32-bit*) 7967 *32-bit*)
7851 LD="${LD-ld} -32" 7968 LD="${LD-ld} -32"
7852 ;; 7969 ;;
7853 *N32*) 7970 *N32*)
7854 LD="${LD-ld} -n32" 7971 LD="${LD-ld} -n32"
7855 ;; 7972 ;;
7856 *64-bit*) 7973 *64-bit*)
7857 LD="${LD-ld} -64" 7974 LD="${LD-ld} -64"
7858 ;; 7975 ;;
7859 esac 7976 esac
7860 fi 7977 fi
7861 fi 7978 fi
7862 rm -rf conftest* 7979 rm -rf conftest*
7863 ;; 7980 ;;
7864 7981
7982 mips64*-*linux*)
7983 # Find out what ABI is being produced by ac_compile, and set linker
7984 # options accordingly.
7985 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7986 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7987 (eval $ac_compile) 2>&5
7988 ac_status=$?
7989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7990 test $ac_status = 0; }; then
7991 emul=elf
7992 case `/usr/bin/file conftest.$ac_objext` in
7993 *32-bit*)
7994 emul="${emul}32"
7995 ;;
7996 *64-bit*)
7997 emul="${emul}64"
7998 ;;
7999 esac
8000 case `/usr/bin/file conftest.$ac_objext` in
8001 *MSB*)
8002 emul="${emul}btsmip"
8003 ;;
8004 *LSB*)
8005 emul="${emul}ltsmip"
8006 ;;
8007 esac
8008 case `/usr/bin/file conftest.$ac_objext` in
8009 *N32*)
8010 emul="${emul}n32"
8011 ;;
8012 esac
8013 LD="${LD-ld} -m $emul"
8014 fi
8015 rm -rf conftest*
8016 ;;
8017
7865 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 8018 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7866 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8019 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7867 # Find out which ABI we are using. 8020 # Find out what ABI is being produced by ac_compile, and set linker
8021 # options accordingly. Note that the listed cases only cover the
8022 # situations where additional linker options are needed (such as when
8023 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8024 # vice versa); the common cases where no linker options are needed do
8025 # not appear in the list.
7868 echo 'int i;' > conftest.$ac_ext 8026 echo 'int i;' > conftest.$ac_ext
7869 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8027 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7870 (eval $ac_compile) 2>&5 8028 (eval $ac_compile) 2>&5
7871 ac_status=$? 8029 ac_status=$?
7872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7873 test $ac_status = 0; }; then 8031 test $ac_status = 0; }; then
7874 case `/usr/bin/file conftest.o` in 8032 case `/usr/bin/file conftest.o` in
7875 *32-bit*) 8033 *32-bit*)
7876 case $host in 8034 case $host in
7877 x86_64-*kfreebsd*-gnu) 8035 x86_64-*kfreebsd*-gnu)
7878 LD="${LD-ld} -m elf_i386_fbsd" 8036 LD="${LD-ld} -m elf_i386_fbsd"
7879 ;; 8037 ;;
7880 x86_64-*linux*) 8038 x86_64-*linux*)
7881 case `/usr/bin/file conftest.o` in 8039 case `/usr/bin/file conftest.o` in
7882 *x86-64*) 8040 *x86-64*)
7883 LD="${LD-ld} -m elf32_x86_64" 8041 LD="${LD-ld} -m elf32_x86_64"
7884 ;; 8042 ;;
7885 *) 8043 *)
7886 LD="${LD-ld} -m elf_i386" 8044 LD="${LD-ld} -m elf_i386"
7887 ;; 8045 ;;
7888 esac 8046 esac
7889 ;; 8047 ;;
7890 » powerpc64le-*) 8048 » powerpc64le-*linux*)
7891 LD="${LD-ld} -m elf32lppclinux" 8049 LD="${LD-ld} -m elf32lppclinux"
7892 ;; 8050 ;;
7893 » powerpc64-*) 8051 » powerpc64-*linux*)
7894 LD="${LD-ld} -m elf32ppclinux" 8052 LD="${LD-ld} -m elf32ppclinux"
7895 ;; 8053 ;;
7896 s390x-*linux*) 8054 s390x-*linux*)
7897 LD="${LD-ld} -m elf_s390" 8055 LD="${LD-ld} -m elf_s390"
7898 ;; 8056 ;;
7899 sparc64-*linux*) 8057 sparc64-*linux*)
7900 LD="${LD-ld} -m elf32_sparc" 8058 LD="${LD-ld} -m elf32_sparc"
7901 ;; 8059 ;;
7902 esac 8060 esac
7903 ;; 8061 ;;
7904 *64-bit*) 8062 *64-bit*)
7905 case $host in 8063 case $host in
7906 x86_64-*kfreebsd*-gnu) 8064 x86_64-*kfreebsd*-gnu)
7907 LD="${LD-ld} -m elf_x86_64_fbsd" 8065 LD="${LD-ld} -m elf_x86_64_fbsd"
7908 ;; 8066 ;;
7909 x86_64-*linux*) 8067 x86_64-*linux*)
7910 LD="${LD-ld} -m elf_x86_64" 8068 LD="${LD-ld} -m elf_x86_64"
7911 ;; 8069 ;;
7912 » powerpcle-*) 8070 » powerpcle-*linux*)
7913 LD="${LD-ld} -m elf64lppc" 8071 LD="${LD-ld} -m elf64lppc"
7914 ;; 8072 ;;
7915 » powerpc-*) 8073 » powerpc-*linux*)
7916 LD="${LD-ld} -m elf64ppc" 8074 LD="${LD-ld} -m elf64ppc"
7917 ;; 8075 ;;
7918 s390*-*linux*|s390*-*tpf*) 8076 s390*-*linux*|s390*-*tpf*)
7919 LD="${LD-ld} -m elf64_s390" 8077 LD="${LD-ld} -m elf64_s390"
7920 ;; 8078 ;;
7921 sparc*-*linux*) 8079 sparc*-*linux*)
7922 LD="${LD-ld} -m elf64_sparc" 8080 LD="${LD-ld} -m elf64_sparc"
7923 ;; 8081 ;;
7924 esac 8082 esac
7925 ;; 8083 ;;
7926 esac 8084 esac
7927 fi 8085 fi
7928 rm -rf conftest* 8086 rm -rf conftest*
7929 ;; 8087 ;;
7930 8088
7931 *-*-sco3.2v5*) 8089 *-*-sco3.2v5*)
7932 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8090 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7933 SAVE_CFLAGS="$CFLAGS" 8091 SAVE_CFLAGS=$CFLAGS
7934 CFLAGS="$CFLAGS -belf" 8092 CFLAGS="$CFLAGS -belf"
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7936 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8094 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7937 if ${lt_cv_cc_needs_belf+:} false; then : 8095 if ${lt_cv_cc_needs_belf+:} false; then :
7938 $as_echo_n "(cached) " >&6 8096 $as_echo_n "(cached) " >&6
7939 else 8097 else
7940 ac_ext=c 8098 ac_ext=c
7941 ac_cpp='$CPP $CPPFLAGS' 8099 ac_cpp='$CPP $CPPFLAGS'
7942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 8101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
(...skipping 19 matching lines...) Expand all
7963 conftest$ac_exeext conftest.$ac_ext 8121 conftest$ac_exeext conftest.$ac_ext
7964 ac_ext=c 8122 ac_ext=c
7965 ac_cpp='$CPP $CPPFLAGS' 8123 ac_cpp='$CPP $CPPFLAGS'
7966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 8125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
7968 ac_compiler_gnu=$ac_cv_c_compiler_gnu 8126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7969 8127
7970 fi 8128 fi
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7972 $as_echo "$lt_cv_cc_needs_belf" >&6; } 8130 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7973 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 8131 if test yes != "$lt_cv_cc_needs_belf"; then
7974 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8132 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7975 CFLAGS="$SAVE_CFLAGS" 8133 CFLAGS=$SAVE_CFLAGS
7976 fi 8134 fi
7977 ;; 8135 ;;
7978 *-*solaris*) 8136 *-*solaris*)
7979 # Find out which ABI we are using. 8137 # Find out what ABI is being produced by ac_compile, and set linker
8138 # options accordingly.
7980 echo 'int i;' > conftest.$ac_ext 8139 echo 'int i;' > conftest.$ac_ext
7981 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8140 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7982 (eval $ac_compile) 2>&5 8141 (eval $ac_compile) 2>&5
7983 ac_status=$? 8142 ac_status=$?
7984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7985 test $ac_status = 0; }; then 8144 test $ac_status = 0; }; then
7986 case `/usr/bin/file conftest.o` in 8145 case `/usr/bin/file conftest.o` in
7987 *64-bit*) 8146 *64-bit*)
7988 case $lt_cv_prog_gnu_ld in 8147 case $lt_cv_prog_gnu_ld in
7989 yes*) 8148 yes*)
7990 case $host in 8149 case $host in
7991 i?86-*-solaris*) 8150 i?86-*-solaris*|x86_64-*-solaris*)
7992 LD="${LD-ld} -m elf_x86_64" 8151 LD="${LD-ld} -m elf_x86_64"
7993 ;; 8152 ;;
7994 sparc*-*-solaris*) 8153 sparc*-*-solaris*)
7995 LD="${LD-ld} -m elf64_sparc" 8154 LD="${LD-ld} -m elf64_sparc"
7996 ;; 8155 ;;
7997 esac 8156 esac
7998 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 8157 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7999 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 8158 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8000 LD="${LD-ld}_sol2" 8159 LD=${LD-ld}_sol2
8001 fi 8160 fi
8002 ;; 8161 ;;
8003 *) 8162 *)
8004 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8163 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8005 LD="${LD-ld} -64" 8164 LD="${LD-ld} -64"
8006 fi 8165 fi
8007 ;; 8166 ;;
8008 esac 8167 esac
8009 ;; 8168 ;;
8010 esac 8169 esac
8011 fi 8170 fi
8012 rm -rf conftest* 8171 rm -rf conftest*
8013 ;; 8172 ;;
8014 esac 8173 esac
8015 8174
8016 need_locks="$enable_libtool_lock" 8175 need_locks=$enable_libtool_lock
8017 8176
8018 if test -n "$ac_tool_prefix"; then 8177 if test -n "$ac_tool_prefix"; then
8019 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 8178 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8020 set dummy ${ac_tool_prefix}mt; ac_word=$2 8179 set dummy ${ac_tool_prefix}mt; ac_word=$2
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8022 $as_echo_n "checking for $ac_word... " >&6; } 8181 $as_echo_n "checking for $ac_word... " >&6; }
8023 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 8182 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8024 $as_echo_n "(cached) " >&6 8183 $as_echo_n "(cached) " >&6
8025 else 8184 else
8026 if test -n "$MANIFEST_TOOL"; then 8185 if test -n "$MANIFEST_TOOL"; then
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
8117 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 8276 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8118 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 8277 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8119 cat conftest.err >&5 8278 cat conftest.err >&5
8120 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 8279 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8121 lt_cv_path_mainfest_tool=yes 8280 lt_cv_path_mainfest_tool=yes
8122 fi 8281 fi
8123 rm -f conftest* 8282 rm -f conftest*
8124 fi 8283 fi
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8126 $as_echo "$lt_cv_path_mainfest_tool" >&6; } 8285 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8127 if test "x$lt_cv_path_mainfest_tool" != xyes; then 8286 if test yes != "$lt_cv_path_mainfest_tool"; then
8128 MANIFEST_TOOL=: 8287 MANIFEST_TOOL=:
8129 fi 8288 fi
8130 8289
8131 8290
8132 8291
8133 8292
8134 8293
8135 8294
8136 case $host_os in 8295 case $host_os in
8137 rhapsody* | darwin*) 8296 rhapsody* | darwin*)
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
8620 8779
8621 8780
8622 8781
8623 8782
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8625 $as_echo_n "checking for -single_module linker flag... " >&6; } 8784 $as_echo_n "checking for -single_module linker flag... " >&6; }
8626 if ${lt_cv_apple_cc_single_mod+:} false; then : 8785 if ${lt_cv_apple_cc_single_mod+:} false; then :
8627 $as_echo_n "(cached) " >&6 8786 $as_echo_n "(cached) " >&6
8628 else 8787 else
8629 lt_cv_apple_cc_single_mod=no 8788 lt_cv_apple_cc_single_mod=no
8630 if test -z "${LT_MULTI_MODULE}"; then 8789 if test -z "$LT_MULTI_MODULE"; then
8631 # By default we will add the -single_module flag. You can override 8790 # By default we will add the -single_module flag. You can override
8632 # by either setting the environment variable LT_MULTI_MODULE 8791 # by either setting the environment variable LT_MULTI_MODULE
8633 # non-empty at configure time, or by adding -multi_module to the 8792 # non-empty at configure time, or by adding -multi_module to the
8634 # link flags. 8793 # link flags.
8635 rm -rf libconftest.dylib* 8794 rm -rf libconftest.dylib*
8636 echo "int foo(void){return 1;}" > conftest.c 8795 echo "int foo(void){return 1;}" > conftest.c
8637 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8796 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8638 -dynamiclib -Wl,-single_module conftest.c" >&5 8797 -dynamiclib -Wl,-single_module conftest.c" >&5
8639 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8798 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8640 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8799 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8641 _lt_result=$? 8800 _lt_result=$?
8642 # If there is a non-empty error log, and "single_module" 8801 # If there is a non-empty error log, and "single_module"
8643 # appears in it, assume the flag caused a linker warning 8802 # appears in it, assume the flag caused a linker warning
8644 if test -s conftest.err && $GREP single_module conftest.err; then 8803 if test -s conftest.err && $GREP single_module conftest.err; then
8645 cat conftest.err >&5 8804 cat conftest.err >&5
8646 # Otherwise, if the output was created with a 0 exit code from 8805 # Otherwise, if the output was created with a 0 exit code from
8647 # the compiler, it worked. 8806 # the compiler, it worked.
8648 » elif test -f libconftest.dylib && test $_lt_result -eq 0; then 8807 » elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8649 lt_cv_apple_cc_single_mod=yes 8808 lt_cv_apple_cc_single_mod=yes
8650 else 8809 else
8651 cat conftest.err >&5 8810 cat conftest.err >&5
8652 fi 8811 fi
8653 rm -rf libconftest.dylib* 8812 rm -rf libconftest.dylib*
8654 rm -f conftest.* 8813 rm -f conftest.*
8655 fi 8814 fi
8656 fi 8815 fi
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8658 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8817 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
(...skipping 18 matching lines...) Expand all
8677 return 0; 8836 return 0;
8678 } 8837 }
8679 _ACEOF 8838 _ACEOF
8680 if ac_fn_c_try_link "$LINENO"; then : 8839 if ac_fn_c_try_link "$LINENO"; then :
8681 lt_cv_ld_exported_symbols_list=yes 8840 lt_cv_ld_exported_symbols_list=yes
8682 else 8841 else
8683 lt_cv_ld_exported_symbols_list=no 8842 lt_cv_ld_exported_symbols_list=no
8684 fi 8843 fi
8685 rm -f core conftest.err conftest.$ac_objext \ 8844 rm -f core conftest.err conftest.$ac_objext \
8686 conftest$ac_exeext conftest.$ac_ext 8845 conftest$ac_exeext conftest.$ac_ext
8687 » LDFLAGS="$save_LDFLAGS" 8846 » LDFLAGS=$save_LDFLAGS
8688 8847
8689 fi 8848 fi
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list " >&5 8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list " >&5
8691 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8850 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8692 8851
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker fla g" >&5 8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker fla g" >&5
8694 $as_echo_n "checking for -force_load linker flag... " >&6; } 8853 $as_echo_n "checking for -force_load linker flag... " >&6; }
8695 if ${lt_cv_ld_force_load+:} false; then : 8854 if ${lt_cv_ld_force_load+:} false; then :
8696 $as_echo_n "(cached) " >&6 8855 $as_echo_n "(cached) " >&6
8697 else 8856 else
8698 lt_cv_ld_force_load=no 8857 lt_cv_ld_force_load=no
8699 cat > conftest.c << _LT_EOF 8858 cat > conftest.c << _LT_EOF
8700 int forced_loaded() { return 2;} 8859 int forced_loaded() { return 2;}
8701 _LT_EOF 8860 _LT_EOF
8702 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8861 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8703 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8862 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8704 echo "$AR cru libconftest.a conftest.o" >&5 8863 echo "$AR cru libconftest.a conftest.o" >&5
8705 $AR cru libconftest.a conftest.o 2>&5 8864 $AR cru libconftest.a conftest.o 2>&5
8706 echo "$RANLIB libconftest.a" >&5 8865 echo "$RANLIB libconftest.a" >&5
8707 $RANLIB libconftest.a 2>&5 8866 $RANLIB libconftest.a 2>&5
8708 cat > conftest.c << _LT_EOF 8867 cat > conftest.c << _LT_EOF
8709 int main() { return 0;} 8868 int main() { return 0;}
8710 _LT_EOF 8869 _LT_EOF
8711 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./li bconftest.a" >&5 8870 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./li bconftest.a" >&5
8712 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconft est.a 2>conftest.err 8871 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconft est.a 2>conftest.err
8713 _lt_result=$? 8872 _lt_result=$?
8714 if test -s conftest.err && $GREP force_load conftest.err; then 8873 if test -s conftest.err && $GREP force_load conftest.err; then
8715 cat conftest.err >&5 8874 cat conftest.err >&5
8716 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conft est >/dev/null 2>&1 ; then 8875 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conft est >/dev/null 2>&1; then
8717 lt_cv_ld_force_load=yes 8876 lt_cv_ld_force_load=yes
8718 else 8877 else
8719 cat conftest.err >&5 8878 cat conftest.err >&5
8720 fi 8879 fi
8721 rm -f conftest.err libconftest.a conftest conftest.c 8880 rm -f conftest.err libconftest.a conftest conftest.c
8722 rm -rf conftest.dSYM 8881 rm -rf conftest.dSYM
8723 8882
8724 fi 8883 fi
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8726 $as_echo "$lt_cv_ld_force_load" >&6; } 8885 $as_echo "$lt_cv_ld_force_load" >&6; }
8727 case $host_os in 8886 case $host_os in
8728 rhapsody* | darwin1.[012]) 8887 rhapsody* | darwin1.[012])
8729 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 8888 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8730 darwin1.*) 8889 darwin1.*)
8731 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppres s' ;; 8890 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ; ;
8732 darwin*) # darwin 5.x on 8891 darwin*) # darwin 5.x on
8733 # if running on 10.5 or later, the deployment target defaults 8892 # if running on 10.5 or later, the deployment target defaults
8734 # to the OS version, if on x86, and 10.4, the deployment 8893 # to the OS version, if on x86, and 10.4, the deployment
8735 # target defaults to 10.4. Don't you love it? 8894 # target defaults to 10.4. Don't you love it?
8736 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8895 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8737 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8896 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8738 » _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8897 » _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8739 » 10.[012]*) 8898 » 10.[012][,.]*)
8740 » _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}sup press' ;; 8899 » _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppres s' ;;
8741 10.*) 8900 10.*)
8742 » _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8901 » _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8743 esac 8902 esac
8744 ;; 8903 ;;
8745 esac 8904 esac
8746 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 8905 if test yes = "$lt_cv_apple_cc_single_mod"; then
8747 _lt_dar_single_mod='$single_module' 8906 _lt_dar_single_mod='$single_module'
8748 fi 8907 fi
8749 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 8908 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8750 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname }-symbols.expsym' 8909 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-sy mbols.expsym'
8751 else 8910 else
8752 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 8911 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $l ib'
8753 fi 8912 fi
8754 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 8913 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8755 _lt_dsymutil='~$DSYMUTIL $lib || :' 8914 _lt_dsymutil='~$DSYMUTIL $lib || :'
8756 else 8915 else
8757 _lt_dsymutil= 8916 _lt_dsymutil=
8758 fi 8917 fi
8759 ;; 8918 ;;
8760 esac 8919 esac
8761 8920
8921 # func_munge_path_list VARIABLE PATH
8922 # -----------------------------------
8923 # VARIABLE is name of variable containing _space_ separated list of
8924 # directories to be munged by the contents of PATH, which is string
8925 # having a format:
8926 # "DIR[:DIR]:"
8927 # string "DIR[ DIR]" will be prepended to VARIABLE
8928 # ":DIR[:DIR]"
8929 # string "DIR[ DIR]" will be appended to VARIABLE
8930 # "DIRP[:DIRP]::[DIRA:]DIRA"
8931 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8932 # "DIRA[ DIRA]" will be appended to VARIABLE
8933 # "DIR[:DIR]"
8934 # VARIABLE will be replaced by "DIR[ DIR]"
8935 func_munge_path_list ()
8936 {
8937 case x$2 in
8938 x)
8939 ;;
8940 *:)
8941 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8942 ;;
8943 x:*)
8944 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8945 ;;
8946 *::*)
8947 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8948 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8949 ;;
8950 *)
8951 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8952 ;;
8953 esac
8954 }
8955
8762 for ac_header in dlfcn.h 8956 for ac_header in dlfcn.h
8763 do : 8957 do :
8764 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_i ncludes_default 8958 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_i ncludes_default
8765 " 8959 "
8766 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8960 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8767 cat >>confdefs.h <<_ACEOF 8961 cat >>confdefs.h <<_ACEOF
8768 #define HAVE_DLFCN_H 1 8962 #define HAVE_DLFCN_H 1
8769 _ACEOF 8963 _ACEOF
8770 8964
8771 fi 8965 fi
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
9086 9280
9087 # Check whether --enable-shared was given. 9281 # Check whether --enable-shared was given.
9088 if test "${enable_shared+set}" = set; then : 9282 if test "${enable_shared+set}" = set; then :
9089 enableval=$enable_shared; p=${PACKAGE-default} 9283 enableval=$enable_shared; p=${PACKAGE-default}
9090 case $enableval in 9284 case $enableval in
9091 yes) enable_shared=yes ;; 9285 yes) enable_shared=yes ;;
9092 no) enable_shared=no ;; 9286 no) enable_shared=no ;;
9093 *) 9287 *)
9094 enable_shared=no 9288 enable_shared=no
9095 # Look at the argument we got. We use all the common list separators. 9289 # Look at the argument we got. We use all the common list separators.
9096 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 9290 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9097 for pkg in $enableval; do 9291 for pkg in $enableval; do
9098 » IFS="$lt_save_ifs" 9292 » IFS=$lt_save_ifs
9099 if test "X$pkg" = "X$p"; then 9293 if test "X$pkg" = "X$p"; then
9100 enable_shared=yes 9294 enable_shared=yes
9101 fi 9295 fi
9102 done 9296 done
9103 IFS="$lt_save_ifs" 9297 IFS=$lt_save_ifs
9104 ;; 9298 ;;
9105 esac 9299 esac
9106 else 9300 else
9107 enable_shared=yes 9301 enable_shared=yes
9108 fi 9302 fi
9109 9303
9110 9304
9111 9305
9112 9306
9113 9307
9114 9308
9115 9309
9116 9310
9117 9311
9118 # Check whether --enable-static was given. 9312 # Check whether --enable-static was given.
9119 if test "${enable_static+set}" = set; then : 9313 if test "${enable_static+set}" = set; then :
9120 enableval=$enable_static; p=${PACKAGE-default} 9314 enableval=$enable_static; p=${PACKAGE-default}
9121 case $enableval in 9315 case $enableval in
9122 yes) enable_static=yes ;; 9316 yes) enable_static=yes ;;
9123 no) enable_static=no ;; 9317 no) enable_static=no ;;
9124 *) 9318 *)
9125 enable_static=no 9319 enable_static=no
9126 # Look at the argument we got. We use all the common list separators. 9320 # Look at the argument we got. We use all the common list separators.
9127 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 9321 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9128 for pkg in $enableval; do 9322 for pkg in $enableval; do
9129 » IFS="$lt_save_ifs" 9323 » IFS=$lt_save_ifs
9130 if test "X$pkg" = "X$p"; then 9324 if test "X$pkg" = "X$p"; then
9131 enable_static=yes 9325 enable_static=yes
9132 fi 9326 fi
9133 done 9327 done
9134 IFS="$lt_save_ifs" 9328 IFS=$lt_save_ifs
9135 ;; 9329 ;;
9136 esac 9330 esac
9137 else 9331 else
9138 enable_static=yes 9332 enable_static=yes
9139 fi 9333 fi
9140 9334
9141 9335
9142 9336
9143 9337
9144 9338
9145 9339
9146 9340
9147 9341
9148 9342
9149 9343
9150 # Check whether --with-pic was given. 9344 # Check whether --with-pic was given.
9151 if test "${with_pic+set}" = set; then : 9345 if test "${with_pic+set}" = set; then :
9152 withval=$with_pic; lt_p=${PACKAGE-default} 9346 withval=$with_pic; lt_p=${PACKAGE-default}
9153 case $withval in 9347 case $withval in
9154 yes|no) pic_mode=$withval ;; 9348 yes|no) pic_mode=$withval ;;
9155 *) 9349 *)
9156 pic_mode=default 9350 pic_mode=default
9157 # Look at the argument we got. We use all the common list separators. 9351 # Look at the argument we got. We use all the common list separators.
9158 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 9352 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9159 for lt_pkg in $withval; do 9353 for lt_pkg in $withval; do
9160 » IFS="$lt_save_ifs" 9354 » IFS=$lt_save_ifs
9161 if test "X$lt_pkg" = "X$lt_p"; then 9355 if test "X$lt_pkg" = "X$lt_p"; then
9162 pic_mode=yes 9356 pic_mode=yes
9163 fi 9357 fi
9164 done 9358 done
9165 IFS="$lt_save_ifs" 9359 IFS=$lt_save_ifs
9166 ;; 9360 ;;
9167 esac 9361 esac
9168 else 9362 else
9169 pic_mode=default 9363 pic_mode=default
9170 fi 9364 fi
9171 9365
9172 9366
9173 test -z "$pic_mode" && pic_mode=default
9174
9175
9176 9367
9177 9368
9369
9178 9370
9179 9371
9180 9372
9181 # Check whether --enable-fast-install was given. 9373 # Check whether --enable-fast-install was given.
9182 if test "${enable_fast_install+set}" = set; then : 9374 if test "${enable_fast_install+set}" = set; then :
9183 enableval=$enable_fast_install; p=${PACKAGE-default} 9375 enableval=$enable_fast_install; p=${PACKAGE-default}
9184 case $enableval in 9376 case $enableval in
9185 yes) enable_fast_install=yes ;; 9377 yes) enable_fast_install=yes ;;
9186 no) enable_fast_install=no ;; 9378 no) enable_fast_install=no ;;
9187 *) 9379 *)
9188 enable_fast_install=no 9380 enable_fast_install=no
9189 # Look at the argument we got. We use all the common list separators. 9381 # Look at the argument we got. We use all the common list separators.
9190 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 9382 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9191 for pkg in $enableval; do 9383 for pkg in $enableval; do
9192 » IFS="$lt_save_ifs" 9384 » IFS=$lt_save_ifs
9193 if test "X$pkg" = "X$p"; then 9385 if test "X$pkg" = "X$p"; then
9194 enable_fast_install=yes 9386 enable_fast_install=yes
9195 fi 9387 fi
9196 done 9388 done
9197 IFS="$lt_save_ifs" 9389 IFS=$lt_save_ifs
9198 ;; 9390 ;;
9199 esac 9391 esac
9200 else 9392 else
9201 enable_fast_install=yes 9393 enable_fast_install=yes
9202 fi 9394 fi
9203 9395
9204 9396
9205 9397
9206 9398
9207 9399
9208 9400
9209 9401
9210 9402
9403 shared_archive_member_spec=
9404 case $host,$enable_shared in
9405 power*-*-aix[5-9]*,yes)
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared libr ary versioning to provide" >&5
9407 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9408
9409 # Check whether --with-aix-soname was given.
9410 if test "${with_aix_soname+set}" = set; then :
9411 withval=$with_aix_soname; case $withval in
9412 aix|svr4|both)
9413 ;;
9414 *)
9415 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9416 ;;
9417 esac
9418 lt_cv_with_aix_soname=$with_aix_soname
9419 else
9420 if ${lt_cv_with_aix_soname+:} false; then :
9421 $as_echo_n "(cached) " >&6
9422 else
9423 lt_cv_with_aix_soname=aix
9424 fi
9425
9426 with_aix_soname=$lt_cv_with_aix_soname
9427 fi
9428
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9430 $as_echo "$with_aix_soname" >&6; }
9431 if test aix != "$with_aix_soname"; then
9432 # For the AIX way of multilib, we name the shared archive member
9433 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9434 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9435 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9436 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9437 if test 64 = "${OBJECT_MODE-32}"; then
9438 shared_archive_member_spec=shr_64
9439 else
9440 shared_archive_member_spec=shr
9441 fi
9442 fi
9443 ;;
9444 *)
9445 with_aix_soname=aix
9446 ;;
9447 esac
9448
9449
9450
9451
9452
9453
9454
9211 9455
9212 9456
9213 9457
9214 # This can be used to rebuild libtool when needed 9458 # This can be used to rebuild libtool when needed
9215 LIBTOOL_DEPS="$ltmain" 9459 LIBTOOL_DEPS=$ltmain
9216 9460
9217 # Always use our own libtool. 9461 # Always use our own libtool.
9218 LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9462 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9219 9463
9220 9464
9221 9465
9222 9466
9223 9467
9224 9468
9225 9469
(...skipping 28 matching lines...) Expand all
9254 9498
9255 9499
9256 9500
9257 9501
9258 9502
9259 9503
9260 9504
9261 9505
9262 9506
9263 9507
9264 if test -n "${ZSH_VERSION+set}" ; then 9508 if test -n "${ZSH_VERSION+set}"; then
9265 setopt NO_GLOB_SUBST 9509 setopt NO_GLOB_SUBST
9266 fi 9510 fi
9267 9511
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9269 $as_echo_n "checking for objdir... " >&6; } 9513 $as_echo_n "checking for objdir... " >&6; }
9270 if ${lt_cv_objdir+:} false; then : 9514 if ${lt_cv_objdir+:} false; then :
9271 $as_echo_n "(cached) " >&6 9515 $as_echo_n "(cached) " >&6
9272 else 9516 else
9273 rm -f .libs 2>/dev/null 9517 rm -f .libs 2>/dev/null
9274 mkdir .libs 2>/dev/null 9518 mkdir .libs 2>/dev/null
(...skipping 18 matching lines...) Expand all
9293 _ACEOF 9537 _ACEOF
9294 9538
9295 9539
9296 9540
9297 9541
9298 case $host_os in 9542 case $host_os in
9299 aix3*) 9543 aix3*)
9300 # AIX sometimes has problems with the GCC collect2 program. For some 9544 # AIX sometimes has problems with the GCC collect2 program. For some
9301 # reason, if we set the COLLECT_NAMES environment variable, the problems 9545 # reason, if we set the COLLECT_NAMES environment variable, the problems
9302 # vanish in a puff of smoke. 9546 # vanish in a puff of smoke.
9303 if test "X${COLLECT_NAMES+set}" != Xset; then 9547 if test set != "${COLLECT_NAMES+set}"; then
9304 COLLECT_NAMES= 9548 COLLECT_NAMES=
9305 export COLLECT_NAMES 9549 export COLLECT_NAMES
9306 fi 9550 fi
9307 ;; 9551 ;;
9308 esac 9552 esac
9309 9553
9310 # Global variables: 9554 # Global variables:
9311 ofile=libtool 9555 ofile=libtool
9312 can_build_shared=yes 9556 can_build_shared=yes
9313 9557
9314 # All known linkers require a `.a' archive for static linking (except MSVC, 9558 # All known linkers require a '.a' archive for static linking (except MSVC,
9315 # which needs '.lib'). 9559 # which needs '.lib').
9316 libext=a 9560 libext=a
9317 9561
9318 with_gnu_ld="$lt_cv_prog_gnu_ld" 9562 with_gnu_ld=$lt_cv_prog_gnu_ld
9319 9563
9320 old_CC="$CC" 9564 old_CC=$CC
9321 old_CFLAGS="$CFLAGS" 9565 old_CFLAGS=$CFLAGS
9322 9566
9323 # Set sane defaults for various variables 9567 # Set sane defaults for various variables
9324 test -z "$CC" && CC=cc 9568 test -z "$CC" && CC=cc
9325 test -z "$LTCC" && LTCC=$CC 9569 test -z "$LTCC" && LTCC=$CC
9326 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9570 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9327 test -z "$LD" && LD=ld 9571 test -z "$LD" && LD=ld
9328 test -z "$ac_objext" && ac_objext=o 9572 test -z "$ac_objext" && ac_objext=o
9329 9573
9330 for cc_temp in $compiler""; do 9574 func_cc_basename $compiler
9331 case $cc_temp in 9575 cc_basename=$func_cc_basename_result
9332 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9333 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9334 \-*) ;;
9335 *) break;;
9336 esac
9337 done
9338 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9339 9576
9340 9577
9341 # Only perform the check for file, if the check method requires it 9578 # Only perform the check for file, if the check method requires it
9342 test -z "$MAGIC_CMD" && MAGIC_CMD=file 9579 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9343 case $deplibs_check_method in 9580 case $deplibs_check_method in
9344 file_magic*) 9581 file_magic*)
9345 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9582 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9347 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9584 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9348 if ${lt_cv_path_MAGIC_CMD+:} false; then : 9585 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9349 $as_echo_n "(cached) " >&6 9586 $as_echo_n "(cached) " >&6
9350 else 9587 else
9351 case $MAGIC_CMD in 9588 case $MAGIC_CMD in
9352 [\\/*] | ?:[\\/]*) 9589 [\\/*] | ?:[\\/]*)
9353 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path . 9590 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9354 ;; 9591 ;;
9355 *) 9592 *)
9356 lt_save_MAGIC_CMD="$MAGIC_CMD" 9593 lt_save_MAGIC_CMD=$MAGIC_CMD
9357 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9594 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9358 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9595 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9359 for ac_dir in $ac_dummy; do 9596 for ac_dir in $ac_dummy; do
9360 IFS="$lt_save_ifs" 9597 IFS=$lt_save_ifs
9361 test -z "$ac_dir" && ac_dir=. 9598 test -z "$ac_dir" && ac_dir=.
9362 if test -f $ac_dir/${ac_tool_prefix}file; then 9599 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9363 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 9600 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9364 if test -n "$file_magic_test_file"; then 9601 if test -n "$file_magic_test_file"; then
9365 case $deplibs_check_method in 9602 case $deplibs_check_method in
9366 "file_magic "*) 9603 "file_magic "*)
9367 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9604 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9368 » MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9605 » MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9369 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9606 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9370 $EGREP "$file_magic_regex" > /dev/null; then 9607 $EGREP "$file_magic_regex" > /dev/null; then
9371 : 9608 :
9372 else 9609 else
9373 cat <<_LT_EOF 1>&2 9610 cat <<_LT_EOF 1>&2
9374 9611
9375 *** Warning: the command libtool uses to detect shared libraries, 9612 *** Warning: the command libtool uses to detect shared libraries,
9376 *** $file_magic_cmd, produces output that libtool cannot recognize. 9613 *** $file_magic_cmd, produces output that libtool cannot recognize.
9377 *** The result is that libtool may fail to recognize shared libraries 9614 *** The result is that libtool may fail to recognize shared libraries
9378 *** as such. This will affect the creation of libtool libraries that 9615 *** as such. This will affect the creation of libtool libraries that
9379 *** depend on shared libraries, but programs linked with such libtool 9616 *** depend on shared libraries, but programs linked with such libtool
9380 *** libraries will work regardless of this problem. Nevertheless, you 9617 *** libraries will work regardless of this problem. Nevertheless, you
9381 *** may want to report the problem to your system manager and/or to 9618 *** may want to report the problem to your system manager and/or to
9382 *** bug-libtool@gnu.org 9619 *** bug-libtool@gnu.org
9383 9620
9384 _LT_EOF 9621 _LT_EOF
9385 fi ;; 9622 fi ;;
9386 esac 9623 esac
9387 fi 9624 fi
9388 break 9625 break
9389 fi 9626 fi
9390 done 9627 done
9391 IFS="$lt_save_ifs" 9628 IFS=$lt_save_ifs
9392 MAGIC_CMD="$lt_save_MAGIC_CMD" 9629 MAGIC_CMD=$lt_save_MAGIC_CMD
9393 ;; 9630 ;;
9394 esac 9631 esac
9395 fi 9632 fi
9396 9633
9397 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9634 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9398 if test -n "$MAGIC_CMD"; then 9635 if test -n "$MAGIC_CMD"; then
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9400 $as_echo "$MAGIC_CMD" >&6; } 9637 $as_echo "$MAGIC_CMD" >&6; }
9401 else 9638 else
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9403 $as_echo "no" >&6; } 9640 $as_echo "no" >&6; }
9404 fi 9641 fi
9405 9642
9406 9643
9407 9644
9408 9645
9409 9646
9410 if test -z "$lt_cv_path_MAGIC_CMD"; then 9647 if test -z "$lt_cv_path_MAGIC_CMD"; then
9411 if test -n "$ac_tool_prefix"; then 9648 if test -n "$ac_tool_prefix"; then
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9413 $as_echo_n "checking for file... " >&6; } 9650 $as_echo_n "checking for file... " >&6; }
9414 if ${lt_cv_path_MAGIC_CMD+:} false; then : 9651 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9415 $as_echo_n "(cached) " >&6 9652 $as_echo_n "(cached) " >&6
9416 else 9653 else
9417 case $MAGIC_CMD in 9654 case $MAGIC_CMD in
9418 [\\/*] | ?:[\\/]*) 9655 [\\/*] | ?:[\\/]*)
9419 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path . 9656 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9420 ;; 9657 ;;
9421 *) 9658 *)
9422 lt_save_MAGIC_CMD="$MAGIC_CMD" 9659 lt_save_MAGIC_CMD=$MAGIC_CMD
9423 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9660 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9424 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9661 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9425 for ac_dir in $ac_dummy; do 9662 for ac_dir in $ac_dummy; do
9426 IFS="$lt_save_ifs" 9663 IFS=$lt_save_ifs
9427 test -z "$ac_dir" && ac_dir=. 9664 test -z "$ac_dir" && ac_dir=.
9428 if test -f $ac_dir/file; then 9665 if test -f "$ac_dir/file"; then
9429 lt_cv_path_MAGIC_CMD="$ac_dir/file" 9666 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9430 if test -n "$file_magic_test_file"; then 9667 if test -n "$file_magic_test_file"; then
9431 case $deplibs_check_method in 9668 case $deplibs_check_method in
9432 "file_magic "*) 9669 "file_magic "*)
9433 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9670 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9434 » MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9671 » MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9435 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9672 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9436 $EGREP "$file_magic_regex" > /dev/null; then 9673 $EGREP "$file_magic_regex" > /dev/null; then
9437 : 9674 :
9438 else 9675 else
9439 cat <<_LT_EOF 1>&2 9676 cat <<_LT_EOF 1>&2
9440 9677
9441 *** Warning: the command libtool uses to detect shared libraries, 9678 *** Warning: the command libtool uses to detect shared libraries,
9442 *** $file_magic_cmd, produces output that libtool cannot recognize. 9679 *** $file_magic_cmd, produces output that libtool cannot recognize.
9443 *** The result is that libtool may fail to recognize shared libraries 9680 *** The result is that libtool may fail to recognize shared libraries
9444 *** as such. This will affect the creation of libtool libraries that 9681 *** as such. This will affect the creation of libtool libraries that
9445 *** depend on shared libraries, but programs linked with such libtool 9682 *** depend on shared libraries, but programs linked with such libtool
9446 *** libraries will work regardless of this problem. Nevertheless, you 9683 *** libraries will work regardless of this problem. Nevertheless, you
9447 *** may want to report the problem to your system manager and/or to 9684 *** may want to report the problem to your system manager and/or to
9448 *** bug-libtool@gnu.org 9685 *** bug-libtool@gnu.org
9449 9686
9450 _LT_EOF 9687 _LT_EOF
9451 fi ;; 9688 fi ;;
9452 esac 9689 esac
9453 fi 9690 fi
9454 break 9691 break
9455 fi 9692 fi
9456 done 9693 done
9457 IFS="$lt_save_ifs" 9694 IFS=$lt_save_ifs
9458 MAGIC_CMD="$lt_save_MAGIC_CMD" 9695 MAGIC_CMD=$lt_save_MAGIC_CMD
9459 ;; 9696 ;;
9460 esac 9697 esac
9461 fi 9698 fi
9462 9699
9463 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 9700 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9464 if test -n "$MAGIC_CMD"; then 9701 if test -n "$MAGIC_CMD"; then
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9466 $as_echo "$MAGIC_CMD" >&6; } 9703 $as_echo "$MAGIC_CMD" >&6; }
9467 else 9704 else
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9469 $as_echo "no" >&6; } 9706 $as_echo "no" >&6; }
9470 fi 9707 fi
9471 9708
9472 9709
9473 else 9710 else
9474 MAGIC_CMD=: 9711 MAGIC_CMD=:
9475 fi 9712 fi
9476 fi 9713 fi
9477 9714
9478 fi 9715 fi
9479 ;; 9716 ;;
9480 esac 9717 esac
9481 9718
9482 # Use C for the default configuration in the libtool script 9719 # Use C for the default configuration in the libtool script
9483 9720
9484 lt_save_CC="$CC" 9721 lt_save_CC=$CC
9485 ac_ext=c 9722 ac_ext=c
9486 ac_cpp='$CPP $CPPFLAGS' 9723 ac_cpp='$CPP $CPPFLAGS'
9487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 9725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
9489 ac_compiler_gnu=$ac_cv_c_compiler_gnu 9726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9490 9727
9491 9728
9492 # Source file extension for C test sources. 9729 # Source file extension for C test sources.
9493 ac_ext=c 9730 ac_ext=c
9494 9731
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
9532 echo "$lt_simple_link_test_code" >conftest.$ac_ext 9769 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9533 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9770 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9534 _lt_linker_boilerplate=`cat conftest.err` 9771 _lt_linker_boilerplate=`cat conftest.err`
9535 $RM -r conftest* 9772 $RM -r conftest*
9536 9773
9537 9774
9538 if test -n "$compiler"; then 9775 if test -n "$compiler"; then
9539 9776
9540 lt_prog_compiler_no_builtin_flag= 9777 lt_prog_compiler_no_builtin_flag=
9541 9778
9542 if test "$GCC" = yes; then 9779 if test yes = "$GCC"; then
9543 case $cc_basename in 9780 case $cc_basename in
9544 nvcc*) 9781 nvcc*)
9545 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9782 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9546 *) 9783 *)
9547 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9784 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9548 esac 9785 esac
9549 9786
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-r tti -fno-exceptions" >&5 9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-r tti -fno-exceptions" >&5
9551 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9788 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9552 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9789 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9553 $as_echo_n "(cached) " >&6 9790 $as_echo_n "(cached) " >&6
9554 else 9791 else
9555 lt_cv_prog_compiler_rtti_exceptions=no 9792 lt_cv_prog_compiler_rtti_exceptions=no
9556 ac_outfile=conftest.$ac_objext 9793 ac_outfile=conftest.$ac_objext
9557 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9794 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9558 lt_compiler_flag="-fno-rtti -fno-exceptions" 9795 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quot es_in_assignment
9559 # Insert the option either (1) after the last *FLAGS variable, or 9796 # Insert the option either (1) after the last *FLAGS variable, or
9560 # (2) before a word containing "conftest.", or (3) at the end. 9797 # (2) before a word containing "conftest.", or (3) at the end.
9561 # Note that $ac_compile itself does not contain backslashes and begins 9798 # Note that $ac_compile itself does not contain backslashes and begins
9562 # with a dollar sign (not a hyphen), so the echo should work correctly. 9799 # with a dollar sign (not a hyphen), so the echo should work correctly.
9563 # The option is referenced via a variable to avoid confusing sed. 9800 # The option is referenced via a variable to avoid confusing sed.
9564 lt_compile=`echo "$ac_compile" | $SED \ 9801 lt_compile=`echo "$ac_compile" | $SED \
9565 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9802 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9566 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9803 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9567 -e 's:$: $lt_compiler_flag:'` 9804 -e 's:$: $lt_compiler_flag:'`
9568 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9805 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9569 (eval "$lt_compile" 2>conftest.err) 9806 (eval "$lt_compile" 2>conftest.err)
9570 ac_status=$? 9807 ac_status=$?
9571 cat conftest.err >&5 9808 cat conftest.err >&5
9572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573 if (exit $ac_status) && test -s "$ac_outfile"; then 9810 if (exit $ac_status) && test -s "$ac_outfile"; then
9574 # The compiler can only warn and ignore the option if not recognized 9811 # The compiler can only warn and ignore the option if not recognized
9575 # So say no if there are warnings other than the usual output. 9812 # So say no if there are warnings other than the usual output.
9576 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9813 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9577 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9814 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9578 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the n 9815 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the n
9579 lt_cv_prog_compiler_rtti_exceptions=yes 9816 lt_cv_prog_compiler_rtti_exceptions=yes
9580 fi 9817 fi
9581 fi 9818 fi
9582 $RM conftest* 9819 $RM conftest*
9583 9820
9584 fi 9821 fi
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_excep tions" >&5 9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_excep tions" >&5
9586 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9823 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9587 9824
9588 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 9825 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9589 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtt i -fno-exceptions" 9826 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtt i -fno-exceptions"
9590 else 9827 else
9591 : 9828 :
9592 fi 9829 fi
9593 9830
9594 fi 9831 fi
9595 9832
9596 9833
9597 9834
9598 9835
9599 9836
9600 9837
9601 lt_prog_compiler_wl= 9838 lt_prog_compiler_wl=
9602 lt_prog_compiler_pic= 9839 lt_prog_compiler_pic=
9603 lt_prog_compiler_static= 9840 lt_prog_compiler_static=
9604 9841
9605 9842
9606 if test "$GCC" = yes; then 9843 if test yes = "$GCC"; then
9607 lt_prog_compiler_wl='-Wl,' 9844 lt_prog_compiler_wl='-Wl,'
9608 lt_prog_compiler_static='-static' 9845 lt_prog_compiler_static='-static'
9609 9846
9610 case $host_os in 9847 case $host_os in
9611 aix*) 9848 aix*)
9612 # All AIX code is PIC. 9849 # All AIX code is PIC.
9613 if test "$host_cpu" = ia64; then 9850 if test ia64 = "$host_cpu"; then
9614 # AIX 5 now supports IA64 processor 9851 # AIX 5 now supports IA64 processor
9615 lt_prog_compiler_static='-Bstatic' 9852 lt_prog_compiler_static='-Bstatic'
9616 fi 9853 fi
9854 lt_prog_compiler_pic='-fPIC'
9617 ;; 9855 ;;
9618 9856
9619 amigaos*) 9857 amigaos*)
9620 case $host_cpu in 9858 case $host_cpu in
9621 powerpc) 9859 powerpc)
9622 # see comment about AmigaOS4 .so support 9860 # see comment about AmigaOS4 .so support
9623 lt_prog_compiler_pic='-fPIC' 9861 lt_prog_compiler_pic='-fPIC'
9624 ;; 9862 ;;
9625 m68k) 9863 m68k)
9626 # FIXME: we need at least 68020 code to build shared libraries, but 9864 # FIXME: we need at least 68020 code to build shared libraries, but
9627 # adding the `-m68020' flag to GCC prevents building anything better , 9865 # adding the '-m68020' flag to GCC prevents building anything better ,
9628 # like `-m68040'. 9866 # like '-m68040'.
9629 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9867 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9630 ;; 9868 ;;
9631 esac 9869 esac
9632 ;; 9870 ;;
9633 9871
9634 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9872 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9635 # PIC is the default for these OSes. 9873 # PIC is the default for these OSes.
9636 ;; 9874 ;;
9637 9875
9638 mingw* | cygwin* | pw32* | os2* | cegcc*) 9876 mingw* | cygwin* | pw32* | os2* | cegcc*)
9639 # This hack is so that the source file can tell whether it is being 9877 # This hack is so that the source file can tell whether it is being
9640 # built for inclusion in a dll (and should export symbols for example). 9878 # built for inclusion in a dll (and should export symbols for example).
9641 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9879 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9642 # (--disable-auto-import) libraries 9880 # (--disable-auto-import) libraries
9643 lt_prog_compiler_pic='-DDLL_EXPORT' 9881 lt_prog_compiler_pic='-DDLL_EXPORT'
9882 case $host_os in
9883 os2*)
9884 lt_prog_compiler_static='$wl-static'
9885 ;;
9886 esac
9644 ;; 9887 ;;
9645 9888
9646 darwin* | rhapsody*) 9889 darwin* | rhapsody*)
9647 # PIC is the default on this platform 9890 # PIC is the default on this platform
9648 # Common symbols not allowed in MH_DYLIB files 9891 # Common symbols not allowed in MH_DYLIB files
9649 lt_prog_compiler_pic='-fno-common' 9892 lt_prog_compiler_pic='-fno-common'
9650 ;; 9893 ;;
9651 9894
9652 haiku*) 9895 haiku*)
9653 # PIC is the default for Haiku. 9896 # PIC is the default for Haiku.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
9704 if test -n "$lt_prog_compiler_pic"; then 9947 if test -n "$lt_prog_compiler_pic"; then
9705 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9948 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9706 fi 9949 fi
9707 ;; 9950 ;;
9708 esac 9951 esac
9709 else 9952 else
9710 # PORTME Check for flag to pass linker flags through the system compiler. 9953 # PORTME Check for flag to pass linker flags through the system compiler.
9711 case $host_os in 9954 case $host_os in
9712 aix*) 9955 aix*)
9713 lt_prog_compiler_wl='-Wl,' 9956 lt_prog_compiler_wl='-Wl,'
9714 if test "$host_cpu" = ia64; then 9957 if test ia64 = "$host_cpu"; then
9715 # AIX 5 now supports IA64 processor 9958 # AIX 5 now supports IA64 processor
9716 lt_prog_compiler_static='-Bstatic' 9959 lt_prog_compiler_static='-Bstatic'
9717 else 9960 else
9718 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9961 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9719 fi 9962 fi
9720 ;; 9963 ;;
9721 9964
9965 darwin* | rhapsody*)
9966 # PIC is the default on this platform
9967 # Common symbols not allowed in MH_DYLIB files
9968 lt_prog_compiler_pic='-fno-common'
9969 case $cc_basename in
9970 nagfor*)
9971 # NAG Fortran compiler
9972 lt_prog_compiler_wl='-Wl,-Wl,,'
9973 lt_prog_compiler_pic='-PIC'
9974 lt_prog_compiler_static='-Bstatic'
9975 ;;
9976 esac
9977 ;;
9978
9722 mingw* | cygwin* | pw32* | os2* | cegcc*) 9979 mingw* | cygwin* | pw32* | os2* | cegcc*)
9723 # This hack is so that the source file can tell whether it is being 9980 # This hack is so that the source file can tell whether it is being
9724 # built for inclusion in a dll (and should export symbols for example). 9981 # built for inclusion in a dll (and should export symbols for example).
9725 lt_prog_compiler_pic='-DDLL_EXPORT' 9982 lt_prog_compiler_pic='-DDLL_EXPORT'
9983 case $host_os in
9984 os2*)
9985 lt_prog_compiler_static='$wl-static'
9986 ;;
9987 esac
9726 ;; 9988 ;;
9727 9989
9728 hpux9* | hpux10* | hpux11*) 9990 hpux9* | hpux10* | hpux11*)
9729 lt_prog_compiler_wl='-Wl,' 9991 lt_prog_compiler_wl='-Wl,'
9730 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9992 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9731 # not for PA HP-UX. 9993 # not for PA HP-UX.
9732 case $host_cpu in 9994 case $host_cpu in
9733 hppa*64*|ia64*) 9995 hppa*64*|ia64*)
9734 # +Z the default 9996 # +Z the default
9735 ;; 9997 ;;
9736 *) 9998 *)
9737 lt_prog_compiler_pic='+Z' 9999 lt_prog_compiler_pic='+Z'
9738 ;; 10000 ;;
9739 esac 10001 esac
9740 # Is there a better lt_prog_compiler_static that works with the bundled CC ? 10002 # Is there a better lt_prog_compiler_static that works with the bundled CC ?
9741 lt_prog_compiler_static='${wl}-a ${wl}archive' 10003 lt_prog_compiler_static='$wl-a ${wl}archive'
9742 ;; 10004 ;;
9743 10005
9744 irix5* | irix6* | nonstopux*) 10006 irix5* | irix6* | nonstopux*)
9745 lt_prog_compiler_wl='-Wl,' 10007 lt_prog_compiler_wl='-Wl,'
9746 # PIC (with -KPIC) is the default. 10008 # PIC (with -KPIC) is the default.
9747 lt_prog_compiler_static='-non_shared' 10009 lt_prog_compiler_static='-non_shared'
9748 ;; 10010 ;;
9749 10011
9750 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10012 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9751 case $cc_basename in 10013 case $cc_basename in
9752 # old Intel for x86_64 which still supported -KPIC. 10014 # old Intel for x86_64, which still supported -KPIC.
9753 ecc*) 10015 ecc*)
9754 lt_prog_compiler_wl='-Wl,' 10016 lt_prog_compiler_wl='-Wl,'
9755 lt_prog_compiler_pic='-KPIC' 10017 lt_prog_compiler_pic='-KPIC'
9756 lt_prog_compiler_static='-static' 10018 lt_prog_compiler_static='-static'
9757 ;; 10019 ;;
9758 # icc used to be incompatible with GCC. 10020 # icc used to be incompatible with GCC.
9759 # ICC 10 doesn't accept -KPIC any more. 10021 # ICC 10 doesn't accept -KPIC any more.
9760 icc* | ifort*) 10022 icc* | ifort*)
9761 lt_prog_compiler_wl='-Wl,' 10023 lt_prog_compiler_wl='-Wl,'
9762 lt_prog_compiler_pic='-fPIC' 10024 lt_prog_compiler_pic='-fPIC'
9763 lt_prog_compiler_static='-static' 10025 lt_prog_compiler_static='-static'
9764 ;; 10026 ;;
9765 # Lahey Fortran 8.1. 10027 # Lahey Fortran 8.1.
9766 lf95*) 10028 lf95*)
9767 lt_prog_compiler_wl='-Wl,' 10029 lt_prog_compiler_wl='-Wl,'
9768 lt_prog_compiler_pic='--shared' 10030 lt_prog_compiler_pic='--shared'
9769 lt_prog_compiler_static='--static' 10031 lt_prog_compiler_static='--static'
9770 ;; 10032 ;;
9771 nagfor*) 10033 nagfor*)
9772 # NAG Fortran compiler 10034 # NAG Fortran compiler
9773 lt_prog_compiler_wl='-Wl,-Wl,,' 10035 lt_prog_compiler_wl='-Wl,-Wl,,'
9774 lt_prog_compiler_pic='-PIC' 10036 lt_prog_compiler_pic='-PIC'
9775 lt_prog_compiler_static='-Bstatic' 10037 lt_prog_compiler_static='-Bstatic'
9776 ;; 10038 ;;
10039 tcc*)
10040 # Fabrice Bellard et al's Tiny C Compiler
10041 lt_prog_compiler_wl='-Wl,'
10042 lt_prog_compiler_pic='-fPIC'
10043 lt_prog_compiler_static='-static'
10044 ;;
9777 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 10045 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9778 # Portland Group compilers (*not* the Pentium gcc compiler, 10046 # Portland Group compilers (*not* the Pentium gcc compiler,
9779 # which looks to be a dead project) 10047 # which looks to be a dead project)
9780 lt_prog_compiler_wl='-Wl,' 10048 lt_prog_compiler_wl='-Wl,'
9781 lt_prog_compiler_pic='-fpic' 10049 lt_prog_compiler_pic='-fpic'
9782 lt_prog_compiler_static='-Bstatic' 10050 lt_prog_compiler_static='-Bstatic'
9783 ;; 10051 ;;
9784 ccc*) 10052 ccc*)
9785 lt_prog_compiler_wl='-Wl,' 10053 lt_prog_compiler_wl='-Wl,'
9786 # All Alpha code is PIC. 10054 # All Alpha code is PIC.
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
9864 lt_prog_compiler_static='-Bstatic' 10132 lt_prog_compiler_static='-Bstatic'
9865 ;; 10133 ;;
9866 10134
9867 sysv4 | sysv4.2uw2* | sysv4.3*) 10135 sysv4 | sysv4.2uw2* | sysv4.3*)
9868 lt_prog_compiler_wl='-Wl,' 10136 lt_prog_compiler_wl='-Wl,'
9869 lt_prog_compiler_pic='-KPIC' 10137 lt_prog_compiler_pic='-KPIC'
9870 lt_prog_compiler_static='-Bstatic' 10138 lt_prog_compiler_static='-Bstatic'
9871 ;; 10139 ;;
9872 10140
9873 sysv4*MP*) 10141 sysv4*MP*)
9874 if test -d /usr/nec ;then 10142 if test -d /usr/nec; then
9875 lt_prog_compiler_pic='-Kconform_pic' 10143 lt_prog_compiler_pic='-Kconform_pic'
9876 lt_prog_compiler_static='-Bstatic' 10144 lt_prog_compiler_static='-Bstatic'
9877 fi 10145 fi
9878 ;; 10146 ;;
9879 10147
9880 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10148 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9881 lt_prog_compiler_wl='-Wl,' 10149 lt_prog_compiler_wl='-Wl,'
9882 lt_prog_compiler_pic='-KPIC' 10150 lt_prog_compiler_pic='-KPIC'
9883 lt_prog_compiler_static='-Bstatic' 10151 lt_prog_compiler_static='-Bstatic'
9884 ;; 10152 ;;
9885 10153
9886 unicos*) 10154 unicos*)
9887 lt_prog_compiler_wl='-Wl,' 10155 lt_prog_compiler_wl='-Wl,'
9888 lt_prog_compiler_can_build_shared=no 10156 lt_prog_compiler_can_build_shared=no
9889 ;; 10157 ;;
9890 10158
9891 uts4*) 10159 uts4*)
9892 lt_prog_compiler_pic='-pic' 10160 lt_prog_compiler_pic='-pic'
9893 lt_prog_compiler_static='-Bstatic' 10161 lt_prog_compiler_static='-Bstatic'
9894 ;; 10162 ;;
9895 10163
9896 *) 10164 *)
9897 lt_prog_compiler_can_build_shared=no 10165 lt_prog_compiler_can_build_shared=no
9898 ;; 10166 ;;
9899 esac 10167 esac
9900 fi 10168 fi
9901 10169
9902 case $host_os in 10170 case $host_os in
9903 # For platforms which do not support PIC, -DPIC is meaningless: 10171 # For platforms that do not support PIC, -DPIC is meaningless:
9904 *djgpp*) 10172 *djgpp*)
9905 lt_prog_compiler_pic= 10173 lt_prog_compiler_pic=
9906 ;; 10174 ;;
9907 *) 10175 *)
9908 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10176 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9909 ;; 10177 ;;
9910 esac 10178 esac
9911 10179
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produc e PIC" >&5 10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produc e PIC" >&5
9913 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10181 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
(...skipping 11 matching lines...) Expand all
9925 # 10193 #
9926 if test -n "$lt_prog_compiler_pic"; then 10194 if test -n "$lt_prog_compiler_pic"; then
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_pr og_compiler_pic works" >&5 10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_pr og_compiler_pic works" >&5
9928 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10196 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9929 if ${lt_cv_prog_compiler_pic_works+:} false; then : 10197 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9930 $as_echo_n "(cached) " >&6 10198 $as_echo_n "(cached) " >&6
9931 else 10199 else
9932 lt_cv_prog_compiler_pic_works=no 10200 lt_cv_prog_compiler_pic_works=no
9933 ac_outfile=conftest.$ac_objext 10201 ac_outfile=conftest.$ac_objext
9934 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10202 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9935 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 10203 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_qu otes_in_assignment
9936 # Insert the option either (1) after the last *FLAGS variable, or 10204 # Insert the option either (1) after the last *FLAGS variable, or
9937 # (2) before a word containing "conftest.", or (3) at the end. 10205 # (2) before a word containing "conftest.", or (3) at the end.
9938 # Note that $ac_compile itself does not contain backslashes and begins 10206 # Note that $ac_compile itself does not contain backslashes and begins
9939 # with a dollar sign (not a hyphen), so the echo should work correctly. 10207 # with a dollar sign (not a hyphen), so the echo should work correctly.
9940 # The option is referenced via a variable to avoid confusing sed. 10208 # The option is referenced via a variable to avoid confusing sed.
9941 lt_compile=`echo "$ac_compile" | $SED \ 10209 lt_compile=`echo "$ac_compile" | $SED \
9942 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10210 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9943 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10211 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9944 -e 's:$: $lt_compiler_flag:'` 10212 -e 's:$: $lt_compiler_flag:'`
9945 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10213 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9946 (eval "$lt_compile" 2>conftest.err) 10214 (eval "$lt_compile" 2>conftest.err)
9947 ac_status=$? 10215 ac_status=$?
9948 cat conftest.err >&5 10216 cat conftest.err >&5
9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 if (exit $ac_status) && test -s "$ac_outfile"; then 10218 if (exit $ac_status) && test -s "$ac_outfile"; then
9951 # The compiler can only warn and ignore the option if not recognized 10219 # The compiler can only warn and ignore the option if not recognized
9952 # So say no if there are warnings other than the usual output. 10220 # So say no if there are warnings other than the usual output.
9953 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10221 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9954 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10222 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9955 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the n 10223 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the n
9956 lt_cv_prog_compiler_pic_works=yes 10224 lt_cv_prog_compiler_pic_works=yes
9957 fi 10225 fi
9958 fi 10226 fi
9959 $RM conftest* 10227 $RM conftest*
9960 10228
9961 fi 10229 fi
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9963 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10231 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9964 10232
9965 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 10233 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9966 case $lt_prog_compiler_pic in 10234 case $lt_prog_compiler_pic in
9967 "" | " "*) ;; 10235 "" | " "*) ;;
9968 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10236 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9969 esac 10237 esac
9970 else 10238 else
9971 lt_prog_compiler_pic= 10239 lt_prog_compiler_pic=
9972 lt_prog_compiler_can_build_shared=no 10240 lt_prog_compiler_can_build_shared=no
9973 fi 10241 fi
9974 10242
9975 fi 10243 fi
(...skipping 11 matching lines...) Expand all
9987 # 10255 #
9988 # Check to make sure the static flag actually works. 10256 # Check to make sure the static flag actually works.
9989 # 10257 #
9990 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10258 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_t mp_static_flag works" >&5 10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_t mp_static_flag works" >&5
9992 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6 ; } 10260 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6 ; }
9993 if ${lt_cv_prog_compiler_static_works+:} false; then : 10261 if ${lt_cv_prog_compiler_static_works+:} false; then :
9994 $as_echo_n "(cached) " >&6 10262 $as_echo_n "(cached) " >&6
9995 else 10263 else
9996 lt_cv_prog_compiler_static_works=no 10264 lt_cv_prog_compiler_static_works=no
9997 save_LDFLAGS="$LDFLAGS" 10265 save_LDFLAGS=$LDFLAGS
9998 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10266 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9999 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10267 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10000 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10268 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10001 # The linker can only warn and ignore the option if not recognized 10269 # The linker can only warn and ignore the option if not recognized
10002 # So say no if there are warnings 10270 # So say no if there are warnings
10003 if test -s conftest.err; then 10271 if test -s conftest.err; then
10004 # Append any errors to the config.log. 10272 # Append any errors to the config.log.
10005 cat conftest.err 1>&5 10273 cat conftest.err 1>&5
10006 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10274 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10007 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10275 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10008 if diff conftest.exp conftest.er2 >/dev/null; then 10276 if diff conftest.exp conftest.er2 >/dev/null; then
10009 lt_cv_prog_compiler_static_works=yes 10277 lt_cv_prog_compiler_static_works=yes
10010 fi 10278 fi
10011 else 10279 else
10012 lt_cv_prog_compiler_static_works=yes 10280 lt_cv_prog_compiler_static_works=yes
10013 fi 10281 fi
10014 fi 10282 fi
10015 $RM -r conftest* 10283 $RM -r conftest*
10016 LDFLAGS="$save_LDFLAGS" 10284 LDFLAGS=$save_LDFLAGS
10017 10285
10018 fi 10286 fi
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_wor ks" >&5 10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_wor ks" >&5
10020 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10288 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10021 10289
10022 if test x"$lt_cv_prog_compiler_static_works" = xyes; then 10290 if test yes = "$lt_cv_prog_compiler_static_works"; then
10023 : 10291 :
10024 else 10292 else
10025 lt_prog_compiler_static= 10293 lt_prog_compiler_static=
10026 fi 10294 fi
10027 10295
10028 10296
10029 10297
10030 10298
10031 10299
10032 10300
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
10132 $RM -r conftest 10400 $RM -r conftest
10133 $RM conftest* 10401 $RM conftest*
10134 10402
10135 fi 10403 fi
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10137 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10405 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10138 10406
10139 10407
10140 10408
10141 10409
10142 hard_links="nottested" 10410 hard_links=nottested
10143 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 10411 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10144 # do not overwrite the value of need_locks provided by the user 10412 # do not overwrite the value of need_locks provided by the user
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard lin ks" >&5 10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard lin ks" >&5
10146 $as_echo_n "checking if we can lock with hard links... " >&6; } 10414 $as_echo_n "checking if we can lock with hard links... " >&6; }
10147 hard_links=yes 10415 hard_links=yes
10148 $RM conftest* 10416 $RM conftest*
10149 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10417 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10150 touch conftest.a 10418 touch conftest.a
10151 ln conftest.a conftest.b 2>&5 || hard_links=no 10419 ln conftest.a conftest.b 2>&5 || hard_links=no
10152 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10420 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10154 $as_echo "$hard_links" >&6; } 10422 $as_echo "$hard_links" >&6; }
10155 if test "$hard_links" = no; then 10423 if test no = "$hard_links"; then
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \` -c -o', so \`make -j' may be unsafe" >&5 10424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10157 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may b e unsafe" >&2;} 10425 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be u nsafe" >&2;}
10158 need_locks=warn 10426 need_locks=warn
10159 fi 10427 fi
10160 else 10428 else
10161 need_locks=no 10429 need_locks=no
10162 fi 10430 fi
10163 10431
10164 10432
10165 10433
10166 10434
10167 10435
(...skipping 22 matching lines...) Expand all
10190 module_cmds= 10458 module_cmds=
10191 module_expsym_cmds= 10459 module_expsym_cmds=
10192 old_archive_from_new_cmds= 10460 old_archive_from_new_cmds=
10193 old_archive_from_expsyms_cmds= 10461 old_archive_from_expsyms_cmds=
10194 thread_safe_flag_spec= 10462 thread_safe_flag_spec=
10195 whole_archive_flag_spec= 10463 whole_archive_flag_spec=
10196 # include_expsyms should be a list of space-separated symbols to be *always* 10464 # include_expsyms should be a list of space-separated symbols to be *always*
10197 # included in the symbol list 10465 # included in the symbol list
10198 include_expsyms= 10466 include_expsyms=
10199 # exclude_expsyms can be an extended regexp of symbols to exclude 10467 # exclude_expsyms can be an extended regexp of symbols to exclude
10200 # it will be wrapped by ` (' and `)$', so one must not match beginning or 10468 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10201 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 10469 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10202 # as well as any symbol that contains `d'. 10470 # as well as any symbol that contains 'd'.
10203 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10471 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10204 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10472 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10205 # platforms (ab)use it in PIC code, but their linkers get confused if 10473 # platforms (ab)use it in PIC code, but their linkers get confused if
10206 # the symbol is explicitly referenced. Since portable code cannot 10474 # the symbol is explicitly referenced. Since portable code cannot
10207 # rely on this symbol name, it's probably fine to never include it in 10475 # rely on this symbol name, it's probably fine to never include it in
10208 # preloaded symbol tables. 10476 # preloaded symbol tables.
10209 # Exclude shared library initialization/finalization symbols. 10477 # Exclude shared library initialization/finalization symbols.
10210 extract_expsyms_cmds= 10478 extract_expsyms_cmds=
10211 10479
10212 case $host_os in 10480 case $host_os in
10213 cygwin* | mingw* | pw32* | cegcc*) 10481 cygwin* | mingw* | pw32* | cegcc*)
10214 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10482 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10215 # When not using gcc, we currently assume that we are using 10483 # When not using gcc, we currently assume that we are using
10216 # Microsoft Visual C++. 10484 # Microsoft Visual C++.
10217 if test "$GCC" != yes; then 10485 if test yes != "$GCC"; then
10218 with_gnu_ld=no 10486 with_gnu_ld=no
10219 fi 10487 fi
10220 ;; 10488 ;;
10221 interix*) 10489 interix*)
10222 # we just hope/assume this is gcc and not c89 (= MSVC++) 10490 # we just hope/assume this is gcc and not c89 (= MSVC++)
10223 with_gnu_ld=yes 10491 with_gnu_ld=yes
10224 ;; 10492 ;;
10225 openbsd*) 10493 openbsd* | bitrig*)
10226 with_gnu_ld=no 10494 with_gnu_ld=no
10227 ;; 10495 ;;
10228 linux* | k*bsd*-gnu | gnu*)
10229 link_all_deplibs=no
10230 ;;
10231 esac 10496 esac
10232 10497
10233 ld_shlibs=yes 10498 ld_shlibs=yes
10234 10499
10235 # On some targets, GNU ld is compatible enough with the native linker 10500 # On some targets, GNU ld is compatible enough with the native linker
10236 # that we're better off using the native interface for both. 10501 # that we're better off using the native interface for both.
10237 lt_use_gnu_ld_interface=no 10502 lt_use_gnu_ld_interface=no
10238 if test "$with_gnu_ld" = yes; then 10503 if test yes = "$with_gnu_ld"; then
10239 case $host_os in 10504 case $host_os in
10240 aix*) 10505 aix*)
10241 # The AIX port of GNU ld has always aspired to compatibility 10506 # The AIX port of GNU ld has always aspired to compatibility
10242 # with the native linker. However, as the warning in the GNU ld 10507 # with the native linker. However, as the warning in the GNU ld
10243 # block says, versions before 2.19.5* couldn't really create working 10508 # block says, versions before 2.19.5* couldn't really create working
10244 # shared libraries, regardless of the interface used. 10509 # shared libraries, regardless of the interface used.
10245 case `$LD -v 2>&1` in 10510 case `$LD -v 2>&1` in
10246 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10511 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10247 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10512 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10248 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10513 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10249 *) 10514 *)
10250 lt_use_gnu_ld_interface=yes 10515 lt_use_gnu_ld_interface=yes
10251 ;; 10516 ;;
10252 esac 10517 esac
10253 ;; 10518 ;;
10254 *) 10519 *)
10255 lt_use_gnu_ld_interface=yes 10520 lt_use_gnu_ld_interface=yes
10256 ;; 10521 ;;
10257 esac 10522 esac
10258 fi 10523 fi
10259 10524
10260 if test "$lt_use_gnu_ld_interface" = yes; then 10525 if test yes = "$lt_use_gnu_ld_interface"; then
10261 # If archive_cmds runs LD, not CC, wlarc should be empty 10526 # If archive_cmds runs LD, not CC, wlarc should be empty
10262 wlarc='${wl}' 10527 wlarc='$wl'
10263 10528
10264 # Set some defaults for GNU ld with shared library support. These 10529 # Set some defaults for GNU ld with shared library support. These
10265 # are reset later if shared libraries are not supported. Putting them 10530 # are reset later if shared libraries are not supported. Putting them
10266 # here allows them to be overridden if necessary. 10531 # here allows them to be overridden if necessary.
10267 runpath_var=LD_RUN_PATH 10532 runpath_var=LD_RUN_PATH
10268 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10533 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10269 export_dynamic_flag_spec='${wl}--export-dynamic' 10534 export_dynamic_flag_spec='$wl--export-dynamic'
10270 # ancient GNU ld didn't support --whole-archive et. al. 10535 # ancient GNU ld didn't support --whole-archive et. al.
10271 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10536 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10272 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--n o-whole-archive' 10537 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-wh ole-archive'
10273 else 10538 else
10274 whole_archive_flag_spec= 10539 whole_archive_flag_spec=
10275 fi 10540 fi
10276 supports_anon_versioning=no 10541 supports_anon_versioning=no
10277 case `$LD -v 2>&1` in 10542 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10278 *GNU\ gold*) supports_anon_versioning=yes ;; 10543 *GNU\ gold*) supports_anon_versioning=yes ;;
10279 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10544 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10280 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10545 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10281 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10546 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10282 *\ 2.11.*) ;; # other 2.11 versions 10547 *\ 2.11.*) ;; # other 2.11 versions
10283 *) supports_anon_versioning=yes ;; 10548 *) supports_anon_versioning=yes ;;
10284 esac 10549 esac
10285 10550
10286 # See if GNU ld supports shared libraries. 10551 # See if GNU ld supports shared libraries.
10287 case $host_os in 10552 case $host_os in
10288 aix[3-9]*) 10553 aix[3-9]*)
10289 # On AIX/PPC, the GNU linker is very broken 10554 # On AIX/PPC, the GNU linker is very broken
10290 if test "$host_cpu" != ia64; then 10555 if test ia64 != "$host_cpu"; then
10291 ld_shlibs=no 10556 ld_shlibs=no
10292 cat <<_LT_EOF 1>&2 10557 cat <<_LT_EOF 1>&2
10293 10558
10294 *** Warning: the GNU linker, at least up to release 2.19, is reported 10559 *** Warning: the GNU linker, at least up to release 2.19, is reported
10295 *** to be unable to reliably create shared libraries on AIX. 10560 *** to be unable to reliably create shared libraries on AIX.
10296 *** Therefore, libtool is disabling shared libraries support. If you 10561 *** Therefore, libtool is disabling shared libraries support. If you
10297 *** really care for shared libraries, you may want to install binutils 10562 *** really care for shared libraries, you may want to install binutils
10298 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10563 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10299 *** You will then need to restart the configuration process. 10564 *** You will then need to restart the configuration process.
10300 10565
10301 _LT_EOF 10566 _LT_EOF
10302 fi 10567 fi
10303 ;; 10568 ;;
10304 10569
10305 amigaos*) 10570 amigaos*)
10306 case $host_cpu in 10571 case $host_cpu in
10307 powerpc) 10572 powerpc)
10308 # see comment about AmigaOS4 .so support 10573 # see comment about AmigaOS4 .so support
10309 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so name $wl$soname -o $lib' 10574 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-sona me $wl$soname -o $lib'
10310 archive_expsym_cmds='' 10575 archive_expsym_cmds=''
10311 ;; 10576 ;;
10312 m68k) 10577 m68k)
10313 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAM E $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $o utput_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a 2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary .data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 10578 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAM E $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $o utput_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a 2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary .data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10314 hardcode_libdir_flag_spec='-L$libdir' 10579 hardcode_libdir_flag_spec='-L$libdir'
10315 hardcode_minus_L=yes 10580 hardcode_minus_L=yes
10316 ;; 10581 ;;
10317 esac 10582 esac
10318 ;; 10583 ;;
10319 10584
10320 beos*) 10585 beos*)
10321 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10586 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10322 allow_undefined_flag=unsupported 10587 allow_undefined_flag=unsupported
10323 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10588 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10324 # support --undefined. This deserves some investigation. FIXME 10589 # support --undefined. This deserves some investigation. FIXME
10325 » archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-sonam e $wl$soname -o $lib' 10590 » archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10326 else 10591 else
10327 ld_shlibs=no 10592 ld_shlibs=no
10328 fi 10593 fi
10329 ;; 10594 ;;
10330 10595
10331 cygwin* | mingw* | pw32* | cegcc*) 10596 cygwin* | mingw* | pw32* | cegcc*)
10332 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10597 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10333 # as there is no search path for DLLs. 10598 # as there is no search path for DLLs.
10334 hardcode_libdir_flag_spec='-L$libdir' 10599 hardcode_libdir_flag_spec='-L$libdir'
10335 export_dynamic_flag_spec='${wl}--export-all-symbols' 10600 export_dynamic_flag_spec='$wl--export-all-symbols'
10336 allow_undefined_flag=unsupported 10601 allow_undefined_flag=unsupported
10337 always_export_symbols=no 10602 always_export_symbols=no
10338 enable_shared_with_static_runtimes=yes 10603 enable_shared_with_static_runtimes=yes
10339 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SE D -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]* /\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 10604 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SE D -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]* /\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10340 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A -Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10605 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A -Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10341 10606
10342 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10607 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10343 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_o bjdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10608 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_o bjdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10344 » # If the export-symbols file already is a .def file (1st line 10609 » # If the export-symbols file already is a .def file, use it as
10345 » # is EXPORTS), use it as is; otherwise, prepend... 10610 » # is; otherwise, prepend EXPORTS...
10346 » archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; th en 10611 » archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[» ]*//'\' ' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([» ].*\)*$ /DEF/p'\'' -e q $export_symbols`" ; then
10347 » cp $export_symbols $output_objdir/$soname.def; 10612 cp $export_symbols $output_objdir/$soname.def;
10348 » else 10613 else
10349 » echo EXPORTS > $output_objdir/$soname.def; 10614 echo EXPORTS > $output_objdir/$soname.def;
10350 » cat $export_symbols >> $output_objdir/$soname.def; 10615 cat $export_symbols >> $output_objdir/$soname.def;
10351 » fi~ 10616 fi~
10352 » $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib - Xlinker $lib' 10617 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xl inker $lib'
10353 else 10618 else
10354 ld_shlibs=no 10619 ld_shlibs=no
10355 fi 10620 fi
10356 ;; 10621 ;;
10357 10622
10358 haiku*) 10623 haiku*)
10359 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $ wl$soname -o $lib' 10624 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl $soname -o $lib'
10360 link_all_deplibs=yes 10625 link_all_deplibs=yes
10361 ;; 10626 ;;
10362 10627
10628 os2*)
10629 hardcode_libdir_flag_spec='-L$libdir'
10630 hardcode_minus_L=yes
10631 allow_undefined_flag=unsupported
10632 shrext_cmds=.dll
10633 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTAN CE" > $output_objdir/$libname.def~
10634 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10635 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10636 $ECHO EXPORTS >> $output_objdir/$libname.def~
10637 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def ~
10638 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler _flags $output_objdir/$libname.def~
10639 emximp -o $lib $output_objdir/$libname.def'
10640 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TER MINSTANCE" > $output_objdir/$libname.def~
10641 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10642 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10643 $ECHO EXPORTS >> $output_objdir/$libname.def~
10644 prefix_cmds="$SED"~
10645 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10646 prefix_cmds="$prefix_cmds -e 1d";
10647 fi~
10648 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10649 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10650 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler _flags $output_objdir/$libname.def~
10651 emximp -o $lib $output_objdir/$libname.def'
10652 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $outp ut_objdir/$libname.def'
10653 enable_shared_with_static_runtimes=yes
10654 ;;
10655
10363 interix[3-9]*) 10656 interix[3-9]*)
10364 hardcode_direct=no 10657 hardcode_direct=no
10365 hardcode_shlibpath_var=no 10658 hardcode_shlibpath_var=no
10366 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10659 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10367 export_dynamic_flag_spec='${wl}-E' 10660 export_dynamic_flag_spec='$wl-E'
10368 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10661 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10369 # Instead, shared libraries are loaded at an image base (0x10000000 by 10662 # Instead, shared libraries are loaded at an image base (0x10000000 by
10370 # default) and relocated if they conflict, which is a slow very memory 10663 # default) and relocated if they conflict, which is a slow very memory
10371 # consuming and fragmenting process. To avoid this, we pick a random, 10664 # consuming and fragmenting process. To avoid this, we pick a random,
10372 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10665 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10373 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10666 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10374 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl }-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 13421772 80` -o $lib' 10667 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl- h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10375 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' 10668 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 ${RAND OM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10376 ;; 10669 ;;
10377 10670
10378 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10671 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10379 tmp_diet=no 10672 tmp_diet=no
10380 if test "$host_os" = linux-dietlibc; then 10673 if test linux-dietlibc = "$host_os"; then
10381 case $cc_basename in 10674 case $cc_basename in
10382 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!d iet-dyn) 10675 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!d iet-dyn)
10383 esac 10676 esac
10384 fi 10677 fi
10385 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10678 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10386 » && test "$tmp_diet" = no 10679 » && test no = "$tmp_diet"
10387 then 10680 then
10388 tmp_addflag=' $pic_flag' 10681 tmp_addflag=' $pic_flag'
10389 tmp_sharedflag='-shared' 10682 tmp_sharedflag='-shared'
10390 case $cc_basename,$host_cpu in 10683 case $cc_basename,$host_cpu in
10391 pgcc*) # Portland Group C compiler 10684 pgcc*) # Portland Group C compiler
10392 » 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' 10685 » whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\" \"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; f unc_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10393 tmp_addflag=' $pic_flag' 10686 tmp_addflag=' $pic_flag'
10394 ;; 10687 ;;
10395 pgf77* | pgf90* | pgf95* | pgfortran*) 10688 pgf77* | pgf90* | pgf95* | pgfortran*)
10396 # Portland Group f77 and f90 compilers 10689 # Portland Group f77 and f90 compilers
10397 » 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' 10690 » whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\" \"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; f unc_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10398 tmp_addflag=' $pic_flag -Mnomain' ;; 10691 tmp_addflag=' $pic_flag -Mnomain' ;;
10399 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10692 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10400 tmp_addflag=' -i_dynamic' ;; 10693 tmp_addflag=' -i_dynamic' ;;
10401 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10694 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10402 tmp_addflag=' -i_dynamic -nofor_main' ;; 10695 tmp_addflag=' -i_dynamic -nofor_main' ;;
10403 ifc* | ifort*) # Intel Fortran compiler 10696 ifc* | ifort*) # Intel Fortran compiler
10404 tmp_addflag=' -nofor_main' ;; 10697 tmp_addflag=' -nofor_main' ;;
10405 lf95*) # Lahey Fortran 8.1 10698 lf95*) # Lahey Fortran 8.1
10406 whole_archive_flag_spec= 10699 whole_archive_flag_spec=
10407 tmp_sharedflag='--shared' ;; 10700 tmp_sharedflag='--shared' ;;
10701 nagfor*) # NAGFOR 5.3
10702 tmp_sharedflag='-Wl,-shared' ;;
10408 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf b elow) 10703 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf b elow)
10409 tmp_sharedflag='-qmkshrobj' 10704 tmp_sharedflag='-qmkshrobj'
10410 tmp_addflag= ;; 10705 tmp_addflag= ;;
10411 nvcc*) # Cuda Compiler Driver 2.2 10706 nvcc*) # Cuda Compiler Driver 2.2
10412 » 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' 10707 » whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\" \"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; f unc_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10413 compiler_needs_object=yes 10708 compiler_needs_object=yes
10414 ;; 10709 ;;
10415 esac 10710 esac
10416 case `$CC -V 2>&1 | sed 5q` in 10711 case `$CC -V 2>&1 | sed 5q` in
10417 *Sun\ C*) # Sun C 5.9 10712 *Sun\ C*) # Sun C 5.9
10418 » whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for co nv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenien ce,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 10713 » 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'
10419 compiler_needs_object=yes 10714 compiler_needs_object=yes
10420 tmp_sharedflag='-G' ;; 10715 tmp_sharedflag='-G' ;;
10421 *Sun\ F*) # Sun Fortran 8.3 10716 *Sun\ F*) # Sun Fortran 8.3
10422 tmp_sharedflag='-G' ;; 10717 tmp_sharedflag='-G' ;;
10423 esac 10718 esac
10424 » archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $c ompiler_flags ${wl}-soname $wl$soname -o $lib' 10719 » archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $c ompiler_flags $wl-soname $wl$soname -o $lib'
10425 10720
10426 if test "x$supports_anon_versioning" = xyes; then 10721 if test yes = "$supports_anon_versioning"; then
10427 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10722 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10428 » cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libn ame.ver~ 10723 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libn ame.ver~
10429 » echo "local: *; };" >> $output_objdir/$libname.ver~ 10724 echo "local: *; };" >> $output_objdir/$libname.ver~
10430 » $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_fl ags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ve r -o $lib' 10725 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_fl ags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $ lib'
10431 fi 10726 fi
10432 10727
10433 case $cc_basename in 10728 case $cc_basename in
10729 tcc*)
10730 export_dynamic_flag_spec='-rdynamic'
10731 ;;
10434 xlf* | bgf* | bgxlf* | mpixlf*) 10732 xlf* | bgf* | bgxlf* | mpixlf*)
10435 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10733 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10436 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archiv e' 10734 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archiv e'
10437 » hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10735 » hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10438 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $son ame -o $lib' 10736 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $son ame -o $lib'
10439 » if test "x$supports_anon_versioning" = xyes; then 10737 » if test yes = "$supports_anon_versioning"; then
10440 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10738 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10441 » cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$li bname.ver~ 10739 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$li bname.ver~
10442 » echo "local: *; };" >> $output_objdir/$libname.ver~ 10740 echo "local: *; };" >> $output_objdir/$libname.ver~
10443 » $LD -shared $libobjs $deplibs $linker_flags -soname $soname -versi on-script $output_objdir/$libname.ver -o $lib' 10741 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -versi on-script $output_objdir/$libname.ver -o $lib'
10444 fi 10742 fi
10445 ;; 10743 ;;
10446 esac 10744 esac
10447 else 10745 else
10448 ld_shlibs=no 10746 ld_shlibs=no
10449 fi 10747 fi
10450 ;; 10748 ;;
10451 10749
10452 netbsd* | netbsdelf*-gnu) 10750 netbsd*)
10453 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10751 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10454 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10752 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10455 wlarc= 10753 wlarc=
10456 else 10754 else
10457 » archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${ wl}-soname $wl$soname -o $lib' 10755 » archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $w l-soname $wl$soname -o $lib'
10458 » archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_f lags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $li b' 10756 » archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_f lags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10459 fi 10757 fi
10460 ;; 10758 ;;
10461 10759
10462 solaris*) 10760 solaris*)
10463 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10761 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10464 ld_shlibs=no 10762 ld_shlibs=no
10465 cat <<_LT_EOF 1>&2 10763 cat <<_LT_EOF 1>&2
10466 10764
10467 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 10765 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10468 *** create shared libraries on Solaris systems. Therefore, libtool 10766 *** create shared libraries on Solaris systems. Therefore, libtool
10469 *** is disabling shared libraries support. We urge you to upgrade GNU 10767 *** is disabling shared libraries support. We urge you to upgrade GNU
10470 *** binutils to release 2.9.1 or newer. Another option is to modify 10768 *** binutils to release 2.9.1 or newer. Another option is to modify
10471 *** your PATH or compiler configuration so that the native linker is 10769 *** your PATH or compiler configuration so that the native linker is
10472 *** used, and then restart. 10770 *** used, and then restart.
10473 10771
10474 _LT_EOF 10772 _LT_EOF
10475 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; the n 10773 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; the n
10476 » archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${ wl}-soname $wl$soname -o $lib' 10774 » archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $w l-soname $wl$soname -o $lib'
10477 » archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_f lags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $li b' 10775 » archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_f lags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10478 else 10776 else
10479 ld_shlibs=no 10777 ld_shlibs=no
10480 fi 10778 fi
10481 ;; 10779 ;;
10482 10780
10483 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10781 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10484 case `$LD -v 2>&1` in 10782 case `$LD -v 2>&1` in
10485 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10783 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10486 ld_shlibs=no 10784 ld_shlibs=no
10487 cat <<_LT_EOF 1>&2 10785 cat <<_LT_EOF 1>&2
10488 10786
10489 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 10787 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10490 *** reliably create shared libraries on SCO systems. Therefore, libtool 10788 *** reliably create shared libraries on SCO systems. Therefore, libtool
10491 *** is disabling shared libraries support. We urge you to upgrade GNU 10789 *** is disabling shared libraries support. We urge you to upgrade GNU
10492 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10790 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10493 *** your PATH or compiler configuration so that the native linker is 10791 *** your PATH or compiler configuration so that the native linker is
10494 *** used, and then restart. 10792 *** used, and then restart.
10495 10793
10496 _LT_EOF 10794 _LT_EOF
10497 ;; 10795 ;;
10498 *) 10796 *)
10499 # For security reasons, it is highly recommended that you always 10797 # For security reasons, it is highly recommended that you always
10500 # use absolute paths for naming shared libraries, and exclude the 10798 # use absolute paths for naming shared libraries, and exclude the
10501 # DT_RUNPATH tag from executables and libraries. But doing so 10799 # DT_RUNPATH tag from executables and libraries. But doing so
10502 # requires that you compile everything twice, which is a pain. 10800 # requires that you compile everything twice, which is a pain.
10503 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; t hen 10801 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; t hen
10504 » hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10802 » hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10505 » archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so name $wl$soname -o $lib' 10803 » archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-sona me $wl$soname -o $lib'
10506 » archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10804 » archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $ wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10507 else 10805 else
10508 ld_shlibs=no 10806 ld_shlibs=no
10509 fi 10807 fi
10510 ;; 10808 ;;
10511 esac 10809 esac
10512 ;; 10810 ;;
10513 10811
10514 sunos4*) 10812 sunos4*)
10515 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10813 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10516 wlarc= 10814 wlarc=
10517 hardcode_direct=yes 10815 hardcode_direct=yes
10518 hardcode_shlibpath_var=no 10816 hardcode_shlibpath_var=no
10519 ;; 10817 ;;
10520 10818
10521 *) 10819 *)
10522 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10820 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10523 » archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${ wl}-soname $wl$soname -o $lib' 10821 » archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $w l-soname $wl$soname -o $lib'
10524 » archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_f lags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $li b' 10822 » archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_f lags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10525 else 10823 else
10526 ld_shlibs=no 10824 ld_shlibs=no
10527 fi 10825 fi
10528 ;; 10826 ;;
10529 esac 10827 esac
10530 10828
10531 if test "$ld_shlibs" = no; then 10829 if test no = "$ld_shlibs"; then
10532 runpath_var= 10830 runpath_var=
10533 hardcode_libdir_flag_spec= 10831 hardcode_libdir_flag_spec=
10534 export_dynamic_flag_spec= 10832 export_dynamic_flag_spec=
10535 whole_archive_flag_spec= 10833 whole_archive_flag_spec=
10536 fi 10834 fi
10537 else 10835 else
10538 # PORTME fill in a description of your system's linker (not GNU ld) 10836 # PORTME fill in a description of your system's linker (not GNU ld)
10539 case $host_os in 10837 case $host_os in
10540 aix3*) 10838 aix3*)
10541 allow_undefined_flag=unsupported 10839 allow_undefined_flag=unsupported
10542 always_export_symbols=yes 10840 always_export_symbols=yes
10543 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $link er_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objd ir/$soname' 10841 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $link er_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objd ir/$soname'
10544 # Note: this linker hardcodes the directories in LIBPATH if there 10842 # Note: this linker hardcodes the directories in LIBPATH if there
10545 # are no directories specified by -L. 10843 # are no directories specified by -L.
10546 hardcode_minus_L=yes 10844 hardcode_minus_L=yes
10547 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 10845 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10548 # Neither direct hardcoding nor static linking is supported with a 10846 # Neither direct hardcoding nor static linking is supported with a
10549 # broken collect2. 10847 # broken collect2.
10550 hardcode_direct=unsupported 10848 hardcode_direct=unsupported
10551 fi 10849 fi
10552 ;; 10850 ;;
10553 10851
10554 aix[4-9]*) 10852 aix[4-9]*)
10555 if test "$host_cpu" = ia64; then 10853 if test ia64 = "$host_cpu"; then
10556 # On IA64, the linker does run time linking by default, so we don't 10854 # On IA64, the linker does run time linking by default, so we don't
10557 # have to do anything special. 10855 # have to do anything special.
10558 aix_use_runtimelinking=no 10856 aix_use_runtimelinking=no
10559 exp_sym_flag='-Bexport' 10857 exp_sym_flag='-Bexport'
10560 » no_entry_flag="" 10858 » no_entry_flag=
10561 else 10859 else
10562 # If we're using GNU nm, then we don't want the "-C" option. 10860 # If we're using GNU nm, then we don't want the "-C" option.
10563 » # -C means demangle to AIX nm, but means don't demangle with GNU nm 10861 » # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10564 » # Also, AIX nm treats weak defined symbols like other global 10862 » # Without the "-l" option, or with the "-B" option, AIX nm treats
10565 » # defined symbols, whereas GNU nm marks them as "W". 10863 » # weak defined symbols like other global defined symbols, whereas
10864 » # GNU nm marks them as "W".
10865 » # While the 'weak' keyword is ignored in the Export File, we need
10866 » # it in the Import File for the 'aix-soname' feature, so we have
10867 » # to replace the "-B" option with "-P" for AIX nm.
10566 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10868 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10567 » 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' 10869 » export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if ((( \$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3 ,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } } '\'' | sort -u > $export_symbols'
10568 else 10870 else
10569 » 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' 10871 » export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\ 1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (su bstr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10570 fi 10872 fi
10571 aix_use_runtimelinking=no 10873 aix_use_runtimelinking=no
10572 10874
10573 # Test if we are trying to use run time linking or normal 10875 # Test if we are trying to use run time linking or normal
10574 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10876 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10575 » # need to do runtime linking. 10877 » # have runtime linking enabled, and use it for executables.
10878 » # For shared libraries, we enable/disable runtime linking
10879 » # depending on the kind of the shared library created -
10880 » # when "with_aix_soname,aix_use_runtimelinking" is:
10881 » # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10882 » # "aix,yes" lib.so shared, rtl:yes, for executables
10883 » # lib.a static archive
10884 » # "both,no" lib.so.V(shr.o) shared, rtl:yes
10885 » # lib.a(lib.so.V) shared, rtl:no, for executables
10886 » # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10887 » # lib.a(lib.so.V) shared, rtl:no
10888 » # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10889 » # lib.a static archive
10576 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10890 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10577 for ld_flag in $LDFLAGS; do 10891 for ld_flag in $LDFLAGS; do
10578 » if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 10892 » if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10579 aix_use_runtimelinking=yes 10893 aix_use_runtimelinking=yes
10580 break 10894 break
10581 fi 10895 fi
10582 done 10896 done
10897 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10898 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10899 # so we don't have lib.a shared libs to link our executables.
10900 # We have to force runtime linking in this case.
10901 aix_use_runtimelinking=yes
10902 LDFLAGS="$LDFLAGS -Wl,-brtl"
10903 fi
10583 ;; 10904 ;;
10584 esac 10905 esac
10585 10906
10586 exp_sym_flag='-bexport' 10907 exp_sym_flag='-bexport'
10587 no_entry_flag='-bnoentry' 10908 no_entry_flag='-bnoentry'
10588 fi 10909 fi
10589 10910
10590 # When large executables or shared objects are built, AIX ld can 10911 # When large executables or shared objects are built, AIX ld can
10591 # have problems creating the table of contents. If linking a library 10912 # have problems creating the table of contents. If linking a library
10592 # or program results in "error TOC overflow" add -mminimal-toc to 10913 # or program results in "error TOC overflow" add -mminimal-toc to
10593 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10914 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10594 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10915 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10595 10916
10596 archive_cmds='' 10917 archive_cmds=''
10597 hardcode_direct=yes 10918 hardcode_direct=yes
10598 hardcode_direct_absolute=yes 10919 hardcode_direct_absolute=yes
10599 hardcode_libdir_separator=':' 10920 hardcode_libdir_separator=':'
10600 link_all_deplibs=yes 10921 link_all_deplibs=yes
10601 file_list_spec='${wl}-f,' 10922 file_list_spec='$wl-f,'
10923 case $with_aix_soname,$aix_use_runtimelinking in
10924 aix,*) ;; # traditional, no import file
10925 svr4,* | *,yes) # use import file
10926 » # The Import File defines what to hardcode.
10927 » hardcode_direct=no
10928 » hardcode_direct_absolute=no
10929 » ;;
10930 esac
10602 10931
10603 if test "$GCC" = yes; then 10932 if test yes = "$GCC"; then
10604 case $host_os in aix4.[012]|aix4.[012].*) 10933 case $host_os in aix4.[012]|aix4.[012].*)
10605 # We only want to do this on AIX 4.2 and lower, the check 10934 # We only want to do this on AIX 4.2 and lower, the check
10606 # below for broken collect2 doesn't work under 4.3+ 10935 # below for broken collect2 doesn't work under 4.3+
10607 » collect2name=`${CC} -print-prog-name=collect2` 10936 » collect2name=`$CC -print-prog-name=collect2`
10608 if test -f "$collect2name" && 10937 if test -f "$collect2name" &&
10609 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10938 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10610 then 10939 then
10611 # We have reworked collect2 10940 # We have reworked collect2
10612 : 10941 :
10613 else 10942 else
10614 # We have old collect2 10943 # We have old collect2
10615 hardcode_direct=unsupported 10944 hardcode_direct=unsupported
10616 # It fails to find uninstalled libraries when the uninstalled 10945 # It fails to find uninstalled libraries when the uninstalled
10617 # path is not listed in the libpath. Setting hardcode_minus_L 10946 # path is not listed in the libpath. Setting hardcode_minus_L
10618 # to unsupported forces relinking 10947 # to unsupported forces relinking
10619 hardcode_minus_L=yes 10948 hardcode_minus_L=yes
10620 hardcode_libdir_flag_spec='-L$libdir' 10949 hardcode_libdir_flag_spec='-L$libdir'
10621 hardcode_libdir_separator= 10950 hardcode_libdir_separator=
10622 fi 10951 fi
10623 ;; 10952 ;;
10624 esac 10953 esac
10625 shared_flag='-shared' 10954 shared_flag='-shared'
10626 » if test "$aix_use_runtimelinking" = yes; then 10955 » if test yes = "$aix_use_runtimelinking"; then
10627 » shared_flag="$shared_flag "'${wl}-G' 10956 » shared_flag="$shared_flag "'$wl-G'
10628 fi 10957 fi
10629 » link_all_deplibs=no 10958 » # Need to ensure runtime linking is disabled for the traditional
10959 » # shared library, or the linker may eventually find shared libraries
10960 » # /with/ Import File - we do not want to mix them.
10961 » shared_flag_aix='-shared'
10962 » shared_flag_svr4='-shared $wl-G'
10630 else 10963 else
10631 # not using gcc 10964 # not using gcc
10632 » if test "$host_cpu" = ia64; then 10965 » if test ia64 = "$host_cpu"; then
10633 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10966 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10634 # chokes on -Wl,-G. The following line is correct: 10967 # chokes on -Wl,-G. The following line is correct:
10635 shared_flag='-G' 10968 shared_flag='-G'
10636 else 10969 else
10637 » if test "$aix_use_runtimelinking" = yes; then 10970 » if test yes = "$aix_use_runtimelinking"; then
10638 » shared_flag='${wl}-G' 10971 » shared_flag='$wl-G'
10639 else 10972 else
10640 » shared_flag='${wl}-bM:SRE' 10973 » shared_flag='$wl-bM:SRE'
10641 fi 10974 fi
10975 shared_flag_aix='$wl-bM:SRE'
10976 shared_flag_svr4='$wl-G'
10642 fi 10977 fi
10643 fi 10978 fi
10644 10979
10645 export_dynamic_flag_spec='${wl}-bexpall' 10980 export_dynamic_flag_spec='$wl-bexpall'
10646 # It seems that -bexpall does not export symbols beginning with 10981 # It seems that -bexpall does not export symbols beginning with
10647 # underscore (_), so it is better to generate a list of symbols to export. 10982 # underscore (_), so it is better to generate a list of symbols to export.
10648 always_export_symbols=yes 10983 always_export_symbols=yes
10649 if test "$aix_use_runtimelinking" = yes; then 10984 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10650 # Warning - without using the other runtime loading flags (-brtl), 10985 # Warning - without using the other runtime loading flags (-brtl),
10651 # -berok will link without error, but may produce a broken library. 10986 # -berok will link without error, but may produce a broken library.
10652 allow_undefined_flag='-berok' 10987 allow_undefined_flag='-berok'
10653 # Determine the default libpath from the value encoded in an 10988 # Determine the default libpath from the value encoded in an
10654 # empty executable. 10989 # empty executable.
10655 if test "${lt_cv_aix_libpath+set}" = set; then 10990 if test set = "${lt_cv_aix_libpath+set}"; then
10656 aix_libpath=$lt_cv_aix_libpath 10991 aix_libpath=$lt_cv_aix_libpath
10657 else 10992 else
10658 if ${lt_cv_aix_libpath_+:} false; then : 10993 if ${lt_cv_aix_libpath_+:} false; then :
10659 $as_echo_n "(cached) " >&6 10994 $as_echo_n "(cached) " >&6
10660 else 10995 else
10661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10662 /* end confdefs.h. */ 10997 /* end confdefs.h. */
10663 10998
10664 int 10999 int
10665 main () 11000 main ()
(...skipping 14 matching lines...) Expand all
10680 }' 11015 }'
10681 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a ix_libpath_sed"` 11016 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a ix_libpath_sed"`
10682 # Check for a 64-bit object if we didn't find anything. 11017 # Check for a 64-bit object if we didn't find anything.
10683 if test -z "$lt_cv_aix_libpath_"; then 11018 if test -z "$lt_cv_aix_libpath_"; then
10684 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e " $lt_aix_libpath_sed"` 11019 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e " $lt_aix_libpath_sed"`
10685 fi 11020 fi
10686 fi 11021 fi
10687 rm -f core conftest.err conftest.$ac_objext \ 11022 rm -f core conftest.err conftest.$ac_objext \
10688 conftest$ac_exeext conftest.$ac_ext 11023 conftest$ac_exeext conftest.$ac_ext
10689 if test -z "$lt_cv_aix_libpath_"; then 11024 if test -z "$lt_cv_aix_libpath_"; then
10690 lt_cv_aix_libpath_="/usr/lib:/lib" 11025 lt_cv_aix_libpath_=/usr/lib:/lib
10691 fi 11026 fi
10692 11027
10693 fi 11028 fi
10694 11029
10695 aix_libpath=$lt_cv_aix_libpath_ 11030 aix_libpath=$lt_cv_aix_libpath_
10696 fi 11031 fi
10697 11032
10698 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 11033 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10699 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_sy m_flag:\$export_symbols $shared_flag" 11034 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl '$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_ echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symb ols' '$shared_flag
10700 else 11035 else
10701 » if test "$host_cpu" = ia64; then 11036 » if test ia64 = "$host_cpu"; then
10702 » hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 11037 » hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10703 allow_undefined_flag="-z nodefs" 11038 allow_undefined_flag="-z nodefs"
10704 » archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $li bobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_f lag} '"\${wl}$exp_sym_flag:\$export_symbols" 11039 » archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $li bobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag ' "\$wl$exp_sym_flag:\$export_symbols"
10705 else 11040 else
10706 # Determine the default libpath from the value encoded in an 11041 # Determine the default libpath from the value encoded in an
10707 # empty executable. 11042 # empty executable.
10708 » if test "${lt_cv_aix_libpath+set}" = set; then 11043 » if test set = "${lt_cv_aix_libpath+set}"; then
10709 aix_libpath=$lt_cv_aix_libpath 11044 aix_libpath=$lt_cv_aix_libpath
10710 else 11045 else
10711 if ${lt_cv_aix_libpath_+:} false; then : 11046 if ${lt_cv_aix_libpath_+:} false; then :
10712 $as_echo_n "(cached) " >&6 11047 $as_echo_n "(cached) " >&6
10713 else 11048 else
10714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10715 /* end confdefs.h. */ 11050 /* end confdefs.h. */
10716 11051
10717 int 11052 int
10718 main () 11053 main ()
(...skipping 14 matching lines...) Expand all
10733 }' 11068 }'
10734 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a ix_libpath_sed"` 11069 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a ix_libpath_sed"`
10735 # Check for a 64-bit object if we didn't find anything. 11070 # Check for a 64-bit object if we didn't find anything.
10736 if test -z "$lt_cv_aix_libpath_"; then 11071 if test -z "$lt_cv_aix_libpath_"; then
10737 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e " $lt_aix_libpath_sed"` 11072 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e " $lt_aix_libpath_sed"`
10738 fi 11073 fi
10739 fi 11074 fi
10740 rm -f core conftest.err conftest.$ac_objext \ 11075 rm -f core conftest.err conftest.$ac_objext \
10741 conftest$ac_exeext conftest.$ac_ext 11076 conftest$ac_exeext conftest.$ac_ext
10742 if test -z "$lt_cv_aix_libpath_"; then 11077 if test -z "$lt_cv_aix_libpath_"; then
10743 lt_cv_aix_libpath_="/usr/lib:/lib" 11078 lt_cv_aix_libpath_=/usr/lib:/lib
10744 fi 11079 fi
10745 11080
10746 fi 11081 fi
10747 11082
10748 aix_libpath=$lt_cv_aix_libpath_ 11083 aix_libpath=$lt_cv_aix_libpath_
10749 fi 11084 fi
10750 11085
10751 » hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 11086 » hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10752 # Warning - without using the other run time loading flags, 11087 # Warning - without using the other run time loading flags,
10753 # -berok will link without error, but may produce a broken library. 11088 # -berok will link without error, but may produce a broken library.
10754 » no_undefined_flag=' ${wl}-bernotok' 11089 » no_undefined_flag=' $wl-bernotok'
10755 » allow_undefined_flag=' ${wl}-berok' 11090 » allow_undefined_flag=' $wl-berok'
10756 » if test "$with_gnu_ld" = yes; then 11091 » if test yes = "$with_gnu_ld"; then
10757 # We only use this code for GNU lds that support --whole-archive. 11092 # We only use this code for GNU lds that support --whole-archive.
10758 » whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no- whole-archive' 11093 » whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whol e-archive'
10759 else 11094 else
10760 # Exported symbols can be pulled into shared objects from archives 11095 # Exported symbols can be pulled into shared objects from archives
10761 whole_archive_flag_spec='$convenience' 11096 whole_archive_flag_spec='$convenience'
10762 fi 11097 fi
10763 archive_cmds_need_lc=yes 11098 archive_cmds_need_lc=yes
10764 » # This is similar to how AIX traditionally builds its shared libraries . 11099 » archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_ objdir/$realname.d'
10765 » archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $li bobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_un defined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$so name' 11100 » # -brtl affects multiple linker settings, -berok does not and is overr idden later
11101 » compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e " s%-brtl\\([, ]\\)%-berok\\1%g"`'
11102 » if test svr4 != "$with_aix_soname"; then
11103 » # This is similar to how AIX traditionally builds its shared librari es.
11104 » archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' - o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_f lags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_ objdir/$libname$release.a $output_objdir/$realname.d/$soname'
11105 » fi
11106 » if test aix != "$with_aix_soname"; then
11107 » archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $w l-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag ~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_ all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archi ve_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $ export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$A R $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_me mber_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
11108 » else
11109 » # used by -dlpreopen to get the symbols
11110 » archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$rea lname.d/$soname $output_objdir'
11111 » fi
11112 » archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$rea lname.d'
10766 fi 11113 fi
10767 fi 11114 fi
10768 ;; 11115 ;;
10769 11116
10770 amigaos*) 11117 amigaos*)
10771 case $host_cpu in 11118 case $host_cpu in
10772 powerpc) 11119 powerpc)
10773 # see comment about AmigaOS4 .so support 11120 # see comment about AmigaOS4 .so support
10774 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so name $wl$soname -o $lib' 11121 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-sona me $wl$soname -o $lib'
10775 archive_expsym_cmds='' 11122 archive_expsym_cmds=''
10776 ;; 11123 ;;
10777 m68k) 11124 m68k)
10778 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAM E $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $o utput_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a 2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary .data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 11125 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAM E $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $o utput_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a 2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary .data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10779 hardcode_libdir_flag_spec='-L$libdir' 11126 hardcode_libdir_flag_spec='-L$libdir'
10780 hardcode_minus_L=yes 11127 hardcode_minus_L=yes
10781 ;; 11128 ;;
10782 esac 11129 esac
10783 ;; 11130 ;;
10784 11131
10785 bsdi[45]*) 11132 bsdi[45]*)
10786 export_dynamic_flag_spec=-rdynamic 11133 export_dynamic_flag_spec=-rdynamic
10787 ;; 11134 ;;
10788 11135
10789 cygwin* | mingw* | pw32* | cegcc*) 11136 cygwin* | mingw* | pw32* | cegcc*)
10790 # When not using gcc, we currently assume that we are using 11137 # When not using gcc, we currently assume that we are using
10791 # Microsoft Visual C++. 11138 # Microsoft Visual C++.
10792 # hardcode_libdir_flag_spec is actually meaningless, as there is 11139 # hardcode_libdir_flag_spec is actually meaningless, as there is
10793 # no search path for DLLs. 11140 # no search path for DLLs.
10794 case $cc_basename in 11141 case $cc_basename in
10795 cl*) 11142 cl*)
10796 # Native MSVC 11143 # Native MSVC
10797 hardcode_libdir_flag_spec=' ' 11144 hardcode_libdir_flag_spec=' '
10798 allow_undefined_flag=unsupported 11145 allow_undefined_flag=unsupported
10799 always_export_symbols=yes 11146 always_export_symbols=yes
10800 file_list_spec='@' 11147 file_list_spec='@'
10801 # Tell ltmain to make .lib files, not .a files. 11148 # Tell ltmain to make .lib files, not .a files.
10802 libext=lib 11149 libext=lib
10803 # Tell ltmain to make .dll files, not .so files. 11150 # Tell ltmain to make .dll files, not .so files.
10804 » shrext_cmds=".dll" 11151 » shrext_cmds=.dll
10805 # FIXME: Setting linknames here is a bad hack. 11152 # FIXME: Setting linknames here is a bad hack.
10806 » archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $de plibs -Wl,-dll~linknames=' 11153 » archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $de plibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10807 » archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; th en 11154 » archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[» ]*//'\' ' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([» ].*\)*$ /DEF/p'\'' -e q $export_symbols`" ; then
10808 » sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\ !p' < $export_symbols > $output_objdir/$soname.exp; 11155 cp "$export_symbols" "$output_objdir/$soname.def";
10809 » else 11156 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp" ;
10810 » sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_s ymbols > $output_objdir/$soname.exp; 11157 else
10811 » fi~ 11158 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objd ir/$soname.exp;
10812 » $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@ $tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dl l.lib"~ 11159 fi~
10813 » linknames=' 11160 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@ $tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dl l.lib"~
11161 linknames='
10814 # The linker will not automatically build a static lib if we build a DLL . 11162 # The linker will not automatically build a static lib if we build a DLL .
10815 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11163 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10816 enable_shared_with_static_runtimes=yes 11164 enable_shared_with_static_runtimes=yes
10817 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11165 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10818 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $ SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ] /s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11166 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $ SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ] /s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10819 # Don't use ranlib 11167 # Don't use ranlib
10820 old_postinstall_cmds='chmod 644 $oldlib' 11168 old_postinstall_cmds='chmod 644 $oldlib'
10821 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11169 postlink_cmds='lt_outputfile="@OUTPUT@"~
10822 » lt_tool_outputfile="@TOOL_OUTPUT@"~ 11170 lt_tool_outputfile="@TOOL_OUTPUT@"~
10823 » case $lt_outputfile in 11171 case $lt_outputfile in
10824 » *.exe|*.EXE) ;; 11172 *.exe|*.EXE) ;;
10825 » *) 11173 *)
10826 » lt_outputfile="$lt_outputfile.exe" 11174 lt_outputfile=$lt_outputfile.exe
10827 » lt_tool_outputfile="$lt_tool_outputfile.exe" 11175 lt_tool_outputfile=$lt_tool_outputfile.exe
10828 » ;; 11176 ;;
10829 » esac~ 11177 esac~
10830 » if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 11178 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; th en
10831 » $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresou rce:"$lt_tool_outputfile" || exit 1; 11179 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresou rce:"$lt_tool_outputfile" || exit 1;
10832 » $RM "$lt_outputfile.manifest"; 11180 $RM "$lt_outputfile.manifest";
10833 » fi' 11181 fi'
10834 ;; 11182 ;;
10835 *) 11183 *)
10836 # Assume MSVC wrapper 11184 # Assume MSVC wrapper
10837 hardcode_libdir_flag_spec=' ' 11185 hardcode_libdir_flag_spec=' '
10838 allow_undefined_flag=unsupported 11186 allow_undefined_flag=unsupported
10839 # Tell ltmain to make .lib files, not .a files. 11187 # Tell ltmain to make .lib files, not .a files.
10840 libext=lib 11188 libext=lib
10841 # Tell ltmain to make .dll files, not .so files. 11189 # Tell ltmain to make .dll files, not .so files.
10842 » shrext_cmds=".dll" 11190 » shrext_cmds=.dll
10843 # FIXME: Setting linknames here is a bad hack. 11191 # FIXME: Setting linknames here is a bad hack.
10844 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$depl ibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11192 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$depl ibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10845 # The linker will automatically build a .lib file if we build a DLL. 11193 # The linker will automatically build a .lib file if we build a DLL.
10846 old_archive_from_new_cmds='true' 11194 old_archive_from_new_cmds='true'
10847 # FIXME: Should let the user specify the lib program. 11195 # FIXME: Should let the user specify the lib program.
10848 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11196 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10849 enable_shared_with_static_runtimes=yes 11197 enable_shared_with_static_runtimes=yes
10850 ;; 11198 ;;
10851 esac 11199 esac
10852 ;; 11200 ;;
10853 11201
10854 darwin* | rhapsody*) 11202 darwin* | rhapsody*)
10855 11203
10856 11204
10857 archive_cmds_need_lc=no 11205 archive_cmds_need_lc=no
10858 hardcode_direct=no 11206 hardcode_direct=no
10859 hardcode_automatic=yes 11207 hardcode_automatic=yes
10860 hardcode_shlibpath_var=unsupported 11208 hardcode_shlibpath_var=unsupported
10861 if test "$lt_cv_ld_force_load" = "yes"; then 11209 if test yes = "$lt_cv_ld_force_load"; then
10862 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\ " && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_ech o_all \"$new_convenience\"`' 11210 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\"`'
10863 11211
10864 else 11212 else
10865 whole_archive_flag_spec='' 11213 whole_archive_flag_spec=''
10866 fi 11214 fi
10867 link_all_deplibs=yes 11215 link_all_deplibs=yes
10868 allow_undefined_flag="$_lt_dar_allow_undefined" 11216 allow_undefined_flag=$_lt_dar_allow_undefined
10869 case $cc_basename in 11217 case $cc_basename in
10870 ifort*) _lt_dar_can_shared=yes ;; 11218 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10871 *) _lt_dar_can_shared=$GCC ;; 11219 *) _lt_dar_can_shared=$GCC ;;
10872 esac 11220 esac
10873 if test "$_lt_dar_can_shared" = "yes"; then 11221 if test yes = "$_lt_dar_can_shared"; then
10874 output_verbose_link_cmd=func_echo_all 11222 output_verbose_link_cmd=func_echo_all
10875 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$d eplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_sing le_mod${_lt_dsymutil}" 11223 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$d eplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_sing le_mod$_lt_dsymutil"
10876 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplib s \$compiler_flags${_lt_dsymutil}" 11224 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplib s \$compiler_flags$_lt_dsymutil"
10877 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${li bname}-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}" 11225 archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$lib name-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \ $deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_si ngle_mod$_lt_dar_export_syms$_lt_dsymutil"
10878 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}" 11226 module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$l ibname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$d eplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
10879 11227
10880 else 11228 else
10881 ld_shlibs=no 11229 ld_shlibs=no
10882 fi 11230 fi
10883 11231
10884 ;; 11232 ;;
10885 11233
10886 dgux*) 11234 dgux*)
10887 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11235 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10888 hardcode_libdir_flag_spec='-L$libdir' 11236 hardcode_libdir_flag_spec='-L$libdir'
(...skipping 21 matching lines...) Expand all
10910 11258
10911 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 11259 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10912 freebsd* | dragonfly*) 11260 freebsd* | dragonfly*)
10913 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_fl ags' 11261 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_fl ags'
10914 hardcode_libdir_flag_spec='-R$libdir' 11262 hardcode_libdir_flag_spec='-R$libdir'
10915 hardcode_direct=yes 11263 hardcode_direct=yes
10916 hardcode_shlibpath_var=no 11264 hardcode_shlibpath_var=no
10917 ;; 11265 ;;
10918 11266
10919 hpux9*) 11267 hpux9*)
10920 if test "$GCC" = yes; then 11268 if test yes = "$GCC"; then
10921 » 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' 11269 » archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl $install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10922 else 11270 else
10923 » archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $o utput_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 11271 » archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $o utput_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$sona me" = "x$lib" || mv $output_objdir/$soname $lib'
10924 fi 11272 fi
10925 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 11273 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10926 hardcode_libdir_separator=: 11274 hardcode_libdir_separator=:
10927 hardcode_direct=yes 11275 hardcode_direct=yes
10928 11276
10929 # hardcode_minus_L: Not really in the search PATH, 11277 # hardcode_minus_L: Not really in the search PATH,
10930 # but as the default location of the library. 11278 # but as the default location of the library.
10931 hardcode_minus_L=yes 11279 hardcode_minus_L=yes
10932 export_dynamic_flag_spec='${wl}-E' 11280 export_dynamic_flag_spec='$wl-E'
10933 ;; 11281 ;;
10934 11282
10935 hpux10*) 11283 hpux10*)
10936 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 11284 if test yes,no = "$GCC,$with_gnu_ld"; then
10937 » archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$i nstall_libdir -o $lib $libobjs $deplibs $compiler_flags' 11285 » archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_l ibdir -o $lib $libobjs $deplibs $compiler_flags'
10938 else 11286 else
10939 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $dep libs $linker_flags' 11287 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $dep libs $linker_flags'
10940 fi 11288 fi
10941 if test "$with_gnu_ld" = no; then 11289 if test no = "$with_gnu_ld"; then
10942 » hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 11290 » hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10943 hardcode_libdir_separator=: 11291 hardcode_libdir_separator=:
10944 hardcode_direct=yes 11292 hardcode_direct=yes
10945 hardcode_direct_absolute=yes 11293 hardcode_direct_absolute=yes
10946 » export_dynamic_flag_spec='${wl}-E' 11294 » export_dynamic_flag_spec='$wl-E'
10947 # hardcode_minus_L: Not really in the search PATH, 11295 # hardcode_minus_L: Not really in the search PATH,
10948 # but as the default location of the library. 11296 # but as the default location of the library.
10949 hardcode_minus_L=yes 11297 hardcode_minus_L=yes
10950 fi 11298 fi
10951 ;; 11299 ;;
10952 11300
10953 hpux11*) 11301 hpux11*)
10954 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 11302 if test yes,no = "$GCC,$with_gnu_ld"; then
10955 case $host_cpu in 11303 case $host_cpu in
10956 hppa*64*) 11304 hppa*64*)
10957 » archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $depli bs $compiler_flags' 11305 » archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $ compiler_flags'
10958 ;; 11306 ;;
10959 ia64*) 11307 ia64*)
10960 » archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefau ltrpath -o $lib $libobjs $deplibs $compiler_flags' 11308 » archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpat h -o $lib $libobjs $deplibs $compiler_flags'
10961 ;; 11309 ;;
10962 *) 11310 *)
10963 » archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl} $install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11311 » archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install _libdir -o $lib $libobjs $deplibs $compiler_flags'
10964 ;; 11312 ;;
10965 esac 11313 esac
10966 else 11314 else
10967 case $host_cpu in 11315 case $host_cpu in
10968 hppa*64*) 11316 hppa*64*)
10969 » archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $c ompiler_flags' 11317 » archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compi ler_flags'
10970 ;; 11318 ;;
10971 ia64*) 11319 ia64*)
10972 » archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11320 » archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libo bjs $deplibs $compiler_flags'
10973 ;; 11321 ;;
10974 *) 11322 *)
10975 11323
10976 # Older versions of the 11.00 compiler do not understand -b yet 11324 # Older versions of the 11.00 compiler do not understand -b yet
10977 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP doe s) 11325 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP doe s)
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands - b" >&5 11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands - b" >&5
10979 $as_echo_n "checking if $CC understands -b... " >&6; } 11327 $as_echo_n "checking if $CC understands -b... " >&6; }
10980 if ${lt_cv_prog_compiler__b+:} false; then : 11328 if ${lt_cv_prog_compiler__b+:} false; then :
10981 $as_echo_n "(cached) " >&6 11329 $as_echo_n "(cached) " >&6
10982 else 11330 else
10983 lt_cv_prog_compiler__b=no 11331 lt_cv_prog_compiler__b=no
10984 save_LDFLAGS="$LDFLAGS" 11332 save_LDFLAGS=$LDFLAGS
10985 LDFLAGS="$LDFLAGS -b" 11333 LDFLAGS="$LDFLAGS -b"
10986 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11334 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10987 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11335 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10988 # The linker can only warn and ignore the option if not recognized 11336 # The linker can only warn and ignore the option if not recognized
10989 # So say no if there are warnings 11337 # So say no if there are warnings
10990 if test -s conftest.err; then 11338 if test -s conftest.err; then
10991 # Append any errors to the config.log. 11339 # Append any errors to the config.log.
10992 cat conftest.err 1>&5 11340 cat conftest.err 1>&5
10993 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11341 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10994 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11342 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10995 if diff conftest.exp conftest.er2 >/dev/null; then 11343 if diff conftest.exp conftest.er2 >/dev/null; then
10996 lt_cv_prog_compiler__b=yes 11344 lt_cv_prog_compiler__b=yes
10997 fi 11345 fi
10998 else 11346 else
10999 lt_cv_prog_compiler__b=yes 11347 lt_cv_prog_compiler__b=yes
11000 fi 11348 fi
11001 fi 11349 fi
11002 $RM -r conftest* 11350 $RM -r conftest*
11003 LDFLAGS="$save_LDFLAGS" 11351 LDFLAGS=$save_LDFLAGS
11004 11352
11005 fi 11353 fi
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11007 $as_echo "$lt_cv_prog_compiler__b" >&6; } 11355 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11008 11356
11009 if test x"$lt_cv_prog_compiler__b" = xyes; then 11357 if test yes = "$lt_cv_prog_compiler__b"; then
11010 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $l ib $libobjs $deplibs $compiler_flags' 11358 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libo bjs $deplibs $compiler_flags'
11011 else 11359 else
11012 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11360 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11013 fi 11361 fi
11014 11362
11015 ;; 11363 ;;
11016 esac 11364 esac
11017 fi 11365 fi
11018 if test "$with_gnu_ld" = no; then 11366 if test no = "$with_gnu_ld"; then
11019 » hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 11367 » hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11020 hardcode_libdir_separator=: 11368 hardcode_libdir_separator=:
11021 11369
11022 case $host_cpu in 11370 case $host_cpu in
11023 hppa*64*|ia64*) 11371 hppa*64*|ia64*)
11024 hardcode_direct=no 11372 hardcode_direct=no
11025 hardcode_shlibpath_var=no 11373 hardcode_shlibpath_var=no
11026 ;; 11374 ;;
11027 *) 11375 *)
11028 hardcode_direct=yes 11376 hardcode_direct=yes
11029 hardcode_direct_absolute=yes 11377 hardcode_direct_absolute=yes
11030 » export_dynamic_flag_spec='${wl}-E' 11378 » export_dynamic_flag_spec='$wl-E'
11031 11379
11032 # hardcode_minus_L: Not really in the search PATH, 11380 # hardcode_minus_L: Not really in the search PATH,
11033 # but as the default location of the library. 11381 # but as the default location of the library.
11034 hardcode_minus_L=yes 11382 hardcode_minus_L=yes
11035 ;; 11383 ;;
11036 esac 11384 esac
11037 fi 11385 fi
11038 ;; 11386 ;;
11039 11387
11040 irix5* | irix6* | nonstopux*) 11388 irix5* | irix6* | nonstopux*)
11041 if test "$GCC" = yes; then 11389 if test yes = "$GCC"; then
11042 » archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${ wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_versio n ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 11390 » archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $w l-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$ verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11043 # Try to use the -exported_symbol ld option, if it does not 11391 # Try to use the -exported_symbol ld option, if it does not
11044 # work, assume that -exports_file does not work either and 11392 # work, assume that -exports_file does not work either and
11045 # implicitly export all symbols. 11393 # implicitly export all symbols.
11046 # This should be the same for all languages, so no per-tag cache variabl e. 11394 # This should be the same for all languages, so no per-tag cache variabl e.
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os l inker accepts -exported_symbol" >&5 11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os l inker accepts -exported_symbol" >&5
11048 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " > &6; } 11396 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " > &6; }
11049 if ${lt_cv_irix_exported_symbol+:} false; then : 11397 if ${lt_cv_irix_exported_symbol+:} false; then :
11050 $as_echo_n "(cached) " >&6 11398 $as_echo_n "(cached) " >&6
11051 else 11399 else
11052 save_LDFLAGS="$LDFLAGS" 11400 save_LDFLAGS=$LDFLAGS
11053 » LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update _registry ${wl}/dev/null" 11401 » LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_reg istry $wl/dev/null"
11054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11055 /* end confdefs.h. */ 11403 /* end confdefs.h. */
11056 int foo (void) { return 0; } 11404 int foo (void) { return 0; }
11057 _ACEOF 11405 _ACEOF
11058 if ac_fn_c_try_link "$LINENO"; then : 11406 if ac_fn_c_try_link "$LINENO"; then :
11059 lt_cv_irix_exported_symbol=yes 11407 lt_cv_irix_exported_symbol=yes
11060 else 11408 else
11061 lt_cv_irix_exported_symbol=no 11409 lt_cv_irix_exported_symbol=no
11062 fi 11410 fi
11063 rm -f core conftest.err conftest.$ac_objext \ 11411 rm -f core conftest.err conftest.$ac_objext \
11064 conftest$ac_exeext conftest.$ac_ext 11412 conftest$ac_exeext conftest.$ac_ext
11065 LDFLAGS="$save_LDFLAGS" 11413 LDFLAGS=$save_LDFLAGS
11066 fi 11414 fi
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >& 5 11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >& 5
11068 $as_echo "$lt_cv_irix_exported_symbol" >&6; } 11416 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11069 » if test "$lt_cv_irix_exported_symbol" = yes; then 11417 » if test yes = "$lt_cv_irix_exported_symbol"; then
11070 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler _flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-s et_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_loca tions ${wl}-exports_file ${wl}$export_symbols -o $lib' 11418 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler _flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_ver sion $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-expo rts_file $wl$export_symbols -o $lib'
11071 fi 11419 fi
11072 else 11420 else
11073 » archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $son ame `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_re gistry ${output_objdir}/so_locations -o $lib' 11421 » archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $son ame `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_re gistry $output_objdir/so_locations -o $lib'
11074 » archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -sona me $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -up date_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $li b' 11422 » archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -sona me $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -up date_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
11075 fi 11423 fi
11076 archive_cmds_need_lc='no' 11424 archive_cmds_need_lc='no'
11077 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11425 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11078 hardcode_libdir_separator=: 11426 hardcode_libdir_separator=:
11079 inherit_rpath=yes 11427 inherit_rpath=yes
11080 link_all_deplibs=yes 11428 link_all_deplibs=yes
11081 ;; 11429 ;;
11082 11430
11083 netbsd* | netbsdelf*-gnu) 11431 linux*)
11432 case $cc_basename in
11433 tcc*)
11434 » # Fabrice Bellard et al's Tiny C Compiler
11435 » ld_shlibs=yes
11436 » archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_ flags'
11437 » ;;
11438 esac
11439 ;;
11440
11441 netbsd*)
11084 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11442 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11085 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11443 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11086 else 11444 else
11087 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11445 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11088 fi 11446 fi
11089 hardcode_libdir_flag_spec='-R$libdir' 11447 hardcode_libdir_flag_spec='-R$libdir'
11090 hardcode_direct=yes 11448 hardcode_direct=yes
11091 hardcode_shlibpath_var=no 11449 hardcode_shlibpath_var=no
11092 ;; 11450 ;;
11093 11451
11094 newsos6) 11452 newsos6)
11095 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11453 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11096 hardcode_direct=yes 11454 hardcode_direct=yes
11097 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11455 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11098 hardcode_libdir_separator=: 11456 hardcode_libdir_separator=:
11099 hardcode_shlibpath_var=no 11457 hardcode_shlibpath_var=no
11100 ;; 11458 ;;
11101 11459
11102 *nto* | *qnx*) 11460 *nto* | *qnx*)
11103 ;; 11461 ;;
11104 11462
11105 openbsd*) 11463 openbsd* | bitrig*)
11106 if test -f /usr/libexec/ld.so; then 11464 if test -f /usr/libexec/ld.so; then
11107 hardcode_direct=yes 11465 hardcode_direct=yes
11108 hardcode_shlibpath_var=no 11466 hardcode_shlibpath_var=no
11109 hardcode_direct_absolute=yes 11467 hardcode_direct_absolute=yes
11110 » if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os -$host_cpu" = "openbsd2.8-powerpc"; then 11468 » if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11111 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compile r_flags' 11469 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compile r_flags'
11112 » archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $ compiler_flags ${wl}-retain-symbols-file,$export_symbols' 11470 » archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $ compiler_flags $wl-retain-symbols-file,$export_symbols'
11113 » hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 11471 » hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11114 » export_dynamic_flag_spec='${wl}-E' 11472 » export_dynamic_flag_spec='$wl-E'
11115 else 11473 else
11116 » case $host_os in 11474 » archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compile r_flags'
11117 » openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 11475 » hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11118 » archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_fla gs'
11119 » hardcode_libdir_flag_spec='-R$libdir'
11120 » ;;
11121 » *)
11122 » archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $comp iler_flags'
11123 » hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11124 » ;;
11125 » esac
11126 fi 11476 fi
11127 else 11477 else
11128 ld_shlibs=no 11478 ld_shlibs=no
11129 fi 11479 fi
11130 ;; 11480 ;;
11131 11481
11132 os2*) 11482 os2*)
11133 hardcode_libdir_flag_spec='-L$libdir' 11483 hardcode_libdir_flag_spec='-L$libdir'
11134 hardcode_minus_L=yes 11484 hardcode_minus_L=yes
11135 allow_undefined_flag=unsupported 11485 allow_undefined_flag=unsupported
11136 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libn ame.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DAT A >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$lib name.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' 11486 shrext_cmds=.dll
11137 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_obj dir/$libname.def' 11487 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTAN CE" > $output_objdir/$libname.def~
11488 » $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11489 » $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11490 » $ECHO EXPORTS >> $output_objdir/$libname.def~
11491 » emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def ~
11492 » $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler _flags $output_objdir/$libname.def~
11493 » emximp -o $lib $output_objdir/$libname.def'
11494 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TER MINSTANCE" > $output_objdir/$libname.def~
11495 » $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11496 » $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11497 » $ECHO EXPORTS >> $output_objdir/$libname.def~
11498 » prefix_cmds="$SED"~
11499 » if test EXPORTS = "`$SED 1q $export_symbols`"; then
11500 » prefix_cmds="$prefix_cmds -e 1d";
11501 » fi~
11502 » prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11503 » cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11504 » $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler _flags $output_objdir/$libname.def~
11505 » emximp -o $lib $output_objdir/$libname.def'
11506 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $outp ut_objdir/$libname.def'
11507 enable_shared_with_static_runtimes=yes
11138 ;; 11508 ;;
11139 11509
11140 osf3*) 11510 osf3*)
11141 if test "$GCC" = yes; then 11511 if test yes = "$GCC"; then
11142 » allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 11512 » allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11143 » archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $comp iler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${w l}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_ locations -o $lib' 11513 » archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compil er_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_v ersion $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $li b'
11144 else 11514 else
11145 allow_undefined_flag=' -expect_unresolved \*' 11515 allow_undefined_flag=' -expect_unresolved \*'
11146 » archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $comp iler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 11516 » archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compil er_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $v erstring"` -update_registry $output_objdir/so_locations -o $lib'
11147 fi 11517 fi
11148 archive_cmds_need_lc='no' 11518 archive_cmds_need_lc='no'
11149 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11519 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11150 hardcode_libdir_separator=: 11520 hardcode_libdir_separator=:
11151 ;; 11521 ;;
11152 11522
11153 osf4* | osf5*) # as osf3* with the addition of -msym flag 11523 osf4* | osf5*) # as osf3* with the addition of -msym flag
11154 if test "$GCC" = yes; then 11524 if test yes = "$GCC"; then
11155 » allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 11525 » allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11156 » archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $dep libs $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' 11526 » archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $depli bs $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'
11157 » hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11527 » hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11158 else 11528 else
11159 allow_undefined_flag=' -expect_unresolved \*' 11529 allow_undefined_flag=' -expect_unresolved \*'
11160 » archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $comp iler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_ve rsion $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 11530 » archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compil er_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_vers ion $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11161 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~ 11531 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~
11162 » $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_f lags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_vers ion $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib .exp' 11532 $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'
11163 11533
11164 # Both c and cxx compiler support -rpath directly 11534 # Both c and cxx compiler support -rpath directly
11165 hardcode_libdir_flag_spec='-rpath $libdir' 11535 hardcode_libdir_flag_spec='-rpath $libdir'
11166 fi 11536 fi
11167 archive_cmds_need_lc='no' 11537 archive_cmds_need_lc='no'
11168 hardcode_libdir_separator=: 11538 hardcode_libdir_separator=:
11169 ;; 11539 ;;
11170 11540
11171 solaris*) 11541 solaris*)
11172 no_undefined_flag=' -z defs' 11542 no_undefined_flag=' -z defs'
11173 if test "$GCC" = yes; then 11543 if test yes = "$GCC"; then
11174 » wlarc='${wl}' 11544 » wlarc='$wl'
11175 » archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$sona me -o $lib $libobjs $deplibs $compiler_flags' 11545 » archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11176 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $ SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11546 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $ SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11177 » $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' 11547 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$sona me -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11178 else 11548 else
11179 case `$CC -V 2>&1` in 11549 case `$CC -V 2>&1` in
11180 *"Compilers 5.0"*) 11550 *"Compilers 5.0"*)
11181 wlarc='' 11551 wlarc=''
11182 » archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobj s $deplibs $linker_flags' 11552 » archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11183 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11553 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11184 » $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11554 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11185 ;; 11555 ;;
11186 *) 11556 *)
11187 » wlarc='${wl}' 11557 » wlarc='$wl'
11188 » archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobj s $deplibs $compiler_flags' 11558 » archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11189 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11559 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11190 » $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11560 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11191 ;; 11561 ;;
11192 esac 11562 esac
11193 fi 11563 fi
11194 hardcode_libdir_flag_spec='-R$libdir' 11564 hardcode_libdir_flag_spec='-R$libdir'
11195 hardcode_shlibpath_var=no 11565 hardcode_shlibpath_var=no
11196 case $host_os in 11566 case $host_os in
11197 solaris2.[0-5] | solaris2.[0-5].*) ;; 11567 solaris2.[0-5] | solaris2.[0-5].*) ;;
11198 *) 11568 *)
11199 # The compiler driver will combine and reorder linker options, 11569 # The compiler driver will combine and reorder linker options,
11200 » # but understands `-z linker_flag'. GCC discards it without `$wl', 11570 » # but understands '-z linker_flag'. GCC discards it without '$wl',
11201 # but is careful enough not to reorder. 11571 # but is careful enough not to reorder.
11202 # Supported since Solaris 2.6 (maybe 2.5.1?) 11572 # Supported since Solaris 2.6 (maybe 2.5.1?)
11203 » if test "$GCC" = yes; then 11573 » if test yes = "$GCC"; then
11204 » whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z $ {wl}defaultextract' 11574 » whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl} defaultextract'
11205 else 11575 else
11206 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11576 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11207 fi 11577 fi
11208 ;; 11578 ;;
11209 esac 11579 esac
11210 link_all_deplibs=yes 11580 link_all_deplibs=yes
11211 ;; 11581 ;;
11212 11582
11213 sunos4*) 11583 sunos4*)
11214 if test "x$host_vendor" = xsequent; then 11584 if test sequent = "$host_vendor"; then
11215 # Use $CC to link under sequent, because it throws in some extra .o 11585 # Use $CC to link under sequent, because it throws in some extra .o
11216 # files that make .init and .fini sections work. 11586 # files that make .init and .fini sections work.
11217 » archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler _flags' 11587 » archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_f lags'
11218 else 11588 else
11219 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $ linker_flags' 11589 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $ linker_flags'
11220 fi 11590 fi
11221 hardcode_libdir_flag_spec='-L$libdir' 11591 hardcode_libdir_flag_spec='-L$libdir'
11222 hardcode_direct=yes 11592 hardcode_direct=yes
11223 hardcode_minus_L=yes 11593 hardcode_minus_L=yes
11224 hardcode_shlibpath_var=no 11594 hardcode_shlibpath_var=no
11225 ;; 11595 ;;
11226 11596
11227 sysv4) 11597 sysv4)
(...skipping 28 matching lines...) Expand all
11256 if test -d /usr/nec; then 11626 if test -d /usr/nec; then
11257 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11627 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11258 hardcode_shlibpath_var=no 11628 hardcode_shlibpath_var=no
11259 runpath_var=LD_RUN_PATH 11629 runpath_var=LD_RUN_PATH
11260 hardcode_runpath_var=yes 11630 hardcode_runpath_var=yes
11261 ld_shlibs=yes 11631 ld_shlibs=yes
11262 fi 11632 fi
11263 ;; 11633 ;;
11264 11634
11265 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3. 2v5.0.[024]*) 11635 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3. 2v5.0.[024]*)
11266 no_undefined_flag='${wl}-z,text' 11636 no_undefined_flag='$wl-z,text'
11267 archive_cmds_need_lc=no 11637 archive_cmds_need_lc=no
11268 hardcode_shlibpath_var=no 11638 hardcode_shlibpath_var=no
11269 runpath_var='LD_RUN_PATH' 11639 runpath_var='LD_RUN_PATH'
11270 11640
11271 if test "$GCC" = yes; then 11641 if test yes = "$GCC"; then
11272 » archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $com piler_flags' 11642 » archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compi ler_flags'
11273 » archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$ soname -o $lib $libobjs $deplibs $compiler_flags' 11643 » archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$sona me -o $lib $libobjs $deplibs $compiler_flags'
11274 else 11644 else
11275 » archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler _flags' 11645 » archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_f lags'
11276 » archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$sonam e -o $lib $libobjs $deplibs $compiler_flags' 11646 » archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11277 fi 11647 fi
11278 ;; 11648 ;;
11279 11649
11280 sysv5* | sco3.2v5* | sco5v6*) 11650 sysv5* | sco3.2v5* | sco5v6*)
11281 # Note: We can NOT use -z defs as we might desire, because we do not 11651 # Note: We CANNOT use -z defs as we might desire, because we do not
11282 # link with -lc, and that would cause any symbols used from libc to 11652 # link with -lc, and that would cause any symbols used from libc to
11283 # always be unresolved, which means just about no library would 11653 # always be unresolved, which means just about no library would
11284 # ever link correctly. If we're not using GNU ld we use -z text 11654 # ever link correctly. If we're not using GNU ld we use -z text
11285 # though, which does catch some bad symbols but isn't as heavy-handed 11655 # though, which does catch some bad symbols but isn't as heavy-handed
11286 # as -z defs. 11656 # as -z defs.
11287 no_undefined_flag='${wl}-z,text' 11657 no_undefined_flag='$wl-z,text'
11288 allow_undefined_flag='${wl}-z,nodefs' 11658 allow_undefined_flag='$wl-z,nodefs'
11289 archive_cmds_need_lc=no 11659 archive_cmds_need_lc=no
11290 hardcode_shlibpath_var=no 11660 hardcode_shlibpath_var=no
11291 hardcode_libdir_flag_spec='${wl}-R,$libdir' 11661 hardcode_libdir_flag_spec='$wl-R,$libdir'
11292 hardcode_libdir_separator=':' 11662 hardcode_libdir_separator=':'
11293 link_all_deplibs=yes 11663 link_all_deplibs=yes
11294 export_dynamic_flag_spec='${wl}-Bexport' 11664 export_dynamic_flag_spec='$wl-Bexport'
11295 runpath_var='LD_RUN_PATH' 11665 runpath_var='LD_RUN_PATH'
11296 11666
11297 if test "$GCC" = yes; then 11667 if test yes = "$GCC"; then
11298 » archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $com piler_flags' 11668 » archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compi ler_flags'
11299 » archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$ soname -o $lib $libobjs $deplibs $compiler_flags' 11669 » archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$sona me -o $lib $libobjs $deplibs $compiler_flags'
11300 else 11670 else
11301 » archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler _flags' 11671 » archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_f lags'
11302 » archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$sonam e -o $lib $libobjs $deplibs $compiler_flags' 11672 » archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11303 fi 11673 fi
11304 ;; 11674 ;;
11305 11675
11306 uts4*) 11676 uts4*)
11307 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11677 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11308 hardcode_libdir_flag_spec='-L$libdir' 11678 hardcode_libdir_flag_spec='-L$libdir'
11309 hardcode_shlibpath_var=no 11679 hardcode_shlibpath_var=no
11310 ;; 11680 ;;
11311 11681
11312 *) 11682 *)
11313 ld_shlibs=no 11683 ld_shlibs=no
11314 ;; 11684 ;;
11315 esac 11685 esac
11316 11686
11317 if test x$host_vendor = xsni; then 11687 if test sni = "$host_vendor"; then
11318 case $host in 11688 case $host in
11319 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11689 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11320 » export_dynamic_flag_spec='${wl}-Blargedynsym' 11690 » export_dynamic_flag_spec='$wl-Blargedynsym'
11321 ;; 11691 ;;
11322 esac 11692 esac
11323 fi 11693 fi
11324 fi 11694 fi
11325 11695
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11327 $as_echo "$ld_shlibs" >&6; } 11697 $as_echo "$ld_shlibs" >&6; }
11328 test "$ld_shlibs" = no && can_build_shared=no 11698 test no = "$ld_shlibs" && can_build_shared=no
11329 11699
11330 with_gnu_ld=$with_gnu_ld 11700 with_gnu_ld=$with_gnu_ld
11331 11701
11332 11702
11333 11703
11334 11704
11335 11705
11336 11706
11337 11707
11338 11708
11339 11709
11340 11710
11341 11711
11342 11712
11343 11713
11344 11714
11345 11715
11346 # 11716 #
11347 # Do we need to explicitly link libc? 11717 # Do we need to explicitly link libc?
11348 # 11718 #
11349 case "x$archive_cmds_need_lc" in 11719 case "x$archive_cmds_need_lc" in
11350 x|xyes) 11720 x|xyes)
11351 # Assume -lc should be added 11721 # Assume -lc should be added
11352 archive_cmds_need_lc=yes 11722 archive_cmds_need_lc=yes
11353 11723
11354 if test "$enable_shared" = yes && test "$GCC" = yes; then 11724 if test yes,yes = "$GCC,$enable_shared"; then
11355 case $archive_cmds in 11725 case $archive_cmds in
11356 *'~'*) 11726 *'~'*)
11357 # FIXME: we may have to deal with multi-command sequences. 11727 # FIXME: we may have to deal with multi-command sequences.
11358 ;; 11728 ;;
11359 '$CC '*) 11729 '$CC '*)
11360 # Test whether the compiler implicitly links with -lc since on some 11730 # Test whether the compiler implicitly links with -lc since on some
11361 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11731 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11362 # to ld, don't add -lc before -lgcc. 11732 # to ld, don't add -lc before -lgcc.
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be ex plicitly linked in" >&5 11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be ex plicitly linked in" >&5
11364 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11734 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
11559 11929
11560 11930
11561 11931
11562 11932
11563 11933
11564 11934
11565 11935
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristi cs" >&5 11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristi cs" >&5
11567 $as_echo_n "checking dynamic linker characteristics... " >&6; } 11937 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11568 11938
11569 if test "$GCC" = yes; then 11939 if test yes = "$GCC"; then
11570 case $host_os in 11940 case $host_os in
11571 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 11941 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11572 *) lt_awk_arg="/^libraries:/" ;; 11942 *) lt_awk_arg='/^libraries:/' ;;
11573 esac 11943 esac
11574 case $host_os in 11944 case $host_os in
11575 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 11945 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11576 *) lt_sed_strip_eq="s,=/,/,g" ;; 11946 *) lt_sed_strip_eq='s|=/|/|g' ;;
11577 esac 11947 esac
11578 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^li braries://" -e $lt_sed_strip_eq` 11948 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^li braries://" -e $lt_sed_strip_eq`
11579 case $lt_search_path_spec in 11949 case $lt_search_path_spec in
11580 *\;*) 11950 *\;*)
11581 # if the path contains ";" then we assume it to be the separator 11951 # if the path contains ";" then we assume it to be the separator
11582 # otherwise default to the standard path separator (i.e. ":") - it is 11952 # otherwise default to the standard path separator (i.e. ":") - it is
11583 # assumed that no part of a normal pathname contains ";" but that should 11953 # assumed that no part of a normal pathname contains ";" but that should
11584 # okay in the real world where ";" in dirpaths is itself problematic. 11954 # okay in the real world where ";" in dirpaths is itself problematic.
11585 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11955 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11586 ;; 11956 ;;
11587 *) 11957 *)
11588 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11958 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11589 ;; 11959 ;;
11590 esac 11960 esac
11591 # Ok, now we have the path, separated by spaces, we can step through it 11961 # Ok, now we have the path, separated by spaces, we can step through it
11592 # and add multilib dir if necessary. 11962 # and add multilib dir if necessary...
11593 lt_tmp_lt_search_path_spec= 11963 lt_tmp_lt_search_path_spec=
11594 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/d ev/null` 11964 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/ dev/null`
11965 # ...but if some path component already ends with the multilib dir we assume
11966 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11967 case "$lt_multi_os_dir; $lt_search_path_spec " in
11968 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11969 lt_multi_os_dir=
11970 ;;
11971 esac
11595 for lt_sys_path in $lt_search_path_spec; do 11972 for lt_sys_path in $lt_search_path_spec; do
11596 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 11973 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11597 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_m ulti_os_dir" 11974 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_mu lti_os_dir"
11598 else 11975 elif test -n "$lt_multi_os_dir"; then
11599 test -d "$lt_sys_path" && \ 11976 test -d "$lt_sys_path" && \
11600 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11977 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11601 fi 11978 fi
11602 done 11979 done
11603 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11980 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11604 BEGIN {RS=" "; FS="/|\n";} { 11981 BEGIN {RS = " "; FS = "/|\n";} {
11605 lt_foo=""; 11982 lt_foo = "";
11606 lt_count=0; 11983 lt_count = 0;
11607 for (lt_i = NF; lt_i > 0; lt_i--) { 11984 for (lt_i = NF; lt_i > 0; lt_i--) {
11608 if ($lt_i != "" && $lt_i != ".") { 11985 if ($lt_i != "" && $lt_i != ".") {
11609 if ($lt_i == "..") { 11986 if ($lt_i == "..") {
11610 lt_count++; 11987 lt_count++;
11611 } else { 11988 } else {
11612 if (lt_count == 0) { 11989 if (lt_count == 0) {
11613 lt_foo="/" $lt_i lt_foo; 11990 lt_foo = "/" $lt_i lt_foo;
11614 } else { 11991 } else {
11615 lt_count--; 11992 lt_count--;
11616 } 11993 }
11617 } 11994 }
11618 } 11995 }
11619 } 11996 }
11620 if (lt_foo != "") { lt_freq[lt_foo]++; } 11997 if (lt_foo != "") { lt_freq[lt_foo]++; }
11621 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11998 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11622 }'` 11999 }'`
11623 # AWK program above erroneously prepends '/' to C:/dos/paths 12000 # AWK program above erroneously prepends '/' to C:/dos/paths
11624 # for these hosts. 12001 # for these hosts.
11625 case $host_os in 12002 case $host_os in
11626 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 12003 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11627 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 12004 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11628 esac 12005 esac
11629 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 12006 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11630 else 12007 else
11631 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12008 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11632 fi 12009 fi
11633 library_names_spec= 12010 library_names_spec=
11634 libname_spec='lib$name' 12011 libname_spec='lib$name'
11635 soname_spec= 12012 soname_spec=
11636 shrext_cmds=".so" 12013 shrext_cmds=.so
11637 postinstall_cmds= 12014 postinstall_cmds=
11638 postuninstall_cmds= 12015 postuninstall_cmds=
11639 finish_cmds= 12016 finish_cmds=
11640 finish_eval= 12017 finish_eval=
11641 shlibpath_var= 12018 shlibpath_var=
11642 shlibpath_overrides_runpath=unknown 12019 shlibpath_overrides_runpath=unknown
11643 version_type=none 12020 version_type=none
11644 dynamic_linker="$host_os ld.so" 12021 dynamic_linker="$host_os ld.so"
11645 sys_lib_dlsearch_path_spec="/lib /usr/lib" 12022 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11646 need_lib_prefix=unknown 12023 need_lib_prefix=unknown
11647 hardcode_into_libs=no 12024 hardcode_into_libs=no
11648 12025
11649 # when you set need_version to no, make sure it does not cause -set_version 12026 # when you set need_version to no, make sure it does not cause -set_version
11650 # flags to be left without arguments 12027 # flags to be left without arguments
11651 need_version=unknown 12028 need_version=unknown
11652 12029
12030
12031
11653 case $host_os in 12032 case $host_os in
11654 aix3*) 12033 aix3*)
11655 version_type=linux # correct to gnu/linux during the next big refactor 12034 version_type=linux # correct to gnu/linux during the next big refactor
11656 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 12035 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11657 shlibpath_var=LIBPATH 12036 shlibpath_var=LIBPATH
11658 12037
11659 # AIX 3 has no versioning support, so we append a major version to the name. 12038 # AIX 3 has no versioning support, so we append a major version to the name.
11660 soname_spec='${libname}${release}${shared_ext}$major' 12039 soname_spec='$libname$release$shared_ext$major'
11661 ;; 12040 ;;
11662 12041
11663 aix[4-9]*) 12042 aix[4-9]*)
11664 version_type=linux # correct to gnu/linux during the next big refactor 12043 version_type=linux # correct to gnu/linux during the next big refactor
11665 need_lib_prefix=no 12044 need_lib_prefix=no
11666 need_version=no 12045 need_version=no
11667 hardcode_into_libs=yes 12046 hardcode_into_libs=yes
11668 if test "$host_cpu" = ia64; then 12047 if test ia64 = "$host_cpu"; then
11669 # AIX 5 supports IA64 12048 # AIX 5 supports IA64
11670 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${rele ase}${shared_ext}$versuffix $libname${shared_ext}' 12049 library_names_spec='$libname$release$shared_ext$major $libname$release$share d_ext$versuffix $libname$shared_ext'
11671 shlibpath_var=LD_LIBRARY_PATH 12050 shlibpath_var=LD_LIBRARY_PATH
11672 else 12051 else
11673 # With GCC up to 2.95.x, collect2 would create an import file 12052 # With GCC up to 2.95.x, collect2 would create an import file
11674 # for dependence libraries. The import file would start with 12053 # for dependence libraries. The import file would start with
11675 # the line `#! .'. This would cause the generated library to 12054 # the line '#! .'. This would cause the generated library to
11676 # depend on `.', always an invalid library. This was fixed in 12055 # depend on '.', always an invalid library. This was fixed in
11677 # development snapshots of GCC prior to 3.0. 12056 # development snapshots of GCC prior to 3.0.
11678 case $host_os in 12057 case $host_os in
11679 aix4 | aix4.[01] | aix4.[01].*) 12058 aix4 | aix4.[01] | aix4.[01].*)
11680 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 12059 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11681 echo ' yes ' 12060 echo ' yes '
11682 » echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 12061 » echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11683 : 12062 :
11684 else 12063 else
11685 can_build_shared=no 12064 can_build_shared=no
11686 fi 12065 fi
11687 ;; 12066 ;;
11688 esac 12067 esac
11689 # AIX (on Power*) has no versioning support, so currently we can not hardcod e correct 12068 # Using Import Files as archive members, it is possible to support
12069 # filename-based versioning of shared library archives on AIX. While
12070 # this would work for both with and without runtime linking, it will
12071 # prevent static linking of such archives. So we do filename-based
12072 # shared library versioning with .so extension only, which is used
12073 # when both runtime linking and shared linking is enabled.
12074 # Unfortunately, runtime linking may impact performance, so we do
12075 # not want this to be the default eventually. Also, we use the
12076 # versioned .so libs for executables only if there is the -brtl
12077 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12078 # To allow for filename-based versioning support, we need to create
12079 # libNAME.so.V as an archive file, containing:
12080 # *) an Import File, referring to the versioned filename of the
12081 # archive as well as the shared archive member, telling the
12082 # bitwidth (32 or 64) of that shared object, and providing the
12083 # list of exported symbols of that shared object, eventually
12084 # decorated with the 'weak' keyword
12085 # *) the shared object with the F_LOADONLY flag set, to really avoid
12086 # it being seen by the linker.
12087 # At run time we better use the real file rather than another symlink,
12088 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12089
12090 case $with_aix_soname,$aix_use_runtimelinking in
12091 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11690 # soname into executable. Probably we can add versioning support to 12092 # soname into executable. Probably we can add versioning support to
11691 # collect2, so additional links can be useful in future. 12093 # collect2, so additional links can be useful in future.
11692 if test "$aix_use_runtimelinking" = yes; then 12094 aix,yes) # traditional libtool
12095 dynamic_linker='AIX unversionable lib.so'
11693 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12096 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11694 # instead of lib<name>.a to let people know that these are not 12097 # instead of lib<name>.a to let people know that these are not
11695 # typical AIX shared libraries. 12098 # typical AIX shared libraries.
11696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname} ${release}${shared_ext}$major $libname${shared_ext}' 12099 library_names_spec='$libname$release$shared_ext$versuffix $libname$release $shared_ext$major $libname$shared_ext'
11697 else 12100 ;;
12101 aix,no) # traditional AIX only
12102 dynamic_linker='AIX lib.a(lib.so.V)'
11698 # We preserve .a as extension for shared libraries through AIX4.2 12103 # We preserve .a as extension for shared libraries through AIX4.2
11699 # and later when we are not doing run time linking. 12104 # and later when we are not doing run time linking.
11700 library_names_spec='${libname}${release}.a $libname.a' 12105 library_names_spec='$libname$release.a $libname.a'
11701 soname_spec='${libname}${release}${shared_ext}$major' 12106 soname_spec='$libname$release$shared_ext$major'
11702 fi 12107 ;;
12108 svr4,*) # full svr4 only
12109 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12110 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12111 # We do not specify a path in Import Files, so LIBPATH fires.
12112 shlibpath_overrides_runpath=yes
12113 ;;
12114 *,yes) # both, prefer svr4
12115 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so. V)"
12116 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12117 # unpreferred sharedlib libNAME.a needs extra handling
12118 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripna me "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libex t" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$st riplib" || $striplib "$destdir/$func_stripname_result.$libext"'
12119 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_ stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfi les " $odir/$func_stripname_result.$libext"'
12120 # We do not specify a path in Import Files, so LIBPATH fires.
12121 shlibpath_overrides_runpath=yes
12122 ;;
12123 *,no) # both, prefer aix
12124 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec. o)"
12125 library_names_spec='$libname$release.a $libname.a'
12126 soname_spec='$libname$release$shared_ext$major'
12127 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra han dling
12128 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $ destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir /$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$link name"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
12129 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlna me"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n" ~func_append rmfiles " $odir/$func_stripname_result.so"'
12130 ;;
12131 esac
11703 shlibpath_var=LIBPATH 12132 shlibpath_var=LIBPATH
11704 fi 12133 fi
11705 ;; 12134 ;;
11706 12135
11707 amigaos*) 12136 amigaos*)
11708 case $host_cpu in 12137 case $host_cpu in
11709 powerpc) 12138 powerpc)
11710 # Since July 2007 AmigaOS4 officially supports .so libraries. 12139 # Since July 2007 AmigaOS4 officially supports .so libraries.
11711 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 12140 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${ release}${shared_ext}$major $libname${shared_ext}' 12141 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s hared_ext$major $libname$shared_ext'
11713 ;; 12142 ;;
11714 m68k) 12143 m68k)
11715 library_names_spec='$libname.ixlibrary $libname.a' 12144 library_names_spec='$libname.ixlibrary $libname.a'
11716 # Create ${libname}_ixlibrary.a entries in /sys/libs. 12145 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11717 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`fu nc_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sy s/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixli brary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 12146 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`fu nc_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/lib s/${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'
11718 ;; 12147 ;;
11719 esac 12148 esac
11720 ;; 12149 ;;
11721 12150
11722 beos*) 12151 beos*)
11723 library_names_spec='${libname}${shared_ext}' 12152 library_names_spec='$libname$shared_ext'
11724 dynamic_linker="$host_os ld.so" 12153 dynamic_linker="$host_os ld.so"
11725 shlibpath_var=LIBRARY_PATH 12154 shlibpath_var=LIBRARY_PATH
11726 ;; 12155 ;;
11727 12156
11728 bsdi[45]*) 12157 bsdi[45]*)
11729 version_type=linux # correct to gnu/linux during the next big refactor 12158 version_type=linux # correct to gnu/linux during the next big refactor
11730 need_version=no 12159 need_version=no
11731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname${shared_ext}' 12160 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha red_ext$major $libname$shared_ext'
11732 soname_spec='${libname}${release}${shared_ext}$major' 12161 soname_spec='$libname$release$shared_ext$major'
11733 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12162 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11734 shlibpath_var=LD_LIBRARY_PATH 12163 shlibpath_var=LD_LIBRARY_PATH
11735 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib / usr/local/lib" 12164 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib / usr/local/lib"
11736 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12165 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11737 # the default ld.so.conf also contains /usr/contrib/lib and 12166 # the default ld.so.conf also contains /usr/contrib/lib and
11738 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12167 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11739 # libtool to hard-code these into programs 12168 # libtool to hard-code these into programs
11740 ;; 12169 ;;
11741 12170
11742 cygwin* | mingw* | pw32* | cegcc*) 12171 cygwin* | mingw* | pw32* | cegcc*)
11743 version_type=windows 12172 version_type=windows
11744 shrext_cmds=".dll" 12173 shrext_cmds=.dll
11745 need_version=no 12174 need_version=no
11746 need_lib_prefix=no 12175 need_lib_prefix=no
11747 12176
11748 case $GCC,$cc_basename in 12177 case $GCC,$cc_basename in
11749 yes,*) 12178 yes,*)
11750 # gcc 12179 # gcc
11751 library_names_spec='$libname.dll.a' 12180 library_names_spec='$libname.dll.a'
11752 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12181 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11753 postinstall_cmds='base_file=`basename \${file}`~ 12182 postinstall_cmds='base_file=`basename \$file`~
11754 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\' '`~ 12183 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''` ~
11755 dldir=$destdir/`dirname \$dlpath`~ 12184 dldir=$destdir/`dirname \$dlpath`~
11756 test -d \$dldir || mkdir -p \$dldir~ 12185 test -d \$dldir || mkdir -p \$dldir~
11757 $install_prog $dir/$dlname \$dldir/$dlname~ 12186 $install_prog $dir/$dlname \$dldir/$dlname~
11758 chmod a+x \$dldir/$dlname~ 12187 chmod a+x \$dldir/$dlname~
11759 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12188 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11760 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12189 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11761 fi' 12190 fi'
11762 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12191 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11763 dlpath=$dir/\$dldll~ 12192 dlpath=$dir/\$dldll~
11764 $RM \$dlpath' 12193 $RM \$dlpath'
11765 shlibpath_overrides_runpath=yes 12194 shlibpath_overrides_runpath=yes
11766 12195
11767 case $host_os in 12196 case $host_os in
11768 cygwin*) 12197 cygwin*)
11769 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 12198 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11770 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $S ED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 12199 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED - e 's/[.]/-/g'`$versuffix$shared_ext'
11771 12200
11772 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12201 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11773 ;; 12202 ;;
11774 mingw* | cegcc*) 12203 mingw* | cegcc*)
11775 # MinGW DLLs use traditional 'lib' prefix 12204 # MinGW DLLs use traditional 'lib' prefix
11776 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix} ${shared_ext}' 12205 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$share d_ext'
11777 ;; 12206 ;;
11778 pw32*) 12207 pw32*)
11779 # pw32 DLLs use 'pw' prefix rather than 'lib' 12208 # pw32 DLLs use 'pw' prefix rather than 'lib'
11780 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release } | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 12209 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11781 ;; 12210 ;;
11782 esac 12211 esac
11783 dynamic_linker='Win32 ld.exe' 12212 dynamic_linker='Win32 ld.exe'
11784 ;; 12213 ;;
11785 12214
11786 *,cl*) 12215 *,cl*)
11787 # Native MSVC 12216 # Native MSVC
11788 libname_spec='$name' 12217 libname_spec='$name'
11789 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${ shared_ext}' 12218 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ ext'
11790 library_names_spec='${libname}.dll.lib' 12219 library_names_spec='$libname.dll.lib'
11791 12220
11792 case $build_os in 12221 case $build_os in
11793 mingw*) 12222 mingw*)
11794 sys_lib_search_path_spec= 12223 sys_lib_search_path_spec=
11795 lt_save_ifs=$IFS 12224 lt_save_ifs=$IFS
11796 IFS=';' 12225 IFS=';'
11797 for lt_path in $LIB 12226 for lt_path in $LIB
11798 do 12227 do
11799 IFS=$lt_save_ifs 12228 IFS=$lt_save_ifs
11800 # Let DOS variable expansion print the short 8.3 style file name. 12229 # Let DOS variable expansion print the short 8.3 style file name.
11801 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 12230 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11802 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 12231 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11803 done 12232 done
11804 IFS=$lt_save_ifs 12233 IFS=$lt_save_ifs
11805 # Convert to MSYS style. 12234 # Convert to MSYS style.
11806 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\ \\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 12235 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\ \\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11807 ;; 12236 ;;
11808 cygwin*) 12237 cygwin*)
11809 # Convert to unix form, then to dos form, then back to unix form 12238 # Convert to unix form, then to dos form, then back to unix form
11810 # but this time dos style (no spaces!) so that the unix form looks 12239 # but this time dos style (no spaces!) so that the unix form looks
11811 # like /cygdrive/c/PROGRA~1:/cygdr... 12240 # like /cygdrive/c/PROGRA~1:/cygdr...
11812 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12241 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11813 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12242 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11814 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec " | $SED -e "s/$PATH_SEPARATOR/ /g"` 12243 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec " | $SED -e "s/$PATH_SEPARATOR/ /g"`
11815 ;; 12244 ;;
11816 *) 12245 *)
11817 sys_lib_search_path_spec="$LIB" 12246 sys_lib_search_path_spec=$LIB
11818 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; the n 12247 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; the n
11819 # It is most probably a Windows format PATH. 12248 # It is most probably a Windows format PATH.
11820 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's /;/ /g'` 12249 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's /;/ /g'`
11821 else 12250 else
11822 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s /$PATH_SEPARATOR/ /g"` 12251 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s /$PATH_SEPARATOR/ /g"`
11823 fi 12252 fi
11824 # FIXME: find the short name or the path components, as spaces are 12253 # FIXME: find the short name or the path components, as spaces are
11825 # common. (e.g. "Program Files" -> "PROGRA~1") 12254 # common. (e.g. "Program Files" -> "PROGRA~1")
11826 ;; 12255 ;;
11827 esac 12256 esac
11828 12257
11829 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12258 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11830 postinstall_cmds='base_file=`basename \${file}`~ 12259 postinstall_cmds='base_file=`basename \$file`~
11831 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\' '`~ 12260 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''` ~
11832 dldir=$destdir/`dirname \$dlpath`~ 12261 dldir=$destdir/`dirname \$dlpath`~
11833 test -d \$dldir || mkdir -p \$dldir~ 12262 test -d \$dldir || mkdir -p \$dldir~
11834 $install_prog $dir/$dlname \$dldir/$dlname' 12263 $install_prog $dir/$dlname \$dldir/$dlname'
11835 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12264 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11836 dlpath=$dir/\$dldll~ 12265 dlpath=$dir/\$dldll~
11837 $RM \$dlpath' 12266 $RM \$dlpath'
11838 shlibpath_overrides_runpath=yes 12267 shlibpath_overrides_runpath=yes
11839 dynamic_linker='Win32 link.exe' 12268 dynamic_linker='Win32 link.exe'
11840 ;; 12269 ;;
11841 12270
11842 *) 12271 *)
11843 # Assume MSVC wrapper 12272 # Assume MSVC wrapper
11844 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versu ffix}${shared_ext} $libname.lib' 12273 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$ shared_ext $libname.lib'
11845 dynamic_linker='Win32 ld.exe' 12274 dynamic_linker='Win32 ld.exe'
11846 ;; 12275 ;;
11847 esac 12276 esac
11848 # FIXME: first we should search . and the directory the executable is in 12277 # FIXME: first we should search . and the directory the executable is in
11849 shlibpath_var=PATH 12278 shlibpath_var=PATH
11850 ;; 12279 ;;
11851 12280
11852 darwin* | rhapsody*) 12281 darwin* | rhapsody*)
11853 dynamic_linker="$host_os dyld" 12282 dynamic_linker="$host_os dyld"
11854 version_type=darwin 12283 version_type=darwin
11855 need_lib_prefix=no 12284 need_lib_prefix=no
11856 need_version=no 12285 need_version=no
11857 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ ext' 12286 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11858 soname_spec='${libname}${release}${major}$shared_ext' 12287 soname_spec='$libname$release$major$shared_ext'
11859 shlibpath_overrides_runpath=yes 12288 shlibpath_overrides_runpath=yes
11860 shlibpath_var=DYLD_LIBRARY_PATH 12289 shlibpath_var=DYLD_LIBRARY_PATH
11861 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12290 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11862 12291
11863 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12292 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11864 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12293 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11865 ;; 12294 ;;
11866 12295
11867 dgux*) 12296 dgux*)
11868 version_type=linux # correct to gnu/linux during the next big refactor 12297 version_type=linux # correct to gnu/linux during the next big refactor
11869 need_lib_prefix=no 12298 need_lib_prefix=no
11870 need_version=no 12299 need_version=no
11871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname$shared_ext' 12300 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha red_ext$major $libname$shared_ext'
11872 soname_spec='${libname}${release}${shared_ext}$major' 12301 soname_spec='$libname$release$shared_ext$major'
11873 shlibpath_var=LD_LIBRARY_PATH 12302 shlibpath_var=LD_LIBRARY_PATH
11874 ;; 12303 ;;
11875 12304
11876 freebsd* | dragonfly*) 12305 freebsd* | dragonfly*)
11877 # DragonFly does not have aout. When/if they implement a new 12306 # DragonFly does not have aout. When/if they implement a new
11878 # versioning mechanism, adjust this. 12307 # versioning mechanism, adjust this.
11879 if test -x /usr/bin/objformat; then 12308 if test -x /usr/bin/objformat; then
11880 objformat=`/usr/bin/objformat` 12309 objformat=`/usr/bin/objformat`
11881 else 12310 else
11882 case $host_os in 12311 case $host_os in
11883 freebsd[23].*) objformat=aout ;; 12312 freebsd[23].*) objformat=aout ;;
11884 *) objformat=elf ;; 12313 *) objformat=elf ;;
11885 esac 12314 esac
11886 fi 12315 fi
11887 version_type=freebsd-$objformat 12316 version_type=freebsd-$objformat
11888 case $version_type in 12317 case $version_type in
11889 freebsd-elf*) 12318 freebsd-elf*)
11890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname} ${release}${shared_ext} $libname${shared_ext}' 12319 library_names_spec='$libname$release$shared_ext$versuffix $libname$release $shared_ext$major $libname$shared_ext'
12320 soname_spec='$libname$release$shared_ext$major'
11891 need_version=no 12321 need_version=no
11892 need_lib_prefix=no 12322 need_lib_prefix=no
11893 ;; 12323 ;;
11894 freebsd-*) 12324 freebsd-*)
11895 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${ shared_ext}$versuffix' 12325 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ ext$versuffix'
11896 need_version=yes 12326 need_version=yes
11897 ;; 12327 ;;
11898 esac 12328 esac
11899 shlibpath_var=LD_LIBRARY_PATH 12329 shlibpath_var=LD_LIBRARY_PATH
11900 case $host_os in 12330 case $host_os in
11901 freebsd2.*) 12331 freebsd2.*)
11902 shlibpath_overrides_runpath=yes 12332 shlibpath_overrides_runpath=yes
11903 ;; 12333 ;;
11904 freebsd3.[01]* | freebsdelf3.[01]*) 12334 freebsd3.[01]* | freebsdelf3.[01]*)
11905 shlibpath_overrides_runpath=yes 12335 shlibpath_overrides_runpath=yes
11906 hardcode_into_libs=yes 12336 hardcode_into_libs=yes
11907 ;; 12337 ;;
11908 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12338 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11909 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12339 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11910 shlibpath_overrides_runpath=no 12340 shlibpath_overrides_runpath=no
11911 hardcode_into_libs=yes 12341 hardcode_into_libs=yes
11912 ;; 12342 ;;
11913 *) # from 4.6 on, and DragonFly 12343 *) # from 4.6 on, and DragonFly
11914 shlibpath_overrides_runpath=yes 12344 shlibpath_overrides_runpath=yes
11915 hardcode_into_libs=yes 12345 hardcode_into_libs=yes
11916 ;; 12346 ;;
11917 esac 12347 esac
11918 ;; 12348 ;;
11919 12349
11920 haiku*) 12350 haiku*)
11921 version_type=linux # correct to gnu/linux during the next big refactor 12351 version_type=linux # correct to gnu/linux during the next big refactor
11922 need_lib_prefix=no 12352 need_lib_prefix=no
11923 need_version=no 12353 need_version=no
11924 dynamic_linker="$host_os runtime_loader" 12354 dynamic_linker="$host_os runtime_loader"
11925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}${major} ${libname}${shared_ext}' 12355 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha red_ext$major $libname$shared_ext'
11926 soname_spec='${libname}${release}${shared_ext}$major' 12356 soname_spec='$libname$release$shared_ext$major'
11927 shlibpath_var=LIBRARY_PATH 12357 shlibpath_var=LIBRARY_PATH
11928 shlibpath_overrides_runpath=yes 12358 shlibpath_overrides_runpath=no
11929 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/syste m/lib' 12359 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/syste m/lib'
11930 hardcode_into_libs=yes 12360 hardcode_into_libs=yes
11931 ;; 12361 ;;
11932 12362
11933 hpux9* | hpux10* | hpux11*) 12363 hpux9* | hpux10* | hpux11*)
11934 # Give a soname corresponding to the major version so that dld.sl refuses to 12364 # Give a soname corresponding to the major version so that dld.sl refuses to
11935 # link against other versions. 12365 # link against other versions.
11936 version_type=sunos 12366 version_type=sunos
11937 need_lib_prefix=no 12367 need_lib_prefix=no
11938 need_version=no 12368 need_version=no
11939 case $host_cpu in 12369 case $host_cpu in
11940 ia64*) 12370 ia64*)
11941 shrext_cmds='.so' 12371 shrext_cmds='.so'
11942 hardcode_into_libs=yes 12372 hardcode_into_libs=yes
11943 dynamic_linker="$host_os dld.so" 12373 dynamic_linker="$host_os dld.so"
11944 shlibpath_var=LD_LIBRARY_PATH 12374 shlibpath_var=LD_LIBRARY_PATH
11945 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12375 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${ release}${shared_ext}$major $libname${shared_ext}' 12376 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s hared_ext$major $libname$shared_ext'
11947 soname_spec='${libname}${release}${shared_ext}$major' 12377 soname_spec='$libname$release$shared_ext$major'
11948 if test "X$HPUX_IA64_MODE" = X32; then 12378 if test 32 = "$HPUX_IA64_MODE"; then
11949 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local /lib" 12379 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local /lib"
12380 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11950 else 12381 else
11951 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12382 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12383 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11952 fi 12384 fi
11953 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11954 ;; 12385 ;;
11955 hppa*64*) 12386 hppa*64*)
11956 shrext_cmds='.sl' 12387 shrext_cmds='.sl'
11957 hardcode_into_libs=yes 12388 hardcode_into_libs=yes
11958 dynamic_linker="$host_os dld.sl" 12389 dynamic_linker="$host_os dld.sl"
11959 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12390 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11960 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12391 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${ release}${shared_ext}$major $libname${shared_ext}' 12392 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s hared_ext$major $libname$shared_ext'
11962 soname_spec='${libname}${release}${shared_ext}$major' 12393 soname_spec='$libname$release$shared_ext$major'
11963 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12394 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11964 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12395 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11965 ;; 12396 ;;
11966 *) 12397 *)
11967 shrext_cmds='.sl' 12398 shrext_cmds='.sl'
11968 dynamic_linker="$host_os dld.sl" 12399 dynamic_linker="$host_os dld.sl"
11969 shlibpath_var=SHLIB_PATH 12400 shlibpath_var=SHLIB_PATH
11970 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12401 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${ release}${shared_ext}$major $libname${shared_ext}' 12402 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s hared_ext$major $libname$shared_ext'
11972 soname_spec='${libname}${release}${shared_ext}$major' 12403 soname_spec='$libname$release$shared_ext$major'
11973 ;; 12404 ;;
11974 esac 12405 esac
11975 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12406 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11976 postinstall_cmds='chmod 555 $lib' 12407 postinstall_cmds='chmod 555 $lib'
11977 # or fails outright, so override atomically: 12408 # or fails outright, so override atomically:
11978 install_override_mode=555 12409 install_override_mode=555
11979 ;; 12410 ;;
11980 12411
11981 interix[3-9]*) 12412 interix[3-9]*)
11982 version_type=linux # correct to gnu/linux during the next big refactor 12413 version_type=linux # correct to gnu/linux during the next big refactor
11983 need_lib_prefix=no 12414 need_lib_prefix=no
11984 need_version=no 12415 need_version=no
11985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major ${libname}${shared_ext}' 12416 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha red_ext$major $libname$shared_ext'
11986 soname_spec='${libname}${release}${shared_ext}$major' 12417 soname_spec='$libname$release$shared_ext$major'
11987 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12418 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11988 shlibpath_var=LD_LIBRARY_PATH 12419 shlibpath_var=LD_LIBRARY_PATH
11989 shlibpath_overrides_runpath=no 12420 shlibpath_overrides_runpath=no
11990 hardcode_into_libs=yes 12421 hardcode_into_libs=yes
11991 ;; 12422 ;;
11992 12423
11993 irix5* | irix6* | nonstopux*) 12424 irix5* | irix6* | nonstopux*)
11994 case $host_os in 12425 case $host_os in
11995 nonstopux*) version_type=nonstopux ;; 12426 nonstopux*) version_type=nonstopux ;;
11996 *) 12427 *)
11997 » if test "$lt_cv_prog_gnu_ld" = yes; then 12428 » if test yes = "$lt_cv_prog_gnu_ld"; then
11998 version_type=linux # correct to gnu/linux during the next big re factor 12429 version_type=linux # correct to gnu/linux during the next big re factor
11999 else 12430 else
12000 version_type=irix 12431 version_type=irix
12001 fi ;; 12432 fi ;;
12002 esac 12433 esac
12003 need_lib_prefix=no 12434 need_lib_prefix=no
12004 need_version=no 12435 need_version=no
12005 soname_spec='${libname}${release}${shared_ext}$major' 12436 soname_spec='$libname$release$shared_ext$major'
12006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext }' 12437 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha red_ext$major $libname$release$shared_ext $libname$shared_ext'
12007 case $host_os in 12438 case $host_os in
12008 irix5* | nonstopux*) 12439 irix5* | nonstopux*)
12009 libsuff= shlibsuff= 12440 libsuff= shlibsuff=
12010 ;; 12441 ;;
12011 *) 12442 *)
12012 case $LD in # libtool.m4 will add one of these switches to LD 12443 case $LD in # libtool.m4 will add one of these switches to LD
12013 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12444 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12014 libsuff= shlibsuff= libmagic=32-bit;; 12445 libsuff= shlibsuff= libmagic=32-bit;;
12015 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12446 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12016 libsuff=32 shlibsuff=N32 libmagic=N32;; 12447 libsuff=32 shlibsuff=N32 libmagic=N32;;
12017 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12448 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12018 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12449 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12019 *) libsuff= shlibsuff= libmagic=never-match;; 12450 *) libsuff= shlibsuff= libmagic=never-match;;
12020 esac 12451 esac
12021 ;; 12452 ;;
12022 esac 12453 esac
12023 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12454 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12024 shlibpath_overrides_runpath=no 12455 shlibpath_overrides_runpath=no
12025 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${li bsuff}" 12456 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff "
12026 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 12457 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12027 hardcode_into_libs=yes 12458 hardcode_into_libs=yes
12028 ;; 12459 ;;
12029 12460
12030 # No shared lib support for Linux oldld, aout, or coff. 12461 # No shared lib support for Linux oldld, aout, or coff.
12031 linux*oldld* | linux*aout* | linux*coff*) 12462 linux*oldld* | linux*aout* | linux*coff*)
12032 dynamic_linker=no 12463 dynamic_linker=no
12033 ;; 12464 ;;
12034 12465
12466 linux*android*)
12467 version_type=none # Android doesn't support versioned libraries.
12468 need_lib_prefix=no
12469 need_version=no
12470 library_names_spec='$libname$release$shared_ext'
12471 soname_spec='$libname$release$shared_ext'
12472 finish_cmds=
12473 shlibpath_var=LD_LIBRARY_PATH
12474 shlibpath_overrides_runpath=yes
12475
12476 # This implies no fast_install, which is unacceptable.
12477 # Some rework will be needed to allow for fast_install
12478 # before this can be enabled.
12479 hardcode_into_libs=yes
12480
12481 dynamic_linker='Android linker'
12482 # Don't embed -rpath directories since the linker doesn't support them.
12483 hardcode_libdir_flag_spec='-L$libdir'
12484 ;;
12485
12035 # This must be glibc/ELF. 12486 # This must be glibc/ELF.
12036 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12487 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12037 version_type=linux # correct to gnu/linux during the next big refactor 12488 version_type=linux # correct to gnu/linux during the next big refactor
12038 need_lib_prefix=no 12489 need_lib_prefix=no
12039 need_version=no 12490 need_version=no
12040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname${shared_ext}' 12491 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha red_ext$major $libname$shared_ext'
12041 soname_spec='${libname}${release}${shared_ext}$major' 12492 soname_spec='$libname$release$shared_ext$major'
12042 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12493 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12043 shlibpath_var=LD_LIBRARY_PATH 12494 shlibpath_var=LD_LIBRARY_PATH
12044 shlibpath_overrides_runpath=no 12495 shlibpath_overrides_runpath=no
12045 12496
12046 # Some binutils ld are patched to set DT_RUNPATH 12497 # Some binutils ld are patched to set DT_RUNPATH
12047 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12498 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12048 $as_echo_n "(cached) " >&6 12499 $as_echo_n "(cached) " >&6
12049 else 12500 else
12050 lt_cv_shlibpath_overrides_runpath=no 12501 lt_cv_shlibpath_overrides_runpath=no
12051 save_LDFLAGS=$LDFLAGS 12502 save_LDFLAGS=$LDFLAGS
(...skipping 23 matching lines...) Expand all
12075 12526
12076 fi 12527 fi
12077 12528
12078 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12529 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12079 12530
12080 # This implies no fast_install, which is unacceptable. 12531 # This implies no fast_install, which is unacceptable.
12081 # Some rework will be needed to allow for fast_install 12532 # Some rework will be needed to allow for fast_install
12082 # before this can be enabled. 12533 # before this can be enabled.
12083 hardcode_into_libs=yes 12534 hardcode_into_libs=yes
12084 12535
12085 # Append ld.so.conf contents to the search path 12536 # Ideally, we could use ldconfig to report *all* directores which are
12537 # searched for libraries, however this is still not possible. Aside from not
12538 # being certain /sbin/ldconfig is available, command
12539 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12540 # even though it is searched at run-time. Try to do the best guess by
12541 # appending ld.so.conf contents (and includes) to the search path.
12086 if test -f /etc/ld.so.conf; then 12542 if test -f /etc/ld.so.conf; then
12087 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 | $S ED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` 12543 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 | $S ED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
12088 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 12544 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12089 fi 12545 fi
12090 12546
12091 # We used to test for /lib/ld.so.1 and disable shared libraries on 12547 # We used to test for /lib/ld.so.1 and disable shared libraries on
12092 # powerpc, because MkLinux only supported shared libraries with the 12548 # powerpc, because MkLinux only supported shared libraries with the
12093 # GNU dynamic linker. Since this was broken with cross compilers, 12549 # GNU dynamic linker. Since this was broken with cross compilers,
12094 # most powerpc-linux boxes support dynamic linking these days and 12550 # most powerpc-linux boxes support dynamic linking these days and
12095 # people can always --disable-shared, the test was removed, and we 12551 # people can always --disable-shared, the test was removed, and we
12096 # assume the GNU/Linux dynamic linker is in use. 12552 # assume the GNU/Linux dynamic linker is in use.
12097 dynamic_linker='GNU/Linux ld.so' 12553 dynamic_linker='GNU/Linux ld.so'
12098 ;; 12554 ;;
12099 12555
12100 netbsdelf*-gnu)
12101 version_type=linux
12102 need_lib_prefix=no
12103 need_version=no
12104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major ${libname}${shared_ext}'
12105 soname_spec='${libname}${release}${shared_ext}$major'
12106 shlibpath_var=LD_LIBRARY_PATH
12107 shlibpath_overrides_runpath=no
12108 hardcode_into_libs=yes
12109 dynamic_linker='NetBSD ld.elf_so'
12110 ;;
12111
12112 netbsd*) 12556 netbsd*)
12113 version_type=sunos 12557 version_type=sunos
12114 need_lib_prefix=no 12558 need_lib_prefix=no
12115 need_version=no 12559 need_version=no
12116 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12560 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${ shared_ext}$versuffix' 12561 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ex t$versuffix'
12118 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12562 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12119 dynamic_linker='NetBSD (a.out) ld.so' 12563 dynamic_linker='NetBSD (a.out) ld.so'
12120 else 12564 else
12121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${ release}${shared_ext}$major ${libname}${shared_ext}' 12565 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s hared_ext$major $libname$shared_ext'
12122 soname_spec='${libname}${release}${shared_ext}$major' 12566 soname_spec='$libname$release$shared_ext$major'
12123 dynamic_linker='NetBSD ld.elf_so' 12567 dynamic_linker='NetBSD ld.elf_so'
12124 fi 12568 fi
12125 shlibpath_var=LD_LIBRARY_PATH 12569 shlibpath_var=LD_LIBRARY_PATH
12126 shlibpath_overrides_runpath=yes 12570 shlibpath_overrides_runpath=yes
12127 hardcode_into_libs=yes 12571 hardcode_into_libs=yes
12128 ;; 12572 ;;
12129 12573
12130 newsos6) 12574 newsos6)
12131 version_type=linux # correct to gnu/linux during the next big refactor 12575 version_type=linux # correct to gnu/linux during the next big refactor
12132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname${shared_ext}' 12576 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha red_ext$major $libname$shared_ext'
12133 shlibpath_var=LD_LIBRARY_PATH 12577 shlibpath_var=LD_LIBRARY_PATH
12134 shlibpath_overrides_runpath=yes 12578 shlibpath_overrides_runpath=yes
12135 ;; 12579 ;;
12136 12580
12137 *nto* | *qnx*) 12581 *nto* | *qnx*)
12138 version_type=qnx 12582 version_type=qnx
12139 need_lib_prefix=no 12583 need_lib_prefix=no
12140 need_version=no 12584 need_version=no
12141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname${shared_ext}' 12585 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha red_ext$major $libname$shared_ext'
12142 soname_spec='${libname}${release}${shared_ext}$major' 12586 soname_spec='$libname$release$shared_ext$major'
12143 shlibpath_var=LD_LIBRARY_PATH 12587 shlibpath_var=LD_LIBRARY_PATH
12144 shlibpath_overrides_runpath=no 12588 shlibpath_overrides_runpath=no
12145 hardcode_into_libs=yes 12589 hardcode_into_libs=yes
12146 dynamic_linker='ldqnx.so' 12590 dynamic_linker='ldqnx.so'
12147 ;; 12591 ;;
12148 12592
12149 openbsd*) 12593 openbsd* | bitrig*)
12150 version_type=sunos 12594 version_type=sunos
12151 sys_lib_dlsearch_path_spec="/usr/lib" 12595 sys_lib_dlsearch_path_spec=/usr/lib
12152 need_lib_prefix=no 12596 need_lib_prefix=no
12153 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 12597 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12154 case $host_os in 12598 need_version=no
12155 openbsd3.3 | openbsd3.3.*)» need_version=yes ;; 12599 else
12156 *)» » » » need_version=no ;; 12600 need_version=yes
12157 esac 12601 fi
12158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${sh ared_ext}$versuffix' 12602 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$ versuffix'
12159 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12603 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12160 shlibpath_var=LD_LIBRARY_PATH 12604 shlibpath_var=LD_LIBRARY_PATH
12161 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host _cpu" = "openbsd2.8-powerpc"; then 12605 shlibpath_overrides_runpath=yes
12162 case $host_os in
12163 openbsd2.[89] | openbsd2.[89].*)
12164 » shlibpath_overrides_runpath=no
12165 » ;;
12166 *)
12167 » shlibpath_overrides_runpath=yes
12168 » ;;
12169 esac
12170 else
12171 shlibpath_overrides_runpath=yes
12172 fi
12173 ;; 12606 ;;
12174 12607
12175 os2*) 12608 os2*)
12176 libname_spec='$name' 12609 libname_spec='$name'
12177 shrext_cmds=".dll" 12610 version_type=windows
12611 shrext_cmds=.dll
12612 need_version=no
12178 need_lib_prefix=no 12613 need_lib_prefix=no
12179 library_names_spec='$libname${shared_ext} $libname.a' 12614 # OS/2 can only load a DLL with a base name of 8 characters or less.
12615 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12616 v=$($ECHO $release$versuffix | tr -d .-);
12617 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12618 $ECHO $n$v`$shared_ext'
12619 library_names_spec='${libname}_dll.$libext'
12180 dynamic_linker='OS/2 ld.exe' 12620 dynamic_linker='OS/2 ld.exe'
12181 shlibpath_var=LIBPATH 12621 shlibpath_var=BEGINLIBPATH
12622 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12623 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12624 postinstall_cmds='base_file=`basename \$file`~
12625 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12626 dldir=$destdir/`dirname \$dlpath`~
12627 test -d \$dldir || mkdir -p \$dldir~
12628 $install_prog $dir/$dlname \$dldir/$dlname~
12629 chmod a+x \$dldir/$dlname~
12630 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12631 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12632 fi'
12633 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12634 dlpath=$dir/\$dldll~
12635 $RM \$dlpath'
12182 ;; 12636 ;;
12183 12637
12184 osf3* | osf4* | osf5*) 12638 osf3* | osf4* | osf5*)
12185 version_type=osf 12639 version_type=osf
12186 need_lib_prefix=no 12640 need_lib_prefix=no
12187 need_version=no 12641 need_version=no
12188 soname_spec='${libname}${release}${shared_ext}$major' 12642 soname_spec='$libname$release$shared_ext$major'
12189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname${shared_ext}' 12643 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha red_ext$major $libname$shared_ext'
12190 shlibpath_var=LD_LIBRARY_PATH 12644 shlibpath_var=LD_LIBRARY_PATH
12191 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12645 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12192 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 12646 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12193 ;; 12647 ;;
12194 12648
12195 rdos*) 12649 rdos*)
12196 dynamic_linker=no 12650 dynamic_linker=no
12197 ;; 12651 ;;
12198 12652
12199 solaris*) 12653 solaris*)
12200 version_type=linux # correct to gnu/linux during the next big refactor 12654 version_type=linux # correct to gnu/linux during the next big refactor
12201 need_lib_prefix=no 12655 need_lib_prefix=no
12202 need_version=no 12656 need_version=no
12203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname${shared_ext}' 12657 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha red_ext$major $libname$shared_ext'
12204 soname_spec='${libname}${release}${shared_ext}$major' 12658 soname_spec='$libname$release$shared_ext$major'
12205 shlibpath_var=LD_LIBRARY_PATH 12659 shlibpath_var=LD_LIBRARY_PATH
12206 shlibpath_overrides_runpath=yes 12660 shlibpath_overrides_runpath=yes
12207 hardcode_into_libs=yes 12661 hardcode_into_libs=yes
12208 # ldd complains unless libraries are executable 12662 # ldd complains unless libraries are executable
12209 postinstall_cmds='chmod +x $lib' 12663 postinstall_cmds='chmod +x $lib'
12210 ;; 12664 ;;
12211 12665
12212 sunos4*) 12666 sunos4*)
12213 version_type=sunos 12667 version_type=sunos
12214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${sh ared_ext}$versuffix' 12668 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$ versuffix'
12215 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12669 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12216 shlibpath_var=LD_LIBRARY_PATH 12670 shlibpath_var=LD_LIBRARY_PATH
12217 shlibpath_overrides_runpath=yes 12671 shlibpath_overrides_runpath=yes
12218 if test "$with_gnu_ld" = yes; then 12672 if test yes = "$with_gnu_ld"; then
12219 need_lib_prefix=no 12673 need_lib_prefix=no
12220 fi 12674 fi
12221 need_version=yes 12675 need_version=yes
12222 ;; 12676 ;;
12223 12677
12224 sysv4 | sysv4.3*) 12678 sysv4 | sysv4.3*)
12225 version_type=linux # correct to gnu/linux during the next big refactor 12679 version_type=linux # correct to gnu/linux during the next big refactor
12226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname${shared_ext}' 12680 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha red_ext$major $libname$shared_ext'
12227 soname_spec='${libname}${release}${shared_ext}$major' 12681 soname_spec='$libname$release$shared_ext$major'
12228 shlibpath_var=LD_LIBRARY_PATH 12682 shlibpath_var=LD_LIBRARY_PATH
12229 case $host_vendor in 12683 case $host_vendor in
12230 sni) 12684 sni)
12231 shlibpath_overrides_runpath=no 12685 shlibpath_overrides_runpath=no
12232 need_lib_prefix=no 12686 need_lib_prefix=no
12233 runpath_var=LD_RUN_PATH 12687 runpath_var=LD_RUN_PATH
12234 ;; 12688 ;;
12235 siemens) 12689 siemens)
12236 need_lib_prefix=no 12690 need_lib_prefix=no
12237 ;; 12691 ;;
12238 motorola) 12692 motorola)
12239 need_lib_prefix=no 12693 need_lib_prefix=no
12240 need_version=no 12694 need_version=no
12241 shlibpath_overrides_runpath=no 12695 shlibpath_overrides_runpath=no
12242 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12696 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12243 ;; 12697 ;;
12244 esac 12698 esac
12245 ;; 12699 ;;
12246 12700
12247 sysv4*MP*) 12701 sysv4*MP*)
12248 if test -d /usr/nec ;then 12702 if test -d /usr/nec; then
12249 version_type=linux # correct to gnu/linux during the next big refactor 12703 version_type=linux # correct to gnu/linux during the next big refactor
12250 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$ major $libname${shared_ext}' 12704 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$majo r $libname$shared_ext'
12251 soname_spec='$libname${shared_ext}.$major' 12705 soname_spec='$libname$shared_ext.$major'
12252 shlibpath_var=LD_LIBRARY_PATH 12706 shlibpath_var=LD_LIBRARY_PATH
12253 fi 12707 fi
12254 ;; 12708 ;;
12255 12709
12256 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12710 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12257 version_type=freebsd-elf 12711 version_type=sco
12258 need_lib_prefix=no 12712 need_lib_prefix=no
12259 need_version=no 12713 need_version=no
12260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext} $libname${shared_ext}' 12714 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha red_ext $libname$shared_ext'
12261 soname_spec='${libname}${release}${shared_ext}$major' 12715 soname_spec='$libname$release$shared_ext$major'
12262 shlibpath_var=LD_LIBRARY_PATH 12716 shlibpath_var=LD_LIBRARY_PATH
12263 shlibpath_overrides_runpath=yes 12717 shlibpath_overrides_runpath=yes
12264 hardcode_into_libs=yes 12718 hardcode_into_libs=yes
12265 if test "$with_gnu_ld" = yes; then 12719 if test yes = "$with_gnu_ld"; then
12266 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12720 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12267 else 12721 else
12268 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12722 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12269 case $host_os in 12723 case $host_os in
12270 sco3.2v5*) 12724 sco3.2v5*)
12271 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12725 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12272 ;; 12726 ;;
12273 esac 12727 esac
12274 fi 12728 fi
12275 sys_lib_dlsearch_path_spec='/usr/lib' 12729 sys_lib_dlsearch_path_spec='/usr/lib'
12276 ;; 12730 ;;
12277 12731
12278 tpf*) 12732 tpf*)
12279 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12733 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12280 version_type=linux # correct to gnu/linux during the next big refactor 12734 version_type=linux # correct to gnu/linux during the next big refactor
12281 need_lib_prefix=no 12735 need_lib_prefix=no
12282 need_version=no 12736 need_version=no
12283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname${shared_ext}' 12737 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha red_ext$major $libname$shared_ext'
12284 shlibpath_var=LD_LIBRARY_PATH 12738 shlibpath_var=LD_LIBRARY_PATH
12285 shlibpath_overrides_runpath=no 12739 shlibpath_overrides_runpath=no
12286 hardcode_into_libs=yes 12740 hardcode_into_libs=yes
12287 ;; 12741 ;;
12288 12742
12289 uts4*) 12743 uts4*)
12290 version_type=linux # correct to gnu/linux during the next big refactor 12744 version_type=linux # correct to gnu/linux during the next big refactor
12291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re lease}${shared_ext}$major $libname${shared_ext}' 12745 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha red_ext$major $libname$shared_ext'
12292 soname_spec='${libname}${release}${shared_ext}$major' 12746 soname_spec='$libname$release$shared_ext$major'
12293 shlibpath_var=LD_LIBRARY_PATH 12747 shlibpath_var=LD_LIBRARY_PATH
12294 ;; 12748 ;;
12295 12749
12296 *) 12750 *)
12297 dynamic_linker=no 12751 dynamic_linker=no
12298 ;; 12752 ;;
12299 esac 12753 esac
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12301 $as_echo "$dynamic_linker" >&6; } 12755 $as_echo "$dynamic_linker" >&6; }
12302 test "$dynamic_linker" = no && can_build_shared=no 12756 test no = "$dynamic_linker" && can_build_shared=no
12303 12757
12304 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12758 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12305 if test "$GCC" = yes; then 12759 if test yes = "$GCC"; then
12306 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPIL ER_PATH LIBRARY_PATH" 12760 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPIL ER_PATH LIBRARY_PATH"
12307 fi 12761 fi
12308 12762
12309 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 12763 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12310 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 12764 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12311 fi 12765 fi
12312 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 12766
12313 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 12767 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12768 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12314 fi 12769 fi
12315 12770
12771 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12772 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12773
12774 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12775 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12776
12777 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12778 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12779
12316 12780
12317 12781
12318 12782
12783
12784
12785
12786
12787
12319 12788
12320 12789
12321 12790
12322 12791
12323 12792
12324 12793
12325 12794
12326 12795
12327 12796
12328 12797
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
12402 12871
12403 12872
12404 12873
12405 12874
12406 12875
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library path s into programs" >&5 12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library path s into programs" >&5
12408 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12877 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12409 hardcode_action= 12878 hardcode_action=
12410 if test -n "$hardcode_libdir_flag_spec" || 12879 if test -n "$hardcode_libdir_flag_spec" ||
12411 test -n "$runpath_var" || 12880 test -n "$runpath_var" ||
12412 test "X$hardcode_automatic" = "Xyes" ; then 12881 test yes = "$hardcode_automatic"; then
12413 12882
12414 # We can hardcode non-existent directories. 12883 # We can hardcode non-existent directories.
12415 if test "$hardcode_direct" != no && 12884 if test no != "$hardcode_direct" &&
12416 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12885 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12417 # have to relink, otherwise we might link with an installed library 12886 # have to relink, otherwise we might link with an installed library
12418 # when we should be linking with a yet-to-be-installed one 12887 # when we should be linking with a yet-to-be-installed one
12419 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 12888 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12420 test "$hardcode_minus_L" != no; then 12889 test no != "$hardcode_minus_L"; then
12421 # Linking always hardcodes the temporary library directory. 12890 # Linking always hardcodes the temporary library directory.
12422 hardcode_action=relink 12891 hardcode_action=relink
12423 else 12892 else
12424 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12893 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12425 hardcode_action=immediate 12894 hardcode_action=immediate
12426 fi 12895 fi
12427 else 12896 else
12428 # We cannot hardcode anything, or else we can only hardcode existing 12897 # We cannot hardcode anything, or else we can only hardcode existing
12429 # directories. 12898 # directories.
12430 hardcode_action=unsupported 12899 hardcode_action=unsupported
12431 fi 12900 fi
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12433 $as_echo "$hardcode_action" >&6; } 12902 $as_echo "$hardcode_action" >&6; }
12434 12903
12435 if test "$hardcode_action" = relink || 12904 if test relink = "$hardcode_action" ||
12436 test "$inherit_rpath" = yes; then 12905 test yes = "$inherit_rpath"; then
12437 # Fast installation is not supported 12906 # Fast installation is not supported
12438 enable_fast_install=no 12907 enable_fast_install=no
12439 elif test "$shlibpath_overrides_runpath" = yes || 12908 elif test yes = "$shlibpath_overrides_runpath" ||
12440 test "$enable_shared" = no; then 12909 test no = "$enable_shared"; then
12441 # Fast installation is not necessary 12910 # Fast installation is not necessary
12442 enable_fast_install=needless 12911 enable_fast_install=needless
12443 fi 12912 fi
12444 12913
12445 12914
12446 12915
12447 12916
12448 12917
12449 12918
12450 if test "x$enable_dlopen" != xyes; then 12919 if test yes != "$enable_dlopen"; then
12451 enable_dlopen=unknown 12920 enable_dlopen=unknown
12452 enable_dlopen_self=unknown 12921 enable_dlopen_self=unknown
12453 enable_dlopen_self_static=unknown 12922 enable_dlopen_self_static=unknown
12454 else 12923 else
12455 lt_cv_dlopen=no 12924 lt_cv_dlopen=no
12456 lt_cv_dlopen_libs= 12925 lt_cv_dlopen_libs=
12457 12926
12458 case $host_os in 12927 case $host_os in
12459 beos*) 12928 beos*)
12460 lt_cv_dlopen="load_add_on" 12929 lt_cv_dlopen=load_add_on
12461 lt_cv_dlopen_libs= 12930 lt_cv_dlopen_libs=
12462 lt_cv_dlopen_self=yes 12931 lt_cv_dlopen_self=yes
12463 ;; 12932 ;;
12464 12933
12465 mingw* | pw32* | cegcc*) 12934 mingw* | pw32* | cegcc*)
12466 lt_cv_dlopen="LoadLibrary" 12935 lt_cv_dlopen=LoadLibrary
12467 lt_cv_dlopen_libs= 12936 lt_cv_dlopen_libs=
12468 ;; 12937 ;;
12469 12938
12470 cygwin*) 12939 cygwin*)
12471 lt_cv_dlopen="dlopen" 12940 lt_cv_dlopen=dlopen
12472 lt_cv_dlopen_libs= 12941 lt_cv_dlopen_libs=
12473 ;; 12942 ;;
12474 12943
12475 darwin*) 12944 darwin*)
12476 # if libdl is installed we need to link against it 12945 # if libdl is installed we need to link against it
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12478 $as_echo_n "checking for dlopen in -ldl... " >&6; } 12947 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12479 if ${ac_cv_lib_dl_dlopen+:} false; then : 12948 if ${ac_cv_lib_dl_dlopen+:} false; then :
12480 $as_echo_n "(cached) " >&6 12949 $as_echo_n "(cached) " >&6
12481 else 12950 else
12482 ac_check_lib_save_LIBS=$LIBS 12951 ac_check_lib_save_LIBS=$LIBS
12483 LIBS="-ldl $LIBS" 12952 LIBS="-ldl $LIBS"
12484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h. */ 12954 /* end confdefs.h. */
12486 12955
(...skipping 17 matching lines...) Expand all
12504 else 12973 else
12505 ac_cv_lib_dl_dlopen=no 12974 ac_cv_lib_dl_dlopen=no
12506 fi 12975 fi
12507 rm -f core conftest.err conftest.$ac_objext \ 12976 rm -f core conftest.err conftest.$ac_objext \
12508 conftest$ac_exeext conftest.$ac_ext 12977 conftest$ac_exeext conftest.$ac_ext
12509 LIBS=$ac_check_lib_save_LIBS 12978 LIBS=$ac_check_lib_save_LIBS
12510 fi 12979 fi
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12512 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12981 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12513 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12982 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12514 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 12983 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12515 else 12984 else
12516 12985
12517 lt_cv_dlopen="dyld" 12986 lt_cv_dlopen=dyld
12518 lt_cv_dlopen_libs= 12987 lt_cv_dlopen_libs=
12519 lt_cv_dlopen_self=yes 12988 lt_cv_dlopen_self=yes
12520 12989
12521 fi 12990 fi
12522 12991
12523 ;; 12992 ;;
12524 12993
12994 tpf*)
12995 # Don't try to run any link tests for TPF. We know it's impossible
12996 # because TPF is a cross-compiler, and we know how we open DSOs.
12997 lt_cv_dlopen=dlopen
12998 lt_cv_dlopen_libs=
12999 lt_cv_dlopen_self=no
13000 ;;
13001
12525 *) 13002 *)
12526 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 13003 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12527 if test "x$ac_cv_func_shl_load" = xyes; then : 13004 if test "x$ac_cv_func_shl_load" = xyes; then :
12528 lt_cv_dlopen="shl_load" 13005 lt_cv_dlopen=shl_load
12529 else 13006 else
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12531 $as_echo_n "checking for shl_load in -ldld... " >&6; } 13008 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12532 if ${ac_cv_lib_dld_shl_load+:} false; then : 13009 if ${ac_cv_lib_dld_shl_load+:} false; then :
12533 $as_echo_n "(cached) " >&6 13010 $as_echo_n "(cached) " >&6
12534 else 13011 else
12535 ac_check_lib_save_LIBS=$LIBS 13012 ac_check_lib_save_LIBS=$LIBS
12536 LIBS="-ldld $LIBS" 13013 LIBS="-ldld $LIBS"
12537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12538 /* end confdefs.h. */ 13015 /* end confdefs.h. */
(...skipping 18 matching lines...) Expand all
12557 else 13034 else
12558 ac_cv_lib_dld_shl_load=no 13035 ac_cv_lib_dld_shl_load=no
12559 fi 13036 fi
12560 rm -f core conftest.err conftest.$ac_objext \ 13037 rm -f core conftest.err conftest.$ac_objext \
12561 conftest$ac_exeext conftest.$ac_ext 13038 conftest$ac_exeext conftest.$ac_ext
12562 LIBS=$ac_check_lib_save_LIBS 13039 LIBS=$ac_check_lib_save_LIBS
12563 fi 13040 fi
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12565 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 13042 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12566 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 13043 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12567 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 13044 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12568 else 13045 else
12569 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 13046 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12570 if test "x$ac_cv_func_dlopen" = xyes; then : 13047 if test "x$ac_cv_func_dlopen" = xyes; then :
12571 lt_cv_dlopen="dlopen" 13048 lt_cv_dlopen=dlopen
12572 else 13049 else
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12574 $as_echo_n "checking for dlopen in -ldl... " >&6; } 13051 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12575 if ${ac_cv_lib_dl_dlopen+:} false; then : 13052 if ${ac_cv_lib_dl_dlopen+:} false; then :
12576 $as_echo_n "(cached) " >&6 13053 $as_echo_n "(cached) " >&6
12577 else 13054 else
12578 ac_check_lib_save_LIBS=$LIBS 13055 ac_check_lib_save_LIBS=$LIBS
12579 LIBS="-ldl $LIBS" 13056 LIBS="-ldl $LIBS"
12580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12581 /* end confdefs.h. */ 13058 /* end confdefs.h. */
(...skipping 18 matching lines...) Expand all
12600 else 13077 else
12601 ac_cv_lib_dl_dlopen=no 13078 ac_cv_lib_dl_dlopen=no
12602 fi 13079 fi
12603 rm -f core conftest.err conftest.$ac_objext \ 13080 rm -f core conftest.err conftest.$ac_objext \
12604 conftest$ac_exeext conftest.$ac_ext 13081 conftest$ac_exeext conftest.$ac_ext
12605 LIBS=$ac_check_lib_save_LIBS 13082 LIBS=$ac_check_lib_save_LIBS
12606 fi 13083 fi
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12608 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13085 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12609 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13086 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12610 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 13087 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12611 else 13088 else
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12613 $as_echo_n "checking for dlopen in -lsvld... " >&6; } 13090 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12614 if ${ac_cv_lib_svld_dlopen+:} false; then : 13091 if ${ac_cv_lib_svld_dlopen+:} false; then :
12615 $as_echo_n "(cached) " >&6 13092 $as_echo_n "(cached) " >&6
12616 else 13093 else
12617 ac_check_lib_save_LIBS=$LIBS 13094 ac_check_lib_save_LIBS=$LIBS
12618 LIBS="-lsvld $LIBS" 13095 LIBS="-lsvld $LIBS"
12619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12620 /* end confdefs.h. */ 13097 /* end confdefs.h. */
(...skipping 18 matching lines...) Expand all
12639 else 13116 else
12640 ac_cv_lib_svld_dlopen=no 13117 ac_cv_lib_svld_dlopen=no
12641 fi 13118 fi
12642 rm -f core conftest.err conftest.$ac_objext \ 13119 rm -f core conftest.err conftest.$ac_objext \
12643 conftest$ac_exeext conftest.$ac_ext 13120 conftest$ac_exeext conftest.$ac_ext
12644 LIBS=$ac_check_lib_save_LIBS 13121 LIBS=$ac_check_lib_save_LIBS
12645 fi 13122 fi
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12647 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13124 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12648 if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 13125 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12649 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 13126 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12650 else 13127 else
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12652 $as_echo_n "checking for dld_link in -ldld... " >&6; } 13129 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12653 if ${ac_cv_lib_dld_dld_link+:} false; then : 13130 if ${ac_cv_lib_dld_dld_link+:} false; then :
12654 $as_echo_n "(cached) " >&6 13131 $as_echo_n "(cached) " >&6
12655 else 13132 else
12656 ac_check_lib_save_LIBS=$LIBS 13133 ac_check_lib_save_LIBS=$LIBS
12657 LIBS="-ldld $LIBS" 13134 LIBS="-ldld $LIBS"
12658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12659 /* end confdefs.h. */ 13136 /* end confdefs.h. */
(...skipping 18 matching lines...) Expand all
12678 else 13155 else
12679 ac_cv_lib_dld_dld_link=no 13156 ac_cv_lib_dld_dld_link=no
12680 fi 13157 fi
12681 rm -f core conftest.err conftest.$ac_objext \ 13158 rm -f core conftest.err conftest.$ac_objext \
12682 conftest$ac_exeext conftest.$ac_ext 13159 conftest$ac_exeext conftest.$ac_ext
12683 LIBS=$ac_check_lib_save_LIBS 13160 LIBS=$ac_check_lib_save_LIBS
12684 fi 13161 fi
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12686 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13163 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12687 if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 13164 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12688 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 13165 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12689 fi 13166 fi
12690 13167
12691 13168
12692 fi 13169 fi
12693 13170
12694 13171
12695 fi 13172 fi
12696 13173
12697 13174
12698 fi 13175 fi
12699 13176
12700 13177
12701 fi 13178 fi
12702 13179
12703 13180
12704 fi 13181 fi
12705 13182
12706 ;; 13183 ;;
12707 esac 13184 esac
12708 13185
12709 if test "x$lt_cv_dlopen" != xno; then 13186 if test no = "$lt_cv_dlopen"; then
13187 enable_dlopen=no
13188 else
12710 enable_dlopen=yes 13189 enable_dlopen=yes
12711 else
12712 enable_dlopen=no
12713 fi 13190 fi
12714 13191
12715 case $lt_cv_dlopen in 13192 case $lt_cv_dlopen in
12716 dlopen) 13193 dlopen)
12717 save_CPPFLAGS="$CPPFLAGS" 13194 save_CPPFLAGS=$CPPFLAGS
12718 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 13195 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12719 13196
12720 save_LDFLAGS="$LDFLAGS" 13197 save_LDFLAGS=$LDFLAGS
12721 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13198 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12722 13199
12723 save_LIBS="$LIBS" 13200 save_LIBS=$LIBS
12724 LIBS="$lt_cv_dlopen_libs $LIBS" 13201 LIBS="$lt_cv_dlopen_libs $LIBS"
12725 13202
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlop en itself" >&5 13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlop en itself" >&5
12727 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 13204 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12728 if ${lt_cv_dlopen_self+:} false; then : 13205 if ${lt_cv_dlopen_self+:} false; then :
12729 $as_echo_n "(cached) " >&6 13206 $as_echo_n "(cached) " >&6
12730 else 13207 else
12731 » if test "$cross_compiling" = yes; then : 13208 » if test yes = "$cross_compiling"; then :
12732 lt_cv_dlopen_self=cross 13209 lt_cv_dlopen_self=cross
12733 else 13210 else
12734 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13211 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12735 lt_status=$lt_dlunknown 13212 lt_status=$lt_dlunknown
12736 cat > conftest.$ac_ext <<_LT_EOF 13213 cat > conftest.$ac_ext <<_LT_EOF
12737 #line $LINENO "configure" 13214 #line $LINENO "configure"
12738 #include "confdefs.h" 13215 #include "confdefs.h"
12739 13216
12740 #if HAVE_DLFCN_H 13217 #if HAVE_DLFCN_H
12741 #include <dlfcn.h> 13218 #include <dlfcn.h>
(...skipping 26 matching lines...) Expand all
12768 # ifdef DL_NOW 13245 # ifdef DL_NOW
12769 # define LT_DLLAZY_OR_NOW DL_NOW 13246 # define LT_DLLAZY_OR_NOW DL_NOW
12770 # else 13247 # else
12771 # define LT_DLLAZY_OR_NOW 0 13248 # define LT_DLLAZY_OR_NOW 0
12772 # endif 13249 # endif
12773 # endif 13250 # endif
12774 # endif 13251 # endif
12775 # endif 13252 # endif
12776 #endif 13253 #endif
12777 13254
12778 /* When -fvisbility=hidden is used, assume the code has been annotated 13255 /* When -fvisibility=hidden is used, assume the code has been annotated
12779 correspondingly for the symbols needed. */ 13256 correspondingly for the symbols needed. */
12780 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC_ _ > 3)) 13257 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12781 int fnord () __attribute__((visibility("default"))); 13258 int fnord () __attribute__((visibility("default")));
12782 #endif 13259 #endif
12783 13260
12784 int fnord () { return 42; } 13261 int fnord () { return 42; }
12785 int main () 13262 int main ()
12786 { 13263 {
12787 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13264 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12788 int status = $lt_dlunknown; 13265 int status = $lt_dlunknown;
12789 13266
12790 if (self) 13267 if (self)
12791 { 13268 {
12792 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13269 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12793 else 13270 else
12794 { 13271 {
12795 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13272 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12796 else puts (dlerror ()); 13273 else puts (dlerror ());
12797 } 13274 }
12798 /* dlclose (self); */ 13275 /* dlclose (self); */
12799 } 13276 }
12800 else 13277 else
12801 puts (dlerror ()); 13278 puts (dlerror ());
12802 13279
12803 return status; 13280 return status;
12804 } 13281 }
12805 _LT_EOF 13282 _LT_EOF
12806 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12807 (eval $ac_link) 2>&5 13284 (eval $ac_link) 2>&5
12808 ac_status=$? 13285 ac_status=$?
12809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12810 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 13287 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12811 (./conftest; exit; ) >&5 2>/dev/null 13288 (./conftest; exit; ) >&5 2>/dev/null
12812 lt_status=$? 13289 lt_status=$?
12813 case x$lt_status in 13290 case x$lt_status in
12814 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13291 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12815 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13292 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12816 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13293 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12817 esac 13294 esac
12818 else : 13295 else :
12819 # compilation failed 13296 # compilation failed
12820 lt_cv_dlopen_self=no 13297 lt_cv_dlopen_self=no
12821 fi 13298 fi
12822 fi 13299 fi
12823 rm -fr conftest* 13300 rm -fr conftest*
12824 13301
12825 13302
12826 fi 13303 fi
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12828 $as_echo "$lt_cv_dlopen_self" >&6; } 13305 $as_echo "$lt_cv_dlopen_self" >&6; }
12829 13306
12830 if test "x$lt_cv_dlopen_self" = xyes; then 13307 if test yes = "$lt_cv_dlopen_self"; then
12831 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\ " 13308 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\ "
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically lin ked program can dlopen itself" >&5 13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically lin ked program can dlopen itself" >&5
12833 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13310 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12834 if ${lt_cv_dlopen_self_static+:} false; then : 13311 if ${lt_cv_dlopen_self_static+:} false; then :
12835 $as_echo_n "(cached) " >&6 13312 $as_echo_n "(cached) " >&6
12836 else 13313 else
12837 » if test "$cross_compiling" = yes; then : 13314 » if test yes = "$cross_compiling"; then :
12838 lt_cv_dlopen_self_static=cross 13315 lt_cv_dlopen_self_static=cross
12839 else 13316 else
12840 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13317 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12841 lt_status=$lt_dlunknown 13318 lt_status=$lt_dlunknown
12842 cat > conftest.$ac_ext <<_LT_EOF 13319 cat > conftest.$ac_ext <<_LT_EOF
12843 #line $LINENO "configure" 13320 #line $LINENO "configure"
12844 #include "confdefs.h" 13321 #include "confdefs.h"
12845 13322
12846 #if HAVE_DLFCN_H 13323 #if HAVE_DLFCN_H
12847 #include <dlfcn.h> 13324 #include <dlfcn.h>
(...skipping 26 matching lines...) Expand all
12874 # ifdef DL_NOW 13351 # ifdef DL_NOW
12875 # define LT_DLLAZY_OR_NOW DL_NOW 13352 # define LT_DLLAZY_OR_NOW DL_NOW
12876 # else 13353 # else
12877 # define LT_DLLAZY_OR_NOW 0 13354 # define LT_DLLAZY_OR_NOW 0
12878 # endif 13355 # endif
12879 # endif 13356 # endif
12880 # endif 13357 # endif
12881 # endif 13358 # endif
12882 #endif 13359 #endif
12883 13360
12884 /* When -fvisbility=hidden is used, assume the code has been annotated 13361 /* When -fvisibility=hidden is used, assume the code has been annotated
12885 correspondingly for the symbols needed. */ 13362 correspondingly for the symbols needed. */
12886 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC_ _ > 3)) 13363 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12887 int fnord () __attribute__((visibility("default"))); 13364 int fnord () __attribute__((visibility("default")));
12888 #endif 13365 #endif
12889 13366
12890 int fnord () { return 42; } 13367 int fnord () { return 42; }
12891 int main () 13368 int main ()
12892 { 13369 {
12893 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13370 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12894 int status = $lt_dlunknown; 13371 int status = $lt_dlunknown;
12895 13372
12896 if (self) 13373 if (self)
12897 { 13374 {
12898 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13375 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12899 else 13376 else
12900 { 13377 {
12901 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13378 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12902 else puts (dlerror ()); 13379 else puts (dlerror ());
12903 } 13380 }
12904 /* dlclose (self); */ 13381 /* dlclose (self); */
12905 } 13382 }
12906 else 13383 else
12907 puts (dlerror ()); 13384 puts (dlerror ());
12908 13385
12909 return status; 13386 return status;
12910 } 13387 }
12911 _LT_EOF 13388 _LT_EOF
12912 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12913 (eval $ac_link) 2>&5 13390 (eval $ac_link) 2>&5
12914 ac_status=$? 13391 ac_status=$?
12915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12916 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 13393 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12917 (./conftest; exit; ) >&5 2>/dev/null 13394 (./conftest; exit; ) >&5 2>/dev/null
12918 lt_status=$? 13395 lt_status=$?
12919 case x$lt_status in 13396 case x$lt_status in
12920 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13397 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12921 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13398 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12922 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13399 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12923 esac 13400 esac
12924 else : 13401 else :
12925 # compilation failed 13402 # compilation failed
12926 lt_cv_dlopen_self_static=no 13403 lt_cv_dlopen_self_static=no
12927 fi 13404 fi
12928 fi 13405 fi
12929 rm -fr conftest* 13406 rm -fr conftest*
12930 13407
12931 13408
12932 fi 13409 fi
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12934 $as_echo "$lt_cv_dlopen_self_static" >&6; } 13411 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12935 fi 13412 fi
12936 13413
12937 CPPFLAGS="$save_CPPFLAGS" 13414 CPPFLAGS=$save_CPPFLAGS
12938 LDFLAGS="$save_LDFLAGS" 13415 LDFLAGS=$save_LDFLAGS
12939 LIBS="$save_LIBS" 13416 LIBS=$save_LIBS
12940 ;; 13417 ;;
12941 esac 13418 esac
12942 13419
12943 case $lt_cv_dlopen_self in 13420 case $lt_cv_dlopen_self in
12944 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13421 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12945 *) enable_dlopen_self=unknown ;; 13422 *) enable_dlopen_self=unknown ;;
12946 esac 13423 esac
12947 13424
12948 case $lt_cv_dlopen_self_static in 13425 case $lt_cv_dlopen_self_static in
12949 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13426 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
(...skipping 23 matching lines...) Expand all
12973 $as_echo_n "checking whether stripping libraries is possible... " >&6; } 13450 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12974 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13451 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12975 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13452 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12976 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13453 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12978 $as_echo "yes" >&6; } 13455 $as_echo "yes" >&6; }
12979 else 13456 else
12980 # FIXME - insert some real tests, host_os isn't really good enough 13457 # FIXME - insert some real tests, host_os isn't really good enough
12981 case $host_os in 13458 case $host_os in
12982 darwin*) 13459 darwin*)
12983 if test -n "$STRIP" ; then 13460 if test -n "$STRIP"; then
12984 striplib="$STRIP -x" 13461 striplib="$STRIP -x"
12985 old_striplib="$STRIP -S" 13462 old_striplib="$STRIP -S"
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12987 $as_echo "yes" >&6; } 13464 $as_echo "yes" >&6; }
12988 else 13465 else
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12990 $as_echo "no" >&6; } 13467 $as_echo "no" >&6; }
12991 fi 13468 fi
12992 ;; 13469 ;;
12993 *) 13470 *)
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12995 $as_echo "no" >&6; } 13472 $as_echo "no" >&6; }
12996 ;; 13473 ;;
12997 esac 13474 esac
12998 fi 13475 fi
12999 13476
13000 13477
13001 13478
13002 13479
13003 13480
13004 13481
13005 13482
13006 13483
13007 13484
13008 13485
13009 13486
13010 13487
13011 # Report which library types will actually be built 13488 # Report what library types will actually be built
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared l ibraries" >&5 13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared l ibraries" >&5
13013 $as_echo_n "checking if libtool supports shared libraries... " >&6; } 13490 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13015 $as_echo "$can_build_shared" >&6; } 13492 $as_echo "$can_build_shared" >&6; }
13016 13493
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libr aries" >&5 13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libr aries" >&5
13018 $as_echo_n "checking whether to build shared libraries... " >&6; } 13495 $as_echo_n "checking whether to build shared libraries... " >&6; }
13019 test "$can_build_shared" = "no" && enable_shared=no 13496 test no = "$can_build_shared" && enable_shared=no
13020 13497
13021 # On AIX, shared libraries and static libraries use the same namespace, and 13498 # On AIX, shared libraries and static libraries use the same namespace, and
13022 # are all built from PIC. 13499 # are all built from PIC.
13023 case $host_os in 13500 case $host_os in
13024 aix3*) 13501 aix3*)
13025 test "$enable_shared" = yes && enable_static=no 13502 test yes = "$enable_shared" && enable_static=no
13026 if test -n "$RANLIB"; then 13503 if test -n "$RANLIB"; then
13027 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13504 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13028 postinstall_cmds='$RANLIB $lib' 13505 postinstall_cmds='$RANLIB $lib'
13029 fi 13506 fi
13030 ;; 13507 ;;
13031 13508
13032 aix[4-9]*) 13509 aix[4-9]*)
13033 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 13510 if test ia64 != "$host_cpu"; then
13034 test "$enable_shared" = yes && enable_static=no 13511 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13512 yes,aix,yes) ;;» » » # shared object as lib.so file only
13513 yes,svr4,*) ;;» » » # shared object as lib.so archive member only
13514 yes,*) enable_static=no ;;» # shared object in lib.a archive as well
13515 esac
13035 fi 13516 fi
13036 ;; 13517 ;;
13037 esac 13518 esac
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13039 $as_echo "$enable_shared" >&6; } 13520 $as_echo "$enable_shared" >&6; }
13040 13521
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libr aries" >&5 13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libr aries" >&5
13042 $as_echo_n "checking whether to build static libraries... " >&6; } 13523 $as_echo_n "checking whether to build static libraries... " >&6; }
13043 # Make sure either enable_shared or enable_static is yes. 13524 # Make sure either enable_shared or enable_static is yes.
13044 test "$enable_shared" = yes || enable_static=yes 13525 test yes = "$enable_shared" || enable_static=yes
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13046 $as_echo "$enable_static" >&6; } 13527 $as_echo "$enable_static" >&6; }
13047 13528
13048 13529
13049 13530
13050 13531
13051 fi 13532 fi
13052 ac_ext=c 13533 ac_ext=c
13053 ac_cpp='$CPP $CPPFLAGS' 13534 ac_cpp='$CPP $CPPFLAGS'
13054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 13536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
13056 ac_compiler_gnu=$ac_cv_c_compiler_gnu 13537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13057 13538
13058 CC="$lt_save_CC" 13539 CC=$lt_save_CC
13059 13540
13060 13541
13061 13542
13062 13543
13063 13544
13064 13545
13065 13546
13066 13547
13067 13548
13068 13549
(...skipping 2071 matching lines...) Expand 10 before | Expand all | Expand 10 after
15140 delay_variable_subst='$delay_variable_subst' 15621 delay_variable_subst='$delay_variable_subst'
15141 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 15622 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15142 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 15623 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15143 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 15624 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15144 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 15625 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15145 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 15626 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15146 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 15627 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15147 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 15628 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15148 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 15629 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15149 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_s ubst"`' 15630 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_s ubst"`'
15631 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_ single_quote_subst"`'
15150 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 15632 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15151 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 15633 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15152 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 15634 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15153 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 15635 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15154 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 15636 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15155 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 15637 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15156 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 15638 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15157 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 15639 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15158 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 15640 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15159 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 15641 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
(...skipping 27 matching lines...) Expand all
15187 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote _subst"`' 15669 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote _subst"`'
15188 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_q uote_subst"`' 15670 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_q uote_subst"`'
15189 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"` ' 15671 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"` '
15190 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$dela y_single_quote_subst"`' 15672 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$dela y_single_quote_subst"`'
15191 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 15673 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15192 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 15674 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15193 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 15675 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15194 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 15676 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15195 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de lay_single_quote_subst"`' 15677 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de lay_single_quote_subst"`'
15196 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $ SED "$delay_single_quote_subst"`' 15678 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $ SED "$delay_single_quote_subst"`'
15679 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15197 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c _name_address" | $SED "$delay_single_quote_subst"`' 15680 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c _name_address" | $SED "$delay_single_quote_subst"`'
15198 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"`' 15681 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"`'
15682 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_sub st"`'
15199 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst "`' 15683 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst "`'
15200 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 15684 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15685 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_sub st"`'
15201 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 15686 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15202 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 15687 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15203 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $ SED "$delay_single_quote_subst"`' 15688 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $ SED "$delay_single_quote_subst"`'
15204 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote _subst"`' 15689 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote _subst"`'
15205 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_s ubst"`' 15690 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_s ubst"`'
15206 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single _quote_subst"`' 15691 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single _quote_subst"`'
15207 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single _quote_subst"`' 15692 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single _quote_subst"`'
15208 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 15693 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15209 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 15694 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15210 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 15695 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
15255 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 15740 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15256 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_sub st"`' 15741 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_sub st"`'
15257 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 15742 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15258 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quo te_subst"`' 15743 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quo te_subst"`'
15259 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"` ' 15744 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"` '
15260 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_sub st"`' 15745 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_sub st"`'
15261 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 15746 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15262 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 15747 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15263 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_sub st"`' 15748 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_sub st"`'
15264 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_sing le_quote_subst"`' 15749 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_sing le_quote_subst"`'
15265 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_ single_quote_subst"`' 15750 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$de lay_single_quote_subst"`'
15751 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15266 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 15752 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15267 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 15753 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15268 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_sub st"`' 15754 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_sub st"`'
15269 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_si ngle_quote_subst"`' 15755 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_si ngle_quote_subst"`'
15270 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 15756 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15271 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 15757 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15272 15758
15273 LTCC='$LTCC' 15759 LTCC='$LTCC'
15274 LTCFLAGS='$LTCFLAGS' 15760 LTCFLAGS='$LTCFLAGS'
15275 compiler='$compiler_DEFAULT' 15761 compiler='$compiler_DEFAULT'
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
15307 AR \ 15793 AR \
15308 AR_FLAGS \ 15794 AR_FLAGS \
15309 archiver_list_spec \ 15795 archiver_list_spec \
15310 STRIP \ 15796 STRIP \
15311 RANLIB \ 15797 RANLIB \
15312 CC \ 15798 CC \
15313 CFLAGS \ 15799 CFLAGS \
15314 compiler \ 15800 compiler \
15315 lt_cv_sys_global_symbol_pipe \ 15801 lt_cv_sys_global_symbol_pipe \
15316 lt_cv_sys_global_symbol_to_cdecl \ 15802 lt_cv_sys_global_symbol_to_cdecl \
15803 lt_cv_sys_global_symbol_to_import \
15317 lt_cv_sys_global_symbol_to_c_name_address \ 15804 lt_cv_sys_global_symbol_to_c_name_address \
15318 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 15805 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15806 lt_cv_nm_interface \
15319 nm_file_list_spec \ 15807 nm_file_list_spec \
15808 lt_cv_truncate_bin \
15320 lt_prog_compiler_no_builtin_flag \ 15809 lt_prog_compiler_no_builtin_flag \
15321 lt_prog_compiler_pic \ 15810 lt_prog_compiler_pic \
15322 lt_prog_compiler_wl \ 15811 lt_prog_compiler_wl \
15323 lt_prog_compiler_static \ 15812 lt_prog_compiler_static \
15324 lt_cv_prog_compiler_c_o \ 15813 lt_cv_prog_compiler_c_o \
15325 need_locks \ 15814 need_locks \
15326 MANIFEST_TOOL \ 15815 MANIFEST_TOOL \
15327 DSYMUTIL \ 15816 DSYMUTIL \
15328 NMEDIT \ 15817 NMEDIT \
15329 LIPO \ 15818 LIPO \
(...skipping 14 matching lines...) Expand all
15344 variables_saved_for_relink \ 15833 variables_saved_for_relink \
15345 libname_spec \ 15834 libname_spec \
15346 library_names_spec \ 15835 library_names_spec \
15347 soname_spec \ 15836 soname_spec \
15348 install_override_mode \ 15837 install_override_mode \
15349 finish_eval \ 15838 finish_eval \
15350 old_striplib \ 15839 old_striplib \
15351 striplib; do 15840 striplib; do
15352 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15841 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15353 *[\\\\\\\`\\"\\\$]*) 15842 *[\\\\\\\`\\"\\\$]*)
15354 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_qu ote_subst\\"\\\`\\\\\\"" 15843 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_qu ote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15355 ;; 15844 ;;
15356 *) 15845 *)
15357 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15846 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15358 ;; 15847 ;;
15359 esac 15848 esac
15360 done 15849 done
15361 15850
15362 # Double-quote double-evaled strings. 15851 # Double-quote double-evaled strings.
15363 for var in reload_cmds \ 15852 for var in reload_cmds \
15364 old_postinstall_cmds \ 15853 old_postinstall_cmds \
15365 old_postuninstall_cmds \ 15854 old_postuninstall_cmds \
15366 old_archive_cmds \ 15855 old_archive_cmds \
15367 extract_expsyms_cmds \ 15856 extract_expsyms_cmds \
15368 old_archive_from_new_cmds \ 15857 old_archive_from_new_cmds \
15369 old_archive_from_expsyms_cmds \ 15858 old_archive_from_expsyms_cmds \
15370 archive_cmds \ 15859 archive_cmds \
15371 archive_expsym_cmds \ 15860 archive_expsym_cmds \
15372 module_cmds \ 15861 module_cmds \
15373 module_expsym_cmds \ 15862 module_expsym_cmds \
15374 export_symbols_cmds \ 15863 export_symbols_cmds \
15375 prelink_cmds \ 15864 prelink_cmds \
15376 postlink_cmds \ 15865 postlink_cmds \
15377 postinstall_cmds \ 15866 postinstall_cmds \
15378 postuninstall_cmds \ 15867 postuninstall_cmds \
15379 finish_cmds \ 15868 finish_cmds \
15380 sys_lib_search_path_spec \ 15869 sys_lib_search_path_spec \
15381 sys_lib_dlsearch_path_spec; do 15870 configure_time_dlsearch_path \
15871 configure_time_lt_sys_library_path; do
15382 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15872 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15383 *[\\\\\\\`\\"\\\$]*) 15873 *[\\\\\\\`\\"\\\$]*)
15384 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$dou ble_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\ "\\\`\\\\\\"" 15874 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$dou ble_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\ "\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15385 ;; 15875 ;;
15386 *) 15876 *)
15387 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15877 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15388 ;; 15878 ;;
15389 esac 15879 esac
15390 done 15880 done
15391 15881
15392 ac_aux_dir='$ac_aux_dir' 15882 ac_aux_dir='$ac_aux_dir'
15393 xsi_shell='$xsi_shell'
15394 lt_shell_append='$lt_shell_append'
15395 15883
15396 # See if we are running on zsh, and set the options which allow our 15884 # See if we are running on zsh, and set the options that allow our
15397 # commands through without removal of \ escapes INIT. 15885 # commands through without removal of \ escapes INIT.
15398 if test -n "\${ZSH_VERSION+set}" ; then 15886 if test -n "\${ZSH_VERSION+set}"; then
15399 setopt NO_GLOB_SUBST 15887 setopt NO_GLOB_SUBST
15400 fi 15888 fi
15401 15889
15402 15890
15403 PACKAGE='$PACKAGE' 15891 PACKAGE='$PACKAGE'
15404 VERSION='$VERSION' 15892 VERSION='$VERSION'
15405 TIMESTAMP='$TIMESTAMP'
15406 RM='$RM' 15893 RM='$RM'
15407 ofile='$ofile' 15894 ofile='$ofile'
15408 15895
15409 15896
15410 15897
15411 15898
15412 _ACEOF 15899 _ACEOF
15413 15900
15414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15415 15902
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
16145 s/.*/./; q'` 16632 s/.*/./; q'`
16146 as_dir=$dirpart/$fdir; as_fn_mkdir_p 16633 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16147 # echo "creating $dirpart/$file" 16634 # echo "creating $dirpart/$file"
16148 echo '# dummy' > "$dirpart/$file" 16635 echo '# dummy' > "$dirpart/$file"
16149 done 16636 done
16150 done 16637 done
16151 } 16638 }
16152 ;; 16639 ;;
16153 "libtool":C) 16640 "libtool":C)
16154 16641
16155 # See if we are running on zsh, and set the options which allow our 16642 # See if we are running on zsh, and set the options that allow our
16156 # commands through without removal of \ escapes. 16643 # commands through without removal of \ escapes.
16157 if test -n "${ZSH_VERSION+set}" ; then 16644 if test -n "${ZSH_VERSION+set}"; then
16158 setopt NO_GLOB_SUBST 16645 setopt NO_GLOB_SUBST
16159 fi 16646 fi
16160 16647
16161 cfgfile="${ofile}T" 16648 cfgfile=${ofile}T
16162 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 16649 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16163 $RM "$cfgfile" 16650 $RM "$cfgfile"
16164 16651
16165 cat <<_LT_EOF >> "$cfgfile" 16652 cat <<_LT_EOF >> "$cfgfile"
16166 #! $SHELL 16653 #! $SHELL
16167 16654 # Generated automatically by $as_me ($PACKAGE) $VERSION
16168 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building suppo rt services.
16169 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16170 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 16655 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16171 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 16656 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16657
16658 # Provide generalized library-building support services.
16659 # Written by Gordon Matzigkeit, 1996
16660
16661 # Copyright (C) 2014 Free Software Foundation, Inc.
16662 # This is free software; see the source for copying conditions. There is NO
16663 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16664
16665 # GNU Libtool is free software; you can redistribute it and/or modify
16666 # it under the terms of the GNU General Public License as published by
16667 # the Free Software Foundation; either version 2 of of the License, or
16668 # (at your option) any later version.
16172 # 16669 #
16173 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 16670 # As a special exception to the GNU General Public License, if you
16174 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software 16671 # distribute this file as part of a program or library that is built
16175 # Foundation, Inc. 16672 # using GNU Libtool, you may include this file under the same
16176 # Written by Gordon Matzigkeit, 1996 16673 # distribution terms that you use for the rest of that program.
16177 # 16674 #
16178 # This file is part of GNU Libtool. 16675 # GNU Libtool is distributed in the hope that it will be useful, but
16179 # 16676 # WITHOUT ANY WARRANTY; without even the implied warranty of
16180 # GNU Libtool is free software; you can redistribute it and/or
16181 # modify it under the terms of the GNU General Public License as
16182 # published by the Free Software Foundation; either version 2 of
16183 # the License, or (at your option) any later version.
16184 #
16185 # As a special exception to the GNU General Public License,
16186 # if you distribute this file as part of a program or library that
16187 # is built using GNU Libtool, you may include this file under the
16188 # same distribution terms that you use for the rest of that program.
16189 #
16190 # GNU Libtool is distributed in the hope that it will be useful,
16191 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16192 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16677 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16193 # GNU General Public License for more details. 16678 # GNU General Public License for more details.
16194 # 16679 #
16195 # You should have received a copy of the GNU General Public License 16680 # You should have received a copy of the GNU General Public License
16196 # along with GNU Libtool; see the file COPYING. If not, a copy 16681 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16197 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16198 # obtained by writing to the Free Software Foundation, Inc.,
16199 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16200 16682
16201 16683
16202 # The names of the tagged configurations supported by this script. 16684 # The names of the tagged configurations supported by this script.
16203 available_tags="" 16685 available_tags=''
16686
16687 # Configured defaults for sys_lib_dlsearch_path munging.
16688 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16204 16689
16205 # ### BEGIN LIBTOOL CONFIG 16690 # ### BEGIN LIBTOOL CONFIG
16206 16691
16207 # Which release of libtool.m4 was used? 16692 # Which release of libtool.m4 was used?
16208 macro_version=$macro_version 16693 macro_version=$macro_version
16209 macro_revision=$macro_revision 16694 macro_revision=$macro_revision
16210 16695
16211 # Assembler program. 16696 # Assembler program.
16212 AS=$lt_AS 16697 AS=$lt_AS
16213 16698
16214 # DLL creation program. 16699 # DLL creation program.
16215 DLLTOOL=$lt_DLLTOOL 16700 DLLTOOL=$lt_DLLTOOL
16216 16701
16217 # Object dumper program. 16702 # Object dumper program.
16218 OBJDUMP=$lt_OBJDUMP 16703 OBJDUMP=$lt_OBJDUMP
16219 16704
16220 # Whether or not to build shared libraries. 16705 # Whether or not to build shared libraries.
16221 build_libtool_libs=$enable_shared 16706 build_libtool_libs=$enable_shared
16222 16707
16223 # Whether or not to build static libraries. 16708 # Whether or not to build static libraries.
16224 build_old_libs=$enable_static 16709 build_old_libs=$enable_static
16225 16710
16226 # What type of objects to build. 16711 # What type of objects to build.
16227 pic_mode=$pic_mode 16712 pic_mode=$pic_mode
16228 16713
16229 # Whether or not to optimize for fast installation. 16714 # Whether or not to optimize for fast installation.
16230 fast_install=$enable_fast_install 16715 fast_install=$enable_fast_install
16231 16716
16717 # Shared archive member basename,for filename based shared library versioning on AIX.
16718 shared_archive_member_spec=$shared_archive_member_spec
16719
16232 # Shell to use when invoking shell scripts. 16720 # Shell to use when invoking shell scripts.
16233 SHELL=$lt_SHELL 16721 SHELL=$lt_SHELL
16234 16722
16235 # An echo program that protects backslashes. 16723 # An echo program that protects backslashes.
16236 ECHO=$lt_ECHO 16724 ECHO=$lt_ECHO
16237 16725
16238 # The PATH separator for the build system. 16726 # The PATH separator for the build system.
16239 PATH_SEPARATOR=$lt_PATH_SEPARATOR 16727 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16240 16728
16241 # The host system. 16729 # The host system.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
16333 16821
16334 # LTCC compiler flags. 16822 # LTCC compiler flags.
16335 LTCFLAGS=$lt_CFLAGS 16823 LTCFLAGS=$lt_CFLAGS
16336 16824
16337 # Take the output of nm and produce a listing of raw symbols and C names. 16825 # Take the output of nm and produce a listing of raw symbols and C names.
16338 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 16826 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16339 16827
16340 # Transform the output of nm in a proper C declaration. 16828 # Transform the output of nm in a proper C declaration.
16341 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 16829 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16342 16830
16831 # Transform the output of nm into a list of symbols to manually relocate.
16832 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16833
16343 # Transform the output of nm in a C name address pair. 16834 # Transform the output of nm in a C name address pair.
16344 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 16835 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16345 16836
16346 # Transform the output of nm in a C name address pair when lib prefix is needed. 16837 # Transform the output of nm in a C name address pair when lib prefix is needed.
16347 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name _address_lib_prefix 16838 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name _address_lib_prefix
16348 16839
16840 # The name lister interface.
16841 nm_interface=$lt_lt_cv_nm_interface
16842
16349 # Specify filename containing input files for \$NM. 16843 # Specify filename containing input files for \$NM.
16350 nm_file_list_spec=$lt_nm_file_list_spec 16844 nm_file_list_spec=$lt_nm_file_list_spec
16351 16845
16352 # The root where to search for dependent libraries,and in which our libraries sh ould be installed. 16846 # The root where to search for dependent libraries,and where our libraries shoul d be installed.
16353 lt_sysroot=$lt_sysroot 16847 lt_sysroot=$lt_sysroot
16354 16848
16849 # Command to truncate a binary pipe.
16850 lt_truncate_bin=$lt_lt_cv_truncate_bin
16851
16355 # The name of the directory that contains temporary libtool files. 16852 # The name of the directory that contains temporary libtool files.
16356 objdir=$objdir 16853 objdir=$objdir
16357 16854
16358 # Used to examine libraries when file_magic_cmd begins with "file". 16855 # Used to examine libraries when file_magic_cmd begins with "file".
16359 MAGIC_CMD=$MAGIC_CMD 16856 MAGIC_CMD=$MAGIC_CMD
16360 16857
16361 # Must we lock files when doing compilation? 16858 # Must we lock files when doing compilation?
16362 need_locks=$lt_need_locks 16859 need_locks=$lt_need_locks
16363 16860
16364 # Manifest tool. 16861 # Manifest tool.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
16435 # As "finish_cmds", except a single script fragment to be evaled but 16932 # As "finish_cmds", except a single script fragment to be evaled but
16436 # not shown. 16933 # not shown.
16437 finish_eval=$lt_finish_eval 16934 finish_eval=$lt_finish_eval
16438 16935
16439 # Whether we should hardcode library paths into libraries. 16936 # Whether we should hardcode library paths into libraries.
16440 hardcode_into_libs=$hardcode_into_libs 16937 hardcode_into_libs=$hardcode_into_libs
16441 16938
16442 # Compile-time system search path for libraries. 16939 # Compile-time system search path for libraries.
16443 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 16940 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16444 16941
16445 # Run-time system search path for libraries. 16942 # Detected run-time system search path for libraries.
16446 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 16943 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16944
16945 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16946 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16447 16947
16448 # Whether dlopen is supported. 16948 # Whether dlopen is supported.
16449 dlopen_support=$enable_dlopen 16949 dlopen_support=$enable_dlopen
16450 16950
16451 # Whether dlopen of programs is supported. 16951 # Whether dlopen of programs is supported.
16452 dlopen_self=$enable_dlopen_self 16952 dlopen_self=$enable_dlopen_self
16453 16953
16454 # Whether dlopen of statically linked programs is supported. 16954 # Whether dlopen of statically linked programs is supported.
16455 dlopen_self_static=$enable_dlopen_self_static 16955 dlopen_self_static=$enable_dlopen_self_static
16456 16956
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
16529 # Flag that enforces no undefined symbols. 17029 # Flag that enforces no undefined symbols.
16530 no_undefined_flag=$lt_no_undefined_flag 17030 no_undefined_flag=$lt_no_undefined_flag
16531 17031
16532 # Flag to hardcode \$libdir into a binary during linking. 17032 # Flag to hardcode \$libdir into a binary during linking.
16533 # This must work even if \$libdir does not exist 17033 # This must work even if \$libdir does not exist
16534 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 17034 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16535 17035
16536 # Whether we need a single "-rpath" flag with a separated argument. 17036 # Whether we need a single "-rpath" flag with a separated argument.
16537 hardcode_libdir_separator=$lt_hardcode_libdir_separator 17037 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16538 17038
16539 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 17039 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16540 # DIR into the resulting binary. 17040 # DIR into the resulting binary.
16541 hardcode_direct=$hardcode_direct 17041 hardcode_direct=$hardcode_direct
16542 17042
16543 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 17043 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16544 # DIR into the resulting binary and the resulting library dependency is 17044 # DIR into the resulting binary and the resulting library dependency is
16545 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the 17045 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
16546 # library is relocated. 17046 # library is relocated.
16547 hardcode_direct_absolute=$hardcode_direct_absolute 17047 hardcode_direct_absolute=$hardcode_direct_absolute
16548 17048
16549 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR 17049 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16550 # into the resulting binary. 17050 # into the resulting binary.
16551 hardcode_minus_L=$hardcode_minus_L 17051 hardcode_minus_L=$hardcode_minus_L
16552 17052
16553 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 17053 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16554 # into the resulting binary. 17054 # into the resulting binary.
16555 hardcode_shlibpath_var=$hardcode_shlibpath_var 17055 hardcode_shlibpath_var=$hardcode_shlibpath_var
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
16587 # Specify filename containing input files. 17087 # Specify filename containing input files.
16588 file_list_spec=$lt_file_list_spec 17088 file_list_spec=$lt_file_list_spec
16589 17089
16590 # How to hardcode a shared library path into an executable. 17090 # How to hardcode a shared library path into an executable.
16591 hardcode_action=$hardcode_action 17091 hardcode_action=$hardcode_action
16592 17092
16593 # ### END LIBTOOL CONFIG 17093 # ### END LIBTOOL CONFIG
16594 17094
16595 _LT_EOF 17095 _LT_EOF
16596 17096
17097 cat <<'_LT_EOF' >> "$cfgfile"
17098
17099 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17100
17101 # func_munge_path_list VARIABLE PATH
17102 # -----------------------------------
17103 # VARIABLE is name of variable containing _space_ separated list of
17104 # directories to be munged by the contents of PATH, which is string
17105 # having a format:
17106 # "DIR[:DIR]:"
17107 # string "DIR[ DIR]" will be prepended to VARIABLE
17108 # ":DIR[:DIR]"
17109 # string "DIR[ DIR]" will be appended to VARIABLE
17110 # "DIRP[:DIRP]::[DIRA:]DIRA"
17111 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17112 # "DIRA[ DIRA]" will be appended to VARIABLE
17113 # "DIR[:DIR]"
17114 # VARIABLE will be replaced by "DIR[ DIR]"
17115 func_munge_path_list ()
17116 {
17117 case x$2 in
17118 x)
17119 ;;
17120 *:)
17121 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17122 ;;
17123 x:*)
17124 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17125 ;;
17126 *::*)
17127 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17128 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17129 ;;
17130 *)
17131 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17132 ;;
17133 esac
17134 }
17135
17136
17137 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
17138 func_cc_basename ()
17139 {
17140 for cc_temp in $*""; do
17141 case $cc_temp in
17142 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17143 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17144 \-*) ;;
17145 *) break;;
17146 esac
17147 done
17148 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%% "`
17149 }
17150
17151
17152 # ### END FUNCTIONS SHARED WITH CONFIGURE
17153
17154 _LT_EOF
17155
16597 case $host_os in 17156 case $host_os in
16598 aix3*) 17157 aix3*)
16599 cat <<\_LT_EOF >> "$cfgfile" 17158 cat <<\_LT_EOF >> "$cfgfile"
16600 # AIX sometimes has problems with the GCC collect2 program. For some 17159 # AIX sometimes has problems with the GCC collect2 program. For some
16601 # reason, if we set the COLLECT_NAMES environment variable, the problems 17160 # reason, if we set the COLLECT_NAMES environment variable, the problems
16602 # vanish in a puff of smoke. 17161 # vanish in a puff of smoke.
16603 if test "X${COLLECT_NAMES+set}" != Xset; then 17162 if test set != "${COLLECT_NAMES+set}"; then
16604 COLLECT_NAMES= 17163 COLLECT_NAMES=
16605 export COLLECT_NAMES 17164 export COLLECT_NAMES
16606 fi 17165 fi
16607 _LT_EOF 17166 _LT_EOF
16608 ;; 17167 ;;
16609 esac 17168 esac
16610 17169
16611 17170
16612 ltmain="$ac_aux_dir/ltmain.sh" 17171 ltmain=$ac_aux_dir/ltmain.sh
16613 17172
16614 17173
16615 # We use sed instead of cat because bash on DJGPP gets confused if 17174 # We use sed instead of cat because bash on DJGPP gets confused if
16616 # if finds mixed CR/LF and LF-only lines. Since sed operates in 17175 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16617 # text mode, it properly converts lines to CR/LF. This bash problem 17176 # text mode, it properly converts lines to CR/LF. This bash problem
16618 # is reportedly fixed, but why not run on old versions too? 17177 # is reportedly fixed, but why not run on old versions too?
16619 sed '$q' "$ltmain" >> "$cfgfile" \ 17178 sed '$q' "$ltmain" >> "$cfgfile" \
16620 || (rm -f "$cfgfile"; exit 1) 17179 || (rm -f "$cfgfile"; exit 1)
16621 17180
16622 if test x"$xsi_shell" = xyes; then
16623 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16624 func_dirname ()\
16625 {\
16626 \ case ${1} in\
16627 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16628 \ * ) func_dirname_result="${3}" ;;\
16629 \ esac\
16630 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16631 && mv -f "$cfgfile.tmp" "$cfgfile" \
16632 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp" )
16633 test 0 -eq $? || _lt_function_replace_fail=:
16634
16635
16636 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16637 func_basename ()\
16638 {\
16639 \ func_basename_result="${1##*/}"\
16640 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16641 && mv -f "$cfgfile.tmp" "$cfgfile" \
16642 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp" )
16643 test 0 -eq $? || _lt_function_replace_fail=:
16644
16645
16646 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16647 func_dirname_and_basename ()\
16648 {\
16649 \ case ${1} in\
16650 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16651 \ * ) func_dirname_result="${3}" ;;\
16652 \ esac\
16653 \ func_basename_result="${1##*/}"\
16654 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfi le.tmp \
16655 && mv -f "$cfgfile.tmp" "$cfgfile" \
16656 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp" )
16657 test 0 -eq $? || _lt_function_replace_fail=:
16658
16659
16660 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16661 func_stripname ()\
16662 {\
16663 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16664 \ # positional parameters, so assign one to ordinary parameter first.\
16665 \ func_stripname_result=${3}\
16666 \ func_stripname_result=${func_stripname_result#"${1}"}\
16667 \ func_stripname_result=${func_stripname_result%"${2}"}\
16668 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16669 && mv -f "$cfgfile.tmp" "$cfgfile" \
16670 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp" )
16671 test 0 -eq $? || _lt_function_replace_fail=:
16672
16673
16674 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16675 func_split_long_opt ()\
16676 {\
16677 \ func_split_long_opt_name=${1%%=*}\
16678 \ func_split_long_opt_arg=${1#*=}\
16679 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16680 && mv -f "$cfgfile.tmp" "$cfgfile" \
16681 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp" )
16682 test 0 -eq $? || _lt_function_replace_fail=:
16683
16684
16685 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16686 func_split_short_opt ()\
16687 {\
16688 \ func_split_short_opt_arg=${1#??}\
16689 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16690 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tm p \
16691 && mv -f "$cfgfile.tmp" "$cfgfile" \
16692 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp" )
16693 test 0 -eq $? || _lt_function_replace_fail=:
16694
16695
16696 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16697 func_lo2o ()\
16698 {\
16699 \ case ${1} in\
16700 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16701 \ *) func_lo2o_result=${1} ;;\
16702 \ esac\
16703 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16704 && mv -f "$cfgfile.tmp" "$cfgfile" \
16705 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp" )
16706 test 0 -eq $? || _lt_function_replace_fail=:
16707
16708
16709 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16710 func_xform ()\
16711 {\
16712 func_xform_result=${1%.*}.lo\
16713 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16714 && mv -f "$cfgfile.tmp" "$cfgfile" \
16715 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp" )
16716 test 0 -eq $? || _lt_function_replace_fail=:
16717
16718
16719 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16720 func_arith ()\
16721 {\
16722 func_arith_result=$(( $* ))\
16723 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16724 && mv -f "$cfgfile.tmp" "$cfgfile" \
16725 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp" )
16726 test 0 -eq $? || _lt_function_replace_fail=:
16727
16728
16729 sed -e '/^func_len ()$/,/^} # func_len /c\
16730 func_len ()\
16731 {\
16732 func_len_result=${#1}\
16733 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16734 && mv -f "$cfgfile.tmp" "$cfgfile" \
16735 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp" )
16736 test 0 -eq $? || _lt_function_replace_fail=:
16737
16738 fi
16739
16740 if test x"$lt_shell_append" = xyes; then
16741 sed -e '/^func_append ()$/,/^} # func_append /c\
16742 func_append ()\
16743 {\
16744 eval "${1}+=\\${2}"\
16745 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16746 && mv -f "$cfgfile.tmp" "$cfgfile" \
16747 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp" )
16748 test 0 -eq $? || _lt_function_replace_fail=:
16749
16750
16751 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16752 func_append_quoted ()\
16753 {\
16754 \ func_quote_for_eval "${2}"\
16755 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16756 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16757 && mv -f "$cfgfile.tmp" "$cfgfile" \
16758 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp" )
16759 test 0 -eq $? || _lt_function_replace_fail=:
16760
16761
16762 # Save a `func_append' function call where possible by direct use of '+='
16763 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16764 && mv -f "$cfgfile.tmp" "$cfgfile" \
16765 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tm p")
16766 test 0 -eq $? || _lt_function_replace_fail=:
16767 else
16768 # Save a `func_append' function call even when '+=' is not available
16769 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16770 && mv -f "$cfgfile.tmp" "$cfgfile" \
16771 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tm p")
16772 test 0 -eq $? || _lt_function_replace_fail=:
16773 fi
16774
16775 if test x"$_lt_function_replace_fail" = x":"; then
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extende d shell functions in $ofile" >&5
16777 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofi le" >&2;}
16778 fi
16779
16780
16781 mv -f "$cfgfile" "$ofile" || 17181 mv -f "$cfgfile" "$ofile" ||
16782 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 17182 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16783 chmod +x "$ofile" 17183 chmod +x "$ofile"
16784 17184
16785 ;; 17185 ;;
16786 17186
16787 esac 17187 esac
16788 done # for ac_tag 17188 done # for ac_tag
16789 17189
16790 17190
(...skipping 23 matching lines...) Expand all
16814 exec 5>>config.log 17214 exec 5>>config.log
16815 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 17215 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16816 # would make configure fail if this is the last instruction. 17216 # would make configure fail if this is the last instruction.
16817 $ac_cs_success || as_fn_exit 1 17217 $ac_cs_success || as_fn_exit 1
16818 fi 17218 fi
16819 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 17219 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5 17220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5
16821 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 17221 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16822 fi 17222 fi
16823 17223
OLDNEW
« no previous file with comments | « third_party/libxslt/src/config.h.in ('k') | third_party/libxslt/src/configure.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698