ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/m4/ltdl.m4
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/m4/ltdl.m4 (file contents):
Revision 4900 by michael, Thu Apr 24 16:15:51 2014 UTC vs.
Revision 4901 by michael, Sat Nov 22 18:31:53 2014 UTC

# Line 1 | Line 1
1   # ltdl.m4 - Configure ltdl for the target system. -*-Autoconf-*-
2   #
3 < #   Copyright (C) 1999-2006, 2007, 2008, 2011 Free Software Foundation, Inc.
3 > #   Copyright (C) 1999-2008, 2011-2014 Free Software Foundation, Inc.
4   #   Written by Thomas Tanner, 1999
5   #
6   # This file is free software; the Free Software Foundation gives
7   # unlimited permission to copy and/or distribute it, with or without
8   # modifications, as long as this notice is preserved.
9  
10 < # serial 18 LTDL_INIT
10 > # serial 19 LTDL_INIT
11  
12   # LT_CONFIG_LTDL_DIR(DIRECTORY, [LTDL-MODE])
13   # ------------------------------------------
# Line 24 | Line 24 | m4_defun([_LT_CONFIG_LTDL_DIR],
24   [dnl remove trailing slashes
25   m4_pushdef([_ARG_DIR], m4_bpatsubst([$1], [/*$]))
26   m4_case(_LTDL_DIR,
27 <        [], [dnl only set lt_ltdl_dir if _ARG_DIR is not simply `.'
27 >        [], [dnl only set lt_ltdl_dir if _ARG_DIR is not simply '.'
28               m4_if(_ARG_DIR, [.],
29                       [],
30                   [m4_define([_LTDL_DIR], _ARG_DIR)
31                    _LT_SHELL_INIT([lt_ltdl_dir=']_ARG_DIR['])])],
32      [m4_if(_ARG_DIR, _LTDL_DIR,
33              [],
34 <        [m4_fatal([multiple libltdl directories: `]_LTDL_DIR[', `]_ARG_DIR['])])])
34 >        [m4_fatal([multiple libltdl directories: ']_LTDL_DIR[', ']_ARG_DIR['])])])
35   m4_popdef([_ARG_DIR])
36   ])# _LT_CONFIG_LTDL_DIR
37  
# Line 41 | Line 41 | m4_define([_LTDL_DIR], [])
41  
42   # _LT_BUILD_PREFIX
43   # ----------------
44 < # If Autoconf is new enough, expand to `${top_build_prefix}', otherwise
45 < # to `${top_builddir}/'.
44 > # If Autoconf is new enough, expand to '$(top_build_prefix)', otherwise
45 > # to '$(top_builddir)/'.
46   m4_define([_LT_BUILD_PREFIX],
47   [m4_ifdef([AC_AUTOCONF_VERSION],
48     [m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]), [2.62]),
49            [-1], [m4_ifdef([_AC_HAVE_TOP_BUILD_PREFIX],
50 <                          [${top_build_prefix}],
51 <                          [${top_builddir}/])],
52 <          [${top_build_prefix}])],
53 <   [${top_builddir}/])[]dnl
50 >                          [$(top_build_prefix)],
51 >                          [$(top_builddir)/])],
52 >          [$(top_build_prefix)])],
53 >   [$(top_builddir)/])[]dnl
54   ])
55  
56  
# Line 60 | Line 60 | m4_define([_LT_BUILD_PREFIX],
60   # LTDLINCL to the include flags for the libltdl header and adds
61   # --enable-ltdl-convenience to the configure arguments.  Note that
62   # AC_CONFIG_SUBDIRS is not called here.  LIBLTDL will be prefixed with
63 < # '${top_build_prefix}' if available, otherwise with '${top_builddir}/',
64 < # and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
63 > # '$(top_build_prefix)' if available, otherwise with '$(top_builddir)/',
64 > # and LTDLINCL will be prefixed with '$(top_srcdir)/' (note the single
65   # quotes!).  If your package is not flat and you're not using automake,
66   # define top_build_prefix, top_builddir, and top_srcdir appropriately
67   # in your Makefiles.
# Line 97 | Line 97 | m4_defun([_LTDL_CONVENIENCE],
97   esac
98   LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
99   LTDLDEPS=$LIBLTDL
100 < LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
100 > LTDLINCL='-I$(top_srcdir)'"${lt_ltdl_dir+/$lt_ltdl_dir}"
101  
102   AC_SUBST([LIBLTDL])
103   AC_SUBST([LTDLDEPS])
104   AC_SUBST([LTDLINCL])
105  
106   # For backwards non-gettext consistent compatibility...
107 < INCLTDL="$LTDLINCL"
107 > INCLTDL=$LTDLINCL
108   AC_SUBST([INCLTDL])
109   ])# _LTDL_CONVENIENCE
110  
# Line 115 | Line 115 | AC_SUBST([INCLTDL])
115   # and LTDLINCL to the include flags for the libltdl header and adds
116   # --enable-ltdl-install to the configure arguments.  Note that
117   # AC_CONFIG_SUBDIRS is not called from here.  If an installed libltdl
118 < # is not found, LIBLTDL will be prefixed with '${top_build_prefix}' if
119 < # available, otherwise with '${top_builddir}/', and LTDLINCL will be
120 < # prefixed with '${top_srcdir}/' (note the single quotes!).  If your
118 > # is not found, LIBLTDL will be prefixed with '$(top_build_prefix)' if
119 > # available, otherwise with '$(top_builddir)/', and LTDLINCL will be
120 > # prefixed with '$(top_srcdir)/' (note the single quotes!).  If your
121   # package is not flat and you're not using automake, define top_build_prefix,
122   # top_builddir, and top_srcdir appropriately in your Makefiles.
123   # In the future, this macro may have to be called after LT_INIT.
# Line 146 | Line 146 | dnl AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [
146   # -----------------
147   # Code shared by LTDL_INSTALLABLE and LTDL_INIT([installable]).
148   m4_defun([_LTDL_INSTALLABLE],
149 < [if test -f $prefix/lib/libltdl.la; then
150 <  lt_save_LDFLAGS="$LDFLAGS"
149 > [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
155 <    if test x"$enable_ltdl_install" != xyes; then
153 >  LDFLAGS=$lt_save_LDFLAGS
154 >  if test yes = "${lt_lib_ltdl-no}"; then
155 >    if test yes != "$enable_ltdl_install"; then
156        # 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'])
157 >      AC_MSG_WARN([not overwriting libltdl at $prefix, force with '--enable-ltdl-install'])
158        enable_ltdl_install=no
159      fi
160 <  elif test x"$enable_ltdl_install" = xno; then
160 >  elif test no = "$enable_ltdl_install"; then
161      AC_MSG_WARN([libltdl not installed, but installation disabled])
162    fi
163   fi
# Line 166 | Line 166 | fi
166   # with --disable-ltdl-install, we will install the shipped libltdl.
167   case $enable_ltdl_install in
168    no) ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
169 <      LIBLTDL="-lltdl"
169 >      LIBLTDL=-lltdl
170        LTDLDEPS=
171        LTDLINCL=
172        ;;
# Line 174 | Line 174 | case $enable_ltdl_install in
174        ac_configure_args="$ac_configure_args --enable-ltdl-install"
175        LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdl.la"
176        LTDLDEPS=$LIBLTDL
177 <      LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
177 >      LTDLINCL='-I$(top_srcdir)'"${lt_ltdl_dir+/$lt_ltdl_dir}"
178        ;;
179   esac
180  
# Line 183 | Line 183 | AC_SUBST([LTDLDEPS])
183   AC_SUBST([LTDLINCL])
184  
185   # For backwards non-gettext consistent compatibility...
186 < INCLTDL="$LTDLINCL"
186 > INCLTDL=$LTDLINCL
187   AC_SUBST([INCLTDL])
188   ])# LTDL_INSTALLABLE
189  
# Line 191 | Line 191 | AC_SUBST([INCLTDL])
191   # _LTDL_MODE_DISPATCH
192   # -------------------
193   m4_define([_LTDL_MODE_DISPATCH],
194 < [dnl If _LTDL_DIR is `.', then we are configuring libltdl itself:
194 > [dnl If _LTDL_DIR is '.', then we are configuring libltdl itself:
195   m4_if(_LTDL_DIR, [],
196          [],
197 <    dnl if _LTDL_MODE was not set already, the default value is `subproject':
197 >    dnl if _LTDL_MODE was not set already, the default value is 'subproject':
198      [m4_case(m4_default(_LTDL_MODE, [subproject]),
199            [subproject], [AC_CONFIG_SUBDIRS(_LTDL_DIR)
200 <                          _LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"])],
201 <          [nonrecursive], [_LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"; lt_libobj_prefix="$lt_ltdl_dir/"])],
200 >                          _LT_SHELL_INIT([lt_dlopen_dir=$lt_ltdl_dir])],
201 >          [nonrecursive], [_LT_SHELL_INIT([lt_dlopen_dir=$lt_ltdl_dir; lt_libobj_prefix=$lt_ltdl_dir/])],
202            [recursive], [],
203          [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])dnl
204   dnl Be careful not to expand twice:
# Line 243 | Line 243 | AC_ARG_WITH([included_ltdl],
243      [AS_HELP_STRING([--with-included-ltdl],
244                      [use the GNU ltdl sources included here])])
245  
246 < if test "x$with_included_ltdl" != xyes; then
246 > if test yes != "$with_included_ltdl"; then
247    # We are not being forced to use the included libltdl sources, so
248    # decide whether there is a useful installed version we can use.
249    AC_CHECK_HEADER([ltdl.h],
# Line 271 | Line 271 | AC_ARG_WITH([ltdl_include],
271   if test -n "$with_ltdl_include"; then
272    if test -f "$with_ltdl_include/ltdl.h"; then :
273    else
274 <    AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
274 >    AC_MSG_ERROR([invalid ltdl include directory: '$with_ltdl_include'])
275    fi
276   else
277    with_ltdl_include=no
# Line 284 | Line 284 | AC_ARG_WITH([ltdl_lib],
284   if test -n "$with_ltdl_lib"; then
285    if test -f "$with_ltdl_lib/libltdl.la"; then :
286    else
287 <    AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
287 >    AC_MSG_ERROR([invalid ltdl library directory: '$with_ltdl_lib'])
288    fi
289   else
290    with_ltdl_lib=no
# Line 307 | Line 307 | case ,$with_included_ltdl,$with_ltdl_inc
307          LTDLINCL=
308          ;;
309    ,no*,no,*)
310 <        AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
310 >        AC_MSG_ERROR(['--with-ltdl-include' and '--with-ltdl-lib' options must be used together])
311          ;;
312    *)    with_included_ltdl=no
313          LIBLTDL="-L$with_ltdl_lib -lltdl"
314          LTDLDEPS=
315 <        LTDLINCL="-I$with_ltdl_include"
315 >        LTDLINCL=-I$with_ltdl_include
316          ;;
317   esac
318 < INCLTDL="$LTDLINCL"
318 > INCLTDL=$LTDLINCL
319  
320   # Report our decision...
321   AC_MSG_CHECKING([where to find libltdl headers])
# Line 397 | Line 397 | m4_pattern_allow([^LT_CONFIG_H$])dnl
397   m4_ifset([AH_HEADER],
398      [LT_CONFIG_H=AH_HEADER],
399      [m4_ifset([AC_LIST_HEADERS],
400 <            [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[      ]]*,,;s,[[ :]].*$,,'`],
400 >            [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's|^[[      ]]*||;s|[[ :]].*$||'`],
401          [])])])
402   AC_SUBST([LT_CONFIG_H])
403  
# Line 427 | Line 427 | m4_define([_LT_ENABLE_INSTALL],
427   [AC_ARG_ENABLE([ltdl-install],
428      [AS_HELP_STRING([--enable-ltdl-install], [install libltdl])])
429  
430 < case ,${enable_ltdl_install},${enable_ltdl_convenience} in
430 > case ,$enable_ltdl_install,$enable_ltdl_convenience in
431    *yes*) ;;
432    *) enable_ltdl_convenience=yes ;;
433   esac
434  
435   m4_ifdef([AM_CONDITIONAL],
436 < [AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno)
437 < AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno)])
436 > [AM_CONDITIONAL(INSTALL_LTDL, test no != "${enable_ltdl_install-no}")
437 > AM_CONDITIONAL(CONVENIENCE_LTDL, test no != "${enable_ltdl_convenience-no}")])
438   ])# _LT_ENABLE_INSTALL
439  
440  
# Line 452 | Line 452 | AC_CACHE_CHECK([whether deplibs are load
452    case $host_os in
453    aix3*|aix4.1.*|aix4.2.*)
454      # Unknown whether this is true for these versions of AIX, but
455 <    # we want this `case' here to explicitly catch those versions.
455 >    # we want this 'case' here to explicitly catch those versions.
456      lt_cv_sys_dlopen_deplibs=unknown
457      ;;
458    aix[[4-9]]*)
# Line 465 | Line 465 | AC_CACHE_CHECK([whether deplibs are load
465        ;;
466      esac
467      ;;
468 +  bitrig*)
469 +    lt_cv_sys_dlopen_deplibs=yes
470 +    ;;
471    darwin*)
472      # Assuming the user has installed a libdl from somewhere, this is true
473      # If you are looking for one http://www.opendarwin.org/projects/dlcompat
# Line 502 | Line 505 | AC_CACHE_CHECK([whether deplibs are load
505    osf[[1234]]*)
506      # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
507      # it did *not* use an RPATH in a shared library to find objects the
508 <    # library depends on, so we explicitly say `no'.
508 >    # library depends on, so we explicitly say 'no'.
509      lt_cv_sys_dlopen_deplibs=no
510      ;;
511    osf5.0|osf5.0a|osf5.1)
# Line 511 | Line 514 | AC_CACHE_CHECK([whether deplibs are load
514      # that the library depends on, but there's no easy way to know if that
515      # patch is installed.  Since this is the case, all we can really
516      # say is unknown -- it depends on the patch being installed.  If
517 <    # it is, this changes to `yes'.  Without it, it would be `no'.
517 >    # it is, this changes to 'yes'.  Without it, it would be 'no'.
518      lt_cv_sys_dlopen_deplibs=unknown
519      ;;
520    osf*)
521      # the two cases above should catch all versions of osf <= 5.1.  Read
522      # the comments above for what we know about them.
523      # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
524 <    # is used to find them so we can finally say `yes'.
524 >    # is used to find them so we can finally say 'yes'.
525      lt_cv_sys_dlopen_deplibs=yes
526      ;;
527    qnx*)
# Line 532 | Line 535 | AC_CACHE_CHECK([whether deplibs are load
535      ;;
536    esac
537    ])
538 < if test "$lt_cv_sys_dlopen_deplibs" != yes; then
538 > if test yes != "$lt_cv_sys_dlopen_deplibs"; then
539   AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
540      [Define if the OS needs help to load dependent libraries for dlopen().])
541   fi
# Line 548 | Line 551 | dnl AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS
551   # -----------------
552   AC_DEFUN([LT_SYS_MODULE_EXT],
553   [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
554 < AC_CACHE_CHECK([which extension is used for runtime loadable modules],
554 > AC_CACHE_CHECK([what extension is used for runtime loadable modules],
555    [libltdl_cv_shlibext],
556   [
557   module=yes
# Line 578 | Line 581 | dnl AC_DEFUN([AC_LTDL_SHLIBEXT], [])
581   # ------------------
582   AC_DEFUN([LT_SYS_MODULE_PATH],
583   [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
584 < AC_CACHE_CHECK([which variable specifies run-time module search path],
585 <  [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"])
584 > AC_CACHE_CHECK([what variable specifies run-time module search path],
585 >  [lt_cv_module_path_var], [lt_cv_module_path_var=$shlibpath_var])
586   if test -n "$lt_cv_module_path_var"; then
587    m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
588    AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
# Line 599 | Line 602 | AC_DEFUN([LT_SYS_DLSEARCH_PATH],
602   [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
603   AC_CACHE_CHECK([for the default library search path],
604    [lt_cv_sys_dlsearch_path],
605 <  [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"])
605 >  [lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec])
606   if test -n "$lt_cv_sys_dlsearch_path"; then
607    sys_dlsearch_path=
608    for dir in $lt_cv_sys_dlsearch_path; do
609      if test -z "$sys_dlsearch_path"; then
610 <      sys_dlsearch_path="$dir"
610 >      sys_dlsearch_path=$dir
611      else
612 <      sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
612 >      sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
613      fi
614    done
615    m4_pattern_allow([LT_DLSEARCH_PATH])dnl
# Line 633 | Line 636 | AC_CACHE_CHECK([whether libtool supports
636      libltdl_cv_preloaded_symbols=no
637    fi
638    ])
639 < if test x"$libltdl_cv_preloaded_symbols" = xyes; then
639 > if test yes = "$libltdl_cv_preloaded_symbols"; then
640    AC_DEFINE([HAVE_PRELOADED_SYMBOLS], [1],
641      [Define if libtool can extract symbol lists from object files.])
642   fi
# Line 653 | Line 656 | LIBADD_DLOPEN=
656   AC_SEARCH_LIBS([dlopen], [dl],
657          [AC_DEFINE([HAVE_LIBDL], [1],
658                     [Define if you have the libdl library or equivalent.])
659 <        if test "$ac_cv_search_dlopen" != "none required" ; then
660 <          LIBADD_DLOPEN="-ldl"
659 >        if test "$ac_cv_search_dlopen" != "none required"; then
660 >          LIBADD_DLOPEN=-ldl
661          fi
662 <        libltdl_cv_lib_dl_dlopen="yes"
662 >        libltdl_cv_lib_dl_dlopen=yes
663          LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
664      [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
665   #  include <dlfcn.h>
# Line 664 | Line 667 | AC_SEARCH_LIBS([dlopen], [dl],
667      ]], [[dlopen(0, 0);]])],
668              [AC_DEFINE([HAVE_LIBDL], [1],
669                         [Define if you have the libdl library or equivalent.])
670 <            libltdl_cv_func_dlopen="yes"
670 >            libltdl_cv_func_dlopen=yes
671              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
672          [AC_CHECK_LIB([svld], [dlopen],
673                  [AC_DEFINE([HAVE_LIBDL], [1],
674                           [Define if you have the libdl library or equivalent.])
675 <                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
675 >                LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
676                  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
677 < if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
677 > if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
678   then
679 <  lt_save_LIBS="$LIBS"
679 >  lt_save_LIBS=$LIBS
680    LIBS="$LIBS $LIBADD_DLOPEN"
681    AC_CHECK_FUNCS([dlerror])
682 <  LIBS="$lt_save_LIBS"
682 >  LIBS=$lt_save_LIBS
683   fi
684   AC_SUBST([LIBADD_DLOPEN])
685  
# Line 689 | Line 692 | AC_CHECK_FUNC([shl_load],
692              [AC_DEFINE([HAVE_SHL_LOAD], [1],
693                         [Define if you have the shl_load function.])
694              LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
695 <            LIBADD_SHL_LOAD="-ldld"])])
695 >            LIBADD_SHL_LOAD=-ldld])])
696   AC_SUBST([LIBADD_SHL_LOAD])
697  
698   case $host_os in
# Line 789 | Line 792 | dnl AC_DEFUN([AC_LTDL_SYMBOL_USCORE], []
792   # --------------------
793   AC_DEFUN([LT_FUNC_DLSYM_USCORE],
794   [AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
795 < if test x"$lt_cv_sys_symbol_underscore" = xyes; then
796 <  if test x"$libltdl_cv_func_dlopen" = xyes ||
797 <     test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
795 > if test yes = "$lt_cv_sys_symbol_underscore"; then
796 >  if test yes = "$libltdl_cv_func_dlopen" ||
797 >     test yes = "$libltdl_cv_lib_dl_dlopen"; then
798          AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
799            [libltdl_cv_need_uscore],
800            [libltdl_cv_need_uscore=unknown
801 <          save_LIBS="$LIBS"
801 >          save_LIBS=$LIBS
802            LIBS="$LIBS $LIBADD_DLOPEN"
803            _LT_TRY_DLOPEN_SELF(
804              [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
805              [],                          [libltdl_cv_need_uscore=cross])
806 <          LIBS="$save_LIBS"
806 >          LIBS=$save_LIBS
807          ])
808    fi
809   fi
810  
811 < if test x"$libltdl_cv_need_uscore" = xyes; then
811 > if test yes = "$libltdl_cv_need_uscore"; then
812    AC_DEFINE([NEED_USCORE], [1],
813      [Define if dlsym() requires a leading underscore in symbol names.])
814   fi

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)