diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-09-14 12:16:39 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-09-14 12:16:39 +0000 |
commit | 3180c39914751174cb2cc852b29734be7f514394 (patch) | |
tree | 698d045c2f7d4e045963ff00b6f4ab42c5f2b595 | |
parent | ae2c21a794e789630c8d2d0364efdbef067260b5 (diff) | |
download | xine-lib-3180c39914751174cb2cc852b29734be7f514394.tar.gz xine-lib-3180c39914751174cb2cc852b29734be7f514394.tar.bz2 |
Simplify IPv6 check.
CVS patchset: 8254
CVS date: 2006/09/14 12:16:39
-rw-r--r-- | configure.ac | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac index ed154429f..59b1e8a76 100644 --- a/configure.ac +++ b/configure.ac @@ -491,19 +491,12 @@ dnl --------------------------------------------- dnl IPv6 dnl --------------------------------------------- -AC_ARG_ENABLE(ipv6, - AC_HELP_STRING([--enable-ipv6], [enable use of IPv6]), - enable_ipv6=$enableval, - enable_ipv6=no) - -echo -n "IPv6 is " -if test x$enable_ipv6 = xyes; then - CFLAGS="-DENABLE_IPV6 $CFLAGS" - echo "enabled" -else - echo "disabled" -fi +AC_ARG_ENABLE([ipv6], + AS_HELP_STRING([--enable-ipv6], [enable use of IPv6])) +if test "x$enable_ipv6" = "xyes"; then + AC_DEFINE([ENABLE_IPV6], [1], [Enable this when IPv6 is requested]) +fi dnl --------------------------------------------- dnl zlib |