From a89c52939f265909c82e4ba14bf55f4529564cb8 Mon Sep 17 00:00:00 2001 From: Balint Reczey Date: Sun, 1 Aug 2010 10:45:42 +0000 Subject: Use local copy of Wireshark documentation on UNIX if it's available. Installation has to be done manually to the location specified by --docdir configure option. svn path=/trunk/; revision=33683 --- configure.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 75f7d9a6d7..e00431334e 100644 --- a/configure.in +++ b/configure.in @@ -654,6 +654,17 @@ datafiledir=`( )` AC_DEFINE_UNQUOTED(DATAFILE_DIR,"$datafiledir", [Directory for data]) +# Create DOC_DIR #define for config.h +docdir=`( + test "x$prefix" = xNONE && prefix=$ac_default_prefix + test "x$exec_prefix" = xNONE && exec_prefix=${prefix} + # Ugly hack, but I don't see how this problem can be solved + # properly that DOC_DIR had a value starting with + # "${prefix}/" instead of e.g. "/usr/local/" + eval eval echo "$docdir" +)` +AC_DEFINE_UNQUOTED(DOC_DIR, "$docdir", [Directory for docs]) + # GTK checks; we require GTK+ 2.4 or later. # We don't add $GLIB_LIBS to LIBS, because we don't want to force all # programs to be built with GTK+. -- cgit v1.2.3