Package: libpaper-utils
Version: 1.1.14-5
Tags: patch

The config variable RUNPARTSDIRVAR is used in paperconfig.in but not
defined in configure.ac.  RUNPARTSDIRVAR is supposed to name an
environment variable.

This patch adds a definition to configure.ac and fixes an unrelated
typo in configure.ac.

In this patch, I chose "PAPERDIR" as the default for the name of this
env var.  The name choice doesn't seem too important; because the
variable is explicitly unset at the beginning of the paperconfig
script, its external setting cannot affect the script.

 < Stephen

--- libpaper-1.1.14/configure.ac        2006-01-05 04:15:21.000000000 -0500
+++ configure.ac        2006-02-12 14:34:13.000000000 -0500
@@ -40,9 +40,14 @@
 AH_TEMPLATE(RUNPARTSDIR, [Default directory for run-parts])
 AC_DEFINE_UNQUOTED(RUNPARTSDIR, "$RUNPARTSDIR")
 
+RUNPARTSDIRVAR=PAPERDIR
+AC_SUBST(RUNPARTSDIRVAR)
+AH_TEMPLATE(RUNPARTSDIRVAR, [Environment variable that overrides the default 
directory for run-parts])
+AC_DEFINE_UNQUOTED(RUNPARTSDIRVAR, "$RUNPARTSDIRVAR")
+
 PAPERSIZEVAR=PAPERSIZE
 AC_SUBST(PAPERSIZEVAR)
-AH_TEMPLATE(PAPERSIZEVAR, [Environment variable that overrides the 
defaultpaper size])
+AH_TEMPLATE(PAPERSIZEVAR, [Environment variable that overrides the default 
paper size])
 AC_DEFINE_UNQUOTED(PAPERSIZEVAR, "$PAPERSIZEVAR")
 
 dnl Create files


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to