From e090875775b059b97d41f6e213d12d790ce85e25 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Sat, 17 Sep 2005 23:58:48 +0000 Subject: - configure.ac: fail if getopt does not support --long. --- configure.ac | 13 ++++++++----- quilt.changes | 3 ++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index 2d71f58..3e2c40b 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT([quilt],[0.42],[quilt-dev@nongnu.org]) AC_CONFIG_AUX_DIR(config) AC_PREREQ(2.53) -AC_REVISION ($Revision: 1.42 $) +AC_REVISION ($Revision: 1.43 $) PACKAGE_RELEASE=1 AC_SUBST(PACKAGE_RELEASE) @@ -73,12 +73,15 @@ if test -n "$GETOPT"; then $GETOPT -o t --long test -- --test | grep -qe '^ *--test *--' getopt_long_works=$? if test $getopt_long_errors -eq 1 -a $getopt_long_works -eq 0; then - getopt_long_syntax=yes AC_MSG_RESULT(yes) else - getopt_long_syntax=no - AC_MSG_WARN(no) - GETOPT='' + AC_MSG_RESULT(no) + AC_MSG_ERROR([ +$GETOPT does not support the --long option. +If you don't have a version of getopt that supports long options, you +can specify '--with-getopt=none' and $PACKAGE_NAME will use its own +internal getopt. +]) fi fi diff --git a/quilt.changes b/quilt.changes index c709d3e..f611436 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,9 +1,10 @@ ------------------------------------------------------------------- -Sun Sep 18 01:57:36 CEST 2005 - agruen@suse.de +Sun Sep 18 01:59:10 CEST 2005 - agruen@suse.de - Merge compatibility layer from John Vandenberg . - Only add compat/ directory to PATH if it exists. Only create it when necessary. +- configure.ac: fail if getopt does not support --long. ------------------------------------------------------------------- Fri Sep 16 20:57:32 CEST 2005 - khali@linux-fr.org -- cgit