Skip to content

Commit 18f75a6

Browse files
authored
Merge pull request #2417 from pqarmitage/updates
configure: fix secondary config file location when using --prefix=/usr
2 parents 4c3ecda + efd4ec0 commit 18f75a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3154,7 +3154,7 @@ AC_DEFINE_UNQUOTED([DEFAULT_CONFIG_FILE], ["$dcf"], [The default configuration f
31543154
31553155
# Remove a leading ${prefix} since that is not part of the old file name
31563156
eval dcf_old=`echo $default_config_file`
3157-
dcf_old=`echo $dcf_old | $SED -e "s|^\\\${prefix}||"`
3157+
dcf_old=`echo $dcf_old | $SED -e "s|^${prefix}||"`
31583158
AS_IF([test .$dcf != .$dcf_old],
31593159
[
31603160
AC_DEFINE_UNQUOTED([OLD_DEFAULT_CONFIG_FILE], ["$dcf_old"], [The old default configuration file])

0 commit comments

Comments
 (0)