Mercurial > octave
comparison build-aux/mk-octave-config-h.sh @ 21302:8376de2eaf00
define OCTAVE_HAVE_FAST_INT_OPS in octave-config.h
* acinclude.m4 (OCTAVE_FAST_INT_OPS): Define OCTAVE_HAVE_FAST_INT_OPS
instead of HAVE_FAST_INT_OPS.
* oct-inttypes.cc, oct-inttypes.h: Use new macro name.
* mk-octave-config-h.sh: Emit definition of OCTAVE_HAVE_FAST_INT_OPS.
* build-env-features.sh: Also include symbols beginning with
"OCTAVE_HAVE_".
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 18 Feb 2016 16:42:42 -0500 |
parents | 40de9f8f23a6 |
children | 64be7d374f86 |
comparison
equal
deleted
inserted
replaced
21301:40de9f8f23a6 | 21302:8376de2eaf00 |
---|---|
119 /* All other compilers, at least for now. */ | 119 /* All other compilers, at least for now. */ |
120 # define OCTAVE_EXPORT | 120 # define OCTAVE_EXPORT |
121 # define OCTAVE_IMPORT | 121 # define OCTAVE_IMPORT |
122 #endif | 122 #endif |
123 | 123 |
124 #define OCTAVE_API OCTAVE_IMPORT | 124 n#define OCTAVE_API OCTAVE_IMPORT |
125 #define OCTINTERP_API OCTAVE_IMPORT | 125 #define OCTINTERP_API OCTAVE_IMPORT |
126 | 126 |
127 #include <stdint.h> | 127 #include <stdint.h> |
128 EOF | 128 EOF |
129 | 129 |
149 grep "#\(undef\|define\) OCTAVE_ENABLE_64" $config_h_file | 149 grep "#\(undef\|define\) OCTAVE_ENABLE_64" $config_h_file |
150 grep "#\(undef\|define\) OCTAVE_ENABLE_ATOMIC_REFCOUNT" $config_h_file | 150 grep "#\(undef\|define\) OCTAVE_ENABLE_ATOMIC_REFCOUNT" $config_h_file |
151 grep "#\(undef\|define\) OCTAVE_ENABLE_BOUNDS_CHECK" $config_h_file | 151 grep "#\(undef\|define\) OCTAVE_ENABLE_BOUNDS_CHECK" $config_h_file |
152 grep "#\(undef\|define\) OCTAVE_ENABLE_OPENMP" $config_h_file | 152 grep "#\(undef\|define\) OCTAVE_ENABLE_OPENMP" $config_h_file |
153 | 153 |
154 grep "#\(undef\|define\) OCTAVE_HAVE_FAST_INT_OPS" $config_h_file | |
155 | |
154 if grep "#undef HAVE_DEV_T" $config_h_file > /dev/null; then | 156 if grep "#undef HAVE_DEV_T" $config_h_file > /dev/null; then |
155 cat << EOF | 157 cat << EOF |
156 | 158 |
157 typedef short dev_t; | 159 typedef short dev_t; |
158 | 160 |