comparison configure.in @ 484:35991929975d

fixed instalation of doc files
author nadvornik
date Tue, 22 Apr 2008 09:57:26 +0000
parents b8731e13028b
children c5144a2f38be
comparison
equal deleted inserted replaced
483:c9e3baeda1b1 484:35991929975d
19 fi 19 fi
20 20
21 AM_PATH_GTK_2_0(2.4.0,,AC_MSG_ERROR(GTK+ >= 2.4.0 not installed.)) 21 AM_PATH_GTK_2_0(2.4.0,,AC_MSG_ERROR(GTK+ >= 2.4.0 not installed.))
22 AC_PATH_PROGS(GDK_PIXBUF_CSOURCE, "gdk-pixbuf-csource") 22 AC_PATH_PROGS(GDK_PIXBUF_CSOURCE, "gdk-pixbuf-csource")
23 23
24 AC_DEFINE_UNQUOTED(GQ_HELPDIR, "$prefix/share/doc/geeqie-$VERSION", [Location of documentation files]) 24 AC_ARG_WITH(readmedir, [ --with-readmedir=DIR install path for readme files],
25 AC_DEFINE_UNQUOTED(GQ_HTMLDIR, "$prefix/share/doc/geeqie-$VERSION/html", [Location of html documentation]) 25 readmedir=$withval, readmedir="$prefix/share/doc/geeqie-$VERSION")
26 AC_ARG_WITH(htmldir, [ --with-htmldir=DIR install path for html files],
27 htmldir=$withval, htmldir="$readmedir/html")
28
29 AC_DEFINE_UNQUOTED(GQ_HELPDIR, "$readmedir", [Location of documentation files])
30 AC_DEFINE_UNQUOTED(GQ_HTMLDIR, "$htmldir", [Location of html documentation])
31
32 AC_SUBST(readmedir)
33 AC_SUBST(htmldir)
26 34
27 dnl checks for functions 35 dnl checks for functions
28 AC_CHECK_FUNCS(strverscmp access fsync fflush) 36 AC_CHECK_FUNCS(strverscmp access fsync fflush)
29 37
30 dnl check for little cms (lcms, this test pulled from gimp) 38 dnl check for little cms (lcms, this test pulled from gimp)