summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>2013-09-13 10:29:42 +0000
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>2013-09-13 10:29:42 +0000
commit6f74b140c4548e17a396a320209a36abd33d40a3 (patch)
tree3ea6f9eede99666cfd854c8752b98f52fc475ed9
parent906ae15d5fa5784595273228b33e16ca16a0431d (diff)
downloadllvm-6f74b140c4548e17a396a320209a36abd33d40a3.tar.gz
llvm-6f74b140c4548e17a396a320209a36abd33d40a3.tar.bz2
llvm-6f74b140c4548e17a396a320209a36abd33d40a3.tar.xz
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
-rw-r--r--autoconf/m4/ltdl.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/autoconf/m4/ltdl.m4 b/autoconf/m4/ltdl.m4
index 0226f6399d..b3302fa61c 100644
--- a/autoconf/m4/ltdl.m4
+++ b/autoconf/m4/ltdl.m4
@@ -379,3 +379,19 @@ if test x"$libltdl_cv_need_uscore" = xyes; then
[Define if dlsym() requires a leading underscore in symbol names.])
fi
])# AC_LTDL_DLSYM_USCORE
+
+# AC_LTDL_FUNC_ARGZ
+# -----------------
+AC_DEFUN([AC_LTDL_FUNC_ARGZ],
+[AC_CHECK_HEADERS([argz.h])
+
+AC_CHECK_TYPES([error_t],
+ [],
+ [AC_DEFINE([error_t], [int],
+ [Define to a type to use for `error_t' if it is not otherwise available.])],
+ [#if HAVE_ARGZ_H
+# include <argz.h>
+#endif])
+
+AC_CHECK_FUNCS([argz_append argz_create_sep argz_insert argz_next argz_stringify])
+])# AC_LTDL_FUNC_ARGZ