summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2006-08-01 20:28:32 +0000
committerJörg Mayer <jmayer@loplof.de>2006-08-01 20:28:32 +0000
commitf311c0817eadff93ca224b2a2175e160e84c9538 (patch)
tree43e3b41c03e0cf135ad5664947976a3a009851e6 /configure.in
parent30c04916b4abb7eecbdd1b03ec4d2109a8a8e3bf (diff)
downloadwireshark-f311c0817eadff93ca224b2a2175e160e84c9538.tar.gz
# Ugly hack, but I don't see how this problem can be solved
# properly that DATAFILE_DIR had a value starting with # "${prefix}/" instead of e.g. "/usr/local/" That problem occurs only with current versions of autoconf svn path=/trunk/; revision=18814
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index cdfcc6a13f..255f5aa2df 100644
--- a/configure.in
+++ b/configure.in
@@ -387,7 +387,10 @@ datafiledir=$datadir/wireshark
datafiledir=`(
test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix=${prefix}
- eval echo "$datafiledir"
+ # Ugly hack, but I don't see how this problem can be solved
+ # properly that DATAFILE_DIR had a value starting with
+ # "${prefix}/" instead of e.g. "/usr/local/"
+ eval eval echo "$datafiledir"
)`
AC_DEFINE_UNQUOTED(DATAFILE_DIR,"$datafiledir", [Directory for data])