X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=configure.ac;h=c5c9952c165fd5a77d9c93e4adf7ad2dae6ce72a;hb=233b7c8a350fc6de2eea18a37ece8b7f32ba7e57;hp=edbb583eb96a9d1a0d02cb7eb488a026ded607d5;hpb=b825c4bcad4cf901b82c98a19face97ae928b853;p=inkscape.git diff --git a/configure.ac b/configure.ac index edbb583eb..c5c9952c1 100644 --- a/configure.ac +++ b/configure.ac @@ -207,7 +207,7 @@ AC_CHECK_HEADERS([gc.h gc/gc.h], break], [gc_ok=no], [$gc_libs]) break], [gc_ok=no]) -if test "x$gc_ok" = "xyes" && "x$cross_compiling" = "xno" ; then +if test "x$gc_ok" = "xyes" && test "x$cross_compiling" = "xno" ; then AC_MSG_CHECKING([libgc version 6.4+]) AC_RUN_IFELSE( [AC_LANG_SOURCE([[ @@ -910,33 +910,9 @@ fi AM_CONDITIONAL(USE_MMX, test x$use_mmx_asm = xyes) -dnl Figure out where the datadir actually is -dnl http://autoconf-archive.cryp.to/ac_define_dir.html -prefix_NONE= -exec_prefix_NONE= -test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix -test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix -dnl In Autoconf 2.60, ${datadir} refers to ${datarootdir}, which in turn -dnl refers to ${prefix}. Thus we have to use `eval' twice. -eval runtime_datadir="${datadir}" -eval runtime_datadir="${runtime_datadir}" -test "$prefix_NONE" && prefix=NONE -test "$exec_prefix_NONE" && exec_prefix=NONE - -inkscape_sharedir="${runtime_datadir}/${PACKAGE_NAME}" - dnl Define our data paths for config.h -AC_SUBST(INKSCAPE_DATADIR) -AC_DEFINE_UNQUOTED([INKSCAPE_DATADIR], "${runtime_datadir}", - [Base data directory -- only path-prefix.h should use it!]) -AC_SUBST(PACKAGE_LOCALE_DIR) -AC_DEFINE_UNQUOTED([PACKAGE_LOCALE_DIR], "${runtime_datadir}/locale", - [Localization directory]) -AC_SUBST(INKSCAPE_LIBDIR) -AC_DEFINE_UNQUOTED([INKSCAPE_LIBDIR], "${prefix}/lib", - [Base library directory -- only path-prefix.h should use it!]) - -dnl Have to add module makefiles (lauris) +AC_DEFINE_DIR([INKSCAPE_DATADIR], [datadir], [Base data directory]) +AC_DEFINE_DIR([PACKAGE_LOCALE_DIR], [localedir], [Locatization directory]) AC_CONFIG_FILES([ Makefile @@ -994,6 +970,12 @@ share/filters/Makefile share/fonts/Makefile share/gradients/Makefile share/icons/Makefile +share/icons/hicolor/Makefile +share/icons/hicolor/scalable/Makefile +share/icons/hicolor/scalable/actions/Makefile +share/icons/hicolor/scalable/devices/Makefile +share/icons/hicolor/scalable/places/Makefile +share/icons/hicolor/scalable/status/Makefile share/keys/Makefile share/markers/Makefile share/palettes/Makefile