diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-10-17 22:14:53 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-10-17 22:14:53 -0700 |
commit | ecb87d847b2035242c2921a4b88a7c997c565e2a (patch) | |
tree | 2efe5fe0eeadc40d52fd59ce387622dbf864c92d | |
parent | dff33accfb9b04f26f93ff3d9d34f2aec5cf5002 (diff) | |
download | tcpdump-ecb87d847b2035242c2921a4b88a7c997c565e2a.tar.gz |
Explain why we set -xansi -signed for MIPS C.
-rw-r--r-- | aclocal.m4 | 15 | ||||
-rwxr-xr-x | configure | 15 |
2 files changed, 30 insertions, 0 deletions
@@ -145,6 +145,21 @@ AC_DEFUN(AC_LBL_C_INIT, # don't want to try using GCC-style -W flags. # ac_lbl_cc_dont_try_gcc_dashW=yes + # + # It also, apparently, defaults to "char" being + # unsigned, unlike most other C implementations; + # I suppose we could say "signed char" whenever + # we want to guarantee a signed "char", but let's + # just force signed chars. + # + # -xansi is normally the default, but the + # configure script was setting it; perhaps -cckr + # was the default in the Old Days. (Then again, + # that would probably be for backwards compatibility + # in the days when ANSI C was Shiny and New, i.e. + # 1989 and the early '90's, so maybe we can just + # drop support for those compilers.) + # $1="$$1 -xansi -signed" ;; @@ -3406,6 +3406,21 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext # don't want to try using GCC-style -W flags. # ac_lbl_cc_dont_try_gcc_dashW=yes + # + # It also, apparently, defaults to "char" being + # unsigned, unlike most other C implementations; + # I suppose we could say "signed char" whenever + # we want to guarantee a signed "char", but let's + # just force signed chars. + # + # -xansi is normally the default, but the + # configure script was setting it; perhaps -cckr + # was the default in the Old Days. (Then again, + # that would probably be for backwards compatibility + # in the days when ANSI C was Shiny and New, i.e. + # 1989 and the early '90's, so maybe we can just + # drop support for those compilers.) + # V_CCOPT="$V_CCOPT -xansi -signed" ;; |