Hi,

2012/3/29 suzuki toshiya <[email protected]>:
> 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.

There is one more '--testdir' in configure.ac, so I added a fix for
that to your patch.

Hib
From 7f99487a02d15108863e6faca2cbe67be59755ee Mon Sep 17 00:00:00 2001
From: Hib Eris <[email protected]>
Date: Thu, 29 Mar 2012 07:52:30 +0200
Subject: [PATCH] Fix help message

---
 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3c30ea8..a416b4c 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.
@@ -726,7 +726,7 @@ else
 
  You should checkout the test data as a sibling of your
  poppler source folder or specify the location of your
- checkout with --testdatadir=/path/to/checkoutdir/test.
+ checkout with --with-testdatadir=/path/to/checkoutdir/test.
 ])
 fi
 AC_SUBST(TESTDATADIR)
-- 
1.7.7

_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to