]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
configure.ac: escape $srcdir when used in a variable
authorJason Ish <ish@unx.ca>
Mon, 16 May 2016 07:21:33 +0000 (01:21 -0600)
committerVictor Julien <victor@inliniac.net>
Tue, 17 May 2016 10:28:39 +0000 (12:28 +0200)
$srcdir needs to be escaped for proper expansion when used
as part of a Makefile variable.

configure.ac

index 16ca5edd4fd6622d0863a97119ecf597dc6d9960..c6c5e9a172d9cd365203efd16b782010a92d1219 100644 (file)
             HTP_LDADD="../libhtp/htp/libhtp.la"
             AC_SUBST(HTP_LDADD)
             # make sure libhtp is added to the includes
-            CPPFLAGS="-I${srcdir}/../libhtp/ ${CPPFLAGS}"
+            CPPFLAGS="-I\${srcdir}/../libhtp/ ${CPPFLAGS}"
 
             AC_CHECK_HEADER(iconv.h,,[AC_ERROR(iconv.h not found ...)])
             AC_CHECK_LIB(iconv, libiconv_close)