Changeset 25662
- Timestamp:
- 10/08/20 17:54:25 (4 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/m4/issm_options.m4
r25658 r25662 204 204 AM_CONDITIONAL([MAC], [test "${IS_MAC}" == "yes"]) 205 205 AC_MSG_RESULT([${IS_MAC}]) 206 207 dnl If macOS, check if system copy of libc has fmemopen (if it is not 208 dnl macOS, we do not check, but still must set SYSTEM_HAS_FMEMOPEN) 209 SYSTEM_FMEMOPEN="no" 210 if test "${IS_MAC}" == "yes"; then 211 AC_MSG_CHECKING([if system libc has fmemopen]) 212 if [[ $(system_profiler SPSoftwareDataType | $(which grep) "System Version:" | sed -e "s/[[:space:]]*System Version: macOS //" | cut -d "." -f 2) -ge 13 ]]; then 213 SYSTEM_FMEMOPEN="yes" 214 fi 215 fi 216 AM_CONDITIONAL([SYSTEM_HAS_FMEMOPEN], [test "${SYSTEM_FMEMOPEN}" == "yes"]) 217 AC_MSG_RESULT([${SYSTEM_FMEMOPEN}]) 206 218 207 219 IS_WINDOWS=no -
issm/trunk-jpl/src/c/Makefile.am
r25658 r25662 353 353 ./modules/ModelProcessorx/Dakota/CreateParametersDakota.cpp \ 354 354 ./modules/ModelProcessorx/Dakota/UpdateElementsAndMaterialsDakota.cpp \ 355 ./modules/QmuStatisticsx/QmuStatisticsx.cpp \356 355 ./cores/dakota_core.cpp 356 if SYSTEM_FMEMOPEN 357 issm_sources += ./modules/QmuStatisticsx/QmuStatisticsx.cpp 358 fi 357 359 endif 358 360 #}}}
Note:
See TracChangeset
for help on using the changeset viewer.