Diff of /configure.in [8613c3] .. [d9ebf7]  Maximize  Restore

Switch to side-by-side view

--- a/configure.in
+++ b/configure.in
@@ -228,8 +228,28 @@
 prefix=/usr/local
 fi
 
+
+
+AC_ARG_ENABLE(datadir,
+AC_HELP_STRING([--enable-datadir[=yes/no]],[use datadir (default=no)]),
+[ac_dd="$enableval"], [ac_dd="no"])
+
+if test "x$ac_dd" = "xyes"; then
+DATADIR="$datadir"
+else
 DATADIR="$prefix/share/${PACKAGE}"
+fi
+
+
+AC_ARG_ENABLE(docdir,
+AC_HELP_STRING([--enable-docdir[=yes/no]],[use docdir (default=no)]),
+[ac_hd="$enableval"], [ac_hd="no"])
+
+if test "x$ac_hd" = "xyes"; then
+HELPDIR="$docdir"
+else
 HELPDIR="$prefix/share/doc/${PACKAGE}"
+fi
 
 AC_DEFINE_UNQUOTED(DATADIR,"$DATADIR",[DATADIR])
 AC_DEFINE_UNQUOTED(HELPDIR,"$HELPDIR",[HELPDIR])

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks