Changeset 3100 for branches/rel4/psModules/configure
- Timestamp:
- Jan 26, 2005, 4:59:43 PM (21 years ago)
- File:
-
- 1 edited
-
branches/rel4/psModules/configure (modified) (72 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/rel4/psModules/configure
r2839 r3100 279 279 # The HP-UX ksh and POSIX shell print the target directory to stdout 280 280 # if CDPATH is set. 281 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi 281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 282 282 283 283 if test -z "$ECHO"; then … … 3311 3311 done 3312 3312 done 3313 3314 fi 3315 3313 3316 SED=$lt_cv_path_SED 3314 3315 fi3316 3317 3317 echo "$as_me:$LINENO: result: $SED" >&5 3318 3318 echo "${ECHO_T}$SED" >&6 … … 3455 3455 esac 3456 3456 reload_cmds='$LD$reload_flag -o $output$reload_objs' 3457 case $host_os in 3458 darwin*) 3459 if test "$GCC" = yes; then 3460 reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' 3461 else 3462 reload_cmds='$LD$reload_flag -o $output$reload_objs' 3463 fi 3464 ;; 3465 esac 3457 3466 3458 3467 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 … … 3541 3550 ;; 3542 3551 3543 bsdi 4*)3552 bsdi[45]*) 3544 3553 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 3545 3554 lt_cv_file_magic_cmd='/usr/bin/file -L' … … 3615 3624 linux*) 3616 3625 case $host_cpu in 3617 alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64 *)3626 alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64) 3618 3627 lt_cv_deplibs_check_method=pass_all ;; 3619 3628 *) … … 3645 3654 3646 3655 openbsd*) 3647 lt_cv_file_magic_cmd=/usr/bin/file3648 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`3649 3656 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 3650 lt_cv_deplibs_check_method=' file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'3657 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 3651 3658 else 3652 lt_cv_deplibs_check_method=' file_magic OpenBSD.* shared library'3659 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 3653 3660 fi 3654 3661 ;; … … 3743 3750 *-*-irix6*) 3744 3751 # Find out which ABI we are using. 3745 echo '#line 37 45"configure"' > conftest.$ac_ext3752 echo '#line 3752 "configure"' > conftest.$ac_ext 3746 3753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3747 3754 (eval $ac_compile) 2>&5 … … 5315 5322 5316 5323 # Provide some information about the compiler. 5317 echo "$as_me:53 17:" \5324 echo "$as_me:5324:" \ 5318 5325 "checking for Fortran 77 compiler version" >&5 5319 5326 ac_compiler=`set X $ac_compile; echo $2` … … 5505 5512 ;; 5506 5513 5514 netbsd* | freebsd* | openbsd* | darwin* ) 5515 # This has been around since 386BSD, at least. Likely further. 5516 if test -x /sbin/sysctl; then 5517 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5518 elif test -x /usr/sbin/sysctl; then 5519 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5520 else 5521 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD 5522 fi 5523 # And add a safety zone 5524 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5525 ;; 5526 5507 5527 *) 5508 5528 # If test is not a shell built-in, we'll probably end up computing a 5509 5529 # maximum length that is only half of the actual maximum length, but 5510 5530 # we can't tell. 5511 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ 5531 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5532 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ 5512 5533 = "XX$teststring") >/dev/null 2>&1 && 5513 5534 new_result=`expr "X$teststring" : ".*" 2>&1` && … … 6078 6099 fi 6079 6100 6101 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` 6102 6080 6103 # Only perform the check for file, if the check method requires it 6081 6104 case $deplibs_check_method in … … 6349 6372 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6350 6373 -e 's:$: $lt_compiler_flag:'` 6351 (eval echo "\"\$as_me:63 51: $lt_compile\"" >&5)6374 (eval echo "\"\$as_me:6374: $lt_compile\"" >&5) 6352 6375 (eval "$lt_compile" 2>conftest.err) 6353 6376 ac_status=$? 6354 6377 cat conftest.err >&5 6355 echo "$as_me:63 55: \$? = $ac_status" >&56378 echo "$as_me:6378: \$? = $ac_status" >&5 6356 6379 if (exit $ac_status) && test -s "$ac_outfile"; then 6357 6380 # The compiler can only warn and ignore the option if not recognized … … 6460 6483 fi 6461 6484 ;; 6485 darwin*) 6486 # PIC is the default on this platform 6487 # Common symbols not allowed in MH_DYLIB files 6488 case "$cc_basename" in 6489 xlc*) 6490 lt_prog_compiler_pic='-qnocommon' 6491 lt_prog_compiler_wl='-Wl,' 6492 ;; 6493 esac 6494 ;; 6462 6495 6463 6496 mingw* | pw32* | os2*) … … 6582 6615 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6583 6616 -e 's:$: $lt_compiler_flag:'` 6584 (eval echo "\"\$as_me:6 584: $lt_compile\"" >&5)6617 (eval echo "\"\$as_me:6617: $lt_compile\"" >&5) 6585 6618 (eval "$lt_compile" 2>conftest.err) 6586 6619 ac_status=$? 6587 6620 cat conftest.err >&5 6588 echo "$as_me:6 588: \$? = $ac_status" >&56621 echo "$as_me:6621: \$? = $ac_status" >&5 6589 6622 if (exit $ac_status) && test -s "$ac_outfile"; then 6590 6623 # The compiler can only warn and ignore the option if not recognized … … 6642 6675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6643 6676 -e 's:$: $lt_compiler_flag:'` 6644 (eval echo "\"\$as_me:66 44: $lt_compile\"" >&5)6677 (eval echo "\"\$as_me:6677: $lt_compile\"" >&5) 6645 6678 (eval "$lt_compile" 2>out/conftest.err) 6646 6679 ac_status=$? 6647 6680 cat out/conftest.err >&5 6648 echo "$as_me:66 48: \$? = $ac_status" >&56681 echo "$as_me:6681: \$? = $ac_status" >&5 6649 6682 if (exit $ac_status) && test -s out/conftest2.$ac_objext 6650 6683 then … … 7146 7179 ;; 7147 7180 7148 bsdi 4*)7181 bsdi[45]*) 7149 7182 export_dynamic_flag_spec=-rdynamic 7150 7183 ;; … … 7172 7205 7173 7206 darwin* | rhapsody*) 7174 if test "$GXX" = yes ; then 7207 case "$host_os" in 7208 rhapsody* | darwin1.[012]) 7209 allow_undefined_flag='${wl}-undefined ${wl}suppress' 7210 ;; 7211 *) # Darwin 1.3 on 7212 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 7213 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 7214 else 7215 case ${MACOSX_DEPLOYMENT_TARGET} in 7216 10.[012]) 7217 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 7218 ;; 7219 10.*) 7220 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' 7221 ;; 7222 esac 7223 fi 7224 ;; 7225 esac 7175 7226 archive_cmds_need_lc=no 7176 case "$host_os" in7177 rhapsody* | darwin1.[012])7178 allow_undefined_flag='-undefined suppress'7179 ;;7180 *) # Darwin 1.3 on7181 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then7182 allow_undefined_flag='-flat_namespace -undefined suppress'7183 else7184 case ${MACOSX_DEPLOYMENT_TARGET} in7185 10.[012])7186 allow_undefined_flag='-flat_namespace -undefined suppress'7187 ;;7188 10.*)7189 allow_undefined_flag='-undefined dynamic_lookup'7190 ;;7191 esac7192 fi7193 ;;7194 esac7195 lt_int_apple_cc_single_mod=no7196 output_verbose_link_cmd='echo'7197 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then7198 lt_int_apple_cc_single_mod=yes7199 fi7200 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then7201 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'7202 else7203 archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'7204 fi7205 module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'7206 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's7207 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then7208 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'7209 else7210 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'7211 fi7212 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'7213 7227 hardcode_direct=no 7214 7228 hardcode_automatic=yes 7215 7229 hardcode_shlibpath_var=unsupported 7216 whole_archive_flag_spec=' -all_load $convenience'7230 whole_archive_flag_spec='' 7217 7231 link_all_deplibs=yes 7232 if test "$GCC" = yes ; then 7233 output_verbose_link_cmd='echo' 7234 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 7235 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 7236 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 7237 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 7238 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 7218 7239 else 7219 ld_shlibs=no 7240 case "$cc_basename" in 7241 xlc*) 7242 output_verbose_link_cmd='echo' 7243 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 7244 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 7245 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 7246 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 7247 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 7248 ;; 7249 *) 7250 ld_shlibs=no 7251 ;; 7252 esac 7220 7253 fi 7221 7254 ;; … … 7362 7395 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 7363 7396 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 7397 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 7364 7398 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 7365 7399 export_dynamic_flag_spec='${wl}-E' … … 7713 7747 ;; 7714 7748 7715 bsdi 4*)7749 bsdi[45]*) 7716 7750 version_type=linux 7717 7751 need_version=no … … 7972 8006 hardcode_into_libs=yes 7973 8007 7974 # find out which ABI we are using7975 libsuff=7976 case "$host_cpu" in7977 x86_64*|s390x*|powerpc64*)7978 echo '#line 7978 "configure"' > conftest.$ac_ext7979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57980 (eval $ac_compile) 2>&57981 ac_status=$?7982 echo "$as_me:$LINENO: \$? = $ac_status" >&57983 (exit $ac_status); }; then7984 case `/usr/bin/file conftest.$ac_objext` in7985 *64-bit*)7986 libsuff=647987 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"7988 ;;7989 esac7990 fi7991 rm -rf conftest*7992 ;;7993 esac7994 7995 8008 # Append ld.so.conf contents to the search path 7996 8009 if test -f /etc/ld.so.conf; then 7997 8010 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` 7998 sys_lib_dlsearch_path_spec="/lib ${libsuff} /usr/lib${libsuff}$lt_ld_extra"8011 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 7999 8012 fi 8000 8013 … … 8058 8071 version_type=sunos 8059 8072 need_lib_prefix=no 8060 need_version= yes8073 need_version=no 8061 8074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 8062 8075 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 8180 8193 hardcode_action= 8181 8194 if test -n "$hardcode_libdir_flag_spec" || \ 8182 test -n "$runpath_var " || \8183 test "X$hardcode_automatic" ="Xyes" ; then8195 test -n "$runpath_var" || \ 8196 test "X$hardcode_automatic" = "Xyes" ; then 8184 8197 8185 8198 # We can hardcode non-existant directories. … … 8847 8860 lt_status=$lt_dlunknown 8848 8861 cat > conftest.$ac_ext <<EOF 8849 #line 88 49"configure"8862 #line 8862 "configure" 8850 8863 #include "confdefs.h" 8851 8864 … … 8945 8958 lt_status=$lt_dlunknown 8946 8959 cat > conftest.$ac_ext <<EOF 8947 #line 89 47"configure"8960 #line 8960 "configure" 8948 8961 #include "confdefs.h" 8949 8962 … … 9074 9087 test "$enable_shared" = yes && enable_static=no 9075 9088 fi 9076 ;;9077 darwin* | rhapsody*)9078 if test "$GCC" = yes; then9079 archive_cmds_need_lc=no9080 case "$host_os" in9081 rhapsody* | darwin1.[012])9082 allow_undefined_flag='-undefined suppress'9083 ;;9084 *) # Darwin 1.3 on9085 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then9086 allow_undefined_flag='-flat_namespace -undefined suppress'9087 else9088 case ${MACOSX_DEPLOYMENT_TARGET} in9089 10.[012])9090 allow_undefined_flag='-flat_namespace -undefined suppress'9091 ;;9092 10.*)9093 allow_undefined_flag='-undefined dynamic_lookup'9094 ;;9095 esac9096 fi9097 ;;9098 esac9099 output_verbose_link_cmd='echo'9100 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'9101 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'9102 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's9103 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'9104 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'9105 hardcode_direct=no9106 hardcode_automatic=yes9107 hardcode_shlibpath_var=unsupported9108 whole_archive_flag_spec='-all_load $convenience'9109 link_all_deplibs=yes9110 else9111 ld_shlibs=no9112 fi9113 9089 ;; 9114 9090 esac … … 9136 9112 # careful not to overquote the AC_SUBSTed values. We take copies of the 9137 9113 # variables and quote the copies for generation of the libtool script. 9138 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \9114 for var in echo old_CC old_CFLAGS AR AR_FLAGS AS EGREP RANLIB LN_S LTCC NM \ 9139 9115 SED SHELL STRIP \ 9140 9116 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ … … 9255 9231 # The HP-UX ksh and POSIX shell print the target directory to stdout 9256 9232 # if CDPATH is set. 9257 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi 9233 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 9258 9234 9259 9235 # The names of the tagged configurations supported by this script. … … 9327 9303 9328 9304 # Used on cygwin: assembler. 9329 AS= "$AS"9305 AS=$lt_AS 9330 9306 9331 9307 # The name of the directory that contains temporary libtool files. … … 10131 10107 ;; 10132 10108 10109 10133 10110 cygwin* | mingw* | pw32*) 10134 10111 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, … … 10154 10131 fi 10155 10132 ;; 10156 10157 darwin* | rhapsody*) 10158 if test "$GXX" = yes; then 10159 archive_cmds_need_lc_CXX=no 10160 case "$host_os" in 10161 rhapsody* | darwin1.[012]) 10162 allow_undefined_flag_CXX='-undefined suppress' 10163 ;; 10164 *) # Darwin 1.3 on 10165 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 10166 allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 10133 darwin* | rhapsody*) 10134 case "$host_os" in 10135 rhapsody* | darwin1.[012]) 10136 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' 10137 ;; 10138 *) # Darwin 1.3 on 10139 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 10140 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 10141 else 10142 case ${MACOSX_DEPLOYMENT_TARGET} in 10143 10.[012]) 10144 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 10145 ;; 10146 10.*) 10147 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' 10148 ;; 10149 esac 10150 fi 10151 ;; 10152 esac 10153 archive_cmds_need_lc_CXX=no 10154 hardcode_direct_CXX=no 10155 hardcode_automatic_CXX=yes 10156 hardcode_shlibpath_var_CXX=unsupported 10157 whole_archive_flag_spec_CXX='' 10158 link_all_deplibs_CXX=yes 10159 10160 if test "$GXX" = yes ; then 10161 lt_int_apple_cc_single_mod=no 10162 output_verbose_link_cmd='echo' 10163 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then 10164 lt_int_apple_cc_single_mod=yes 10165 fi 10166 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 10167 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 10167 10168 else 10168 case ${MACOSX_DEPLOYMENT_TARGET} in 10169 10.[012]) 10170 allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 10171 ;; 10172 10.*) 10173 allow_undefined_flag_CXX='-undefined dynamic_lookup' 10174 ;; 10175 esac 10169 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 10170 fi 10171 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 10172 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 10173 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 10174 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 10175 else 10176 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 10177 fi 10178 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 10179 else 10180 case "$cc_basename" in 10181 xlc*) 10182 output_verbose_link_cmd='echo' 10183 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 10184 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 10185 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 10186 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 10187 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 10188 ;; 10189 *) 10190 ld_shlibs_CXX=no 10191 ;; 10192 esac 10176 10193 fi 10177 ;; 10178 esac 10179 lt_int_apple_cc_single_mod=no 10180 output_verbose_link_cmd='echo' 10181 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then 10182 lt_int_apple_cc_single_mod=yes 10183 fi 10184 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 10185 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 10186 else 10187 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 10188 fi 10189 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 10190 10191 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 10192 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 10193 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 10194 else 10195 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 10196 fi 10197 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 10198 hardcode_direct_CXX=no 10199 hardcode_automatic_CXX=yes 10200 hardcode_shlibpath_var_CXX=unsupported 10201 whole_archive_flag_spec_CXX='-all_load $convenience' 10202 link_all_deplibs_CXX=yes 10203 else 10204 ld_shlibs_CXX=no 10205 fi 10206 ;; 10194 ;; 10207 10195 10208 10196 dgux*) … … 10410 10398 # Intel C++ 10411 10399 with_gnu_ld=yes 10400 # version 8.0 and above of icpc choke on multiply defined symbols 10401 # if we add $predep_objects and $postdep_objects, however 7.1 and 10402 # earlier do not add the objects themselves. 10403 case `$CC -V 2>&1` in 10404 *"Version 7."*) 10405 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 10406 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10407 ;; 10408 *) # Version 8.0 or newer 10409 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10410 archive_expsym_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 10411 ;; 10412 esac 10412 10413 archive_cmds_need_lc_CXX=no 10413 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'10414 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'10415 10414 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 10416 10415 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' … … 10468 10467 # Workaround some broken pre-1.5 toolchains 10469 10468 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 10469 ;; 10470 openbsd2*) 10471 # C++ shared libraries are fairly broken 10472 ld_shlibs_CXX=no 10473 ;; 10474 openbsd*) 10475 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 10476 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 10477 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10478 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 10479 export_dynamic_flag_spec_CXX='${wl}-E' 10480 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 10481 fi 10482 output_verbose_link_cmd='echo' 10470 10483 ;; 10471 10484 osf3*) … … 10924 10937 esac 10925 10938 ;; 10939 darwin*) 10940 # PIC is the default on this platform 10941 # Common symbols not allowed in MH_DYLIB files 10942 case "$cc_basename" in 10943 xlc*) 10944 lt_prog_compiler_pic_CXX='-qnocommon' 10945 lt_prog_compiler_wl_CXX='-Wl,' 10946 ;; 10947 esac 10948 ;; 10926 10949 dgux*) 10927 10950 case $cc_basename in … … 11124 11147 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11125 11148 -e 's:$: $lt_compiler_flag:'` 11126 (eval echo "\"\$as_me:111 26: $lt_compile\"" >&5)11149 (eval echo "\"\$as_me:11149: $lt_compile\"" >&5) 11127 11150 (eval "$lt_compile" 2>conftest.err) 11128 11151 ac_status=$? 11129 11152 cat conftest.err >&5 11130 echo "$as_me:111 30: \$? = $ac_status" >&511153 echo "$as_me:11153: \$? = $ac_status" >&5 11131 11154 if (exit $ac_status) && test -s "$ac_outfile"; then 11132 11155 # The compiler can only warn and ignore the option if not recognized … … 11184 11207 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11185 11208 -e 's:$: $lt_compiler_flag:'` 11186 (eval echo "\"\$as_me:11 186: $lt_compile\"" >&5)11209 (eval echo "\"\$as_me:11209: $lt_compile\"" >&5) 11187 11210 (eval "$lt_compile" 2>out/conftest.err) 11188 11211 ac_status=$? 11189 11212 cat out/conftest.err >&5 11190 echo "$as_me:11 190: \$? = $ac_status" >&511213 echo "$as_me:11213: \$? = $ac_status" >&5 11191 11214 if (exit $ac_status) && test -s out/conftest2.$ac_objext 11192 11215 then … … 11432 11455 ;; 11433 11456 11434 bsdi 4*)11457 bsdi[45]*) 11435 11458 version_type=linux 11436 11459 need_version=no … … 11691 11714 hardcode_into_libs=yes 11692 11715 11693 # find out which ABI we are using11694 libsuff=11695 case "$host_cpu" in11696 x86_64*|s390x*|powerpc64*)11697 echo '#line 11697 "configure"' > conftest.$ac_ext11698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&511699 (eval $ac_compile) 2>&511700 ac_status=$?11701 echo "$as_me:$LINENO: \$? = $ac_status" >&511702 (exit $ac_status); }; then11703 case `/usr/bin/file conftest.$ac_objext` in11704 *64-bit*)11705 libsuff=6411706 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"11707 ;;11708 esac11709 fi11710 rm -rf conftest*11711 ;;11712 esac11713 11714 11716 # Append ld.so.conf contents to the search path 11715 11717 if test -f /etc/ld.so.conf; then 11716 11718 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` 11717 sys_lib_dlsearch_path_spec="/lib ${libsuff} /usr/lib${libsuff}$lt_ld_extra"11719 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11718 11720 fi 11719 11721 … … 11777 11779 version_type=sunos 11778 11780 need_lib_prefix=no 11779 need_version= yes11781 need_version=no 11780 11782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11781 11783 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 11899 11901 hardcode_action_CXX= 11900 11902 if test -n "$hardcode_libdir_flag_spec_CXX" || \ 11901 test -n "$runpath_var CXX" || \11902 test "X$hardcode_automatic_CXX" ="Xyes" ; then11903 test -n "$runpath_var_CXX" || \ 11904 test "X$hardcode_automatic_CXX" = "Xyes" ; then 11903 11905 11904 11906 # We can hardcode non-existant directories. … … 12566 12568 lt_status=$lt_dlunknown 12567 12569 cat > conftest.$ac_ext <<EOF 12568 #line 125 68"configure"12570 #line 12570 "configure" 12569 12571 #include "confdefs.h" 12570 12572 … … 12664 12666 lt_status=$lt_dlunknown 12665 12667 cat > conftest.$ac_ext <<EOF 12666 #line 1266 6"configure"12668 #line 12668 "configure" 12667 12669 #include "confdefs.h" 12668 12670 … … 12781 12783 # careful not to overquote the AC_SUBSTed values. We take copies of the 12782 12784 # variables and quote the copies for generation of the libtool script. 12783 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \12785 for var in echo old_CC old_CFLAGS AR AR_FLAGS AS EGREP RANLIB LN_S LTCC NM \ 12784 12786 SED SHELL STRIP \ 12785 12787 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ … … 12924 12926 12925 12927 # Used on cygwin: assembler. 12926 AS= "$AS"12928 AS=$lt_AS 12927 12929 12928 12930 # The name of the directory that contains temporary libtool files. … … 13369 13371 fi 13370 13372 ;; 13373 darwin*) 13374 # PIC is the default on this platform 13375 # Common symbols not allowed in MH_DYLIB files 13376 case "$cc_basename" in 13377 xlc*) 13378 lt_prog_compiler_pic_F77='-qnocommon' 13379 lt_prog_compiler_wl_F77='-Wl,' 13380 ;; 13381 esac 13382 ;; 13371 13383 13372 13384 mingw* | pw32* | os2*) … … 13491 13503 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13492 13504 -e 's:$: $lt_compiler_flag:'` 13493 (eval echo "\"\$as_me:13 493: $lt_compile\"" >&5)13505 (eval echo "\"\$as_me:13505: $lt_compile\"" >&5) 13494 13506 (eval "$lt_compile" 2>conftest.err) 13495 13507 ac_status=$? 13496 13508 cat conftest.err >&5 13497 echo "$as_me:13 497: \$? = $ac_status" >&513509 echo "$as_me:13509: \$? = $ac_status" >&5 13498 13510 if (exit $ac_status) && test -s "$ac_outfile"; then 13499 13511 # The compiler can only warn and ignore the option if not recognized … … 13551 13563 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13552 13564 -e 's:$: $lt_compiler_flag:'` 13553 (eval echo "\"\$as_me:135 53: $lt_compile\"" >&5)13565 (eval echo "\"\$as_me:13565: $lt_compile\"" >&5) 13554 13566 (eval "$lt_compile" 2>out/conftest.err) 13555 13567 ac_status=$? 13556 13568 cat out/conftest.err >&5 13557 echo "$as_me:135 57: \$? = $ac_status" >&513569 echo "$as_me:13569: \$? = $ac_status" >&5 13558 13570 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13559 13571 then … … 14035 14047 ;; 14036 14048 14037 bsdi 4*)14049 bsdi[45]*) 14038 14050 export_dynamic_flag_spec_F77=-rdynamic 14039 14051 ;; … … 14061 14073 14062 14074 darwin* | rhapsody*) 14063 if test "$GXX" = yes ; then 14075 case "$host_os" in 14076 rhapsody* | darwin1.[012]) 14077 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' 14078 ;; 14079 *) # Darwin 1.3 on 14080 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 14081 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 14082 else 14083 case ${MACOSX_DEPLOYMENT_TARGET} in 14084 10.[012]) 14085 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 14086 ;; 14087 10.*) 14088 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' 14089 ;; 14090 esac 14091 fi 14092 ;; 14093 esac 14064 14094 archive_cmds_need_lc_F77=no 14065 case "$host_os" in14066 rhapsody* | darwin1.[012])14067 allow_undefined_flag_F77='-undefined suppress'14068 ;;14069 *) # Darwin 1.3 on14070 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then14071 allow_undefined_flag_F77='-flat_namespace -undefined suppress'14072 else14073 case ${MACOSX_DEPLOYMENT_TARGET} in14074 10.[012])14075 allow_undefined_flag_F77='-flat_namespace -undefined suppress'14076 ;;14077 10.*)14078 allow_undefined_flag_F77='-undefined dynamic_lookup'14079 ;;14080 esac14081 fi14082 ;;14083 esac14084 lt_int_apple_cc_single_mod=no14085 output_verbose_link_cmd='echo'14086 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then14087 lt_int_apple_cc_single_mod=yes14088 fi14089 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then14090 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'14091 else14092 archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'14093 fi14094 module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'14095 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's14096 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then14097 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'14098 else14099 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'14100 fi14101 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'14102 14095 hardcode_direct_F77=no 14103 14096 hardcode_automatic_F77=yes 14104 14097 hardcode_shlibpath_var_F77=unsupported 14105 whole_archive_flag_spec_F77=' -all_load $convenience'14098 whole_archive_flag_spec_F77='' 14106 14099 link_all_deplibs_F77=yes 14100 if test "$GCC" = yes ; then 14101 output_verbose_link_cmd='echo' 14102 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 14103 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 14104 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 14105 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 14106 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 14107 14107 else 14108 ld_shlibs_F77=no 14108 case "$cc_basename" in 14109 xlc*) 14110 output_verbose_link_cmd='echo' 14111 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 14112 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 14113 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 14114 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 14115 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 14116 ;; 14117 *) 14118 ld_shlibs_F77=no 14119 ;; 14120 esac 14109 14121 fi 14110 14122 ;; … … 14251 14263 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 14252 14264 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 14265 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 14253 14266 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' 14254 14267 export_dynamic_flag_spec_F77='${wl}-E' … … 14602 14615 ;; 14603 14616 14604 bsdi 4*)14617 bsdi[45]*) 14605 14618 version_type=linux 14606 14619 need_version=no … … 14861 14874 hardcode_into_libs=yes 14862 14875 14863 # find out which ABI we are using14864 libsuff=14865 case "$host_cpu" in14866 x86_64*|s390x*|powerpc64*)14867 echo '#line 14867 "configure"' > conftest.$ac_ext14868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&514869 (eval $ac_compile) 2>&514870 ac_status=$?14871 echo "$as_me:$LINENO: \$? = $ac_status" >&514872 (exit $ac_status); }; then14873 case `/usr/bin/file conftest.$ac_objext` in14874 *64-bit*)14875 libsuff=6414876 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"14877 ;;14878 esac14879 fi14880 rm -rf conftest*14881 ;;14882 esac14883 14884 14876 # Append ld.so.conf contents to the search path 14885 14877 if test -f /etc/ld.so.conf; then 14886 14878 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` 14887 sys_lib_dlsearch_path_spec="/lib ${libsuff} /usr/lib${libsuff}$lt_ld_extra"14879 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 14888 14880 fi 14889 14881 … … 14947 14939 version_type=sunos 14948 14940 need_lib_prefix=no 14949 need_version= yes14941 need_version=no 14950 14942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14951 14943 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 15069 15061 hardcode_action_F77= 15070 15062 if test -n "$hardcode_libdir_flag_spec_F77" || \ 15071 test -n "$runpath_var F77" || \15072 test "X$hardcode_automatic_F77" ="Xyes" ; then15063 test -n "$runpath_var_F77" || \ 15064 test "X$hardcode_automatic_F77" = "Xyes" ; then 15073 15065 15074 15066 # We can hardcode non-existant directories. … … 15146 15138 # careful not to overquote the AC_SUBSTed values. We take copies of the 15147 15139 # variables and quote the copies for generation of the libtool script. 15148 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \15140 for var in echo old_CC old_CFLAGS AR AR_FLAGS AS EGREP RANLIB LN_S LTCC NM \ 15149 15141 SED SHELL STRIP \ 15150 15142 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ … … 15289 15281 15290 15282 # Used on cygwin: assembler. 15291 AS= "$AS"15283 AS=$lt_AS 15292 15284 15293 15285 # The name of the directory that contains temporary libtool files. … … 15606 15598 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15607 15599 -e 's:$: $lt_compiler_flag:'` 15608 (eval echo "\"\$as_me:1560 8: $lt_compile\"" >&5)15600 (eval echo "\"\$as_me:15600: $lt_compile\"" >&5) 15609 15601 (eval "$lt_compile" 2>conftest.err) 15610 15602 ac_status=$? 15611 15603 cat conftest.err >&5 15612 echo "$as_me:156 12: \$? = $ac_status" >&515604 echo "$as_me:15604: \$? = $ac_status" >&5 15613 15605 if (exit $ac_status) && test -s "$ac_outfile"; then 15614 15606 # The compiler can only warn and ignore the option if not recognized … … 15717 15709 fi 15718 15710 ;; 15711 darwin*) 15712 # PIC is the default on this platform 15713 # Common symbols not allowed in MH_DYLIB files 15714 case "$cc_basename" in 15715 xlc*) 15716 lt_prog_compiler_pic_GCJ='-qnocommon' 15717 lt_prog_compiler_wl_GCJ='-Wl,' 15718 ;; 15719 esac 15720 ;; 15719 15721 15720 15722 mingw* | pw32* | os2*) … … 15839 15841 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15840 15842 -e 's:$: $lt_compiler_flag:'` 15841 (eval echo "\"\$as_me:1584 1: $lt_compile\"" >&5)15843 (eval echo "\"\$as_me:15843: $lt_compile\"" >&5) 15842 15844 (eval "$lt_compile" 2>conftest.err) 15843 15845 ac_status=$? 15844 15846 cat conftest.err >&5 15845 echo "$as_me:1584 5: \$? = $ac_status" >&515847 echo "$as_me:15847: \$? = $ac_status" >&5 15846 15848 if (exit $ac_status) && test -s "$ac_outfile"; then 15847 15849 # The compiler can only warn and ignore the option if not recognized … … 15899 15901 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15900 15902 -e 's:$: $lt_compiler_flag:'` 15901 (eval echo "\"\$as_me:1590 1: $lt_compile\"" >&5)15903 (eval echo "\"\$as_me:15903: $lt_compile\"" >&5) 15902 15904 (eval "$lt_compile" 2>out/conftest.err) 15903 15905 ac_status=$? 15904 15906 cat out/conftest.err >&5 15905 echo "$as_me:1590 5: \$? = $ac_status" >&515907 echo "$as_me:15907: \$? = $ac_status" >&5 15906 15908 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15907 15909 then … … 16403 16405 ;; 16404 16406 16405 bsdi 4*)16407 bsdi[45]*) 16406 16408 export_dynamic_flag_spec_GCJ=-rdynamic 16407 16409 ;; … … 16429 16431 16430 16432 darwin* | rhapsody*) 16431 if test "$GXX" = yes ; then 16433 case "$host_os" in 16434 rhapsody* | darwin1.[012]) 16435 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' 16436 ;; 16437 *) # Darwin 1.3 on 16438 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 16439 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 16440 else 16441 case ${MACOSX_DEPLOYMENT_TARGET} in 16442 10.[012]) 16443 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 16444 ;; 16445 10.*) 16446 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' 16447 ;; 16448 esac 16449 fi 16450 ;; 16451 esac 16432 16452 archive_cmds_need_lc_GCJ=no 16433 case "$host_os" in16434 rhapsody* | darwin1.[012])16435 allow_undefined_flag_GCJ='-undefined suppress'16436 ;;16437 *) # Darwin 1.3 on16438 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then16439 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'16440 else16441 case ${MACOSX_DEPLOYMENT_TARGET} in16442 10.[012])16443 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'16444 ;;16445 10.*)16446 allow_undefined_flag_GCJ='-undefined dynamic_lookup'16447 ;;16448 esac16449 fi16450 ;;16451 esac16452 lt_int_apple_cc_single_mod=no16453 output_verbose_link_cmd='echo'16454 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then16455 lt_int_apple_cc_single_mod=yes16456 fi16457 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then16458 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'16459 else16460 archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'16461 fi16462 module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'16463 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's16464 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then16465 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'16466 else16467 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'16468 fi16469 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'16470 16453 hardcode_direct_GCJ=no 16471 16454 hardcode_automatic_GCJ=yes 16472 16455 hardcode_shlibpath_var_GCJ=unsupported 16473 whole_archive_flag_spec_GCJ=' -all_load $convenience'16456 whole_archive_flag_spec_GCJ='' 16474 16457 link_all_deplibs_GCJ=yes 16458 if test "$GCC" = yes ; then 16459 output_verbose_link_cmd='echo' 16460 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 16461 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 16462 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 16463 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 16464 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 16475 16465 else 16476 ld_shlibs_GCJ=no 16466 case "$cc_basename" in 16467 xlc*) 16468 output_verbose_link_cmd='echo' 16469 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 16470 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 16471 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 16472 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 16473 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 16474 ;; 16475 *) 16476 ld_shlibs_GCJ=no 16477 ;; 16478 esac 16477 16479 fi 16478 16480 ;; … … 16619 16621 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 16620 16622 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 16623 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 16621 16624 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' 16622 16625 export_dynamic_flag_spec_GCJ='${wl}-E' … … 16970 16973 ;; 16971 16974 16972 bsdi 4*)16975 bsdi[45]*) 16973 16976 version_type=linux 16974 16977 need_version=no … … 17229 17232 hardcode_into_libs=yes 17230 17233 17231 # find out which ABI we are using17232 libsuff=17233 case "$host_cpu" in17234 x86_64*|s390x*|powerpc64*)17235 echo '#line 17235 "configure"' > conftest.$ac_ext17236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&517237 (eval $ac_compile) 2>&517238 ac_status=$?17239 echo "$as_me:$LINENO: \$? = $ac_status" >&517240 (exit $ac_status); }; then17241 case `/usr/bin/file conftest.$ac_objext` in17242 *64-bit*)17243 libsuff=6417244 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"17245 ;;17246 esac17247 fi17248 rm -rf conftest*17249 ;;17250 esac17251 17252 17234 # Append ld.so.conf contents to the search path 17253 17235 if test -f /etc/ld.so.conf; then 17254 17236 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` 17255 sys_lib_dlsearch_path_spec="/lib ${libsuff} /usr/lib${libsuff}$lt_ld_extra"17237 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 17256 17238 fi 17257 17239 … … 17315 17297 version_type=sunos 17316 17298 need_lib_prefix=no 17317 need_version= yes17299 need_version=no 17318 17300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 17319 17301 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 17437 17419 hardcode_action_GCJ= 17438 17420 if test -n "$hardcode_libdir_flag_spec_GCJ" || \ 17439 test -n "$runpath_var GCJ" || \17440 test "X$hardcode_automatic_GCJ" ="Xyes" ; then17421 test -n "$runpath_var_GCJ" || \ 17422 test "X$hardcode_automatic_GCJ" = "Xyes" ; then 17441 17423 17442 17424 # We can hardcode non-existant directories. … … 18104 18086 lt_status=$lt_dlunknown 18105 18087 cat > conftest.$ac_ext <<EOF 18106 #line 18 106"configure"18088 #line 18088 "configure" 18107 18089 #include "confdefs.h" 18108 18090 … … 18202 18184 lt_status=$lt_dlunknown 18203 18185 cat > conftest.$ac_ext <<EOF 18204 #line 18 204"configure"18186 #line 18186 "configure" 18205 18187 #include "confdefs.h" 18206 18188 … … 18319 18301 # careful not to overquote the AC_SUBSTed values. We take copies of the 18320 18302 # variables and quote the copies for generation of the libtool script. 18321 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \18303 for var in echo old_CC old_CFLAGS AR AR_FLAGS AS EGREP RANLIB LN_S LTCC NM \ 18322 18304 SED SHELL STRIP \ 18323 18305 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ … … 18462 18444 18463 18445 # Used on cygwin: assembler. 18464 AS= "$AS"18446 AS=$lt_AS 18465 18447 18466 18448 # The name of the directory that contains temporary libtool files. … … 18764 18746 # careful not to overquote the AC_SUBSTed values. We take copies of the 18765 18747 # variables and quote the copies for generation of the libtool script. 18766 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \18748 for var in echo old_CC old_CFLAGS AR AR_FLAGS AS EGREP RANLIB LN_S LTCC NM \ 18767 18749 SED SHELL STRIP \ 18768 18750 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ … … 18907 18889 18908 18890 # Used on cygwin: assembler. 18909 AS= "$AS"18891 AS=$lt_AS 18910 18892 18911 18893 # The name of the directory that contains temporary libtool files. … … 19344 19326 if test "$GSL_CONFIG" != "" 19345 19327 then 19346 GSL_PREFIX="`${GSL_CONFIG} --prefix`" 19347 GSL_LIBS="`${GSL_CONFIG} --libs`" 19348 LDFLAGS="${LDFLAGS=} -L$GSL_PREFIX/lib$GSL_LIBS" 19349 CFLAGS="${CFLAGS=} -I$GSL_PREFIX/include" 19328 LDFLAGS="${LDFLAGS=} `${GSL_CONFIG} --libs`" 19329 CFLAGS="${CFLAGS=} `${GSL_CONFIG} --cflags`" 19350 19330 fi 19351 19331
Note:
See TracChangeset
for help on using the changeset viewer.
