configure.ac
branchstable-1.5
changeset 2725 e008dc9d8c9f
parent 2716 4f7421c058bb
parent 2724 b4a109b9e2a8
equal deleted inserted replaced
2722:5e5bec5ee9c1 2725:e008dc9d8c9f
  1079 
  1079 
  1080 AC_MSG_CHECKING([whether to assign the SII to PDI])
  1080 AC_MSG_CHECKING([whether to assign the SII to PDI])
  1081 
  1081 
  1082 AC_ARG_ENABLE([sii-assign],
  1082 AC_ARG_ENABLE([sii-assign],
  1083     AS_HELP_STRING([--enable-sii-assign],
  1083     AS_HELP_STRING([--enable-sii-assign],
  1084                    [Enable SII assignment to PDI (default: no)]),
  1084                    [Enable SII assignment to PDI (default: yes)]),
  1085     [
  1085     [
  1086         case "${enableval}" in
  1086         case "${enableval}" in
  1087             yes) siiassign=1
  1087             yes) siiassign=1
  1088                 ;;
  1088                 ;;
  1089             no) siiassign=0
  1089             no) siiassign=0
  1090                 ;;
  1090                 ;;
  1091             *) AC_MSG_ERROR([Invalid value for --enable-sii-assign])
  1091             *) AC_MSG_ERROR([Invalid value for --enable-sii-assign])
  1092                 ;;
  1092                 ;;
  1093         esac
  1093         esac
  1094     ],
  1094     ],
  1095     [siiassign=0]
  1095     [siiassign=1]
  1096 )
  1096 )
  1097 
  1097 
  1098 if test "x${siiassign}" = "x1"; then
  1098 if test "x${siiassign}" = "x1"; then
  1099     AC_DEFINE([EC_SII_ASSIGN], [1], [Assign SII to PDI])
  1099     AC_DEFINE([EC_SII_ASSIGN], [1], [Assign SII to PDI])
  1100     AC_MSG_RESULT([yes])
  1100     AC_MSG_RESULT([yes])