comparison configure.ac @ 18494:dc98087bd97c

Apparently we're not supposed to try to expand $datadir or $libdir from inside configure. Fixes #1349
author Richard Laager <rlaager@wiktel.com>
date Thu, 12 Jul 2007 03:41:37 +0000
parents 2b8460b599ea
children ba0f08ff3a43
comparison
equal deleted inserted replaced
18493:274a08f56ea6 18494:dc98087bd97c
1145 else 1145 else
1146 if test x"$prefix" = x"NONE" ; then 1146 if test x"$prefix" = x"NONE" ; then
1147 dnl # no prefix given, so we look for the correct dbus system paths. 1147 dnl # no prefix given, so we look for the correct dbus system paths.
1148 dnl # if a prefix is given, we use it. 1148 dnl # if a prefix is given, we use it.
1149 1149
1150 serviceprefixes="$datadir $libdir /usr/share /usr/local/share" 1150 serviceprefixes="$prefix/share $prefix/lib /usr/share /usr/local/share"
1151 DBUS_SERVICES_DIR="" 1151 DBUS_SERVICES_DIR=""
1152 1152
1153 for d in $serviceprefixes ; do 1153 for d in $serviceprefixes ; do
1154 dir="$d/dbus-1/services" 1154 dir="$d/dbus-1/services"
1155 if test -d $dir ; then 1155 if test -d $dir ; then