autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: --localdir backwards compatibility


From: Akim Demaille
Subject: Re: --localdir backwards compatibility
Date: Fri, 25 Apr 2003 16:53:53 +0200
User-agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3 (gnu/linux)

|The renaming of --localdir to --prepend-include is annoying when
|trying to keep a configure.in compatible between 2.13 and more modern
|versions. To make it less painful, I patched in some backwards
|compatibility to my local version of autoconf-2.57. Seems to work fine
|for me.

Please, drop 2.13, as it is too buggy, and trying to maintain
compatibility with it is the worse that could happen to your scripts.

|
|--- autoconf.in-original       Tue Nov  5 08:16:59 2002
|+++ autoconf.in        Tue Apr 15 14:23:43 2003
|@@ -194,7 +194,9 @@
|     --prepend-include=* | -B?* | \
|     --warnings=* | -W?* )
|        AUTOM4TE="$AUTOM4TE $1"; shift ;;
|-
|+    --localdir=* )
|+       AUTOM4TE="$AUTOM4TE --prepend-include=${1:11}" ; shift ;;

I do not believe this would be portable anyway.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]