Mercurial > hg > octave-lyh
changeset 4189:047d21dd1890
[project @ 2002-11-19 21:08:57 by jwe]
author | jwe |
---|---|
date | Tue, 19 Nov 2002 21:08:57 +0000 |
parents | cfe753a0ed6f |
children | bc0edad7dda7 |
files | ChangeLog configure.in kpathsea/klibtool.config src/ChangeLog src/oct-obj.h |
diffstat | 5 files changed, 31 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> + + * configure.in: Check for dlopen last, to avoid broken + compatibility libraries. + 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> * configure.in (USE_EXCEPTIONS_FOR_INTERRUPTS): No need to define.
--- a/configure.in +++ b/configure.in @@ -22,7 +22,7 @@ ### 02111-1307, USA. AC_INIT -AC_REVISION($Revision: 1.390 $) +AC_REVISION($Revision: 1.391 $) AC_PREREQ(2.52) AC_CONFIG_SRCDIR([src/octave.cc]) AC_CONFIG_HEADER(config.h) @@ -926,23 +926,25 @@ if test $ac_cv_header_Mach_O_dyld_h = yes; then dyld_api=true else - AC_CHECK_LIB(dl, dlopen) - AC_CHECK_FUNCS(dlopen dlsym dlerror dlclose) - if test $ac_cv_func_dlclose = yes && test $ac_cv_func_dlerror = yes \ - && test $ac_cv_func_dlopen = yes && test $ac_cv_func_dlsym = yes; then - dlopen_api=true + AC_CHECK_LIB(dld, shl_load) + AC_CHECK_FUNCS(shl_load shl_findsym) + if test $ac_cv_func_shl_load = yes \ + && test $ac_cv_func_shl_findsym = yes; then + shl_load_api=true else - AC_CHECK_LIB(dld, shl_load) - AC_CHECK_FUNCS(shl_load shl_findsym) - if test $ac_cv_func_shl_load = yes \ - && test $ac_cv_func_shl_findsym = yes; then - shl_load_api=true + AC_CHECK_LIB(wsock32, LoadLibrary) + AC_CHECK_FUNCS(LoadLibrary) + if test $ac_cv_func_loadlibrary = yes; then + loadlibrary_api=true else - AC_CHECK_LIB(wsock32, LoadLibrary) - AC_CHECK_FUNCS(LoadLibrary) - if test $ac_cv_func_loadlibrary = yes; then - loadlibrary_api=true - else + AC_CHECK_LIB(dl, dlopen) + AC_CHECK_FUNCS(dlopen dlsym dlerror dlclose) + if test $ac_cv_func_dlclose = yes \ + && test $ac_cv_func_dlerror = yes \ + && test $ac_cv_func_dlopen = yes \ + && test $ac_cv_func_dlsym = yes; then + dlopen_api=true + else case "$canonical_host_type" in rs6000-ibm-aix* | powerpc-ibm-aix*) LIBDLFCN="-ldlfcn -ll -lld"
--- a/kpathsea/klibtool.config +++ b/kpathsea/klibtool.config @@ -1,5 +1,5 @@ LIBTOOL_OBJTYPES='STATIC:' -shared_support='true' +shared_support='' shared_ext='so' libpath_var='LD_LIBRARY_PATH' CC='gcc' @@ -9,4 +9,4 @@ STATIC_ranlib='ranlib' args_SHARED_archive='-shared' args_SHARED_link='' -SHARED_postinstall='ldconfig $libdir' +SHARED_postinstall=''