]> The Tcpdump Group git mirrors - tcpdump/blobdiff - configure
Point people to the autoconf documentation on shell substitution.
[tcpdump] / configure
index 5c1bf2753c5850188ddd26e157400c61852f3cd0..b6cc137422115882db2f226b618a33dbdacc4094 100755 (executable)
--- a/configure
+++ b/configure
@@ -7579,6 +7579,13 @@ fi
                # Found - use it to get the include flags for
                # libpcap and the flags to link with libpcap.
                #
+               # Please read section 11.6 "Shell Substitutions"
+               # in the autoconf manual before doing anything
+               # to this that involves quoting.  Especially note
+               # the statement "There is just no portable way to use
+               # double-quoted strings inside double-quoted back-quoted
+               # expressions (pfew!)."
+               #
                cflags=`"$PCAP_CONFIG" --cflags`
                V_INCLS="$cflags $V_INCLS"
                libpcap=`"$PCAP_CONFIG" --libs`
@@ -7729,7 +7736,14 @@ fi
                # The libpcap directory has a pcap-config script.
                # Use it to get any additioal libraries needed
                # to link with the libpcap archive library in
-               # that directory
+               # that directory.
+               #
+               # Please read section 11.6 "Shell Substitutions"
+               # in the autoconf manual before doing anything
+               # to this that involves quoting.  Especially note
+               # the statement "There is just no portable way to use
+               # double-quoted strings inside double-quoted back-quoted
+               # expressions (pfew!)."
                #
                additional_libs=`"$PCAP_CONFIG" --additional-libs --static`
                libpcap="$libpcap $additional_libs"