diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2005-08-16 00:13:53 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2005-08-16 00:13:53 +0000 |
commit | 06145cb9b44f59899973a773983c4adfe7f21f72 (patch) | |
tree | 774ee5769490a67cd97563023ebfcb374ef18a6a /gcc/aclocal.m4 | |
parent | 54778d9cf50cf51781b7a1d08d963a6c8e803ac1 (diff) | |
download | gcc-06145cb9b44f59899973a773983c4adfe7f21f72.tar.gz |
aclocal.m4 (gcc_AC_FUNC_PRINTF_PTR): Delete.
* aclocal.m4 (gcc_AC_FUNC_PRINTF_PTR): Delete.
* configure.ac: Don't call gcc_AC_FUNC_PRINTF_PTR.
* system.h (HOST_PTR_PRINTF): Don't define, poison it.
* bitmap.c, c-decl.c, config/i386/i386-interix.h,
config/iq2000/iq2000.c, mips-tfile.c, print-rtl.c, print-tree.c:
Delete HOST_PTR_PRINTF.
* configure, config.in: Regenerate.
cp:
* name-lookup.c, ptree.c: Delete HOST_PTR_PRINTF.
From-SVN: r103135
Diffstat (limited to 'gcc/aclocal.m4')
-rw-r--r-- | gcc/aclocal.m4 | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc/aclocal.m4 b/gcc/aclocal.m4 index 789112bc47d..2b1c198e395 100644 --- a/gcc/aclocal.m4 +++ b/gcc/aclocal.m4 @@ -89,27 +89,6 @@ make_compare_target=$gcc_cv_prog_cmp_skip AC_SUBST(make_compare_target) ]) -dnl See if the printf functions in libc support %p in format strings. -AC_DEFUN([gcc_AC_FUNC_PRINTF_PTR], -[AC_CACHE_CHECK(whether the printf functions support %p, - gcc_cv_func_printf_ptr, -[AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h> - -int main() -{ - char buf[64]; - char *p = buf, *q = NULL; - sprintf(buf, "%p", p); - sscanf(buf, "%p", &q); - return (p != q); -}]])], gcc_cv_func_printf_ptr=yes, gcc_cv_func_printf_ptr=no, - gcc_cv_func_printf_ptr=no) -rm -f core core.* *.core]) -if test $gcc_cv_func_printf_ptr = yes ; then - AC_DEFINE(HAVE_PRINTF_PTR, 1, [Define if printf supports "%p".]) -fi -]) - dnl See if symbolic links work and if not, try to substitute either hard links or simple copy. AC_DEFUN([gcc_AC_PROG_LN_S], [AC_MSG_CHECKING(whether ln -s works) |