854 |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
855 |
/* dlclose (self); */ |
/* dlclose (self); */ |
856 |
} |
} |
857 |
|
else |
858 |
|
puts (dlerror ()); |
859 |
|
|
860 |
exit (status); |
exit (status); |
861 |
}] |
}] |
962 |
]) |
]) |
963 |
|
|
964 |
if test "x$lt_cv_dlopen_self" = xyes; then |
if test "x$lt_cv_dlopen_self" = xyes; then |
965 |
LDFLAGS="$LDFLAGS $link_static_flag" |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
966 |
AC_CACHE_CHECK([whether a statically linked program can dlopen itself], |
AC_CACHE_CHECK([whether a statically linked program can dlopen itself], |
967 |
lt_cv_dlopen_self_static, [dnl |
lt_cv_dlopen_self_static, [dnl |
968 |
_LT_AC_TRY_DLOPEN_SELF( |
_LT_AC_TRY_DLOPEN_SELF( |
4863 |
case $cc_basename in |
case $cc_basename in |
4864 |
CC*) |
CC*) |
4865 |
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
4866 |
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" |
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' |
4867 |
if test "$host_cpu" != ia64; then |
if test "$host_cpu" != ia64; then |
4868 |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' |
4869 |
fi |
fi |
4870 |
;; |
;; |
4871 |
aCC*) |
aCC*) |
4872 |
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
4873 |
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" |
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' |
4874 |
case $host_cpu in |
case $host_cpu in |
4875 |
hppa*64*|ia64*) |
hppa*64*|ia64*) |
4876 |
# +Z the default |
# +Z the default |
5529 |
# Note: this linker hardcodes the directories in LIBPATH if there |
# Note: this linker hardcodes the directories in LIBPATH if there |
5530 |
# are no directories specified by -L. |
# are no directories specified by -L. |
5531 |
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes |
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes |
5532 |
if test "$GCC" = yes && test -z "$link_static_flag"; then |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
5533 |
# Neither direct hardcoding nor static linking is supported with a |
# Neither direct hardcoding nor static linking is supported with a |
5534 |
# broken collect2. |
# broken collect2. |
5535 |
_LT_AC_TAGVAR(hardcode_direct, $1)=unsupported |
_LT_AC_TAGVAR(hardcode_direct, $1)=unsupported |