AC_MSG_CHECKING([whether to build example programs])AC_ARG_ENABLE([demos], AC_HELP_STRING([--enable-demos], [build example programs]))AM_CONDITIONAL([COND_DEMOS], [test "$enable_demos" = yes])if test "$enable_demos" = yesthen AC_MSG_RESULT([yes])else AC_MSG_RESULT([no])fi