changeset 22000:f471f513ffd0

also define gid_t, uid_t, and nlink_t in octave-config.h (bug #48332) * mk-octave-config-h.sh: Extract gid_t, uid_t, and nlink_t defnitions from config.h and write them to octave-config.h
author John W. Eaton <jwe@octave.org>
date Wed, 29 Jun 2016 18:50:37 -0400
parents 492472927079
children 1d775d40a697
files build-aux/mk-octave-config-h.sh
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/build-aux/mk-octave-config-h.sh	Wed Jun 29 16:13:27 2016 -0400
+++ b/build-aux/mk-octave-config-h.sh	Wed Jun 29 18:50:37 2016 -0400
@@ -173,6 +173,11 @@
 sed -n 's/#\(\(undef\|define\) OCTAVE_HAVE_UNSIGNED_LONG_LONG_INT.*$\)/#  \1/p' $config_h_file
 sed -n 's/#\(\(undef\|define\) OCTAVE_HAVE_OVERLOAD_CHAR_INT8_TYPES.*$\)/#  \1/p' $config_h_file
 
+sed -n 's/#\(\(undef\|define\) gid_t.*$\)/#  \1/p' $config_h_file
+sed -n 's/#\(\(undef\|define\) uid_t.*$\)/#  \1/p' $config_h_file
+
+sed -n 's/#\(\(undef\|define\) nlink_t.*$\)/#  \1/p' $config_h_file
+
 if grep "#undef HAVE_DEV_T" $config_h_file > /dev/null; then
   cat << EOF