Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: libiberty/aclocal.m4

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « libiberty/Makefile.in ('k') | libiberty/configure » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 sinclude(../config/acx.m4) 1 sinclude(../config/acx.m4)
2 sinclude(../config/no-executables.m4) 2 sinclude(../config/no-executables.m4)
3 sinclude(../config/override.m4) 3 sinclude(../config/override.m4)
4 sinclude(../config/picflag.m4) 4 sinclude(../config/picflag.m4)
5 sinclude(../config/warnings.m4) 5 sinclude(../config/warnings.m4)
6 6
7 dnl See whether strncmp reads past the end of its string parameters. 7 dnl See whether strncmp reads past the end of its string parameters.
8 dnl On some versions of SunOS4 at least, strncmp reads a word at a time 8 dnl On some versions of SunOS4 at least, strncmp reads a word at a time
9 dnl but erroneously reads past the end of strings. This can cause 9 dnl but erroneously reads past the end of strings. This can cause
10 dnl a SEGV in some cases. 10 dnl a SEGV in some cases.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 char *r = (char *) p + 0xe; 65 char *r = (char *) p + 0xe;
66 66
67 strcpy (q, string); 67 strcpy (q, string);
68 strcpy (r, string); 68 strcpy (r, string);
69 strncmp (r, q, 14); 69 strncmp (r, q, 14);
70 } 70 }
71 #endif /* HAVE_MMAP || HAVE_MMAP_ANYWHERE */ 71 #endif /* HAVE_MMAP || HAVE_MMAP_ANYWHERE */
72 exit (0); 72 exit (0);
73 } 73 }
74 ], ac_cv_func_strncmp_works=yes, ac_cv_func_strncmp_works=no, 74 ], ac_cv_func_strncmp_works=yes, ac_cv_func_strncmp_works=no,
75 ac_cv_func_strncmp_works=no) 75 ac_cv_func_strncmp_works=yes)
76 rm -f core core.* *.core]) 76 rm -f core core.* *.core])
77 if test $ac_cv_func_strncmp_works = no ; then 77 if test $ac_cv_func_strncmp_works = no ; then
78 AC_LIBOBJ([strncmp]) 78 AC_LIBOBJ([strncmp])
79 fi 79 fi
80 ]) 80 ])
81 81
82 dnl See if errno must be declared even when <errno.h> is included. 82 dnl See if errno must be declared even when <errno.h> is included.
83 AC_DEFUN(libiberty_AC_DECLARE_ERRNO, 83 AC_DEFUN(libiberty_AC_DECLARE_ERRNO,
84 [AC_CACHE_CHECK(whether errno must be declared, libiberty_cv_declare_errno, 84 [AC_CACHE_CHECK(whether errno must be declared, libiberty_cv_declare_errno,
85 [AC_TRY_COMPILE( 85 [AC_TRY_COMPILE(
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 ac_cv_c_stack_direction=1, 166 ac_cv_c_stack_direction=1,
167 ac_cv_c_stack_direction=-1, 167 ac_cv_c_stack_direction=-1,
168 ac_cv_c_stack_direction=0)]) 168 ac_cv_c_stack_direction=0)])
169 AC_DEFINE_UNQUOTED(STACK_DIRECTION, $ac_cv_c_stack_direction, 169 AC_DEFINE_UNQUOTED(STACK_DIRECTION, $ac_cv_c_stack_direction,
170 [Define if you know the direction of stack growth for your system; 170 [Define if you know the direction of stack growth for your system;
171 otherwise it will be automatically deduced at run-time. 171 otherwise it will be automatically deduced at run-time.
172 STACK_DIRECTION > 0 => grows toward higher addresses 172 STACK_DIRECTION > 0 => grows toward higher addresses
173 STACK_DIRECTION < 0 => grows toward lower addresses 173 STACK_DIRECTION < 0 => grows toward lower addresses
174 STACK_DIRECTION = 0 => direction of growth unknown]) 174 STACK_DIRECTION = 0 => direction of growth unknown])
175 ]) 175 ])
OLDNEW
« no previous file with comments | « libiberty/Makefile.in ('k') | libiberty/configure » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698