diff --git a/configure b/configure index 5c5c8f6df..4dd755ef4 100755 --- a/configure +++ b/configure @@ -5584,7 +5584,7 @@ then : else $as_nop - datarootdir="$prefix/share" + datarootdir="$realprefix/share" fi @@ -5600,7 +5600,7 @@ then : else $as_nop - datadir="$prefix/share" + datadir="$realprefix/share" fi @@ -5643,7 +5643,7 @@ fi else $as_nop - sysconfdir="$prefix/etc" + sysconfdir="$realprefix/etc" fi diff --git a/configure.ac b/configure.ac index 0b7bdfde3..bd0133273 100644 --- a/configure.ac +++ b/configure.ac @@ -619,7 +619,7 @@ AS_IF([test "$datarootdir" = "\${prefix}/share"], [ AS_IF([test "$prefix" = "/"], [ datarootdir="/usr/share" ], [ - datarootdir="$prefix/share" + datarootdir="$realprefix/share" ]) ]) @@ -627,7 +627,7 @@ AS_IF([test "$datadir" = "\${prefix}/share"], [ AS_IF([test "$prefix" = "/"], [ datadir="/usr/share" ], [ - datadir="$prefix/share" + datadir="$realprefix/share" ]) ], [test "$datadir" = "\${datarootdir}"], [ datadir="$datarootdir" @@ -648,7 +648,7 @@ AS_IF([test "$sysconfdir" = "\${prefix}/etc"], [ sysconfdir="/etc" ]) ], [ - sysconfdir="$prefix/etc" + sysconfdir="$realprefix/etc" ]) ])