/[svn]/ircd-hybrid-7.3/libltdl/m4/ltdl.m4
ViewVC logotype

Diff of /ircd-hybrid-7.3/libltdl/m4/ltdl.m4

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

revision 1083 by michael, Sun Nov 8 13:10:50 2009 UTC revision 1084 by michael, Sat Mar 13 23:24:10 2010 UTC
# Line 146  dnl AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [ Line 146  dnl AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [
146  # -----------------  # -----------------
147  # Code shared by LTDL_INSTALLABLE and LTDL_INIT([installable]).  # Code shared by LTDL_INSTALLABLE and LTDL_INIT([installable]).
148  m4_defun([_LTDL_INSTALLABLE],  m4_defun([_LTDL_INSTALLABLE],
149  [AC_CHECK_LIB([ltdl], [lt_dlinit], [lt_lib_ltdl=yes])  [if test -f $prefix/lib/libltdl.la; then
150      lt_save_LDFLAGS="$LDFLAGS"
151      LDFLAGS="-L$prefix/lib $LDFLAGS"
152      AC_CHECK_LIB([ltdl], [lt_dlinit], [lt_lib_ltdl=yes])
153      LDFLAGS="$lt_save_LDFLAGS"
154    if test x"${lt_lib_ltdl-no}" = xyes; then    if test x"${lt_lib_ltdl-no}" = xyes; then
155      if test x"$enable_ltdl_install" != xyes; then      if test x"$enable_ltdl_install" != xyes; then
156        AC_MSG_WARN([not overwriting installed libltdl, force with `--enable-ltdl-install'])        # Don't overwrite $prefix/lib/libltdl.la without --enable-ltdl-install
157          AC_MSG_WARN([not overwriting libltdl at $prefix, force with `--enable-ltdl-install'])
158        enable_ltdl_install=no        enable_ltdl_install=no
159      fi      fi
160    elif test x"$enable_ltdl_install" = xno; then    elif test x"$enable_ltdl_install" = xno; then
161      AC_MSG_WARN([libltdl not installed, but installation disabled])      AC_MSG_WARN([libltdl not installed, but installation disabled])
162    fi    fi
163    fi
164    
165  # If configure.ac declared an installable ltdl, and the user didn't override  # If configure.ac declared an installable ltdl, and the user didn't override
166  # with --disable-ltdl-install, we will install the shipped libltdl.  # with --disable-ltdl-install, we will install the shipped libltdl.

Legend:
Removed from v.1083  
changed lines
  Added in v.1084

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28