Changeset 19 for trunk/configure.ac
- Timestamp:
- Feb 12, 2006, 10:49:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r18 r19 617 617 [ --enable-message-queue[[=MODE]] enable SysV message queue [[MODE=0700]]], 618 618 [ 619 if test "x${enable_message_queue}" = xyes; then 619 if test "x${ac_cv_header_sys_msg_h}" = "xyes"; then 620 if test "x${enable_message_queue}" = xyes; then 621 AC_DEFINE(WITH_MESSAGE_QUEUE) 622 AC_DEFINE_UNQUOTED(MESSAGE_QUEUE_MODE, 0700) 623 elif test "x${enable_message_queue}" != xno; then 624 echo "${enableval}" | grep ['[^0123456789]'] >/dev/null 2>&1 && 625 AC_MSG_ERROR([--enable-message-queue: MODE must be numeric]) 626 echo "${enableval}" | \ 627 grep ['0[0123456789][0123456789][0123456789]'] >/dev/null 2>&1 || 628 AC_MSG_ERROR([--enable-message-queue: MODE must be an octal (0nnn) number]) 620 629 AC_DEFINE(WITH_MESSAGE_QUEUE) 621 AC_DEFINE_UNQUOTED(MESSAGE_QUEUE_MODE, 0700) 622 elif test "x${enable_message_queue}" != xno; then 623 echo "${enableval}" | grep ['[^0123456789]'] >/dev/null 2>&1 && 624 AC_MSG_ERROR([--enable-message-queue: MODE must be numeric]) 625 echo "${enableval}" | \ 626 grep ['0[0123456789][0123456789][0123456789]'] >/dev/null 2>&1 || 627 AC_MSG_ERROR([--enable-message-queue: MODE must be an octal (0nnn) number]) 628 AC_DEFINE(WITH_MESSAGE_QUEUE) 629 AC_DEFINE_UNQUOTED(MESSAGE_QUEUE_MODE, ${enable_message_queue}) 630 AC_DEFINE_UNQUOTED(MESSAGE_QUEUE_MODE, ${enable_message_queue}) 631 fi 632 else 633 echo 634 echo "**********************************************" 635 echo 636 AC_MSG_WARN([sys/msg.h missing, --enable-message-queue disabled]) 637 echo 638 echo "**********************************************" 639 echo 630 640 fi 631 641 ] … … 871 881 AC_CHECK_PROG(HAVE_MYSQL_CONFIG, mysql_config, yes, no) 872 882 if test "$HAVE_MYSQL_CONFIG" = "yes"; then 873 echo "mysql_config found"883 # echo "mysql_config found" 874 884 sh_mysql_libs="`mysql_config --libs`" 875 885 # echo ${sh_mysql_libs} … … 880 890 # echo $LIBS 881 891 LIBS="$LIBS ${sh_mysql_libs}" 882 echo $LIBS892 # echo $LIBS 883 893 sh_mysql_cflags="`mysql_config --cflags`" 884 894 sh_mysql_cflags="`eval echo ${sh_mysql_cflags}`"
Note:
See TracChangeset
for help on using the changeset viewer.