Changeset 14660 for trunk/configure.ac


Ignore:
Timestamp:
Jan 4, 2016, 7:14:38 PM (6 years ago)
Author:
mikedld
Message:

#5663: Autotools fixes: proper kqueue check, macro definitions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r14659 r14660  
    220220AC_ARG_WITH([kqueue],
    221221            [AS_HELP_STRING([--with-kqueue],[Enable kqueue support (default=auto)])],
    222             [WITH_KQUEUE=${withval}],
    223             [WITH_KQUEUE=auto])
     222            [WANT_KQUEUE=${withval}],
     223            [WANT_KQUEUE=auto])
    224224HAVE_KQUEUE=0
    225 AS_IF([test "x$WITH_KQUEUE" != "xno"],
     225AS_IF([test "x$WANT_KQUEUE" != "xno"],
    226226      [AC_CHECK_HEADER([sys/event.h],
    227227                       [AC_CHECK_FUNC([kqueue],
     
    229229                       [AS_IF([test "x$WANT_KQUEUE" = "xyes"],
    230230                              [AC_MSG_ERROR("kqueue not found!")])])])
    231 AM_CONDITIONAL([USE_KQUEUE], [test "x$WITH_KQUEUE" != "xno" -a $HAVE_KQUEUE -eq 1])
     231AM_CONDITIONAL([USE_KQUEUE], [test "x$WANT_KQUEUE" != "xno" -a $HAVE_KQUEUE -eq 1])
    232232
    233233
Note: See TracChangeset for help on using the changeset viewer.