/[libtool]/libtool/ltdl.m4
ViewVC logotype

Diff of /libtool/ltdl.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6.2.9 by gary, Sun Apr 22 22:56:18 2001 UTC revision 1.6.2.10 by gary, Mon Apr 23 00:41:43 2001 UTC
# Line 428  if test x"$ac_cv_sys_symbol_underscore" Line 428  if test x"$ac_cv_sys_symbol_underscore"
428       test x"$ac_cv_lib_dl_dlopen" = xyes ; then       test x"$ac_cv_lib_dl_dlopen" = xyes ; then
429          AC_CACHE_CHECK([whether we have to add an underscore for dlsym],          AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
430                  libltdl_cv_need_uscore, [dnl                  libltdl_cv_need_uscore, [dnl
431                    save_LIBS="$LIBS"
432                    LIBS="$LIBS $LIBADD_DL"
433                  AC_TRY_RUN([                  AC_TRY_RUN([
434  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
435  #include <dlfcn.h>  #include <dlfcn.h>
# Line 473  int main() { Line 475  int main() {
475      if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");      if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
476                 if(ptr1 && !ptr2) { dlclose(self); exit(0); } } exit(1); }                 if(ptr1 && !ptr2) { dlclose(self); exit(0); } } exit(1); }
477  ],      libltdl_cv_need_uscore=no, libltdl_cv_need_uscore=yes,  ],      libltdl_cv_need_uscore=no, libltdl_cv_need_uscore=yes,
478          libltdl_cv_need_uscore=cross          libltdl_cv_need_uscore=cross)
479  )])          LIBS="$save_LIBS"
480    ])
481    fi    fi
482  fi  fi
483    

Legend:
Removed from v.1.6.2.9  
changed lines
  Added in v.1.6.2.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26