]> arthur.barton.de Git - netatalk.git/commitdiff
Only configure libevent when used
authorRalph Boehme <sloowfranklin@gmail.com>
Fri, 22 Mar 2013 13:37:06 +0000 (14:37 +0100)
committerRalph Boehme <sloowfranklin@gmail.com>
Fri, 22 Mar 2013 13:37:06 +0000 (14:37 +0100)
macros/netatalk.m4

index fbf9d4905ced30f00ec3dbb2fdd0c9df94c8ce2d..3d4576e6bddc6369a51596fce4c7b7ea261ea99c 100644 (file)
@@ -106,7 +106,9 @@ AC_DEFUN([AC_NETATALK_LIBEVENT], [
         AC_MSG_ERROR([--with-libevent requires a path])
     fi
     AC_MSG_RESULT([$use_bundled_libevent])
-    AC_CONFIG_SUBDIRS([libevent])
+    if test x"$use_bundled_libevent" = x"yes" ; then
+        AC_CONFIG_SUBDIRS([libevent])
+    fi
     AC_SUBST(LIBEVENT_CFLAGS)
     AC_SUBST(LIBEVENT_LDFLAGS)
     AM_CONDITIONAL(USE_BUILTIN_LIBEVENT, test x"$use_bundled_libevent" = x"yes")