diff options
author | joey <joey@a4a2c43b-8ac3-0310-8836-e0e880c912e2> | 2002-06-10 16:24:31 +0000 |
---|---|---|
committer | joey <joey@a4a2c43b-8ac3-0310-8836-e0e880c912e2> | 2002-06-10 16:24:31 +0000 |
commit | 3cd3a8b6600b6e0c7322a98864738a65dd9d2b86 (patch) | |
tree | e0b0e1420ce58d0f71525cfaa36e5486d118f404 /configure.ac | |
parent | 7366be11f4af88e96d3b63073dda782b386a2fc7 (diff) |
* Moved stuff to /usr/share/
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index 9e72d49..3947f46 100644 --- a/configure.ac +++ b/configure.ac @@ -200,16 +200,12 @@ else fi AC_SUBST(PDMENU_SYSCONFDIR) -dnl Have to calculate the libdir without any ${..} expansions in it for -dnl use in pdmenurc.complex. -if test "$libdir" != '${exec_prefix}/lib' ; then - PDMENU_LIBDIR=$libdir -elif test "$exec_prefix" != NONE ; then - PDMENU_LIBDIR=$exec_prefix/lib -elif test "$prefix" != NONE ; then - PDMENU_LIBDIR=$prefix/lib +if test "$datadir" != '${prefix}/share' ; then + PDMENU_LIBDIR=$datadir +elif test "$datadir" != NONE ; then + PDMENU_LIBDIR=$prefix/share else - PDMENU_LIBDIR=$ac_default_prefix/lib + PDMENU_LIBDIR=$ac_default_prefix/share fi AC_SUBST(PDMENU_LIBDIR) |