comparison configure.ac @ 29408:f4cf798e6d8f stable

check for stropts.h (bug #60163) * configure.ac: Check for stropts.h and sys/stropts.h. * kpty.cpp: Also optionally include <stropts.h>.
author John W. Eaton <jwe@octave.org>
date Wed, 03 Mar 2021 15:50:41 -0500
parents cbbcdae5f4f5
children d6908a010a89 99e3912441ec
comparison
equal deleted inserted replaced
29406:69087119ee84 29408:f4cf798e6d8f
1087 ## C headers 1087 ## C headers
1088 1088
1089 dnl Use multiple AC_CHECKs to avoid line continuations '\' in list. 1089 dnl Use multiple AC_CHECKs to avoid line continuations '\' in list.
1090 AC_CHECK_HEADERS([dlfcn.h floatingpoint.h fpu_control.h grp.h]) 1090 AC_CHECK_HEADERS([dlfcn.h floatingpoint.h fpu_control.h grp.h])
1091 AC_CHECK_HEADERS([ieeefp.h pthread.h pwd.h sys/ioctl.h]) 1091 AC_CHECK_HEADERS([ieeefp.h pthread.h pwd.h sys/ioctl.h])
1092 AC_CHECK_HEADERS([stropts.h sys/stropts.h])
1092 1093
1093 ## Some versions of GCC fail when using -fopenmp and including 1094 ## Some versions of GCC fail when using -fopenmp and including
1094 ## stdatomic.h, so we try to work around that. Use the compile_ifelse 1095 ## stdatomic.h, so we try to work around that. Use the compile_ifelse
1095 ## macro because we are trying to test the case of the header file 1096 ## macro because we are trying to test the case of the header file
1096 ## existing but not being usable. The default warning from the 1097 ## existing but not being usable. The default warning from the