xref: /netbsd-src/external/bsd/am-utils/dist/m4/macros/os_cppflags.m4 (revision a53f50b9b44dc9467ccc9c464999b1d1c509cb0c)
1dnl ######################################################################
2dnl Specify additional cpp options based on the OS and the compiler
3AC_DEFUN([AMU_OS_CPPFLAGS],
4[
5AC_CACHE_CHECK(additional preprocessor flags,
6ac_cv_os_cppflags,
7[
8case "${host_os}" in
9# off for now, posix may be a broken thing for nextstep3...
10#	nextstep* )
11#		ac_cv_os_cppflags="-D_POSIX_SOURCE"
12#		;;
13	* )	ac_cv_os_cppflags="" ;;
14esac
15])
16CPPFLAGS="$CPPFLAGS $ac_cv_os_cppflags"
17])
18dnl ======================================================================
19