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

Diff of /libtool/ltdl.m4

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

revision 1.21.2.1 by gary, Sun Sep 2 18:54:31 2001 UTC revision 1.21.2.2 by gary, Mon Sep 3 01:22:13 2001 UTC
# Line 285  fi Line 285  fi
285  ])# AC_LTDL_DLSYM_USCORE  ])# AC_LTDL_DLSYM_USCORE
286    
287    
288    # AC_CHECK_TYPES(TYPES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND],
289    #                [INCLUDES])
290    # ---------------------------------------------------------------
291    # This macro did not exist in Autoconf 2.13, which we do still support
292    ifdef([AC_CHECK_TYPES], [],
293    [define([AC_CHECK_TYPES],
294      [AC_CACHE_CHECK([for $1], ac_Type,
295        [AC_TRY_LINK([$4],
296            [if (($1 *) 0)
297              return 0;
298            if (sizeof ($1))
299              return 0;],
300            [ac_Type=yes],
301            [ac_Type=no])])
302      if test "x$ac_Type" = xyes; then
303        ifelse([$2], [], [:], [$2])
304      else
305        ifelse([$3], [], [:], [$3])
306      fi])
307    ])# AC_CHECK_TYPES
308    
309    
310  # AC_LTDL_FUNC_ARGZ  # AC_LTDL_FUNC_ARGZ
311  # -----------------  # -----------------
312  AC_DEFUN([AC_LTDL_FUNC_ARGZ],  AC_DEFUN([AC_LTDL_FUNC_ARGZ],
# Line 293  AC_DEFUN([AC_LTDL_FUNC_ARGZ], Line 315  AC_DEFUN([AC_LTDL_FUNC_ARGZ],
315  AC_CHECK_TYPES([error_t],  AC_CHECK_TYPES([error_t],
316    [],    [],
317    [AC_DEFINE([error_t], [int],    [AC_DEFINE([error_t], [int],
318      [Define to a type to use for `error_t' if it is not otherwise available.])],      [Define to a type to use for \`error_t' if it is not otherwise available.])],
319    [#if HAVE_ARGZ_H    [#if HAVE_ARGZ_H
320  #  include <argz.h>  #  include <argz.h>
321  #endif])  #endif])

Legend:
Removed from v.1.21.2.1  
changed lines
  Added in v.1.21.2.2

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