llvm.org GIT mirror llvm / 6f74b14
Fix for executing AutoRegen.sh. Revert a part of r187209. Since r187209, which modified ltdl.m4, I was unable to execute AutoRegen.sh, getting: ../configure:10779: error: possibly undefined macro: AC_LTDL_FUNC_ARGZ This commit re-adds AC_LTDL_FUNC_ARGZ to ltdl.m4, as a quick fix. For me, this corresponds to the configure file currently checked in. (However, the ltdl library seems to be unused since r74924 in 2009, except for the use of the LTDL_SHLIB_EXT macro in bugpoint(?). Therefore, the right solution seems to try to get rid of the local ltdl.m4 file, specified by autoconf/README.TXT.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190677 91177308-0d34-0410-b5e6-96231b3b80d8 Patrik Hagglund 7 years ago
1 changed file(s) with 16 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
378378 [Define if dlsym() requires a leading underscore in symbol names.])
379379 fi
380380 ])# AC_LTDL_DLSYM_USCORE
381
382 # AC_LTDL_FUNC_ARGZ
383 # -----------------
384 AC_DEFUN([AC_LTDL_FUNC_ARGZ],
385 [AC_CHECK_HEADERS([argz.h])
386
387 AC_CHECK_TYPES([error_t],
388 [],
389 [AC_DEFINE([error_t], [int],
390 [Define to a type to use for `error_t' if it is not otherwise available.])],
391 [#if HAVE_ARGZ_H
392 # include
393 #endif])
394
395 AC_CHECK_FUNCS([argz_append argz_create_sep argz_insert argz_next argz_stringify])
396 ])# AC_LTDL_FUNC_ARGZ