mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 22:32:38 +00:00
Converted with autoupdate for autoconf 2.50 -> 2.59 differences.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18343 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2197262119
commit
5252d95695
@ -75,7 +75,7 @@ AC_CONFIG_SUBDIRS([libltdl])
|
|||||||
# Perform all the checks necessary for compilation of the ltdl objects
|
# Perform all the checks necessary for compilation of the ltdl objects
|
||||||
# -- including compiler checks and header checks.
|
# -- including compiler checks and header checks.
|
||||||
AC_DEFUN([AC_LIB_LTDL],
|
AC_DEFUN([AC_LIB_LTDL],
|
||||||
[AC_PREREQ(2.50)
|
[AC_PREREQ(2.59)
|
||||||
AC_REQUIRE([AC_PROG_CC])
|
AC_REQUIRE([AC_PROG_CC])
|
||||||
AC_REQUIRE([AC_C_CONST])
|
AC_REQUIRE([AC_C_CONST])
|
||||||
AC_REQUIRE([AC_HEADER_STDC])
|
AC_REQUIRE([AC_HEADER_STDC])
|
||||||
@ -110,7 +110,7 @@ AC_CHECK_FUNCS([closedir opendir readdir])
|
|||||||
# ----------------------
|
# ----------------------
|
||||||
AC_DEFUN([AC_LTDL_ENABLE_INSTALL],
|
AC_DEFUN([AC_LTDL_ENABLE_INSTALL],
|
||||||
[AC_ARG_ENABLE([ltdl-install],
|
[AC_ARG_ENABLE([ltdl-install],
|
||||||
[AC_HELP_STRING([--enable-ltdl-install], [install libltdl])])
|
[AS_HELP_STRING([--enable-ltdl-install], [install libltdl])])
|
||||||
|
|
||||||
AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno)
|
AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno)
|
||||||
AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno)
|
AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno)
|
||||||
@ -313,14 +313,11 @@ AC_CHECK_FUNC([shl_load],
|
|||||||
[AC_DEFINE([HAVE_LIBDL], [1],
|
[AC_DEFINE([HAVE_LIBDL], [1],
|
||||||
[Define if you have the libdl library or equivalent.])
|
[Define if you have the libdl library or equivalent.])
|
||||||
LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"],
|
LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"],
|
||||||
[AC_TRY_LINK([#if HAVE_DLFCN_H
|
[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
|
||||||
# include <dlfcn.h>
|
# include <dlfcn.h>
|
||||||
#endif
|
#endif
|
||||||
],
|
]], [[dlopen(0, 0);]])],[AC_DEFINE([HAVE_LIBDL], [1],
|
||||||
[dlopen(0, 0);],
|
[Define if you have the libdl library or equivalent.]) libltdl_cv_func_dlopen="yes"],[AC_CHECK_LIB([svld], [dlopen],
|
||||||
[AC_DEFINE([HAVE_LIBDL], [1],
|
|
||||||
[Define if you have the libdl library or equivalent.]) libltdl_cv_func_dlopen="yes"],
|
|
||||||
[AC_CHECK_LIB([svld], [dlopen],
|
|
||||||
[AC_DEFINE([HAVE_LIBDL], [1],
|
[AC_DEFINE([HAVE_LIBDL], [1],
|
||||||
[Define if you have the libdl library or equivalent.])
|
[Define if you have the libdl library or equivalent.])
|
||||||
LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"],
|
LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"],
|
||||||
@ -372,15 +369,15 @@ EOF
|
|||||||
if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
|
if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
echo "configure: cannot find nm_test_func in $ac_nlist" >&AC_FD_CC
|
echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD()
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
|
echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD()
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "configure: failed program was:" >&AC_FD_CC
|
echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD()
|
||||||
cat conftest.c >&AC_FD_CC
|
cat conftest.c >&AS_MESSAGE_LOG_FD()
|
||||||
fi
|
fi
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user