# 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
This commit is contained in:
Jörg Mayer 2006-08-01 20:28:32 +00:00
parent 30c04916b4
commit f311c0817e
1 changed files with 4 additions and 1 deletions

View File

@ -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])