diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-16 00:13:53 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-16 00:13:53 +0000 |
commit | ca0205ee617ab19b9dc4f6f322b501c57624c187 (patch) | |
tree | 774ee5769490a67cd97563023ebfcb374ef18a6a /gcc/aclocal.m4 | |
parent | 0ef21e140f1f09a785fa9c7cc9642924178f4de5 (diff) | |
download | gcc-ca0205ee617ab19b9dc4f6f322b501c57624c187.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103135 138bc75d-0d04-0410-961f-82ee72b054a4
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) |