Wireshark mailing list archives

Re: I want to add a default header file path


From: Stephen Fisher <steve () stephen-fisher com>
Date: Thu, 6 Jan 2011 10:00:22 -0700

On Thu, Jan 06, 2011 at 09:54:38PM +0800, 刘昆 wrote:

I want to add a default header file include path just like 
"/home/administrator/program/openssl/include" into the wireshark 
source code to make the code I have modifed.

From ./configure --help

  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>

So you set the CPPFLAGS environment variable before runnintg configure, 
for example:

tcsh: setenv CPPFLAGS -I/home/administrator/program/openssl/include
bash: export CPPFLAGS=-I/home/administrator/program/openssl/include

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: