On Monday 19 September 2005 11:58, John Vandenberg wrote:
> Hi Jean,
>
> This is catered for in my second incarnation of the compatibility
> layer. I am in the process of rebasing that on the current version.
> In the meantime, using --with-getopt=/path/to/gnu/getopt should work.
>
> If you dont have that, you can manually include getopt using the following
>
> $ make compat/getopt.in
> $ sed -ie '/^COMPAT_PROGRAMS/{s/\(.*\)/\1 getopt/}' Makefile
> $ make install
Can we use the attached approach?
-- Andreas
Index: aclocal.m4
===================================================================
RCS file: /cvsroot/quilt/quilt/aclocal.m4,v
retrieving revision 1.1
diff -u -r1.1 aclocal.m4
--- aclocal.m4 18 Sep 2005 08:13:07 -0000 1.1
+++ aclocal.m4 19 Sep 2005 10:07:36 -0000
@@ -25,6 +25,7 @@
AC_MSG_WARN([Using internal $2 mechanism. Use option '--with-$2' to override])
COMPAT_PROGRAMS="$COMPAT_PROGRAMS $2"
$1=$2
+ INTERNAL_$1=1
])
fi
AC_SUBST($1)
Index: configure.ac
===================================================================
RCS file: /cvsroot/quilt/quilt/configure.ac,v
retrieving revision 1.53
diff -u -r1.53 configure.ac
--- configure.ac 19 Sep 2005 09:24:43 -0000 1.53
+++ configure.ac 19 Sep 2005 10:07:36 -0000
@@ -77,7 +77,7 @@
QUILT_COMPAT_PROG_PATH(COLUMN, column)
QUILT_COMPAT_PROG_PATH(GETOPT, getopt)
-if test -n "$GETOPT"; then
+if test -z "$INTERNAL_GETOPT"; then
AC_MSG_CHECKING(for getopt --long syntax)
dnl check GNU syntax
$GETOPT -o t --long test -- --test | grep -q 'illegal option'
_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev