1dnl ###################################################################### 2dnl Initial settings for CPPFLAGS (-I options) 3dnl NOTE: this is for configuration as well as compilations! 4AC_DEFUN([AMU_OPT_CPPFLAGS], 5[AC_MSG_CHECKING(for configuration/compilation (-I) preprocessor flags) 6AC_ARG_ENABLE(cppflags, 7AC_HELP_STRING([--enable-cppflags=ARG], 8 [configure/compile with ARG (-I) preprocessor flags]), 9[ 10if test "$enableval" = "" || test "$enableval" = "yes" || test "$enableval" = "no"; then 11 AC_MSG_ERROR(cppflags must be supplied if option is used) 12fi 13# use supplied options 14CPPFLAGS="$CPPFLAGS $enableval" 15export CPPFLAGS 16AC_MSG_RESULT($enableval) 17], [ 18 # default is to have no additional flags 19 AC_MSG_RESULT(none) 20]) 21]) 22dnl ====================================================================== 23