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