]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
build: run ./configure for libevent even when not needed
authorVincent Bernat <vincent@bernat.im>
Sun, 16 Aug 2015 10:31:45 +0000 (12:31 +0200)
committerVincent Bernat <vincent@bernat.im>
Sun, 16 Aug 2015 10:31:45 +0000 (12:31 +0200)
We need it for "make dist"...

m4/libevent.m4

index 257c8cfee71fc713f8b58717ff7faeb57239096a..f7c829f6663943b4f1245c2f55fbbd50821df3d6 100644 (file)
@@ -43,20 +43,20 @@ AC_DEFUN([lldp_CHECK_LIBEVENT], [
     unset LIBEVENT_LIBS
     LIBEVENT_CFLAGS="-I\$(top_srcdir)/libevent/include -I\$(top_builddir)/libevent/include"
     LIBEVENT_LDFLAGS="\$(top_builddir)/libevent/libevent.la"
-
-    # Call ./configure in libevent
-    libevent_configure_args="$libevent_configure_args --disable-libevent-regress"
-    libevent_configure_args="$libevent_configure_args --disable-thread-support"
-    libevent_configure_args="$libevent_configure_args --disable-openssl"
-    libevent_configure_args="$libevent_configure_args --disable-malloc-replacement"
-    libevent_configure_args="$libevent_configure_args --disable-debug-mode"
-    libevent_configure_args="$libevent_configure_args --enable-function-sections"
-    libevent_configure_args="$libevent_configure_args --disable-shared"
-    libevent_configure_args="$libevent_configure_args --with-pic"
-    libevent_configure_args="$libevent_configure_args --enable-static"
-    lldp_CONFIG_SUBDIRS([libevent], [$libevent_configure_args])
   fi
 
+  # Call ./configure in libevent. Need it for make dist...
+  libevent_configure_args="$libevent_configure_args --disable-libevent-regress"
+  libevent_configure_args="$libevent_configure_args --disable-thread-support"
+  libevent_configure_args="$libevent_configure_args --disable-openssl"
+  libevent_configure_args="$libevent_configure_args --disable-malloc-replacement"
+  libevent_configure_args="$libevent_configure_args --disable-debug-mode"
+  libevent_configure_args="$libevent_configure_args --enable-function-sections"
+  libevent_configure_args="$libevent_configure_args --disable-shared"
+  libevent_configure_args="$libevent_configure_args --with-pic"
+  libevent_configure_args="$libevent_configure_args --enable-static"
+  lldp_CONFIG_SUBDIRS([libevent], [$libevent_configure_args])
+
   AM_CONDITIONAL([LIBEVENT_EMBEDDED], [test x"$LIBEVENT_EMBEDDED" != x])
   AC_SUBST([LIBEVENT_LIBS])
   AC_SUBST([LIBEVENT_CFLAGS])