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

Diff of /libtool/ltdl.m4

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

revision 1.47.2.5 by gary, Sun Jan 9 15:27:18 2005 UTC revision 1.47.2.6 by rwild, Fri Apr 29 08:56:01 2005 UTC
# Line 42  fi Line 42  fi
42  if test "x$with_included_ltdl" = xno; then  if test "x$with_included_ltdl" = xno; then
43    # If the included ltdl is not to be used. then Use the    # If the included ltdl is not to be used. then Use the
44    # preinstalled libltdl we found.    # preinstalled libltdl we found.
45    AC_DEFINE([HAVE_LTDL], 1,    AC_DEFINE([HAVE_LTDL], [1],
46      [Define this if a modern libltdl is already installed])      [Define this if a modern libltdl is already installed])
47    LIBLTDL=-lltdl    LIBLTDL=-lltdl
48  fi  fi
# Line 195  module=yes Line 195  module=yes
195  eval libltdl_cv_shlibext=$shrext_cmds  eval libltdl_cv_shlibext=$shrext_cmds
196    ])    ])
197  if test -n "$libltdl_cv_shlibext"; then  if test -n "$libltdl_cv_shlibext"; then
198    AC_DEFINE_UNQUOTED(LTDL_SHLIB_EXT, "$libltdl_cv_shlibext",    AC_DEFINE_UNQUOTED([LTDL_SHLIB_EXT], ["$libltdl_cv_shlibext"],
199      [Define to the extension used for shared libraries, say, ".so".])      [Define to the extension used for shared libraries, say, ".so".])
200  fi  fi
201  ])# AC_LTDL_SHLIBEXT  ])# AC_LTDL_SHLIBEXT
# Line 208  AC_DEFUN([AC_LTDL_SHLIBPATH], Line 208  AC_DEFUN([AC_LTDL_SHLIBPATH],
208  AC_CACHE_CHECK([which variable specifies run-time library path],  AC_CACHE_CHECK([which variable specifies run-time library path],
209    [libltdl_cv_shlibpath_var], [libltdl_cv_shlibpath_var="$shlibpath_var"])    [libltdl_cv_shlibpath_var], [libltdl_cv_shlibpath_var="$shlibpath_var"])
210  if test -n "$libltdl_cv_shlibpath_var"; then  if test -n "$libltdl_cv_shlibpath_var"; then
211    AC_DEFINE_UNQUOTED(LTDL_SHLIBPATH_VAR, "$libltdl_cv_shlibpath_var",    AC_DEFINE_UNQUOTED([LTDL_SHLIBPATH_VAR], ["$libltdl_cv_shlibpath_var"],
212      [Define to the name of the environment variable that determines the dynamic library search path.])      [Define to the name of the environment variable that determines the dynamic library search path.])
213  fi  fi
214  ])# AC_LTDL_SHLIBPATH  ])# AC_LTDL_SHLIBPATH
# Line 230  if test -n "$libltdl_cv_sys_search_path" Line 230  if test -n "$libltdl_cv_sys_search_path"
230        sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"        sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
231      fi      fi
232    done    done
233    AC_DEFINE_UNQUOTED(LTDL_SYSSEARCHPATH, "$sys_search_path",    AC_DEFINE_UNQUOTED([LTDL_SYSSEARCHPATH], ["$sys_search_path"],
234      [Define to the system default library search path.])      [Define to the system default library search path.])
235  fi  fi
236  ])# AC_LTDL_SYSSEARCHPATH  ])# AC_LTDL_SYSSEARCHPATH
# Line 256  AC_DEFUN([AC_LTDL_OBJDIR], Line 256  AC_DEFUN([AC_LTDL_OBJDIR],
256    rmdir .libs 2>/dev/null    rmdir .libs 2>/dev/null
257    fi    fi
258    ])    ])
259  AC_DEFINE_UNQUOTED(LTDL_OBJDIR, "$libltdl_cv_objdir/",  AC_DEFINE_UNQUOTED([LTDL_OBJDIR], ["$libltdl_cv_objdir/"],
260    [Define to the sub-directory in which libtool stores uninstalled libraries.])    [Define to the sub-directory in which libtool stores uninstalled libraries.])
261  ])# AC_LTDL_OBJDIR  ])# AC_LTDL_OBJDIR
262    
# Line 274  AC_CACHE_CHECK([whether libtool supports Line 274  AC_CACHE_CHECK([whether libtool supports
274    fi    fi
275    ])    ])
276  if test x"$libltdl_cv_preloaded_symbols" = xyes; then  if test x"$libltdl_cv_preloaded_symbols" = xyes; then
277    AC_DEFINE(HAVE_PRELOADED_SYMBOLS, 1,    AC_DEFINE([HAVE_PRELOADED_SYMBOLS], [1],
278      [Define if libtool can extract symbol lists from object files.])      [Define if libtool can extract symbol lists from object files.])
279  fi  fi
280  ])# AC_LTDL_DLPREOPEN  ])# AC_LTDL_DLPREOPEN
# Line 393  if test x"$ac_cv_sys_symbol_underscore" Line 393  if test x"$ac_cv_sys_symbol_underscore"
393  fi  fi
394    
395  if test x"$libltdl_cv_need_uscore" = xyes; then  if test x"$libltdl_cv_need_uscore" = xyes; then
396    AC_DEFINE(NEED_USCORE, 1,    AC_DEFINE([NEED_USCORE], [1],
397      [Define if dlsym() requires a leading underscore in symbol names.])      [Define if dlsym() requires a leading underscore in symbol names.])
398  fi  fi
399  ])# AC_LTDL_DLSYM_USCORE  ])# AC_LTDL_DLSYM_USCORE

Legend:
Removed from v.1.47.2.5  
changed lines
  Added in v.1.47.2.6

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