mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
LLVM doesn't use libelf. Remove libelf configurey.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75643 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -864,8 +864,6 @@ dnl=== SECTION 5: Check for libraries
|
|||||||
dnl===
|
dnl===
|
||||||
dnl===-----------------------------------------------------------------------===
|
dnl===-----------------------------------------------------------------------===
|
||||||
|
|
||||||
dnl libelf is for sparc only; we can ignore it if we don't have it
|
|
||||||
AC_CHECK_LIB(elf, elf_begin)
|
|
||||||
AC_CHECK_LIB(m,sin)
|
AC_CHECK_LIB(m,sin)
|
||||||
if test "$llvm_cv_os_type" = "MingW" ; then
|
if test "$llvm_cv_os_type" = "MingW" ; then
|
||||||
AC_CHECK_LIB(imagehlp, main)
|
AC_CHECK_LIB(imagehlp, main)
|
||||||
|
|||||||
89
configure
vendored
89
configure
vendored
@@ -27353,95 +27353,6 @@ fi
|
|||||||
{ echo "$as_me:$LINENO: result: ok" >&5
|
{ echo "$as_me:$LINENO: result: ok" >&5
|
||||||
echo "${ECHO_T}ok" >&6; }
|
echo "${ECHO_T}ok" >&6; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{ echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
|
|
||||||
echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
|
|
||||||
if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
|
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
||||||
else
|
|
||||||
ac_check_lib_save_LIBS=$LIBS
|
|
||||||
LIBS="-lelf $LIBS"
|
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
|
||||||
/* confdefs.h. */
|
|
||||||
_ACEOF
|
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
|
||||||
cat >>conftest.$ac_ext <<_ACEOF
|
|
||||||
/* end confdefs.h. */
|
|
||||||
|
|
||||||
/* Override any GCC internal prototype to avoid an error.
|
|
||||||
Use char because int might match the return type of a GCC
|
|
||||||
builtin and then its argument prototype would still apply. */
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C"
|
|
||||||
#endif
|
|
||||||
char elf_begin ();
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
return elf_begin ();
|
|
||||||
;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
_ACEOF
|
|
||||||
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
||||||
if { (ac_try="$ac_link"
|
|
||||||
case "(($ac_try" in
|
|
||||||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
||||||
*) ac_try_echo=$ac_try;;
|
|
||||||
esac
|
|
||||||
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
||||||
(eval "$ac_link") 2>conftest.er1
|
|
||||||
ac_status=$?
|
|
||||||
grep -v '^ *+' conftest.er1 >conftest.err
|
|
||||||
rm -f conftest.er1
|
|
||||||
cat conftest.err >&5
|
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
||||||
(exit $ac_status); } &&
|
|
||||||
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
||||||
{ (case "(($ac_try" in
|
|
||||||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
||||||
*) ac_try_echo=$ac_try;;
|
|
||||||
esac
|
|
||||||
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
||||||
(eval "$ac_try") 2>&5
|
|
||||||
ac_status=$?
|
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
||||||
(exit $ac_status); }; } &&
|
|
||||||
{ ac_try='test -s conftest$ac_exeext'
|
|
||||||
{ (case "(($ac_try" in
|
|
||||||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
||||||
*) ac_try_echo=$ac_try;;
|
|
||||||
esac
|
|
||||||
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
||||||
(eval "$ac_try") 2>&5
|
|
||||||
ac_status=$?
|
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
||||||
(exit $ac_status); }; }; then
|
|
||||||
ac_cv_lib_elf_elf_begin=yes
|
|
||||||
else
|
|
||||||
echo "$as_me: failed program was:" >&5
|
|
||||||
sed 's/^/| /' conftest.$ac_ext >&5
|
|
||||||
|
|
||||||
ac_cv_lib_elf_elf_begin=no
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -f core conftest.err conftest.$ac_objext \
|
|
||||||
conftest$ac_exeext conftest.$ac_ext
|
|
||||||
LIBS=$ac_check_lib_save_LIBS
|
|
||||||
fi
|
|
||||||
{ echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
|
|
||||||
echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
|
|
||||||
if test $ac_cv_lib_elf_elf_begin = yes; then
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
|
||||||
#define HAVE_LIBELF 1
|
|
||||||
_ACEOF
|
|
||||||
|
|
||||||
LIBS="-lelf $LIBS"
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
{ echo "$as_me:$LINENO: checking for sin in -lm" >&5
|
{ echo "$as_me:$LINENO: checking for sin in -lm" >&5
|
||||||
echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
|
echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
|
||||||
if test "${ac_cv_lib_m_sin+set}" = set; then
|
if test "${ac_cv_lib_m_sin+set}" = set; then
|
||||||
|
|||||||
@@ -181,9 +181,6 @@
|
|||||||
/* Define if you have the libdl library or equivalent. */
|
/* Define if you have the libdl library or equivalent. */
|
||||||
#undef HAVE_LIBDL
|
#undef HAVE_LIBDL
|
||||||
|
|
||||||
/* Define to 1 if you have the `elf' library (-lelf). */
|
|
||||||
#undef HAVE_LIBELF
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `imagehlp' library (-limagehlp). */
|
/* Define to 1 if you have the `imagehlp' library (-limagehlp). */
|
||||||
#cmakedefine HAVE_LIBIMAGEHLP ${HAVE_LIBIMAGEHLP}
|
#cmakedefine HAVE_LIBIMAGEHLP ${HAVE_LIBIMAGEHLP}
|
||||||
|
|
||||||
|
|||||||
@@ -184,9 +184,6 @@
|
|||||||
/* Define if you have the libdl library or equivalent. */
|
/* Define if you have the libdl library or equivalent. */
|
||||||
#undef HAVE_LIBDL
|
#undef HAVE_LIBDL
|
||||||
|
|
||||||
/* Define to 1 if you have the `elf' library (-lelf). */
|
|
||||||
#undef HAVE_LIBELF
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `imagehlp' library (-limagehlp). */
|
/* Define to 1 if you have the `imagehlp' library (-limagehlp). */
|
||||||
#undef HAVE_LIBIMAGEHLP
|
#undef HAVE_LIBIMAGEHLP
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user