Here's another fix: the result of the getopt compatibility test wasn't used.

-- Andreas.
Index: quilt/configure.ac
===================================================================
--- quilt.orig/configure.ac
+++ quilt/configure.ac
@@ -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
 
_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to