Hi,

I found the help message in configure is slightly misleading;
it says as "--testdir=xxx" should be used, but it makes
the configuration aborts as unknown option. what should be
used is "--with-testdir=xxx". Attached is a patch to fix it.

Regards,
mpsuzuki

Albert Astals Cid wrote:
> New commits:
> commit a76135391555145ec740d49a7141e60da0ea5dee
> Author: Hib Eris <[email protected]>
> Date:   Tue Feb 14 20:11:19 2012 +0100
> 
>     Add a configuration option for the test data dir
>     
>     This makes 'make distcheck' run succesfully.
> 

> diff --git a/configure.ac b/configure.ac
> index ab9e470..d839022 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -596,6 +596,47 @@ if test "x$enable_cms" = "xyes"; then
>  fi
>  AM_CONDITIONAL(USE_CMS, test x$enable_cms = xyes)
>  
> +AC_ARG_WITH([testdatadir],
> +   [AS_HELP_STRING([--testdatadir=/path/to/testdatadir],
> +                   [Specify test data dir])],

diff --git a/configure.ac b/configure.ac
index 3c30ea8..b655e57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -691,7 +691,7 @@ AM_CONDITIONAL(USE_CMS, test x$enable_cms = xyes)
 AM_CONDITIONAL(USE_LCMS1, test x$lcms1 = xyes)
 
 AC_ARG_WITH([testdatadir],
-   [AS_HELP_STRING([--testdatadir=/path/to/testdatadir],
+   [AS_HELP_STRING([--with-testdatadir=/path/to/testdatadir],
                    [Specify test data dir])],
    [case $withval in
        [[\\/]]* | ?:[[\\/]]* )  # Absolute name.
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to