mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-09-12 00:24:52 -04:00
19 lines
535 B
Plaintext
19 lines
535 B
Plaintext
dnl ######################################################################
|
|
dnl Specify additional cpp options based on the OS and the compiler
|
|
AC_DEFUN([AMU_OS_CPPFLAGS],
|
|
[
|
|
AC_CACHE_CHECK(additional preprocessor flags,
|
|
ac_cv_os_cppflags,
|
|
[
|
|
case "${host_os}" in
|
|
# off for now, posix may be a broken thing for nextstep3...
|
|
# nextstep* )
|
|
# ac_cv_os_cppflags="-D_POSIX_SOURCE"
|
|
# ;;
|
|
* ) ac_cv_os_cppflags="" ;;
|
|
esac
|
|
])
|
|
CPPFLAGS="$CPPFLAGS $ac_cv_os_cppflags"
|
|
])
|
|
dnl ======================================================================
|